Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: StarCraft fix holy cow!

09 Aug 2010   #221
mudlord

Windows 7 Ultimate x64
 
 

Try the link now.


My System SpecsSystem Spec
.
10 Aug 2010   #222
Gamer1238

Windows 7 Professional (64 Bit)
 
 
Nice work mate

Dude nice work man, I am so happy that you found away to get it to work


Quote   Quote: Originally Posted by mudlord View Post
Correct, it was originally a x64 application, I recompiled it and did some updates to work on Win7 x86.
My System SpecsSystem Spec
16 Aug 2010   #223
Habx

Windows 7 Ultimate 32bit
 
 
Thaanx

Thanx a lot you really helped me out
My System SpecsSystem Spec
.

17 Aug 2010   #224
smsff7

Windows 7 Pro X64
 
 

Quote   Quote: Originally Posted by squall leonhart View Post
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
Nice a working fix for starcraft now I can play it again

PS: I got this game for $3
My System SpecsSystem Spec
20 Aug 2010   #225
rapurimanka

Windows 7 Home Premium 64bit
 
 

Quote   Quote: Originally Posted by mudlord View Post
I am working out a method so Squall's fix can be made generically to any affected 256 colour game, so then its easy for newbs. I already worked out how to capture DirectDraw IDs, and its very easy to extract the filename only from a complete Windows path, and then stuff it into Registry keys.

The issue is working out how Windows generates the application's name for the Compatibility key. I have a hunch is related to window class ID, but not 100% sure since it will take some time to make sure if its true, OR if its possible to just add any name in there and it applies the fix regardless. If possibility 2 is true, shouldn't be too hard writing a patcher that does it.

EDIT: Okay, wrote the patcher. Tested on Starcraft and Warcraft II BNE. Only works on Windows 7 x64, it is also a 64bit application, too. Source code in C is included.
Hi, can you explain how it works? It only changes something in starcraft exe or also changes registry entries? If registry is also affected, won't it bring my problems in other spheres of my OS?
My System SpecsSystem Spec
20 Aug 2010   #226
mudlord

Windows 7 Ultimate x64
 
 

1) App gets HWND/process IDs of application being run.
2) App runs the application.
3) It kills its threads as soon as a HWND and thread ID is gathered.
4) From there, the most recent DirectDraw application ID is gathered. Since it was the app to be patched, it copies it to a variable.
5) This variable, along with the needed flags makes a compatibility profile in the Registry for Windows Vista/7 to use with that application, only. It won't affect other parts of your registry. The key name used comes from the application's window class name/IDs.

Of course the source explains the details.

To fix the crashing involves a whole new can of worms: I have to then reverse engineer how Starcraft/Storm.dll uses GDI/DirectDraw and see what its doing thats causing those crashes.....
My System SpecsSystem Spec
22 Aug 2010   #227
Nemix

Windows 7 Professional
 
 

@ zZanthraXx

Have you found a fix?

I did not read through the whole thread but I think my brother has a solution cause I see him play StarCraft on Windows 7 64-bit without any of color/crash problems.

My System SpecsSystem Spec
22 Aug 2010   #228
GivingHope

Windows 7 Home Premium
 
 

Quote   Quote: Originally Posted by squall leonhart View Post
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
OK, what do I do with this code?
My System SpecsSystem Spec
22 Aug 2010   #229
smsff7

Windows 7 Pro X64
 
 

Quote   Quote: Originally Posted by GivingHope View Post
Quote   Quote: Originally Posted by squall leonhart View Post
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectDraw\Compatibility\Starcraft116]
"Flags"=hex:00,08,00,00
"Name"="Starcraft.exe"
"ID"=hex:ca,89,65,49
OK, what do I do with this code?
go into the registry find the entry and change it
My System SpecsSystem Spec
24 Sep 2010   #230
tswaters

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by mudlord View Post
Try the link now.
Both you and Squall_Leonhart rock. I thought it strange that I could run scII with no problems, but sc/bw failed. It took me a long time to read this entire thread, and I did... Trolling when trolling must be done. Some people, I tell ya. It takes all of three seconds to find the dirty hacks there is no need to post it again and again.
My System SpecsSystem Spec
Reply

 StarCraft fix holy cow!




Thread Tools




Similar help and support threads
Thread Forum
Holy Blessing Batman!
Not Windows 7 related, but, you've got to give them top marks for trying "Apple's iTunes has received a unique endorsement in a marketplace populated by sports and entertainment celebrities: The Vatican has blessed an iPhone app. Well, not quite blessed, but acknowledged and praised...
Sound & Audio


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:38.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App