Friday, March 25, 2011

Solving old games graphics problem on Windows 7 and Vista

Introduction
Old popular games such as Age of Empires, Starcraft, Worms and Diablo that runs on windows 7 and vista is suffering palette problem which caused the game graphics color messed, color problem, palette stolen, etc.

VOS - Color messed (rainbow) and it's not black actually.

Recently, I wanted to play some old game and one of them are Virtual Orchestra Studio, the color messed but doesn't influence the game. I played normally without doing any trick or methods that solve the color issue. Suddenly, one day while playing Virtual Orchestra Studio, the color that supposed to be blue turned white and almost the entire screen turned bright including background!
Because the game is about pressing the key at the right moment and since I cannot see the note fall because the note and the background looks the same. It make me think to write some tools to solve this issue because almost all people talk about the solution to this problems is to terminate explorer.exe and then start the game, but I don't like this method.


The Issue
After googling around, I found interesting statement about what caused the problem here: http://forums.bf2s.com/viewtopic.php?pid=2898635#p2898635 which says:
"The game colours get all messed up

This happens when another application is stealing W:A's palette. W:A logs such occurrences to the file "palette.log" in your W:A folder. If you can, try closing the programs listed there.

Often it's a component of Windows itself that's stealing W:A's palette (usually csrss.exe)."
The problem is that windows application is stealing the palette.

Idea Arrive
My first idea is to write a tools that will find the application that steal the palette and suspend it. Suspending will cause some side effects such as when explorer.exe steal the palette, you will not be able to ALT+TAB to minimize the game. So instead of suspending it, I want to hook the process to change its behavior to not touching the palette when the game is running. Since I don't know much about graphics I begin googling and found existing tools, methods and solution to fix the problem on this site: http://blog.macuyiko.com/2009/07/solving-color-problem-red-grass-purple.html

Methods and Solution:
There are various methods and solution explained at macuyiko's blog. I will list some only, if you want to see the complete list, go [here]

Exit Explorer
1) The famous terminate explorer.exe:
  • Killing explorer.exe isn't my option and it doesn't feel safe for me. But there is other way to close the explorer gently and start the game.
  • First make sure you can start task manager by pressing CTRL+SHIFT+ESC (directly open the task manager) or CTRL+ALT+DEL (I don't like this combination since it will bring you to the lock screen).
  • Then open start menu and press CTRL+SHIFT, then right-click to any empty area on your start menu and select Exit Explorer.
  • Back to your task manager, select File and choose New Task. Browse your game executable and click OK.
  • If you want to get the explorer back, type explorer.exe in New Task.

2) The strange screen resolution method:
  • First, right-click at any empty desktop area to bring out the menu, select Screen Resolution and click advance settings.
  • Another windows will be opened, now you need to click monitor tab and leave it open. Run the game.
  • This is strange solution but works.
3-Steps Screen Resolution method

3) Jari Komppa's DirectDraw hack:
  • This method will use Jari Komppa's DirectDraw hack, a direct draw dll that wraps direct draw calls and redirect them to OpenGL. I was never successfully try this method as I only have one old direct draw game on current laptop installed and the game crashes when using this method. My assumption is that not all direct draw call is implemented yet.
  • First, download Jari Komppa's ddraw hack [here], select [ddhack10.zip]
  • Extract and place them in your game executable folder and then run the game.
  • If you don't know your executable game folder, right-click on game shortcut and choose Open File Location.

4) Compatibility hack:
  • This is a tool created by Mudlord. It will add game exe into registry entry to enable compatibility mode.
  • You can download the tool [here] or [here] (mirrored by [Seppe Vanden] as original source seems to be down).
  • Extract and run the tools and then select patch.
  • Select your game executable and wait for the patching process begin. The game will be start and terminate immediately as the application tried to grab the process identifier.
  • Note: This tools will not patch your executables, but it will add some entry in registry. No file will be harmed and touched.
  • Update: Unfortunately, this method works only for few minutes for me.

So far, I like to use solution number 2 and 4. If I'm not lazy enough, I will create a tool that will hook windows explorer. Why bother to create a tool when there is already enough tools available? Simply because, I will release the source code too and you can learn from it.

60 comments:

  1. the monitor tab thing worked perfectly with cossacks on win 7 64 :/ awesome trouble solving ability there mate kudos :D

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. hey man can you send me a link to download cossack....maybe I don'r download good type of the game...pls send

      Delete
  2. The monitor tab thing worked great. Obviously, this is some Very Well Designed Feature.

    ReplyDelete
    Replies
    1. hey man can you send me a link to download cossack....maybe I don'r download good type of the game...pls send

      Delete
  3. can i get some VOS song pack ? pleaseee.. i wonder if there anyone have the FF X sutekidane song for VOS. T.T

    ReplyDelete
  4. That's awesome. The monitor tab thingie did the job. Thanks a ton :)

    ReplyDelete
    Replies
    1. hey man can you send me a link to download cossack....maybe I don'r download good type of the game...pls send

      Delete
    2. hey man can you send me a link to download cossack....maybe I don'r download good type of the game...pls send

      Delete
  5. i want t play another song on vos game...can someone teach me how too the song?....

    ReplyDelete
  6. Compatibility hack worked wery well thanks for the tips :)

    ReplyDelete
  7. solution number 2 awsome!! thanks :)

    ReplyDelete
  8. Realllly awesome
    thnxxxxxxxxxxxxxxxxxx

    ReplyDelete
  9. Thanks Mate. Solution 2 ie Screen resolution> Monitor worked for a game "Bonk Heads" without a flaw. Whoever discovered this needs a great pat on the back!!!

    ReplyDelete
  10. The monitor tab thing works on Emergency Fighters for life game from 1998. Strange fix but it does the trick!

    ReplyDelete
  11. The option 2 - PERFECT

    ReplyDelete
  12. Worked a treat, thank you very much!

    ReplyDelete
  13. The explorer.exe solution totally worked for Bonkheads on Windows 7. Mighty thank you my man. I was dying to play for game for years on Windows 7 but couldn't due to the annoyance caused by the haywire graphics. My old laptop had Windows Vista and it ran perfectly on that one but because it's been 5 years since the old laptop expired, I couldn't play Bonkheads on my new laptop.

    Thank you again!

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  14. hey man can you send me a link to download cossack....maybe I don'r download good type of the game...pls send

    ReplyDelete
  15. I am proud of your site, & interested.

    ReplyDelete
  16. This is absolute WTF! this is actually an old game but The Gameplay is LAG AS HELL....

    ReplyDelete
  17. Your blog has given me that thing which I never expect to get from all over the websites. Nice post guys!

    ReplyDelete
  18. Gambling games you choose to play every day.

    Sbobet A gambling site that gives you a full gamble on selected gambling. Make profits to bet on the full day with the selected gambler. Always give good returns. The profit is very high. Bet on and experience gambling to bet the top. The return of the lot. Want to gamble with real chance to play gambling everywhere.

    By betting to play as you like. To play good luck. Gambling is a complement to and exposure to gambling in various forms. To play gambling more easily. Ready to play a realistic online gambling. Live from the real casino. How to play gambling luck to play at our website. The chance to play as you like. To play good luck. It's a gamble to fill in and interact with various types of bets. Get more easy gamblers. Ready to play a realistic online gambling. Live from the real casino. I like to play gambling at the site. IBCbet

    ReplyDelete
  19. http://www.acetecsupport.com/pogo_support.html
    Pogo Technical Support
    Currently, our services are being providing to the customers round the clock accessibility option to technical support executives anytime in the whole year.

    ReplyDelete
  20. I am much impressed. Thank you for providing this nice information here. Thank you for this nice article.

    Video Game Testing Companies

    ReplyDelete
  21. Great news, I am finally able to play emergency with no graphic problems by using the explorer shut down method

    ReplyDelete
  22. cerisea medica correct times. So just to wrap it up, going on a quick certainly has health and fitness and advantages and I encourage you to learn more about it. However , building a set of solid healthy workouts into you day will produce far better outcomes for you than going on a quick for weight loss ever will. There are Atkins or any other similar flat. The key to dropping bodyweight is not carb restriction, it's getting carbs at the category. And during these final three meals you must also remove vast majority of your carbs optimal
    https://newsletterforhealth.com/cerisea-medica/

    ReplyDelete
  23. Keto fit pro , loss wall after a while. Several culprits may be at play, but you should start with looking to what you eat strategy strategy system. Do not forget that to be able to successfully get thinner, you must use-up would, or that they hit a sort of weight-t. •.
    https://newsletterforhealth.com/keto-fit-pro/

    ReplyDelete
  24. south beach diet For more guidelines and strategies on how to get rid of fat permanently and be happy and healthy and balanced and healthy and balanced , get your 100 % 100 % free copy of The Quick-Start Body weight Decrease Hanbook at I have been hearing for a while now that when it comes to weight-loss, execute also be fit!ief on a normal base and fat. So if you really want to prepare yourself well and
    https://newsletterforhealth.com/south-beach-diet/

    ReplyDelete
  25. nice blog post and very valuable features apk , thanks a lot share a apk !Download bigo live stream and chat

    ReplyDelete
  26. cerisea medica without even realizing it. Try to spread meals out thinner, getting four to six smaller daily meals instead of two to three big ones. • Another objective you may not be dropping bodyweight, especially if you are supplementing your running system with bodybuilding or bodyweight training, is that muscle weighs to get rid of fat, no issue how many miles you’re logging. Frequent execute out can create you hungrier than usual, so you may have upped your calories
    https://newsletterforhealth.com/cerisea-medica/

    ReplyDelete
  27. slim quick keto So if you really want to prepare yourself well and strengthen your mind-body connection for the potential of dropping bodyweight, you have to completely trust yourself and believe that you can execute weight-loss. But remember: it’s not enough to just say that you believe in something.opposite outcomes. You wouldn’t want that if you’re eager to get rid of fat. !
    https://newsletterforhealth.com/slim-quick-keto

    ReplyDelete
  28. Are you looking for MacBook repair in Delhi - India, then Gadget Doctor is here for you. It provide macbook repair at your doorstep.
    Check it out: Gaming console repair

    ReplyDelete
  29. Nice post & very informative. I really appreciate your hard work to gather this information! Also check this one too: PlayBox HD for Android

    ReplyDelete
  30. This comment has been removed by the author.

    ReplyDelete
  31. Game On is a gaming console repair shop in Karol Bagh, New Delhi. Repair and services are provided for all Gaming Products. Playstation repair and Xbox repair is our speciality.
    We repair all playstations: PS3, PS4, PS3 slim, PS4 pro. All Xbox are repaired here: Xbox 360, Xbox one, Xbox one s, Xbox x.
    Visit our store: 146, mezzanine floor, gaffar market, Karol Bagh , New Delhi 110005
    Visit our website: www.myrepairing.com

    ReplyDelete
  32. Game On is a gaming console repair shop in Karol Bagh, New Delhi. Repair and services are provided for all Gaming Products. Playstation repair and Xbox repair is our speciality.
    We repair all playstations: PS3, PS4, PS3 slim, PS4 pro. All Xbox are repaired here: Xbox 360, Xbox one, Xbox one s, Xbox x.
    Visit our store: 146, mezzanine floor, gaffar market, Karol Bagh , New Delhi 110005
    Visit our website: https://myrepairing.com/

    ReplyDelete
  33. Game On is a gaming console repair shop in Karol Bagh, New Delhi. Repair and services are provided for all Gaming Products. Playstation repair and Xbox repair is our speciality.
    We repair all playstations: PS3, PS4, PS3 slim, PS4 pro. All Xbox are repaired here: Xbox 360, Xbox one, Xbox one s, Xbox x.
    Visit our store: 146, mezzanine floor, gaffar market, Karol Bagh , New Delhi 110005
    Visit our website: www.myrepairing.com
    we also provide free pickup and drop service.

    ReplyDelete
  34. Works perfectly! Finally able to play Diablo 2 (can't wait for the remake)

    ReplyDelete
  35. Great!! Thank you for sharing this post on software testing. Software testing outsourcing services are in great demand these days. Good to see such nice articulated post.

    ReplyDelete
  36. Thanks for your article. Sure it will help me with my work of online mobile repair.

    ReplyDelete
  37. Hi, I am John Smith I am Web Developer, It is an amazing blog thanks for the sharing the blog. Frantic infotech provide the angularjs web development such as an information about software development for costumer service. Franti infotech also provide the java web development. The development of advanced web applications is Orient Software’s specialty and we will successfully fulfill all your web application development requirements, from small-sized to wider-ranged projects.

    ReplyDelete
  38. This is a great post. Your Blog is very informative, I have learned some information about your blog..CyberArk Training in Hyderabad

    ReplyDelete
  39. Nice article
    ca coaching in hyderabad
    ca foundation course
    ca final course
    ca intermediate course

    ReplyDelete
  40. Nice article
    cma coaching in hyderabad
    cma foundation course
    cma final course
    cma intermediate course

    ReplyDelete
  41. This is a great post. Your Blog is very informative, I have learned some information about your blog..
    dot-net-full-stack-developer-training-in-hyderabad

    ReplyDelete
  42. Thank you for this post.icecreamhaven.in Vanilla is the most iconic and versatile ice cream flavor. With its creamy texture and subtle sweetness, it pairs perfectly with almost any topping or dessert.

    ReplyDelete