20d325d383d7ab0aa8917ca7248cd34091213a83
- NativeFunctionFactory resolves script method calls to native Java methods via reflection; VsmxNativeFunction wraps them for the VM. - Native objects: Controller, MoviePlayer, Resource, Math, Timer, GlobalVariables, decoupled from the UI via a MenuHost interface. - BaseNativeObject.callCallback invokes script callbacks like onAutoPlay. - CLI 'rco' now wires the full menu and executes onAutoPlay headlessly. - Validated against Batman Begins: onAutoPlay computes stream IDs and issues play(playList=3, chapter=1, video=0xE000, audio=0xBD00, audioFlag=1, subtitle=-1, subtitleFlag=0) — the anti-piracy warning clip with English video/audio.
useless-umd-player
a standalone player for PSP UMD Video ISO images: open a disc, render its real menu, and play the movie (H.264 video + ATRAC3+ audio) with mouse and keyboard/media-key controls.
Status: early development. Currently implemented: ISO 9660/UMD reading,
param.sfometadata parsing, and file listing.
Build
Requires JDK 21 (Gradle auto-provisions it via the Foojay toolchain resolver).
./gradlew build
Run
./gradlew cli:run --args="dump /path/to/disc.iso"
License
GPL-3.0-or-later — see LICENSE.
Languages
Java
100%