Repository navigation
PS2VR 0.1.0
First release of PS2VR – PlayStation 2 Video Replacer. It replaces FMV movies in PS2 disc images with tiny blank videos so the images get smaller. It has a GUI and a command line, and needs only Python 3 – no ffmpeg or other tools.
Features
- Opens ISO, BIN/CUE (2352 Mode 1 / Mode 2), MDF/MDS and raw dumps; output is always a standard 2048-byte ISO.
- Analyses the disc and lists every video with its format, resolution, frame rate, length, audio and whether it can be replaced.
- Generates a real MPEG-2 blank for each Sony PSS / MPEG-2 video: a black frame plus repeat frames and silent audio, matching the original's resolution, frame rate, timestamps, pack layout and audio header. A 46 MB movie becomes about 208 KB.
- Two output modes:
- Rebuild (default) moves later files down so the ISO shrinks, and patches every ISO9660 and UDF structure.
- In-place keeps every file where it was and zero-fills the freed space.
- Verifies every output against the source.
- Batch mode: scan a folder (optionally with subfolders), see each image's current size, estimated size and savings, sort the table by any column, tick the images you want and process them in one go.
- Settings tab: remembered folders and options (
settings.json), a scan cache so unchanged images aren't re-analysed (scan_cache.csv), and debug logging with five levels and overwrite / new / append log modes.
Requirements
Python 3.10 or newer (Tkinter is included with the standard Windows/macOS installers).
python ps2vr.py # GUI
python ps2vr.py analyze "Game.iso"
python ps2vr.py replace "Game.iso" --all
python ps2vr.py batch "D:\PS2" -r --all
Tested
- Grand Theft Auto III (USA, SLUS-20062): 4.32 GiB → 4.27 GiB (BIN/CUE → ISO: 4.96 GiB → 4.27 GiB).
- Emulator: in PCSX2 2.5 the rebuilt image boots, both movies pass in under 6 seconds, and the game loads into its opening cutscene.
- Video decoding: the generated video decodes correctly in Windows' MPEG-2 decoder.
Known limitations
- IPU, Sofdec (.SFD), Bink and Smacker videos are detected but cannot be replaced yet. Bink and Smacker are closed formats and may never be supported.
- Only GTA III has been tested in-game so far, and no real PS2 hardware has been tested. Please keep your original images and report games that misbehave. If a game hangs, try
--mode inplaceor a longer--duration.