Repository navigation
PS2VR 0.2.1 – safety and security fixes
Safety and security fixes. Everyone on 0.2.0 should update: it fixes a rare case where a failed job could delete the source image, and a way for a crafted disc image to write files outside the current folder through extract.
Download
PS2VR-0.2.1-windows-x64.zip – unzip anywhere and run:
PS2VR.exe– the GUI. Double-click it, or drag a disc image onto it.PS2VR-cli.exe– the command line, e.g.PS2VR-cli.exe batch "D:\PS2" -r --all.
The exes are not code-signed, so Windows SmartScreen may show "Windows protected your PC" on first run. Click More info → Run anyway. You can also run from source (
python ps2vr.py) or build the exes yourself withbuild_exe.py.
Security
extractwithout-ono longer lets a file name on a crafted disc write outside the current folder, and no longer replaces an existing file.
Fixed
- A failed run could delete the source image if the source was named like the temporary output (
<output>.part). - Verification now fails when the output's UDF file system can no longer be read.
- Rebuild mode no longer moves discs with UDF structures after the files it removes, or files with several extents. It refuses them, which avoids a corrupt output.
- If all of the selected padding turns out to hold data, the job stops instead of writing an unchanged copy.
- Two batch images with the same output name no longer overwrite each other.
- Closing the GUI during a job now asks first, stops the job and removes its partial output. Browsing during a job no longer clears the list or undoes Cancel.
batch --rescanno longer forgets the scan results of other folders, scan errors are no longer cached, and a damaged cache row is ignored.- A missing log folder, a bad window size or a damaged settings file or list no longer stops the program from starting.
--durationis limited to 0-600 seconds, and the GUI's blank length to 600 seconds.
Tested
- All regression tests pass, including closing the GUI during a write.
- Grand Theft Auto III (USA) rebuilt with 0.2.1 gives a byte-identical ISO to 0.2.0.
- The stricter layout checks change nothing for any of 247 library images. No new PCSX2 boot tests were run, and the known problems from 0.2.0 still apply.
Earlier versions are covered in CHANGELOG.md.