Rex's Blog - English
Commandos Developing Toolkit 2007.03.07.0
F.R.C.
https://files.cnblogs.com/Rex/CommDevToolkit.rar
1 General Introduction
The toolkit is mainly used in modification in Comm2 or Comm3.
As there is a lack of time, I do not do much exception handling. Sorry.
If there is someone who want to write help or translate the toolkit, then do it. If you contact me, I'll be very happy.
If someone want to join the project, or have found a bug, or have some suggestions, please contact me at the following URL.
http://www.cnblogs.com/Rex/Contact.aspx?id=1
2 Supported File List
Y64Manager Y64
PCKManager Comm1_DIR PCK CSF_PAK
SECConverter SEC
ImageConverter Comm1_RLE GRL
BsmbDecoderShell AN2 ANI BAS BIN BRI DAT GSC MIS MSB
Supporter Existed CFG FAC GMT LIS MAC MAN JPG OGC STR TXT TUT WAV
Not Supported ABI DES FNC FNM MA2 MBI
File formats without a version belong to Comm2 or Comm3.
3 System Requirement
The software is used in exporting and importing images around the Y64 files of Commandos 2: Men of Courage and Commandos 3: Destination Berlin, and it can also create new Y64 files for Comm2 or convert Y64 files from Comm3 to Comm2.
The detailed theory of the software is on the comming invox4C2_3keyfiles.doc by invox.
The software needs Microsoft .Net Framework 2.0.
http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe
This framework will not be able to be installed on older operation systems such as Win98 or Win2k, for lack of WindowsInstaller 3.1.
4 License
The software is freeware without charge, the main license is in FFPL.txt, but in Chinese.
The main meaning is that you can do all(copy, modify(except for the license), translate, etc) but you can not publish it in the original name when it's not the original software, and that we promise nothing.
There is an aditional restriction as follows:
The software and softwares which use codes from the software are not put it into commercial use directly or indirectly.
5 Reference
Source Code of the Toolkit Src\
Documents of the Toolkit Src\Doc\
URF's Website(Chinese) http://www.faqy.cn
neoragex2002's BLOG(Chinese) http://neoragex2002.cnblogs.com
My BLOG(Chinese) http://rex.cnblogs.com
Sina Commandos Forum(Chinese) http://bbs.games.sina.com.cn/?h=http%3A//bbs.games.sina.com.cn/g_forum/00/92/08/&g=15
Commandos Editing Center(Russian) http://cec.h1.ru/files
6 Introduction of Tools
Y64Manager.exe
The software is used in exporting, importing and creating images around the Y64 files of Comm2 and Comm3, and it can also convert Y64 files between the versions.
Notice there is an accumulating error in exporting and importing which is almost the same as that with the JPG editing.
The "Color Index", "RGB", "YCbCr" at the bottom of the Exporter are used to do color space conversions. It helps when you want to know about the internal Y64 file structure.
The detailed theory of the software is on the comming invox4C2_3keyfiles.doc by invox.
PCKManager.exe
The software is used in extracting and creating the PCK files of Comm2 and Comm3.
The software can be used in extracting the DIR files of Comm1 and a few PAK files of CSF.
After opening a PCK file, you can drag the files to the explorer to extract them. But you are highly recommended not to drag too much a time as there are some technic problems that the extracting are running before you can release your mouse.
The textbox in the right top corner with a "*.*" is a textbox for mask, which obeys the rule of Windows wildcards. Only files which match the mask will be extracted during the extraction. For example, if you want to extract all MIS files, you can input "*.MIS" and extract all the directories, and you'll get all the MIS files.
Related softwares:
DIRExtractor v0.3 (by JJ Soft, Netherlands)
CoRE v2.1 (Commandos Resource Extractor, by .slim, Russia)
Dragon UnPACKer v5.0.0 (by Alexandere Devilliers)
SECConverter.exe
The software is used to translate SEC files of Comm3 to that of Comm2. Developing...
ImageConverter.exe
The software is used to translate Commandos image files.
Now supporting:
RLE <-> Gif
GRL <-> Gif
Drag the files or directories onto the application file
- Or -
Use console mode like: ImageConverter file1 file2 file3 ...
will run it.
But you can't drag too much at a time, as there is a limit in Windows that may cause some troubles.
Don't change the last two extended filename of exported file or directory (ex. ".rle.gif", ".grl.files").
For GRL files, when you change the name of the files under the directory, reserve the last extended filename(".gif"), and change the corresponding filename in "Description.ini" and scripts which are related to the file.
Developing...
BsmbConverterShell.exe
A shell for write_bmsb.
The software is used to decode all the script files(*.MIS, *.GSC, *.BAS, *.ANI, *.BRI, etc).
Drag the files onto the application
- Or -
Use console mode like: BsmbDecoderShell file1 file2 file3 ...
will run it.
Back up your original files first.
Related softwares:
write_bmsb (by jinshengmao, China)
SingleInt.exe
Used to translate between single float and 32-bit integer.
Scaler.exe
Used to view binary files.
7 Others
Omitted. See Chinese version if interested in.
-------------------------------------------------------------------------------------------------------
The Commandos File Structures
Commandos2&3 Y64 File Structure Table
http://www.cnblogs.com/Rex/articles/639920.html
Commandos2&3 SEC File Structure Table
http://www.cnblogs.com/Rex/articles/639924.html
Commandos2&3 PCK File Structure Table
http://www.cnblogs.com/Rex/articles/639934.html
Commandos1 DIR File Structure Table
http://www.cnblogs.com/Rex/articles/639937.html
-------------------------------------------------------------------------------------------------------
Contact me at
http://www.cnblogs.com/Rex/Contact.aspx?id=1
浙公网安备 33010602011771号