Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Clean, readable, and deobfuscated source of Polytrack, rebuilt for analysis, modding, and understanding.

Notifications You must be signed in to change notification settings

polytrackmods/PolyDeobfuscated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolyDeobfuscated

Clean, readable, and deobfuscated source of PolyTrack, rebuilt for analysis, modding, and understanding.

Prerequisites

  • Rustup - Install Rust and Cargo.
  • Mergiraf - For resolving merge conflicts.

How to deobfuscate

  1. Clone the PolyTrack repository:

    git clone https://github.com/polytrackmods/PolyDeobfuscated
  2. 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.
  3. After renaming, run the following command to format the code:

    npx prettier --write .
  4. Create/Update your branch and create a pull request (You can also make your own fork of the repository and push your changes there)

Resolving Merge Conflicts

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 .gitattributes

Mergiraf will automatically resolve merge conflicts in the deobfuscated code... for more information, refer to the Mergiraf documentation.

Confused? Have an Issue?

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.

License

The deobfuscated code is licensed under the original PolyTrack license.

About

Clean, readable, and deobfuscated source of Polytrack, rebuilt for analysis, modding, and understanding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •