FANDOM


Game Filesystem StructureEdit

  • TODO
  • LUA Coding etc...

Game Progress & Preferences Save FileEdit

A single file is used to house details ranging from the profiles used in Supreme Commander 2, to storing the video settings for the computer in question. This creates a slightly difficult situation on a technical basis, explained further on.

LocationEdit

d*The file name is 'Game.prefs'

  • Use the path based on your current operating system
  • Replace the term <username>, with your username on the local computer. For example; 'Jake' or 'God'

Windows 7Edit

C:\Documents and Settings\<username>\Local Settings\Application Data\Gas Powered Games\Supreme Commander 2\ (needs confirmation)

Windows Vista / Windows 7Edit

C:\Users\<username>\AppData\Local\Gas Powered Games\Supreme Commander 2\

Troubleshooting ErrorsEdit

Current IssuesEdit

Several issues arise from combining the preferences store with the game data store, without proper validation and checking in the game.

The Supreme Commander 2 engine has trouble reading any stored settings that cannot be applied. For example, if a 'screen resolution' is selected while having a larger monitor attached, if you then change to a smaller monitor, Supreme Commander 2 will crash -- without an error message. If you find you are unable to launch Supreme Commander 2 without it crashing, try deleting the Game.prefs file. Be warned however, that this will erase your campaign progress, as well as any statistics you have accumulated towards achievements.

Planning AheadEdit

If you plan to move computer (such as detaching a secondary monitor), set the video options to 'no secondary adaptor' (for that specific example), in order to prevent the game from crashing on startup.

Alternately, you can try edit the save file (such as removing the lines that correspond to screen resolution), as the game will automatically revert to the default value. Optimally, the game should do this in the first place.

Technical ValuesEdit

Below is a table of values you should look out for (if you choose to edit the save file), that may be causing Supreme Commander 2 to crash;

Option Name Responsibility Valid Values => Setting Example
primary_adaptor

Stores the resolution setting of the primary monitor. Using a value higher than the current primary monitor can support, will cause the game to crash.
Format is Width, Height, Refresh Rate.

It may also be possible to set your own custom resolution, but you will also need to modify the 'switch' value under the 'option_overrides' section.

  • windowed => Windowed
  • 1024,768,60 => 1024x768 @ 60Hz
  • 1024,768,75 => 1024x768 @ 75Hz
  • 1152,864,75 => 1152x864 @ 75Hz
  • 1280,800,60 => 1280x800 @ 60Hz
  • 1280,800,75 => 1280x800 @ 75Hz
  • 1440,900,59 => 1440x900 @ 59Hz
  • 1440,900,60 => 1440x900 @ 60Hz
  • 1280,1024,60 => 1280x1024 @ 60Hz
  • 1280,1024,75 => 1280x1024 @ 75Hz
  • 1680,1050,59 => 1680x1050 @ 59Hz
  • 1680,1050,60 => 1680x1050 @ 60Hz
  • 1920,1080,60 => 1920x1080 @ 60Hz
primary_adaptor = '1920,1080,60'
secondary_adaptor

Stores the resolution setting of the secondary monitor. Using a value higher than the current secondary monitor can support, will cause the game to crash.
Format is Width, Height, Refresh Rate.

Same as 'primary_adaptor' secondary_adaptor = '1920,1080,60'
antialiasing

Stores the anti-aliasing setting for the game. Using a value higher than the graphics card can support will cause the game to crash.

  • 0 => Off
  • 64 => 2
  • 128 => 4
  • 256 => 8Q
  • 132 => 16
  • 258 => 16Q
antialiasing = 256
anisotropic_filtering

Stores the anisotropic filtering setting for the game. Using a higher value than the graphics card can support will cause the game to crash.
Format is Width, Height, Refresh Rate.

  • 1 => Off
  • 2 => 2
  • 4 => 4
  • 8 => 8
  • 16 => 16
anisoropic_filtering = 8

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.