Difference between revisions of "User:Suicide machine/Research bunker/Hellforces config structure"
From PCGamingWiki, the wiki about fixing PC games
m |
|||
Line 1: | Line 1: | ||
==config.cfg== | ==config.cfg== | ||
[[File:Hellforces - config screen.png|900px|thumbnail|none|Example of config.cfg]] | [[File:Hellforces - config screen.png|900px|thumbnail|none|Example of config.cfg]] | ||
+ | |||
Structure of config.cfg is a byte file and it should be edited with hex editor. | Structure of config.cfg is a byte file and it should be edited with hex editor. | ||
Line 24: | Line 25: | ||
|- | |- | ||
| 0x00000028 || Unknown || Display resolution ID | | 0x00000028 || Unknown || Display resolution ID | ||
+ | |- | ||
+ | | 0x0000002C || Unknown || Anisotropic filtering ID | ||
+ | |- | ||
+ | | 0x00000030 || Unknown || Texture filtering ID | ||
+ | |- | ||
+ | | 0x00000034 || Unknown || Texture quality ID | ||
+ | |- | ||
+ | | 0x00000038 || Unknown || Light map quality ID | ||
+ | |- | ||
+ | | 0x0000003C || Unknown || Bump map quality ID | ||
|- | |- | ||
| 0x00000040 || Byte (1) || Sky projection (bool) | | 0x00000040 || Byte (1) || Sky projection (bool) | ||
|- | |- | ||
| 0x00000048 || Byte (1) || Bump mapping (bool) | | 0x00000048 || Byte (1) || Bump mapping (bool) | ||
+ | |- | ||
+ | | 0x0000004C || Byte (1) || Anti-aliasing ID | ||
+ | |- | ||
+ | | 0x00000050 || Byte (1) || Gamma correction | ||
|- | |- | ||
| 0x00000054 || Byte (1) || Detail texture (bool) | | 0x00000054 || Byte (1) || Detail texture (bool) | ||
|- | |- | ||
| 0x00000058 || Byte (1) || Draw vegetation (bool) | | 0x00000058 || Byte (1) || Draw vegetation (bool) | ||
+ | |- | ||
+ | | 0x0000005C || Byte (1) || Vegetation density (0-100) | ||
+ | |- | ||
+ | | 0x00000060 || Byte (1) || Vegetation scissoring range (0-100) | ||
|- | |- | ||
| 0x00000064 || Byte (1) || Sound on (bool) | | 0x00000064 || Byte (1) || Sound on (bool) | ||
Line 40: | Line 59: | ||
|- | |- | ||
| 0x00000078 || Byte (1) || Music on (bool) | | 0x00000078 || Byte (1) || Music on (bool) | ||
+ | |- | ||
+ | | 0x00000081 || Byte (1) || N patches refinement | ||
+ | |- | ||
+ | | 0x00000085 || Byte (1) || Shadow quality ID (0-4) | ||
|- | |- | ||
| 0x0000008E || Byte (1) || Refresh Frequency ID | | 0x0000008E || Byte (1) || Refresh Frequency ID | ||
Line 46: | Line 69: | ||
|- | |- | ||
| 0x00000096 || Byte (1) || Vegetation animation (bool) | | 0x00000096 || Byte (1) || Vegetation animation (bool) | ||
+ | |- | ||
+ | | 0x0000009E || Byte (1) || Pixel Shader ID | ||
+ | |- | ||
+ | | 0x000000A2 || Byte (1) || Vortex Shader ID | ||
|- | |- | ||
| 0x000000A6 || Byte (1) || Soft shadows (bool) | | 0x000000A6 || Byte (1) || Soft shadows (bool) |
Revision as of 18:32, 15 July 2017
config.cfg
Structure of config.cfg is a byte file and it should be edited with hex editor.
Offset: | Type (byte length) | Description |
---|---|---|
0x00000000 | Byte (1) | 32-bit display (bool) |
0x00000004 | Byte (1) | Triple buffering (bool) |
0x00000008 | Byte (1) | Character shadows (bool) |
0x00000010 | Byte (1) | Texture compression (bool) |
0x00000014 | Byte (1) | Mirrors (bool) |
0x00000018 | Byte (1) | Scene postprocessing (bool) |
0x0000001C | Byte (1) | Hardware Acceleration (bool) |
0x00000024 | Unknown | Draw distance ID |
0x00000028 | Unknown | Display resolution ID |
0x0000002C | Unknown | Anisotropic filtering ID |
0x00000030 | Unknown | Texture filtering ID |
0x00000034 | Unknown | Texture quality ID |
0x00000038 | Unknown | Light map quality ID |
0x0000003C | Unknown | Bump map quality ID |
0x00000040 | Byte (1) | Sky projection (bool) |
0x00000048 | Byte (1) | Bump mapping (bool) |
0x0000004C | Byte (1) | Anti-aliasing ID |
0x00000050 | Byte (1) | Gamma correction |
0x00000054 | Byte (1) | Detail texture (bool) |
0x00000058 | Byte (1) | Draw vegetation (bool) |
0x0000005C | Byte (1) | Vegetation density (0-100) |
0x00000060 | Byte (1) | Vegetation scissoring range (0-100) |
0x00000064 | Byte (1) | Sound on (bool) |
0x00000068 | Byte (1) | Use EAX (bool) |
0x00000074 | Byte (1) | Hardware acceleration (bool) |
0x00000078 | Byte (1) | Music on (bool) |
0x00000081 | Byte (1) | N patches refinement |
0x00000085 | Byte (1) | Shadow quality ID (0-4) |
0x0000008E | Byte (1) | Refresh Frequency ID |
0x00000092 | Byte (1) | Self-shading (bool) |
0x00000096 | Byte (1) | Vegetation animation (bool) |
0x0000009E | Byte (1) | Pixel Shader ID |
0x000000A2 | Byte (1) | Vortex Shader ID |
0x000000A6 | Byte (1) | Soft shadows (bool) |
0x000000B2 | Byte (1) | Object Shadows (bool) |