Clean, readable, and deobfuscated source of PolyTrack, rebuilt for analysis, modding, and understanding.
-
Clone the PolyTrack repository:
git clone https://github.com/polytrackmods/PolyDeobfuscated
-
Use the VSCode renaming tool to rename the obfuscated variables and functions. This tool will help you systematically rename the identifiers in the codebase.
- Please do this in the polytrack-deobfuscated directory.
- Try not to modify the structure of the code, as it may lead to merge conflicts later.
-
After renaming, run the following command to format the code:
npx prettier --write . -
Create/Update your branch and create a pull request (You can also make your own fork of the repository and push your changes there)
First, setup the Mergiraf tool:
git config merge.conflictStyle diff3
git config merge.mergiraf.name mergiraf
git config merge.mergiraf.driver 'mergiraf merge --git %O %A %B -s %S -x %X -y %Y -p %P -l %L'
git config core.attributesfile .gitattributesMergiraf will automatically resolve merge conflicts in the deobfuscated code... for more information, refer to the Mergiraf documentation.
Join the PolyTrack Discord for help and support in the # modding channel. The community is active and can assist with any questions or issues you may encounter while working with the deobfuscated code.
The deobfuscated code is licensed under the original PolyTrack license.