Skip to content

Releases

Ratchet & Clank: Clone Home — PS Vita port v1.0.0

Choose a tag to compare

@LokiDSx LokiDSx released this 28 Nov 21:23

Native PS Vita port of Ratchet & Clank: Clone Home, the unreleased "Ratchet and Clank 2" J2ME prototype (240x320) — built from the game's decompiled code, running on vita2d/GXM and SDL2. Not an emulator: no JVM, no J2ME loader.

What's in this release

  • ratchet-clone-vita-v1.0.0.vpk — installable bubble (RACH00001), 2.6 MB.
    No game data inside, so the VPK can be redistributed freely.

Install

  1. Copy the VPK to the memory card and install it with VitaShell (X).
  2. Add your own game data: unpack the Clone Home jar and copy RP1, RP2 and RP3 into ux0:data/CloneHome/data/. A .jar is a zip, so any unarchiver can read it.
  3. Launch Ratchet and Clank - Clone Home from the LiveArea.

Required layout:

ux0:data/CloneHome/
├── data/        RP1, RP2, RP3 from the jar
├── saves/       created on first run, holds the save slots
├── display.cfg  created on first run
└── port.log, audio.log

Controls

Button In game In menus
Stick / D-pad Move, aim Navigate
Cross Jump Confirm
Circle Fire —
Square or L Wrench —
Triangle Weapon wheel Back
Start Pause Pause
SELECT — Back
SELECT + L + R Quit Quit

An open dialogue box counts as a menu: Cross advances it, Up goes back one line.

Features

  • Native vita2d/GXM presentation at 960x544 from the game's 240x320 framebuffer.
  • Widescreen 16:9 by default; Original, Auto, 4:3, 16:10, 16:9 and 21:9 in Settings — more of the level, no stretched sprites or HUD.
  • Logic speed 15–120 Hz (default 25, the game's own) with an optional display rate of 60–240 or Unlimited and interpolated frames between ticks.
  • Analog stick with hysteresis, PlayStation button layout, timed menu repeat while a direction is held.
  • Saves and settings on the memory card in ux0:data/CloneHome/, kept across VPK reinstalls.
  • Sound effects work (SDL2_mixer).

Fixed while testing on hardware

  • Level hints no longer repeat forever. clearHintFlag/hasHintFlag shifted by a negative count for hints 20–31; Java masks a shift count to 5 bits, ARM's lsl returns 0, so the "already shown" bit was never cleared and the hint re-fired on the next frame after its dialogue closed — the same three replies, endlessly. The count is masked like Java now.
  • Cross advances dialogues. An open message box counts as a menu, so Cross advances the text instead of jumping or stepping back a line.
  • Boot and presentation: 8-bit indexed LiveArea art (the Vita rejects any other format at install with 0x8010113D), and the screen texture is mapped for the GPU with sceGxmMapMemory, which fixed the first-frame crash.

Known limitations

  • No music. The Vita build of SDL2_mixer has no MIDI decoder and Clone Home's music is MIDI, so the tracks are skipped. Sound effects are WAV and play normally.
  • No on-screen keyboard. Screens that expect phone digits for names or codes cannot be typed.
  • Point-filter scaling. The 240x320 canvas is scaled to 960x544 with a point filter, so full-screen pixels are not exactly uniform.

Credits and legal

The prototype: unreleased Ratchet and Clank 2 J2ME build, Sony Pictures Mobile / Insomniac Games. Ratchet & Clank is a trademark of Sony Interactive Entertainment LLC. Decompilation, C++ translation and the desktop port: samioan/rac-j2me-remastered. PS Vita platform layer, VitaSDK build and packaging: this repository. Not affiliated with, endorsed by, or supported by Sony or Insomniac. No game data is distributed here.