I've progressed a bit with the Commandos 3 fix with some help from the Commandos community, so I figure I might as well
cross-post this here in case anyone is interested. It's not perfect, but it's certainly an improvement. Now the basic interface is fully functional and everything seems to be where it should be apart from a couple non-critical elements.
I should note that this will not work with the Steam version because it's encrypted with copy protection. You'll need the retail version. You may be able to use the retail executable with Steam, however.
To use UniWS to fix Commandos 3, download
UniWS and extract it anywhere you'd like. Open the included "patches.ini" file with any text editor (such as notepad) and add this near the top after the a16 line:
Code:
a17=Commandos 3: Destination Berlin
And then add all of this at the end of the file:
Code:
[Commandos 3: Destination Berlin]
details=Steam versions (and possibly some retail versions) will need a cracked No-CD executable for this fix to work (The Version 1.42 No-CD executable should work here). Point to the location of the executable and select your desired resolution.13101310After patching is complete, apply the interface fix located on the Widescreen Gaming Forum.
checkfile=Commandos3.exe
modfile=Commandos3.exe
undofile=Commandos3.undo1
sig=20030000c3b800040000c3b800050000c3c45c5600ca5c5600d05c5600d65c5600909090908b4948b8e001000083f90377leff248dlc5d5600b8e0010000c3b85802
sigwild=000000000
xoffset=0
yoffset=64
occur=1
p1modfile=Commandos3.exe
p1undofile=Commandos3.undo2
p1sig=20030000eb0cba00040000eb05ba0005000083f803b9e0010000773fff2485e45d56008b442404b9e00100008910894804c204008b442404b95802
p1sigwild=000000
p1xoffset=0
p1yoffset=57
p1occur=1
After you've done that, save the file and exit. Now run UniWS and select Commandos 3 from the drop down menu and locate the Commandos 3 executable in the box below.
Choose the resolution you'd like to try, and then click the Patch button. You can skip the next section of this post and scroll down to the part that deals with fixing the interface.
-------
To fix the executable manually you will need a hex editor such as
Be.HexEditor. Open your Commandos 3 executable with it (these strings are based on the 1.42 No-CD executable and may not match other versions exactly) and search for the following strings (you don't have to search for the entire thing, just the first few bytes to make sure you're at the right location).
20 03 00 00 c3 b8 00 04 00 00 c3 b8 00 05 00 00 c3 c4 5c 56 00 ca 5c 56 00 d0 5c 56 00 d6 5c 56 00 90 90 90 90 8b 49 48 b8 e0 01 00 00 83 f9 03 77 le ff 24 8d lc 5d 56 00 b8 e0 01 00 00 c3 b8
58 02
and...
20 03 00 00 eb 0c ba 00 04 00 00 eb 05 ba 00 05 00 00 83 f8 03 b9 e0 01 00 00 77 3f ff 24 85 e4 5d 56 00 8b 44 24 04 b9 e0 01 00 00 89 10 89 48 04 c2 04 00 8b 44 24 04 b9
58 02
20 03 and 58 02 represent the resolution 800x600. Change those numbers to the following:
1024x600 - Replace 20 03 with 00 04 and replace 58 02 with 58 02
1280x720 - Replace 20 03 with 00 05 and replace 58 02 with D0 02
1280x800 - Replace 20 03 with 00 05 and replace 58 02 with 20 03
1366x768 - Replace 20 03 with 56 05 and replace 58 02 with 00 03
1440x900 - Replace 20 03 with A0 05 and replace 58 02 with 84 03
1680x1050 - Replace 20 03 with 90 06 and replace 58 02 with 1A 04
1920x1080 - Replace 20 03 with 80 07 and replace 58 02 with 38 04
1920x1200 - Replace 20 03 with 80 07 and replace 58 02 with B0 04
At the moment I've only tested 1280x720 and 1440x900 and apart from a somewhat minor graphical glitch on the exterior of the moving train level (though it may not be so minor at really high resolutions--you'll see what I'm talking about), they seem to work fine. Other 5:4 and 4:3 resolutions work as well. I have no idea how well this fix works on other levels in the full game. It definitely needs more testing.
-------
After you're done, save the file. Now we have to fix the interface, which will require an extracted and decrypted INTERFAZ.MSB file.
I've created and zipped up INTERFAZ files for 1280x720, 1280x800, 1366x768, 1440x900, 1680x1050, 1920x1080, and 1920x1200.
Download, extract the one you want, and rename it INTERFAZ.MSB. Then place it in the DataINTERFAZ directory (you'll probably need to create it).
This is the final result:
Unfortunately, there are still a couple issues:
The objectives box should be aligned to the right side of the screen but I have yet to figure out how to make it do so. The tips box itself appears to align correctly by default, but its other elements are a mess, and again, the solution eludes me.
I tried to resize the red title background but was unable to do so due to file size restrictions (it was always too large, regardless of how simple I made it). I was able to black it out entirely, however. If you'd like to try it out, download
this file, extract it, and place it in the DataINTENDENCIA directory.
The result will look like this:
Not as pretty as the original, and it still does not align itself to the center vertically, but I guess it's better than the eyesore that only filled up half the screen.
That's all I have for now.