Platform Racing 2, with mods.
PR2's decompiled source code is provided as reference for mods in clientsrc/
.
Class/fields accessibility is modified for greater freedom. protected
-> public
and private
-> internal
(to retain a meagering sense of privacy)
Requires dependencies:
- Adobe Animate 2021 (other versions untested) TODO: replace this dep with something better
- FFDec.exe (latest version)
- Haxe v4.0.0+
Steps to build:
- Run
Get-PR2.ps1
(Animate must be closed) - Run
haxe loader.hxml
Now you will find loader.swf
and loader.exe
in the bin/
directory.
Go to Flash Global Security Settings panel and add the repository folder as a trusted location.
Now you can get stack traces with errors, just run loader.swf
directly with a Flash debug projector.
Note: You need Flash installed on your PC to access the security settings panel, install it here (or here) then use a Flash-enabled browser like Basilisk or Pale Moon to visit the website.
TODO: Automate this process by writing to trustedPaths
at %AppData%\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol
.