then i can't get it to work, cause i filled it in when i right click on dow2 in steam library and go to options and then set launch options. I filled in tehre -dev and it wont start my game.
Try this.
Just so there's less confusion, here's more detail:
Once again, I take no responsibility if you edit something incorrectly. Furthermore, back up these files before you mess with them.
You're looking for these four files:
DOW2.module
DOW2LastStand.module
DOW2LSMP.module
DOW2Multiplayer.module
Open these in notepad. They all have a similar structure. The crash happens when the game tries to load sound files. Removing lines, under the sound categories, that include "folder." fixed the crashes for me. Take this for example...
BEFORE
[sound:common]
folder.01 = GameAssets\Data\Sound
archive.01 = GameAssets\Archives\GameSoundContainers.sga
archive.02 = GameAssets\Archives\002_sound.sga
archive.03 = GameAssets\Archives\001_sound.sga
archive.04 = GameAssets\Archives\000_sound.sga
AFTER
[sound:common]
archive.01 = GameAssets\Archives\GameSoundContainers.sga
archive.02 = GameAssets\Archives\002_sound.sga
archive.03 = GameAssets\Archives\001_sound.sga
archive.04 = GameAssets\Archives\000_sound.sga
This does not remove sound from your game, as it's still loaded from the archives. I think it just had something to do with the folders. Do this for each .module file, and each sound category in it (IE, sound:common, sound:english, etc), and it should fix the -dev problem.
THIS ALSO ALLOWED ME TO USE THE CHEAT MOD for Dawn of War II. Wargear doesn't work, but resources, pop cap, level up and invulnerability work pretty well. Haven't tried the spawns or wargear, though.
GOOD LUCK!