Problems registering at AoCZone?
You can try resending activation email. If that doesnt work you can send an email here. If you forgot your password click here.
 Main Menu

 ForumsSearch »

 War is Coming

 Top Experts League #5

 Arabian Conquest

 Top Experts League #4

 Masters of Arena 2

 SteelSeries BO5

 AoC Recorded Games

 AoE2HD Recorded Games

 AoFE Recorded Games

 Major Past Tournaments

 Auto downloadedFind »

 Users currently online
Members (24)
»  Blitz
»  slam
»  yiwen
Guests (45)

 AoC Clans Add yours »

 Links

 Ads

Windows Vista / 7 color fix (by mudlord)

AoC game updates and patches, secure and improve your gameplay
Advertisement from Google 
 

Windows Vista / 7 color fix (by mudlord)

Postby  BugA_the_Great » Thu Oct 28, 2010 12:58 am

Originally posted by mudlord on SevenForums.

Image

Info: Fixes problems with colors on Windows Vista / Windows 7 permanently, without a need to kill "explorer.exe" anymore, nor try any other solutions.

DOWNLOAD :arrow: w7ddpatcher-withsource.zip (source code included)

How to use:

    1) Unpack the packed file.
    2) Start w7ddpatcher.exe.
    3) Click Patch, select your game executable (usually C:\Program Files\Microsoft Games\Age of Empires II\age2_x1\age2_x1.exe) and click Open.
Game will start, and as soon as all needed game info is gathered by the program, both game and program will close. That`s all, next time you start the game you won`t have any more color problems.

Additional info:
How does it actually work?

    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.
.
Attachments
w7ddpatcher-withsource.zip
(24.02 KiB) Downloaded 10281 times
Image
 BugA_the_Great
Admin
 
Posts: 3361
Joined: Mar 13, 2010
Location: Bor, Serbia
Age: 29
 1514 (47%)
 
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  [wW]StrongMan_ » Thu Oct 28, 2010 9:18 am

I do LOVE u...
 [wW]StrongMan_
 
Posts: 724
Joined: Aug 05, 2010
Location: Slovakia
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  vitor » Thu Oct 28, 2010 4:32 pm

omg, thank you 111
 vitor
 
Posts: 180
Joined: Feb 13, 2010
 1984 (55%)
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  COBL_Olof » Fri Oct 29, 2010 12:07 am

Wow, nice. This really works. No more color messed up games in GR :) Big thanks mudlord.
 COBL_Olof
 
Posts: 10
Joined: Apr 04, 2010
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  geo_aoe » Sat Oct 30, 2010 9:19 am

Thank you, i hate the explorer force kill solution, too bad your solution came only on the third page of google :(
 geo_aoe
 
Posts: 1
Joined: Oct 30, 2010
 
Advertisement from Google 
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  FossE » Sat Oct 30, 2010 2:26 pm

wont work for me, after the game is started nothing happens :S how long is it suppose to take before it closes itself?
User avatar
 FossE
 
Posts: 292
Joined: Mar 13, 2010
Age: 23
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  BugA_the_Great » Sat Oct 30, 2010 2:31 pm

I can`t help much more that it says in the first post, sorry :(
Have you tried to right click "w7ddpatcher.exe" and select "Run as administrator"?
 BugA_the_Great
Admin
 
Posts: 3361
Joined: Mar 13, 2010
Location: Bor, Serbia
Age: 29
 1514 (47%)
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  puma » Sun Oct 31, 2010 12:51 am

works for me at first time and ever :P just run with my admin acount and its ok :P
User avatar
 puma
 
Posts: 180
Joined: Oct 09, 2010
 1761 (49%)
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  DayDream » Sun Oct 31, 2010 9:33 am

Thanks/
 DayDream
Top Player
 
Posts: 69
Joined: Jul 31, 2008
Age: 25
 2068 (62%)
 

Re: Windows Vista / 7 color fix (by mudlord)

Postby  NominatedMayan » Fri Nov 05, 2010 5:19 am

As a fellow programmer I have to say congrats! Very elegant solution, I am impressed!
 NominatedMayan
 
Posts: 319
Joined: Mar 17, 2010
 
 
Next

Return to Patches

Who is online

Users browsing this forum: No registered users and 3 guests

Legend: Global moderators, News posters, Tournament moderators