StarCraft fix holy cow!

Page 23 of 25 FirstFirst ... 132122232425 LastLast

  1. Posts : 25
    Windows 7 Ultimate x64
       #221

    Try the link now.
      My Computer


  2. Posts : 135
    Windows 7 Professional (64 Bit)
       #222

    Nice work mate


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


    mudlord said:
    Correct, it was originally a x64 application, I recompiled it and did some updates to work on Win7 x86.
      My Computer


  3. Posts : 1
    Windows 7 Ultimate 32bit
       #223

    Thaanx


    Thanx a lot you really helped me out :)
      My Computer


  4. Posts : 346
    Windows 7 Pro X64
       #224

    squall leonhart said:
    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 Computer


  5. Posts : 8
    Windows 7 Home Premium 64bit
       #225

    mudlord said:
    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 Computer


  6. Posts : 25
    Windows 7 Ultimate x64
       #226

    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 Computer


  7. Posts : 296
    Windows 7 Professional
       #227

    @ 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 Computer


  8. Posts : 2
    Windows 7 Home Premium
       #228

    squall leonhart said:
    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 Computer


  9. Posts : 346
    Windows 7 Pro X64
       #229

    GivingHope said:
    squall leonhart said:
    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 Computer


  10. Posts : 1
    Windows 7 Home Premium x64
       #230

    mudlord said:
    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 Computer


 
Page 23 of 25 FirstFirst ... 132122232425 LastLast

  Related Discussions
Our Sites
Site Links
About 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 18:32.
Find Us