Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 4.65 KB

config.md

File metadata and controls

26 lines (24 loc) · 4.65 KB

Editing configuration file (jkgm.json)

Variable Explanation Syntax Default value
resolution What resolution to output at. ordered pair ([ x, y ]) [ 1024, 768 ]
fullscreen Select whether to use fullscreen or Windowed mode. boolean
(true for fullscreen, or false for windowed)
correct_game_aspect_ratio Select whether the game should use a 4:3 aspect ratio. boolean
(true for a 4:3 aspect ratio, or false to fill the screen)
false
correct_menu_aspect_ratio Select whether menus and cutscenes should be stretched to fill the screen. boolean
(true for the original aspect ratio, or false for stretched)
true
hud_scale Upscale the HUD to avoid tiny HUD at high resolutions. Use whole integers for best results. decimal
(ex: 2.0 = 200% scaling)
Default: 1.0
max_anisotropy Level of anisotropic filtering to use. Can be used even when enable_texture_filtering is set to false. decimal (values taken from ARB_texture_filter_anisotropic): 1.0 to disable,
2.0 for 2x,
4.0 for 4x,
8.0 for 8x,
16.0 for 16x
Default: 2.0
antialiasing Type and degree of antialiasing to use. null or object ({ "type": <type>, "samples": <integer> })

Supported types:
MSAA: Multisample antialiasing smooths the edges of polygons only.
SSAA: Supersample antialiasing smooths polygon edges and interiors, but is much more expensive than MSAA.

Other fields:
samples: The number of antialiasing samples per pixel. Higher values may look better, but are more expensive.
min_sample_factor: When used with MSAA, applies some amount of supersampling to polygon interiors. For example, 8xMSAA with a minimum sample factor of 0.25 will apply 2xSSAA to polygon interiors. This can be used to gain some antialiasing for polygon interiors without the full cost of SSAA.
Default: null
enable_vsync Enable vsync. Due to Jedi Knight's low internal framerate, enabling this option may cause stuttering and dropped frames. boolean false
enable_bloom Use bloom effect for brighter lights. Requires compatible texture pack. boolean Default: true
enable_ssao Use screen-space ambient occlusion to subtly increase perceived depth in the image. boolean true
enable_parallax Use parallax occlusion mapping to add depth to individual textures. Requires compatible texture pack. boolean true
enable_texture_filtering Use bilinear filtering on textures, reducing texture aliasing whilst also making closeup textures blurry. Disable to use nearest-neighbor filtering instead.
Note that it does not affect trilinear filtering, which is always used, or anisotropic filtering, which is controlled with max_anisotropy.
boolean true
enable_posterized_lighting Posterize the lighting, introducing noticeable color banding that simulates the 8-bit lighting of the RenderDroid software renderer. boolean false
vram_texture_preload_size Preloads materials up to a specified amount of video memory. This may reduce stuttering at run-time if material packs are installed on a slow hard drive, but will increase game startup time. number (megabytes) 0
command Name of Jedi Knight or Mysteries of the Sith executable to use. "<filename>" "jk.exe"
data_path Path to material and shader patches.
Accepts both absolute and relative paths.
"<folderpath>" "jkgm"
log_path Path to log file.
Accepts both absolute and relative paths.
"<folderpath>", or null to not output to a log null