Developer Diary #3 - Adding new units with -X NoEncryption option
Posted: Sat May 17, 2014 6:29 am
Here's another quick Developer Diary covering the imminent 2.01 release
"Let's Do: New Units!"
I will continue tweaking the Battle of Java 1942 Modification I created in Developer Diary #2. This time, we are adding new units to the Dutch unit roster, while creating a little "What-If" scenario.
What-If the Dutch Java Defence Force had some infantry tanks with them?
In the following steps we will add a company of British Matilda II tanks to the Dutch Mobiele Eenheid unit to find out!
Step 1 - Package it as a User Modification!
As discussed in Developer Diary #2, we don't want to risk the integrity of the original data content in game folders. I will continue to enhance the mod I created there. At this time it might be a good idea to read the diary entry again, as I continue from where I lef there.
And here we go, again:
To begin, I copy the required Dutch Order-of-Battle (*.oob) files from the \Rising Sun folder and paste them there, to be edited as part of the mod:
"Let's Do: New Units!"
I will continue tweaking the Battle of Java 1942 Modification I created in Developer Diary #2. This time, we are adding new units to the Dutch unit roster, while creating a little "What-If" scenario.
MCS 2.01 now comes with full support for the -X NoEncryption option, discussed in detail HERE. While in 2.00 only the game exes were provided with this option, no the option is available with the editors too.
This option is only available for Versus-AI games. Even if you try to launch a PBEM game using the option, the game engine will revert to official, encrypted platoon and weapon files.
What-If the Dutch Java Defence Force had some infantry tanks with them?
In the following steps we will add a company of British Matilda II tanks to the Dutch Mobiele Eenheid unit to find out!
Step 1 - Package it as a User Modification!
As discussed in Developer Diary #2, we don't want to risk the integrity of the original data content in game folders. I will continue to enhance the mod I created there. At this time it might be a good idea to read the diary entry again, as I continue from where I lef there.
And here we go, again:
To begin, I copy the required Dutch Order-of-Battle (*.oob) files from the \Rising Sun folder and paste them there, to be edited as part of the mod:
[font="Courier New"]Platoon11.oob[/font] - Platoon files, the encrypted Platoon##.obx files used by the game engine
[font="Courier New"]Company11.oob[/font] - Company level organizations
Easiest way to find about Nation codes, available units, their unit values: Arkady's Unit Viewer!
Country code of Manchukuo? Open up Unit Viewer, select Rising Sun, Select Manchukuo as Nation, click at the first platoon to show in the viewer. Look at the Platoon ID, the first two numbers represent the Nation code. 36!
Then view the OOB files in File Explorer using fillter *36.oob. There they are!







