Unpacked and decompiled files of WorldOfTanks.
Each client has its own branch. In the default-branch is the latest version of the client. Micropatches that are released after the first release of the client are added only to branch of released client. This allows you to easily track all the stages of the release of the game.
- Python py-files since client version 0.9.2
- Game xml-files since version 0.9.12
Using PjOrion:
- "Uncompile 6" decompiler updated by R. Bernstein and modified StranikS_Scan
- Built-in decompressor of xml-files realized by SkepticalFox and modified StranikS_Scan
- Download commit to PC
- Run once "Zip-Unpacker.exe" to restore the original files from the zip-archive with the correct letters case in the file names and symbols codes in texts
- Replace old files with new files in the folder "source": paths.xml, version.xml
- Delete old files and copy new files in the folder "res"
- Run "WOT-UnDec.exe" to unpack and decompile the files
- Create a folder "source" and a subfolder "res" in it
- Copy files "paths.xml" and "version.xml" from game-root to a folder "source"
- Copy all xml-files from game folder "res" to the directory "source\res"
- Extract the contents of the archive "res\packages\scripts.pkg" to the directory "source\res"
- Decode all xml-files using PjOrion: "WOT-Client" -> "Unpack XML" -> "Unpack folder..." select "source"
- Decompile all pyc-files using "Uncompile6" in PjOrion: "Decompile" -> "Decompile pyc-folder..." select "source"
- Find and delete all pyc-files
- You must clone the commit from the repository from which you want to continue the existing branch or start a new branch
- If you adding a new client, then create a new branch with the name as client main version "X.X.X" (do not use "CT" or "ST" unless it's a not separate special branch)
- Clean the existing "source" directory and put new files there using the algorithm above
- Change the name of the archive to the current one in the file "Zip-Packer.arg"
- Create an zip-archive by running the console program Zip-Packer.exe (required 7z.exe on your PC)
- Delete the old "zip" archive in the "zip" directory
- Create a commit, named as "X.X.X: Added/Updated/Release/... #YYY" or "X.X.X_CT:..."
- Offer a "Pull request" in the right branch
Due to the fact that during the update of the game, the developers changed the case of the letters in the files, there may be duplicate files in the repository. To solve this problem, the "Zip-Unpacker.exe" file has been added to the repository. After downloading the repository or after synchronizing your copy of the repository with the GitHub, run this file. It will extract the py-files from the archive as they should be.