Skip to content

Startup

Christian Haas edited this page Jul 27, 2018 · 3 revisions

Startup

The hacked application is an OpenGL based application and requires an OpenGL 3.2 compatible system.

Parameters

The application supports command-line parameters. So, either run it from the command-line (a shell), or create a shortcut with the corresponding parameters.

These parameters are only necessary under special circumstances. If everything is OK, you won't need them.

UI scaling

The UI defaults to a scale that is suitable for a "regular" display, such as ones with a vertical resolution of 1080 pixels. Since over time displays with a high pixel density (such as "4K" displays) will become regular, the UI would become too small to be readable.

To scale the UI accordingly, specify the parameter -scale with an argument such as 2.0. This parameter takes arguments in the range from 0.5 to 10.0. For example, for a "4K" display, a typical call would be:

hacked -scale 2.0

Custom Font

While the editor comes with a default font, this font might not look good with UI scaling combined. To change this, specify the following two parameters: -fontfile and -fontsize. At minimum, use -fontfile to set a dedicated fontfile (.TTF). The editor uses a default size for the font, you can change that as well. Example:

hacked -scale 2.0 -fontfile "C:\Windows\Fonts\bauhs93.ttf"
Clone this wiki locally