Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

User:Suicide machine/Research bunker/Hellforces config structure

From PCGamingWiki, the wiki about fixing PC games

config.cfg

Example of config.cfg


Structure of config.cfg is a byte file and it should be edited with hex editor. For scancodes (keys) see: https://msdn.microsoft.com/en-us/library/aa299374(v=vs.60).aspx

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)
0x0000007C Byte (1) Music volume (0-100)
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)
0x000000AA Byte (1) Dynamic music volume (0-100)
0x000000AE Byte (1) Sound volume (0-100)
0x000000B2 Byte (1) Object Shadows (bool)
0x000000B6 Byte (1) Forward Key (scancode)
0x000000B7 Byte (1) Backward Key (scancode)
0x000000B8 Byte (1) Left Key (scancode)
0x000000B9 Byte (1) Right Key (scancode)
0x000000BA Byte (1) Duck Key (scancode)
0x000000BB Byte (1) Jump Key (scancode)
0x000000BC Byte (1) Fire Key (scancode)
0x000000BD Byte (1) Alt-fire Key (scancode)
0x000000BE Byte (1) Use Key (scancode)
0x000000BF Byte (1) Next object (scancode)
0x000000C0 Byte (1) Previous object (scancode)
0x000000C1 Byte (1) Use object (scancode)
0x000000C2 Byte (1) Screenshot Key (scancode)
0x000000C6 Byte (1) Select weapon 1 (scancode)
0x000000C7 Byte (1) Select weapon 2 (scancode)
0x000000C8 Byte (1) Select weapon 3 (scancode)
0x000000C9 Byte (1) Select weapon 4 (scancode)
0x000000CA Byte (1) Select weapon 5 (scancode)
0x000000CB Byte (1) Select weapon 6 (scancode)
0x000000CD Byte (1) Select weapon 7 (scancode)
0x000000CE Byte (1) Quick save (scancode)
0x000000CF Byte (1) Quick load (scancode)
0x000000D0 Byte (1) Next weapon (scancode)
0x000000D1 Byte (1) Previous weapon (scancode)
0x000000F7 Int? (4) Mouse sensitivity
0x000000FB Byte (1) Invert mouse (bool)