Page 9 of 19
Re: Patched: Age of Empires 2 Conquerers
Posted: 27 Apr 2010, 22:29
by de Bill
OK, thank you for advice. I will think about it little bit :) .. and try to do that. It could work as you said ...
Re: Patched: Age of Empires 2 Conquerers
Posted: 28 Apr 2010, 10:27
by huabao
Hi,
I just tested this with my Chinese edition AoE2. The version of the original exe file is 2.1 instead of 1.0c, 1.0e etc. When I apply the patch, there are a few warnings saying file size not expected or sth. But it still generated modified exe files for my laptop which has 1600x900 resolution. And the modified exe worked! it plays great on full screen, and no color distortion in win7 after using the other patch is simply terrific.
A big thanks to the creaters of these wonderful patches!
:bowdown
Re: Patched: Age of Empires 2 Conquerers
Posted: 28 Apr 2010, 10:57
by scavvenjahh
boekabart, do you think your patch could be converted and incorporated into
UniWS, or would it require a totally different approach :?:
Re: Patched: Age of Empires 2 Conquerers
Posted: 28 Apr 2010, 11:40
by boekabart
boekabart, do you think your patch could be converted and incorporated into UniWS, or would it require a totally different approach :?:
For the exe it might be possible, but for the interfac.drs I highly doubt it. CHeck the source code and see for yourself.
Re: Patched: Age of Empires 2 Conquerers
Posted: 28 Apr 2010, 14:45
by de Bill
Hello boekabart, I have already tried to patch the AoK .exe file, but I have some problems to finish it. First of all, probably I don't get what you have mentioned before with that 'createpatches' ??? What exactly is it?
Here is what i did: I took "AoE2Wide1.0e.patch", renamed it for version 2.0 and have changed some configuration details inside.
a) file size of AoK executable - EMPIRES2.EXE file
b) hash code of AoK executable
c) !!! here I am not sure, If this is relevant for anything, but I have changed version to 2.0 (what is version of my EMPIRES2.EXE)
d) !!! here I did NOT change anything, coz I don't know, what this mean :) . What is "drspost" ??? I gues, this was the problem, where the patching failed.
Please, look at this screenshot and if you would be so nice, give me some hint :).
thx
Re: Patched: Age of Empires 2 Conquerers
Posted: 28 Apr 2010, 15:16
by boekabart
Hello boekabart, I have already tried to patch the AoK .exe file, but I have some problems to finish it. First of all, probably I don't get what you have mentioned before with that 'createpatches' ??? What exactly is it?
Here is what i did: I took "AoE2Wide1.0e.patch", renamed it for version 2.0 and have changed some configuration details inside.
a) file size of AoK executable - EMPIRES2.EXE file
b) hash code of AoK executable
c) !!! here I am not sure, If this is relevant for anything, but I have changed version to 2.0 (what is version of my EMPIRES2.EXE)
d) !!! here I did NOT change anything, coz I don't know, what this mean :) . What is "drspost" ??? I gues, this was the problem, where the patching failed.
Please, look at this screenshot and if you would be so nice, give me some hint :).
thx
No this is wrong. Don't manually change the details in a patch file this won't work.
If you run aoe2wide with the option createpatches it will create a patch file FROM the rootpatch file FOR all the exes it finds. Like this: http://www.boekabart.net/aoe2wide/AoE2Wide_Kings.patch (dunno what version kings this is - it might work better for your version than for mine)
All those !!! in there have to be manually found and fixed! (don't remove the !!! that won't work, you have to find the correct position)
Re: Patched: Age of Empires 2 Conquerers
Posted: 29 Apr 2010, 15:45
by de Bill
Thank you very much, but could you please more specify the steps to do tha? I still cannot make it. Let's have game folder "AoE TC" for example. In "AoE TC" folder root is "EMPIRES2.EXE" (AoK executable) and another "Age2_x1.exe" folder wit TC extention. I have already installed you TC widesreen patch. So "Age2Wide" folder is included in game folder. In "Age2Wide" are generated patches.
When I go to cmd and run "Age2Wide createpatches" from "Age2Wide" folder, It generates 3 patches as usual (1.0, 1.0c, 1.0e) but doesnt create patch file for EMPIRES2.EXE. What do I bad? How did you exactly generate included "AoE2Wide_Kings.patch" ??
As you wrote "If you run aoe2wide with the option createpatches it will create a patch file FROM the rootpatch file FOR all the exes it finds", but I cannot get it :oops:
Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 09:11
by boekabart
debill: I wrote before: rename/copy your empires2.exe to age2_x1_Kings.exe or so (because the patcher only looks for age2_x1*.exe ... )
THEN createpatches will create one for kings too.
Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 15:44
by de Bill
debill: I wrote before: rename/copy your empires2.exe to age2_x1_Kings.exe or so (because the patcher only looks for age2_x1*.exe ... )
THEN createpatches will create one for kings too.
:) yeah, thats exactly, what doesn't work .. as I wrote before, so you talk still in a circle instead of giving me exact points how to do that to be more transparent for me. Thats why I wanted you help, you gave me just very very wide info how you think this can work.
Createpatches does not create anything for kings, coz the Age2_x1_whatever.exe "is not the expected size". It creates patches for 1.0, 1.0c and 1.0c .. and thats it!

Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 16:03
by boekabart
[quote]debill: I wrote before: rename/copy your empires2.exe to age2_x1_Kings.exe or so (because the patcher only looks for age2_x1*.exe ... )
THEN createpatches will create one for kings too.
:) yeah, thats exactly, what doesn't work .. as I wrote before, so you talk still in a circle instead of giving me exact points how to do that to be more transparent for me. Thats why I wanted you help, you gave me just very very wide info how you think this can work.
Createpatches does not create anything for kings, coz the Age2_x1_whatever.exe "is not the expected size". It creates patches for 1.0, 1.0c and 1.0c .. and thats it!
From the output I can tell that you just didn't run 'aoe2wide createpatches'. It should look like this (apart from the yellow part):

Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 17:51
by de Bill
You are right about the output, but doesn't matter, should be the same result .. I have tried many times before with createpatch. Here is what I get when following your printscreen. I don't know, what's wrong :).

Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 18:35
by KepchaT
hi!
i have 1366x768 screen and i downloaded patch but i still cant play on 1280x1024 option.. please somebody could tell me how i can make it?
Re: Patched: Age of Empires 2 Conquerers
Posted: 03 May 2010, 21:46
by boekabart
You are right about the output, but doesn't matter, should be the same result .. I have tried many times before with createpatch. Here is what I get when following your printscreen. I don't know, what's wrong :).
You're lucky, I do. You need to have the 1.0 exe that I originally used for creating the RootPatch. Lucky again, it's been available at my site all this time:
http://www.boekabart.net/aoe2wide/age2_x1.zip. Good luck and keep us posted.
Re: Patched: Age of Empires 2 Conquerers
Posted: 04 May 2010, 09:40
by de Bill
[quote]You are right about the output, but doesn't matter, should be the same result .. I have tried many times before with createpatch. Here is what I get when following your printscreen. I don't know, what's wrong :).
You're lucky, I do. You need to have the 1.0 exe that I originally used for creating the RootPatch. Lucky again, it's been available at my site all this time:
http://www.boekabart.net/aoe2wide/age2_x1.zip. Good luck and keep us posted.
Heureka, thank you, this worked at the first try. ... So now, you have already wrote about these "!!!", but I don't see any relevances between those !!!. What exactly am I supposed to find and try? Do I have to delete all !!! signs at once from the patch, or just one and try the patch .. then try another "!!!" and try .. or what? :) Thx.
Re: Patched: Age of Empires 2 Conquerers
Posted: 04 May 2010, 11:37
by boekabart
hi!
i have 1366x768 screen and i downloaded patch but i still cant play on 1280x1024 option.. please somebody could tell me how i can make it?
1366x768 patches the 1024x768 version, so select 1024x768 in the game to play in your res. By the way let me know whether it works, 1366 (not being dividable by 4) might give some trouble...
Re: Patched: Age of Empires 2 Conquerers
Posted: 04 May 2010, 11:38
by boekabart
[quote][quote]You are right about the output, but doesn't matter, should be the same result .. I have tried many times before with createpatch. Here is what I get when following your printscreen. I don't know, what's wrong :).
You're lucky, I do. You need to have the 1.0 exe that I originally used for creating the RootPatch. Lucky again, it's been available at my site all this time:
http://www.boekabart.net/aoe2wide/age2_x1.zip. Good luck and keep us posted.
Heureka, thank you, this worked at the first try. ... So now, you have already wrote about these "!!!", but I don't see any relevances between those !!!. What exactly am I supposed to find and try? Do I have to delete all !!! signs at once from the patch, or just one and try the patch .. then try another "!!!" and try .. or what? :) Thx.
No you need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe. Not easy!
Re: Patched: Age of Empires 2 Conquerers
Posted: 04 May 2010, 13:34
by de Bill
No you need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe. Not easy!
I can't follow you. You gave me just very blured hints. I am just wondering, what did you exactly mean by this "need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe". I looked to all of those 3 codes (kings patch with those !!!, original age2_x1.exe, original kings .exe) like an hour, but there is no linkage. No "blocks" or codes (or just their pieces) doesn't match in any of these codes, so as I search through, I still find nothing.
Could you please specify it to the details a little bit for me? . Now, at this time, I am more courious, what are your thoughts, than if I will even play AoK in widesreen sometime :D.
Re: Patched: Age of Empires 2 Conquerers
Posted: 04 May 2010, 13:53
by boekabart
[quote]No you need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe. Not easy!
I can't follow you. You gave me just very blured hints. I am just wondering, what did you exactly mean by this "need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe". I looked to all of those 3 codes (kings patch with those !!!, original age2_x1.exe, original kings .exe) like an hour, but there is no linkage. No "blocks" or codes (or just their pieces) doesn't match in any of these codes, so as I search through, I still find nothing.
Could you please specify it to the details a little bit for me? . Now, at this time, I am more courious, what are your thoughts, than if I will even play AoK in widesreen sometime :D.
Look. I found, in the original 1.0 AoC exe, the pieces of code that needed to be changed in order for it to work in other resolutions. That's the RootPatch file. It points out the locations that need to be changed, smth like: at offset 123981 there is now 1280 which is a Width. or, at offset 120947 there is now 450 which is related to a height of 600 (so if we patch 800x600 to 1000x650, this 450 needs to become 50 more, 500).
Then, because people also wanted this in other versions of AoC 1.0c and 1.0e, I created a method that looks at the code around each of these locations, and finds a matching (and unique!) piece of code in another executable. This was an (almost?) fully automated process from 1.0 to 1.0c and 1.0e.
But for Kings, the exe is apparently quite a bit different from the AoC 1.0 exe - so it cannot find matching pieces of code (or it finds multiple and can't choose) for some of the locations. Only solution: Manually check the 1.0 AoC exe how the code looks at those locations, and find the correct match in AoK exe... Or just leave them out, but you're sure to miss some locations that probably are important.
Me, I don't play AoK so I don't have time to do this for you at this moment... a community sponsorship might help though :)
Re: Patched: Age of Empires 2 Conquerers
Posted: 05 May 2010, 12:46
by de Bill
[quote][quote]No you need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe. Not easy!
I can't follow you. You gave me just very blured hints. I am just wondering, what did you exactly mean by this "need to figure out (by searching) where that piece of code, as it exists in the 1.0, exists in Kings.exe". I looked to all of those 3 codes (kings patch with those !!!, original age2_x1.exe, original kings .exe) like an hour, but there is no linkage. No "blocks" or codes (or just their pieces) doesn't match in any of these codes, so as I search through, I still find nothing.
Could you please specify it to the details a little bit for me? . Now, at this time, I am more courious, what are your thoughts, than if I will even play AoK in widesreen sometime :D.
Look. I found, in the original 1.0 AoC exe, the pieces of code that needed to be changed in order for it to work in other resolutions. That's the RootPatch file. It points out the locations that need to be changed, smth like: at offset 123981 there is now 1280 which is a Width. or, at offset 120947 there is now 450 which is related to a height of 600 (so if we patch 800x600 to 1000x650, this 450 needs to become 50 more, 500).
Then, because people also wanted this in other versions of AoC 1.0c and 1.0e, I created a method that looks at the code around each of these locations, and finds a matching (and unique!) piece of code in another executable. This was an (almost?) fully automated process from 1.0 to 1.0c and 1.0e.
But for Kings, the exe is apparently quite a bit different from the AoC 1.0 exe - so it cannot find matching pieces of code (or it finds multiple and can't choose) for some of the locations. Only solution: Manually check the 1.0 AoC exe how the code looks at those locations, and find the correct match in AoK exe... Or just leave them out, but you're sure to miss some locations that probably are important.
Me, I don't play AoK so I don't have time to do this for you at this moment... a community sponsorship might help though :)
Good, thx. This is much more better description. I have to read it more times and think about it .. and try it. I don't want you to do it for me. I don't play Kings also, but I am just courious now, how does your patch work. Yeah, I guess so, sponsorship would be fine :D .. I was working on my color FIX application like 1 month, so I know ...
Re: Patched: Age of Empires 2 Conquerers
Posted: 05 May 2010, 13:42
by Champoussin
I play age of empires age of the kings and it sucks playing with a big monitor and such a small game resolution!! I hope you guys can find the solution quick, cause i've planned some age of empires games with a bunch of friends today in the evening:P. GOod luck!!