Standalone script for applying a local 240 FPS or unlocked Lua hook to Punishing: Gray Raven.
- Patches only
assets/temp/lua/matrix.ab::XUiMain.lua. - Adds
PgrNativeFpsTimer, which setsCS.UnityEngine.Application.targetFrameRate. - Creates a backup before writing.
- Refuses to patch while
PGR.exeis running unless--forceis used.
- Python 3
opensslliblz4- Local PGR install with downloaded document matrix files
python3 apply_pgr_240fps.py --game-dir "/path/to/Punishing Gray Raven" --status
python3 apply_pgr_240fps.py --game-dir "/path/to/Punishing Gray Raven" --apply
python3 apply_pgr_240fps.py --game-dir "/path/to/Punishing Gray Raven" --disableDefault target is 240 FPS. To choose another value:
python3 apply_pgr_240fps.py --game-dir "/path/to/Punishing Gray Raven" --fps 120 --applyBackups are written to pgr_240fps_backups/ by default.
To choose a backup folder:
python3 apply_pgr_240fps.py --game-dir "/path/to/Punishing Gray Raven" --backup-dir ./backups --apply