Windows 7 *GUARANTEED* fix
Moderator: MOD_SPWaW
Windows 7 *GUARANTEED* fix
Do you hate having to maintain an older XP machine just to play your favorite SP game?
Tired of not being able to enjoy the game on Windows 7?
If you answered 'Yes' to either of these questions then this fix is for you! After further research, the culprit which screws up the 256-color palette in Windows 7 is explorer.exe. Grab the attached file, win7spwawfix.jpg, and unzip it to your SPWAW folder, typically C:\Matrix Games\Steel Panthers World At War", and you're all set! You can now use the file win7spwaw.cmd to start the game rather than the shortcut which comes with the game.
Note: change the extension of the attached file to zip
Note2: you can right-click the file and choose 'Send to --> Desktop (create shortcut)' to be able to run it from a desktop shortcut.
Note3: this fix will also more than likely fix Vista related palette corruption as well since Win7 is basically just an upgraded Vista.
NC
Tired of not being able to enjoy the game on Windows 7?
If you answered 'Yes' to either of these questions then this fix is for you! After further research, the culprit which screws up the 256-color palette in Windows 7 is explorer.exe. Grab the attached file, win7spwawfix.jpg, and unzip it to your SPWAW folder, typically C:\Matrix Games\Steel Panthers World At War", and you're all set! You can now use the file win7spwaw.cmd to start the game rather than the shortcut which comes with the game.
Note: change the extension of the attached file to zip
Note2: you can right-click the file and choose 'Send to --> Desktop (create shortcut)' to be able to run it from a desktop shortcut.
Note3: this fix will also more than likely fix Vista related palette corruption as well since Win7 is basically just an upgraded Vista.
NC
- Attachments
-
- win7spwawfix.jpg (314 Bytes) Viewed 16817 times
-
- Posts: 1521
- Joined: Tue Jan 11, 2005 1:17 am
RE: Windows 7 *GUARANTEED* fix
I don't get a file or anything when I go to save your attachment.
Windows 7 home premium 64
Intel quad core I7
16 gig
AMD R9 200 series
Di! Ecce hora! Uxor mea me necabit!
Intel quad core I7
16 gig
AMD R9 200 series
Di! Ecce hora! Uxor mea me necabit!
RE: Windows 7 *GUARANTEED* fix
Sorry, didn't notice that. This forum doesn't allow .zip attachments so I renamed it with the .jpg extension. You can get the file on the SP:WaW Depot forums as well, here: http://www.spwaw.com/phpBB2/viewtopic.php?t=23047
NC
NC
-
- Posts: 1521
- Joined: Tue Jan 11, 2005 1:17 am
RE: Windows 7 *GUARANTEED* fix
OK now I'm passed drooling. I followed the above link and there is no attachment in your post. I thought I had to sign up at the SPWAW Depot and did but haven't received an email back as of yet.
Windows 7 home premium 64
Intel quad core I7
16 gig
AMD R9 200 series
Di! Ecce hora! Uxor mea me necabit!
Intel quad core I7
16 gig
AMD R9 200 series
Di! Ecce hora! Uxor mea me necabit!
RE: Windows 7 *GUARANTEED* fix
Many thx for this..
What a game eh, I'm still playing it after all these years. Got the original and then the MAtrix edition.
Top notch!
What a game eh, I'm still playing it after all these years. Got the original and then the MAtrix edition.
Top notch!
RE: Windows 7 *GUARANTEED* fix
btw....this fix also works for the winSP:WW2 and winSPMBT programs as well for full screen. You have to modify the batch file slightly of course.
RE: Windows 7 *GUARANTEED* fix
Got new PC with win 7, SPwaw showed up with crazy colors, used the file mentioned above (V2) and all is well....excellent work.
- Fallschirmjager
- Posts: 3555
- Joined: Mon Mar 18, 2002 12:46 am
- Location: Chattanooga, Tennessee
RE: Windows 7 *GUARANTEED* fix
I want to bump this thread because I put SPWAW on my new Windows 7 and after a few hours I was frustrated and angry that I could not get one of my favorite games to work. I found this thread and the fix works. Very happy to have the game back up and running.
RE: Windows 7 *GUARANTEED* fix
Well - I wish it worked for ME! I see no difference
I can see the file in the directory
win7spwaw Windows Comma . . .
So what am I doing wrong - have to reboot???

win7spwaw Windows Comma . . .
So what am I doing wrong - have to reboot???
-
- Posts: 240
- Joined: Fri Jan 05, 2007 9:24 pm
RE: Windows 7 *GUARANTEED* fix
HI
My apolgies..this fix works very nicely [:D]..i was just not doing it right
rene
My apolgies..this fix works very nicely [:D]..i was just not doing it right
rene
RE: Windows 7 *GUARANTEED* fix
Thanks a million! You have just saved my Windows7 computer! 
All I would want now is some way to slow down the navigation on the map when you move the cursor to the edge, as I was used to navigating that way. Oh well, I suppose I will have to live with navigating by clicking on the overview map. Not as practical but at least the game is playable.
It would have been nice, and forward compatible, to have had a preferences setting where the map scrolling speed is ruled by a numerical value for damping the speed. That would have required a patch into the program itself though and I wonder if MatrixGames even have the source code available any longer...? [;)]
Best game ever made, SPWAW!
Edit: Ooops: It was already there, under preferences as "Scroll delay". Told ya, best game ever made!

All I would want now is some way to slow down the navigation on the map when you move the cursor to the edge, as I was used to navigating that way. Oh well, I suppose I will have to live with navigating by clicking on the overview map. Not as practical but at least the game is playable.
It would have been nice, and forward compatible, to have had a preferences setting where the map scrolling speed is ruled by a numerical value for damping the speed. That would have required a patch into the program itself though and I wonder if MatrixGames even have the source code available any longer...? [;)]
Best game ever made, SPWAW!
Edit: Ooops: It was already there, under preferences as "Scroll delay". Told ya, best game ever made!
RE: Windows 7 *GUARANTEED* fix
To mentat....."My eyes have seen the glory of Preference settings..........." [:D][:-] gets yer every time.[8D]
"As Pogo said, 'We have met the enemy and he is us' "
RE: Windows 7 *GUARANTEED* fix
Killing explorer.exe in Windows Vista/7 to fix the color palette while running a game like SPWAW is not really the best possible solution. For one thing you may have problems restarting explorer. Secondly you can not multi task. I.e minimize spwaw and use email, etc.
However there are built-in compatibility options in Windows Vista and 7 that can be enabled to run older games without the need to kill explorer. The compatibility modes are enabled in Windows registry.
Now I have not tested how this works on SPWaW, but it has worked on a number of other old games having the color corruption problem on Windows Vista/7.
The easy way:
There is the fan made "Direct Draw Compatibility Tool" available that automates the registry editing process. The user only needs to run the Tool once and browse to the games .exe file he wants to patch and hit apply.
http://www.4shared.com/file/xeIljXSm/Di ... Tool_.html
The manual method:
To enable the DirectDraw compatibility mode for SPWaW manualy you need to copy paste the folowing text string to notepad and save it to a file with the extension (.REG).
So you should then have a file called SPWAW_colorfix.reg for example. Then just run it and if all goes well you should get a promt asking if you want to add the information to your registry. Click Yes.
Copy paste the text below to your notepad:
If you have a 64 bit operating system you need to copy paste this text instead:
So if this works out you should be able to start the game from mech.exe and get no color corruption. Also note that this fix is for SPWaW (Steel Panthers World at War) version 8.403 and will not work on other versions of the game. It should work on Enhanced mod too because enhanced mod uses the 8.403 exe file.
However there are built-in compatibility options in Windows Vista and 7 that can be enabled to run older games without the need to kill explorer. The compatibility modes are enabled in Windows registry.
Now I have not tested how this works on SPWaW, but it has worked on a number of other old games having the color corruption problem on Windows Vista/7.
The easy way:
There is the fan made "Direct Draw Compatibility Tool" available that automates the registry editing process. The user only needs to run the Tool once and browse to the games .exe file he wants to patch and hit apply.
http://www.4shared.com/file/xeIljXSm/Di ... Tool_.html
The manual method:
To enable the DirectDraw compatibility mode for SPWaW manualy you need to copy paste the folowing text string to notepad and save it to a file with the extension (.REG).
So you should then have a file called SPWAW_colorfix.reg for example. Then just run it and if all goes well you should get a promt asking if you want to add the information to your registry. Click Yes.
Copy paste the text below to your notepad:
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\SPWaW-v8.403]
"Flags"=hex:00,08,00,00
"Name"="mech.exe"
"ID"=hex:45,1a,94,43
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\SPWaW-v8.403]
"Flags"=hex:00,08,00,00
"Name"="mech.exe"
"ID"=hex:45,1a,94,43
RE: Windows 7 *GUARANTEED* fix
The artillery screen bug is due to modern computers multicore CPU's most likely. Although it might also be due to some other compatibility issue.
There are ways to tell Windows to run a exe file in single core affinity though this can be tricky sometimes...
There is another way luckily. That is to update the exe file itself so there is no need to run separate scripts to enable the single core affinity.
To fix the affinity in the exe there is the program ImageCFG:
http://www.robpol86.com/index.php/ImageCFG
Here are links to the updated mech.exe files that should tell the computer to run the game in singlecore instead of multicore mode:
-Download and use this one if you have just the normal game patched to version 8.403.
http://www.gamefront.com/files/20195896 ... ix-upd.zip
-Use this one if you have the Enhanced FR mod.
http://www.gamefront.com/files/20195899 ... ix-upd.zip
Do tell me if this works (or doesn't). I can't test this myself since my computer has an old single core cpu...
UPDATE:
I edited the affinity to 0x2 instead of 0x1 so it should now use the second core of a multicore CPU. This might work better.
There are ways to tell Windows to run a exe file in single core affinity though this can be tricky sometimes...
There is another way luckily. That is to update the exe file itself so there is no need to run separate scripts to enable the single core affinity.
To fix the affinity in the exe there is the program ImageCFG:
http://www.robpol86.com/index.php/ImageCFG
Here are links to the updated mech.exe files that should tell the computer to run the game in singlecore instead of multicore mode:
-Download and use this one if you have just the normal game patched to version 8.403.
http://www.gamefront.com/files/20195896 ... ix-upd.zip
-Use this one if you have the Enhanced FR mod.
http://www.gamefront.com/files/20195899 ... ix-upd.zip
Do tell me if this works (or doesn't). I can't test this myself since my computer has an old single core cpu...
UPDATE:
I edited the affinity to 0x2 instead of 0x1 so it should now use the second core of a multicore CPU. This might work better.
RE: Windows 7 *GUARANTEED* fix
SP4EVER: I don't really have any probs, well yeah, I have one.....can you figure a fix to make tanks reverse in SPwaw please. I have played this game since ber 5 and I still dream of not showing my tail to the AI. [;)][&o][:D]
"As Pogo said, 'We have met the enemy and he is us' "
RE: Windows 7 *GUARANTEED* fix
ORIGINAL: SP4EVER
The artillery screen bug is due to modern computers multicore CPU's most likely. Although it might also be due to some other compatibility issue.
There are ways to tell Windows to run a exe file in single core affinity though this can be tricky sometimes...
There is another way luckily. That is to update the exe file itself so there is no need to run separate scripts to enable the single core affinity.
Here are links to the updated mech.exe files that should tell the computer to run the game in singlecore instead of multicore mode:
-Download and use this one if you have just the normal game patched to version 8.403.
http://www.gamefront.com/files/20072035 ... pu_fix.zip
-Use this one if you have the Enhanced FR mod.
http://www.gamefront.com/files/20072037 ... pu_fix.zip
Do tell me if this works (or doesn't). I can't test this myself since my computer has an old single core cpu...
It did NOT work for me, running Windows 7.
I am using it in conjunction with the color fix program
RE: Windows 7 *GUARANTEED* fix
Then it can't be a problem related to multicore CPU's either. Thats a bummer.
I know someone who has the artillery screen problem on his Windows 7 laptop. I'll have to try and see if he will let me mess with he's computer. [:)]
I strongly believe though that it is fixable. There are alot of things still to try.
For one there is the Aplication Compatibility Toolkit by Microsoft that has 100 or so fixes selectable so theres one place to start. Just have to go through the entire list one by one and see if any of the fixes work.
Then there are some dll files in the game directory that can be updated. That helps sometimes. I think it was windx.dll that has a newer version available online somewhere. It might fix something when updated... or not. I'll have to search for that.
I know someone who has the artillery screen problem on his Windows 7 laptop. I'll have to try and see if he will let me mess with he's computer. [:)]
I strongly believe though that it is fixable. There are alot of things still to try.
For one there is the Aplication Compatibility Toolkit by Microsoft that has 100 or so fixes selectable so theres one place to start. Just have to go through the entire list one by one and see if any of the fixes work.
Then there are some dll files in the game directory that can be updated. That helps sometimes. I think it was windx.dll that has a newer version available online somewhere. It might fix something when updated... or not. I'll have to search for that.
RE: Windows 7 *GUARANTEED* fix
Found the dll file I was talking about...
It was infact NCrawler's post at Shrapnelgames that had the link to the website regarding WinVFX.
http://www.thegleam.com/ke5fx/
On that site in the bottom there is the link for VFX Version 1.19.
Not sure if it matters at all, but one can update the windx.dll in the game directory with a newer dll from the archive available at the site.
Basicaly you download this archive:
http://www.thegleam.com/ke5fx/misc/vfx119.zip
Then unzip it somewhere in a temporary folder.
Then you should find a folder named "WINVFX16" there and a file called "winvfx16.dll" in it. Then rename that file to "windx.dll" and copy that in your game dir overwriting the old one.
It was infact NCrawler's post at Shrapnelgames that had the link to the website regarding WinVFX.
http://www.thegleam.com/ke5fx/
On that site in the bottom there is the link for VFX Version 1.19.
Not sure if it matters at all, but one can update the windx.dll in the game directory with a newer dll from the archive available at the site.
Basicaly you download this archive:
http://www.thegleam.com/ke5fx/misc/vfx119.zip
Then unzip it somewhere in a temporary folder.
Then you should find a folder named "WINVFX16" there and a file called "winvfx16.dll" in it. Then rename that file to "windx.dll" and copy that in your game dir overwriting the old one.