29.09.2005, 12:11:04
Quote:On the crash issue, perhaps the Clean Up program should be made to reset the map filter and game mode index (provided map filter is stored in ra2md.ini of course).
Mod installer programs should do this too.
No, it is not stored. It stores this mode related data:
Code:
[Skirmish]
GameMode=2; the modeID (1-based) of last played gamemode
ScenIndex=1; the index (0-based) of last played map in the global map list *
and derives the mapfilter to use from the modeID.
This reminds me, the code related to that derival is bugged/incomplete, and allows non-skirmish modes to appear in the map description.
Play a mod that adds a skirmishable mpmode with modeID 4. Play that mode.
Remove the mod.
Go to the Skirmish screen.
Wham, Unholy Alliance as the mode.
If you go into the map/mode selector, that gets fixed.
However, if you click "Start Game" straight away, you get to play Unholy Alliance. Oops...