Commandos 3

Topics about game solutions, and success or failure in getting them to work.
kbessabr
Posts: 1
Joined: 25 Jan 2011, 04:58

Re: Commandos 3

Post by kbessabr »

Hey BooTx, im having the same problem as the guy on the top. My game doesnt have those strings, and im searching in the "hex" bubble. If somebody have the steam 1.42 version on the game and found those strings plz post here! Tnx!
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Re: Commandos 3

Post by BooTx »

You will not be able to use the hack on the Steam version executable because it's packed. You'll have to use a No-CD executable.
mroussev
Posts: 7
Joined: 18 Feb 2011, 21:42

Re: Commandos 3

Post by mroussev »

@BooTx i have a strange problem.I cannot make Uniws to work with Comamndos 3.I mean i point directory but i cannot modify the resolution in two boxes.Commandos2,nfs un2 work perfect.I am very glad for Commandos 2.But how to make things with 3?

I wanted to try manual hexediting but i dont know the numbers for resolutions that i want (1280x960 and 1600X1200).I want this to be my final method.I prefer to work with program....

I try both ,original game and patched to 1.42,both retailed of coures,not steam.It just didnot allow me to write resolutions.Bug in prgram or what?Here is my patch files maybe i mistake somewhere

http://www.mediafire.com/?lrignyyld2xl4s0

If it possible i want to edit v1.42 of the game.
Thanks in advance.
mroussev
Posts: 7
Joined: 18 Feb 2011, 21:42

Re: Commandos 3

Post by mroussev »

I fixed the things.Problem was that when i search for values in hex editor i search lines the @BooTx war written(Offset 00164bc0 for example) and watch only first values from the line.I just must search "around" because 20 03 was not exactly at the start of line.In fact these Offset 00164bc0 and 00164c60 ware different to me.Just search for part of line "20 03 00 00 eb 0c ba 00 04 00" and find it.Other thing is that in search box i cannot paste values copied from the post.I must write it manually :o .First time using hexeditor... :mrgreen: Anyway everything is fine now.

BIG thanks to @BooTx for that tutorial and helping me on PM.Commandos are one of my favourite games,now in big resoltion ave just great!

I tried with both no-cd's v1.00 and v.1.42 and they work.Here are the other files(INTERFAZ and INTENDENCIA edited for resolution that i use and values for them

1024X768 - 00 04 x 00 03

1280X960 - 00 05 X C0 03


1024x768
1280x960

Both resolution work fine.I did not try 1600x1200 because everything in game will be so tiny and uncomfortable to play.
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Re: Commandos 3

Post by BooTx »

Glad to see you got it working.
mroussev
Posts: 7
Joined: 18 Feb 2011, 21:42

Re: Commandos 3

Post by mroussev »

Just from curiosity-any ideas why uniws.exe didnt work for me?

off/ this topic http://www.widescreengamingforum.com/node/10510 is closed or what?Didnt allow me to post :?
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Re: Commandos 3

Post by BooTx »

The only reason I can think of is that your specific executable differed slightly from the one I used so the strings didn't match. I'm sure I could make it more universal by using a string that wasn't quite so specific (long) but oh well. If you take a look at your executable you can compare the strings and see where they differ, then you can edit the patches.ini file accordingly.

If you don't know, xoffset and yoffset are there to tell UniWS where the resolution codes are in the string provided. So for example if I put in a string that says 20030000c3b85802 then the xoffset would be 0 since 2003 (800) is right at the beginning and yoffset would be 6 since 5802 (600) is six bytes into the string (20, 03, 00, 00, c3, and b8 being the previous six). Occur lets UniWS know how many times to look for and edit the string in the program, so if there's more than one occurrence of the same string that needs to be changed, you can tell it to do it all at once.

If the strings actually are the same then I don't know why it wouldn't work, as long as the executable is called Commandos3.exe and isn't set to read-only.

Oh and you can't post in that thread because replies are disabled for that section of the forum (to keep it neater I suppose). This is the correct forum for discussing the fixes.
mroussev
Posts: 7
Joined: 18 Feb 2011, 21:42

Re: Commandos 3

Post by mroussev »



Here is one of the strings.As you see it is same like yours(this is v1.42).I understand now how pathes.in and hex editor work but i cant see why unwise.exe did not want to work.Values in .ini file seems right to me...Filename is correct,and its not read-only.Here is screenshot if you need.

Only the Offset or line number(dont know which is correct) is different from yours.
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Re: Commandos 3

Post by BooTx »

Ah but it is different. Where mine goes 24 85 e4 4c 56 00, yours goes 24 85 e4 5d 56 00. That should be your problem. Fix it in the patches.ini file and you should be good to go (assuming the other string is correct - make sure you check closely).
mroussev
Posts: 7
Joined: 18 Feb 2011, 21:42

Re: Commandos 3

Post by mroussev »

It looks that there is more mistakes in first string.I find 3 or 4 ,fix it but still dont work.I tried to manualy rewrite the numbers,still no luck.Here is what i done

00c3b800040000c3b800050000c3c45c5600ca5c5600d05c5600d65c5600909090908b4948b8e001000083f90377leff248dlc5d5600b8e0010000c3b85802

20030000eb0cba00040000eb05ba00050083f803b9e0010000773fff2485e45d56008b442404b9e100008910894804c204008b442404b95802

here is and pictures of both.



and here is my edited.ini file with values that i fix
http://www.mediafire.com/?1yovv3tvijdwyl4

If you manage to find error or maybe other things to .ini file must be change to work according this new values,and if you want ,fix it.If you want some more info or shots,ask.I just cant get it work :cry:

p.s.:why is that differences in values?I mean we both use same english nocd executables from GCW...?
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Re: Commandos 3

Post by BooTx »

Yeah I found a couple errors. The correct second string for that executable is:

20030000eb0cba00040000eb05ba0005000083f803b9e0010000773fff2485e45d56008b442404b9e00100008910894804c204008b442404b95802

As stated I don't even own this game and have been going solely off the demo. I see that the retail executable does differ (from what I can tell all 4d from the demo are changed to 5c in the retail version, for instance), so I'll alter the instructions. Thanks for bringing this to my attention.
sleepingbeagle
Posts: 2
Joined: 06 Oct 2012, 05:13

Unable to patch using UniWS

Post by sleepingbeagle »

Hi BooTx, I'm trying to use UniWS, but I'm not able to type into the text boxes even after the exe is located. I'm trying it on a v1.42 no-cd exe.

I've even tried to manually update the file using a hex editor, but the game just won't start!

Stuff I've tried so far:
-Reinstalling the game
-Updating my display drivers
-Changing compatibility modes to Win XP and Win 2000
-Changing resolution down to 800x600

System config:
Alienware m17x R2
Windows 7 Home Premium 64 bit
ATi Radeon HD 5870 (Crossfire enabled)

Do you think there's any possible way I might get this game to run? It's been ages since I played it and I'd love to play it again. Any help would be greatly appreciated!
BooTx
Posts: 104
Joined: 13 May 2008, 11:35

If you can't type the

Post by BooTx »

If you can't type the resolution in UniWS then that means the executable must differ in some way from the one that I used. I got the full game a few weeks ago so I'll look into it here in the next few days and try to come up with a solution for you.

edit - Well I found the problem in the instructions for 1.42 No-CD. It was just a couple bytes that were different. I've also noticed a small issue with the interface that I must have missed before so I need to find the solution to that. Then I need to test this a bit to make sure it's somewhat stable. It's gonna be a pain trying to relearn what all the Spanish file and asset names do.

When I'm done I'll add the full set of updated instructions to the Commandos 3 Detailed Report.
perwel1
Posts: 2
Joined: 09 Oct 2012, 14:06

Yeah! It would be great if

Post by perwel1 »

Yeah! It would be great if you can fix that 1.42 version of commandos to work on widescreen, because using the uniWS it does not recognize me the resolution, so I cannot edit it!

Thank you sir!
sleepingbeagle
Posts: 2
Joined: 06 Oct 2012, 05:13

Does Alienware support Commandos 3?

Post by sleepingbeagle »

Thanks a ton for all the support you're providing, BooTx.. I would be one happy gamer if you managed to come up with a fix.

I'm also unsure if this is an Alienware-specific problem, since I've come across other posts discussing this issue.

Do you have a paypal accountto accept donations?
perwel1
Posts: 2
Joined: 09 Oct 2012, 14:06

Thank u man!1366*768 works

Post by perwel1 »

Thank u man!
1366*768 works perfect (I havent play at all, just tried)

BooTx
Posts: 104
Joined: 13 May 2008, 11:35

Well here's the latest I

Post by BooTx »

Well here's the latest I have. Give it a shot and tell me what works and what doesn't. Apart from 1280x720 I don't know which resolutions function, and I haven't tried multiplayer at all. I'm sure there are interface problems with it, and a lot of them could probably be solved. Check the issues section towards the bottom to see what I know isn't working properly. If you find it to be reasonably stable I'll add it to the Master Games List.

This solution is based on the v1.42 "fixed" executable (No-CD). It will not work with the Steam executable due to DRM, and may not work with other versions of the retail executable.

If you want to apply the hacks manually, I've included instructions at the bottom of this article. To use UniWS to apply the hack automatically, download it and open the file named "patches.ini" in a text editor, and alter it as such:

Add this after a17:

Code: Select all

a18=Commandos 3: Destination Berlin


And then add this to the end of the file:

Code: Select all

[Commandos 3: Destination Berlin]

   details=This fix was developed for the Commandos 3 v1.42 Fixed EXE (No-CD), filename "fdx-c342.rar". It will not function with the Steam version executable, and may not with others.13101310Point 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=20030000c3b800040000c3b800050000c3c45c5600ca5c5600d05c5600d65c5600909090908b4948b8e001000083f903771eff248d1c5d5600b8e0010000c3b85802
   sigwild=000000000
   xoffset=0
   yoffset=64
   occur=1
   p1modfile=Commandos3.exe
   p1undofile=Commandos3.undo2
   p1sig=20030000eb0cba00040000eb05ba0005000083f803b9e0010000773fff2485e45d56008b442404b9e00100008910894804c204008b442404b95802
   p1sigwild=000000
   p1xoffset=0
   p1yoffset=57
   p1occur=1


Save the file, run UniWS, select Commandos 3 from the dropdown menu, and follow the onscreen instructions.

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 1024x600, 1280x720, 1280x800, 1366x768, 1440x900, 1680x1050, 1920x1080, and 1920x1200. Download, extract the one you want, and rename it INTERFAZ.MSB. Then place it in the Commandos 3DataINTERFAZ directory (you'll probably need to create it).

NOTE: I've updated these as there was a mistake, so make sure you download it again if you had a previous version.

Finally, if you'd like to get rid of the misaligned red title banner at the start of every mission, download this file, extract it, and place it in the Commandos 3DataINTENDENCIA directory (again, you'll need to create it). This will black it out so only the actual title words will appear.

ISSUES

The game crashes when returning the viewport (F2) back to full screen. Solution? Don't do that. For the time being, it looks like you'll have to stick with the full screen viewport from the beginning, or stick with whichever one you switch to.

The Objectives box does not align itself properly to the extreme upper right of the screen. I've looked the INTERFAZ file up and down and unlike most of the other screen elements, it simply doesn't appear to be there, so I have no idea how to align it. This is an aesthetic problem.

The Help box does align itself properly, but its title (Help) and the text for the Close button do not, and again, I haven't been able to solve that. Hitting escape will get you out of the help box.

MANUAL INSTRUCTIONS

You will need a hex editor such as Be.HexEditor. Open your Commandos 3 executable with it (feel free to back it up first) 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).

Offset 00164bc0
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 1e ff 24 8d 1c 5d 56 00 b8 e0 01 00 00 c3 b8 58 02

Offset 00164c60
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

When you're done, save the executable and fix the interface as instructed above. If you'd like to alter the interface for a resolution I didn't include, extract any of them and alter it as such:

The default for both of the y coordinates here are 544. Change it to -56.0 and it should align properly with every resolution.

Code: Select all

   .MOCH0

           [
               .COORDS
               (
                   257.0 -56.0
               )
           ]
           .MOCH1
           [
               .COORDS
               (
                   506.0 -56.0
               )
           ]
   

Change both the x and y coordinates to what you see below.

Code: Select all

   .BAJO0

           [
               .COORDS
               (
                   334.0 -44.0
               )
           ]
           .BAJO1
           [
               .COORDS
               (
                   372.0 -58.0
               )
           ]
           .BAJO2
           [
               .COORDS
               (
                   410.0 -44.0
               )
           ]
   

The .Y resolution here should be whatever vertical resolution you chose minus 73. So for instance, I chose 1280x720, so 720 minus 73 is 647.

Code: Select all

          .ELEM ARMAS

                       .GRUPO GRUPO_MOCHILA
                       .LAYOUT MOCH0MULTI
                       .COORDSINICIALES
                       [
                           .X 191.0
                           .Y 647.0
                       ]
   

Do the same for this one.

Code: Select all

          .ELEM OBJETOS

                       .GRUPO GRUPO_MOCHILA
                       .LAYOUT MOCH1MULTI
                       .COORDSINICIALES
                       [
                           .X 440.0
                           .Y 647.0
                       ]
   

Then change this section to read like this.

Code: Select all



   [
                       .ELEM INTERFAZ2
                       .GRUPO GRUPO_PRINCIPAL
                       .PESO  2.0
                       .COORDS
                       (
   #                        736 -SIZEY # bottom terminal with back bag (512.0 -SIZEY)
            512.0 -SIZEY
                       )
            .SIZE
            (
            48 103
            )
                       .BMP INTERFAZ2
                       .EMPIEZADISPONIBLE  1.0
                       .LIBRERIA TERMINAL.GRL
                   ]
   

And finally, change the y resolution to whatever your vertical resolution is minus 150. 720 minus 150 = 570.

Code: Select all

      GestorCaras

                   [
                       .ELEM GESTORCARAS
                       .PESO 11.0
                       .COORDS
                       (
                           0, 570.0
                       )
                   ]
   


Thanks to the people at Commandos HQ and the TAFN forums for help and links to the development kit and decrypted interface files.

Do you have a paypal accountto accept donations?


I'll set up a PayPal account in a couple days but I implore you to not donate anything on the basis of what you hope I'm going to do and instead only on what I've already done (Commandos 2, X-Wing: Alliance, Rallisport Challenge, Half-Life, Goblet of Fire, Heretic II, RollerCoaster Tycoon, Tony Hawk's Pro Skater 3, Settlers IV, Star Wars: Racer, et cetera), that you've enjoyed. I can never guarantee that a game I'm trying to fix will ever function properly until it's completed and rigorously tested. That's just how these things go. Regardless, I'll continue to do what I can because I enjoy it (more or less), but I'm not one to turn down free money. :D

edit - [email protected] <-- There you go.
swili
Posts: 40
Joined: 29 Oct 2010, 21:26

Re: Commandos 3

Post by swili »

So i came back to this game, and decided to test it again.
Unfortunately this game don't want to run at anything higher than 1280x960 or around.
I mean, it will, but it will crash, so it's unusable.
The highest resolution i tested was 2560x960. And it was in Stalingrad mission.
And again, the game will run just fine at high resolutions if it renders full 3D environment (inside buildings). It crashes only when you're outside of the buildings
So it's clearly something with 2d/3d maps.
Attachments
2560x960 (it will crash very quickly at such a high resolution)
2560x960 (it will crash very quickly at such a high resolution)
commandos-2560x960.jpg (3.17 MiB) Viewed 5029 times
800x600
800x600
commandos-800x600b.jpg (668.31 KiB) Viewed 5002 times
1920x9600 (it will crash very quickly at such a high resolution)
1920x9600 (it will crash very quickly at such a high resolution)
commandos-1920x960.jpg (2.59 MiB) Viewed 4989 times
800x600
800x600
commandos-800x600.jpg (713.97 KiB) Viewed 4986 times
Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 15 guests