Repository navigation
PokeV-Recomp v0.4.0
PokeV-Recomp v0.4.0
Highlights
Native Pokémon Violet / Pokémon Scarlet Multi-Game Architecture (#74)
- Native game selector in the launcher: Added a Pokémon Violet | Pokémon Scarlet selector on the Play page (
runtime/ui/launcher.mm), persisted viaactive_gameinlarecomp.ini(and--game-slot/LARECOMP_GAME), ensuring the launched game always matches the selected entry. - Coexistence in a single data root: Both Pokémon Violet 4.0.0 (
709bfd6611529864) and Pokémon Scarlet 4.0.0 (421c5411b487eb4d) can now stay extracted and compiled side-by-side without changingLARECOMP_DATA_ROOT. - Shared content-addressed object compilation (
cache/objects/<env_hash>/<source_hash>.o):- Common generated C chunks are compiled once and reused across both games via SHA-256 source/object receipts (
LASOBJ2), keyed by compiler binary, flags,old_cpu, and headers. gamelib_entry(-DGAMELIB_ID) andlasgamelibraries (lasgame.so.id/lasgame.dll.id) remain per-game.- Real-dump benchmark (4.0.0 + DLC, same
LARECOMP_DATA_ROOT):
- Common generated C chunks are compiled once and reused across both games via SHA-256 source/object receipts (
| Metric | Violet | Scarlet |
|---|---|---|
| Objects compiled | 1730 | 2 |
| Objects reused | 0 | 1728 |
gamebuild time |
473s | 111s |
| Total preparation | 582s | 226s |
Scarlet reused 99.88% of compatible objects and its gamebuild stage was approximately 4.26x faster.
- Independent saves & DLC:
- Pokémon Violet uses
save/save_0andaoc/01008f6008c5f001.bin. - Pokémon Scarlet uses
save/scarlet/save_0andaoc/0100a3d008c5d001.bin.
- Pokémon Violet uses
- Backward compatibility with
v0.3.0: Existingv0.3.0installations inextracted/(whether Violet or Scarlet) are preserved in place without destructive migration; the second game is stored ingames/scarlet/(orgames/violet/).
Upgrade & Recompilation Notice
GAMELIB_IDunchanged for existingv0.3.0installations: Existing Violet and Scarletlasgamelibraries remain valid without forced recompilation.SHADER_TRANSLATOR_IDunchanged: Existing shader caches remain compatible.- Saves, settings, and mods are preserved and remain compatible.
Assets & Verification
PokeV-Recomp-windows-x64.zip— Windows x64 portable archive (includesPokeV-Recomp-updater.exe)PokeV-Recomp-linux-x86_64.AppImage— Linux x86_64 AppImageSHA256SUMS— SHA-256 checksums for all release artifacts
Verify integrity on Linux:
sha256sum -c SHA256SUMS --ignore-missing