Jump to content


r_ex

Member Since 25 Feb 2010
Offline Last Active Jun 22 2013 11:36 AM

Topics I've Started

Commandos 2 Mission Name Limit Patch

07 February 2013 - 08:24 AM

1)What is done
The limit that only original mission name(TU01, TU01A, SB, RY, etc) can be used as mission directory name and mission MIS file name is removed. Now any ASCII name of no more than 3 characters can be used.


2)How to patch
The English version of comm2.exe 1.20 and any of its derivations can be modified with a hex editor as follows:
At 00106860h, replace
FF 12 83 F8 04 0F 85 74 04 00 00 8B 44 24 34 3B
C3 7C 0E 83 F8 15 73 09 8B 0C 85 E4 20 B1 00 EB
02 33 C9 8B 44 24 2C 89 4C 24 1C 3B C3 7C 0E 83
F8 11 73 09 8B 04 85 38 21 B1 00 EB 02 33 C0 3B
with
FF 12 83 F8 04 0F 85 74 04 00 00 8B 44 24 34 83
F8 15 73 09 8B 0C 85 E4 20 B1 00 EB 06 8D 4C E4
34 90 90 8B 44 24 2C 89 4C 24 1C 83 F8 11 73 09
8B 04 85 38 21 B1 00 EB 06 8D 44 E4 2C 90 90 3B

At 00108160h, replace
44 24 20 8B 0E C7 44 24 10 FF FF FF FF 89 4C 24
28 C7 44 24 54 00 00 00 00 BF E4 20 B1 00 83 7C
24 10 FF 75 30 8B 54 24 28 8B 07 52 50 E8 6E FA
3F 00 83 C4 08 85 C0 75 08 8B 4C 24 54 89 4C 24
10 8B 54 24 54 83 C7 04 42 81 FF 38 21 B1 00 89
54 24 54 72 C9 8B 54 24 10 C7 44 24 10 FF FF FF
FF 89 54 24 2C 8B 46 04 89 44 24 28 C7 44 24 54
00 00 00 00 BF 38 21 B1 00 83 7C 24 10 FF 75 30
8B 4C 24 28 8B 17 51 52 E8 13 FA 3F 00 83 C4 08
85 C0 75 08 8B 44 24 54 89 44 24 10 8B 54 24 54
with
44 24 20 8B 0E 36 8B 39 89 7C E4 10 90 89 4C 24
28 C7 44 24 54 00 00 00 00 BF E4 20 B1 00 8B 54
E4 28 8B 07 52 50 E8 75 FA 3F 00 83 C4 08 85 C0
75 0F 8B 4C E4 54 89 4C E4 10 EB 19 90 90 90 90
90 8B 54 24 54 83 C7 04 42 81 FF 38 21 B1 00 89
54 24 54 72 C9 8B 54 24 10 89 54 E4 2C 8B 46 04
89 44 E4 28 36 8B 10 89 54 E4 10 90 C7 44 24 54
00 00 00 00 BF 38 21 B1 00 8B 4C E4 28 8B 17 51
52 E8 1A FA 3F 00 83 C4 08 85 C0 75 0F 8B 44 E4
54 89 44 E4 10 EB 19 90 90 90 90 90 8B 54 24 54

The original version and a debug version is now patched. To patch other versions, you can copy data from these two versions.
After patching, you can use new mission name in MISIONES\MISIONES.DAT. It shall be noticed that new mission may not be viewed if you do not delete the OUTPUT\PERFILES.DAT file.

 

Comm2NewMissionName.rar

 

http://pan.baidu.com...9&uk=1912962762