Skip to content

Releases

Zenonia 5: Wheel of Destiny (PS Vita) — Beta Release v0.2

Choose a tag to compare

@MetalSyntax MetalSyntax released this 18 Nov 05:21

Zenonia 5: Wheel of Destiny (PS Vita) — Beta Release v0.2

Second public build of the native iOS → PS Vita port of Zenonia 5: Wheel of Destiny (iOS 1.1.3). A custom Mach-O loader runs the original ARMv7 executable; on physical hardware the game boots to the title screen, logs in to an emulated server with a default player ID, reaches the main menu and is playable in-game.

📦 Release Package Contents

  1. zenonia5ios.vpk (PSVZ5I001, version 01.00): the Mach-O loader with its Foundation / UIKit / CoreGraphics / CoreText / AudioToolbox / AVFoundation / OpenAL replacements, vitaGL presentation, FreeType text with a merged Latin + Korean font.ttf, the built-in server emulator and a Zenonia 5 LiveArea (banner, background and startup logo).
  2. rebase.bin: relocation table of 33,785 absolute 32-bit pointers for the 1.1.3 Zenonia5 executable (armv7 slice).
  3. binds.bin: 2,889 import slots that point into Apple frameworks, resolved by the loader at startup.
  4. controls.txt: button → touch mapping for the in-game HUD.

No game code or assets are included.


🛠️ What are rebase.bin and binds.bin?

The loader maps the executable at MACHO_SLIDE = 0x98000000 above its link address, so every absolute pointer in the code's literal pools and in __DATA has to be moved by hand.

  • rebase.bin: 'RBS1', u32 count, then count × u32 vmaddr of words that hold an absolute address (+ MACHO_SLIDE).
  • binds.bin: 'BND1', u32 count, then count × {u32 vmaddr, u32 addend, u8 lazy, char name[]} for each slot bound to an external symbol.

Both are generated by tools/ios_prep.py (Objective-C metadata, __cfstring, __mod_init_func, a recursive ARM/Thumb disassembly with capstone, and data heuristics); tools/stage_data.sh runs the whole pipeline.


🚀 Player Installation Guide

  1. Requirements: Enso 3.60/3.65, kubridge.skprx in ur0:tai/config.txt (*KERNEL), libshacccg.suprx in ur0:data/ (ShaRKBR33D).
  2. Game files: your own decrypted Zenonia 5 1.1.3 IPA. Run tools/stage_data.sh path/to/Zenonia5.app (Python 3 + capstone, ffmpeg) to build ux0_data/zenonia5ios/ and copy it to ux0:data/zenonia5ios/, together with controls.txt.
  3. Install zenonia5ios.vpk with VitaShell.

🎮 Controls

Input Action
Touch screen Game touch controls
Left stick / D-Pad Move (drags the on-screen joystick)
Cross (✕) Attack
Square / Triangle / Circle / R Skills
Start Pause
Select / L Skip (red button, top right)
L + R Show / hide the touch joystick, attack and skill buttons

📋 Changelog (v0.2)

  • Options menu: a short Start + Select press opens a new options menu and pauses the game. Holding the combo for 2 seconds still works as before.
  • Multiple buttons per action: Cross replaces the binding, Square adds one, Triangle unbinds, as in Inotia 4.
  • Rear touch buttons: the rear touch quadrants can be used as buttons.
  • Restore default buttons: new option that restores the default buttons.
  • Aspect ratio: original 3:2 or full screen.
  • Scaling filter: smooth or sharp.
  • Start/Select input: both register on release, so the combo does not trigger the game's own pause.
  • Shared iOS runtime: updated from the Inotia 4 port. Adds Core Audio support, a glyph cache for system-font text (faster text), game thread pinned to CPU core 0, and Foundation and UIKit fixes.
  • LiveArea: new banner, background and startup logo artwork.
  • Not included yet: game-speed and language options.

⚠️ Known Issues (v0.2)

  • None of the v0.2 changes have been tested on console yet.
  • Going from the title to the menu still takes several seconds.
  • Busy fights drop to about 21–24 FPS (game cap is 30).
  • PvP, rankings, mail, gacha and shop receive empty responses from the emulated server.

📋 Changelog (v0.1)

  • Loader: armv7 slice loaded with 33,785 rebases and 2,889 binds; 116 ObjC classes, 217 initializers; Darwin stat with the 64-bit-inode layout (the save size was read as 0 → new[-1]).
  • Online: Gamevil Live and the IAP notice disabled with ObjC method overrides (port of tools/iphone/z5nolive.m); Reachability reports Wi-Fi and BSD sockets go to a server emulator that answers the login (SC_CONNECT) with player ID 1000001 / nickname jugador01, so no "create ID" popup.
  • Screen: UIScreenMode 640×1136 makes the game pick its iPhone 5 layout → full screen, no cropped HUD, accurate touch.
  • Text: NanumGothic had no á é í ó ú ñ → merged the Latin glyphs of DejaVu Sans into font.ttf; trailing spaces now count in sizeWithFont: (words were glued together).
  • Audio: AVAudioPlayer implemented (VOICE ports, high-priority thread on its own core, .ogg decoded from RAM); NSString pathComponents / pathWithComponents: for sound paths.
  • Loading: fast path for CGContextDrawImage (UI sheets went from ~2 s to a fraction each; title → menu ~19 s → ~6 s); the 1 s connection wait per login cut to 0.125 s.
  • Fixes: UIImage imageWithData:, XML plists (particles), NSCAssert handler, watchdog no longer kills long loads.

Installation and build instructions: see README.md.

Zenonia 5: Wheel of Destiny (PS Vita) — Beta Release v0.1

Choose a tag to compare

@MetalSyntax MetalSyntax released this 12 Nov 00:16

Zenonia 5: Wheel of Destiny (PS Vita) — Beta Release v0.1

First public build of the native iOS → PS Vita port of Zenonia 5: Wheel of Destiny (iOS 1.1.3). A custom Mach-O loader runs the original ARMv7 executable; on physical hardware the game boots to the title screen, logs in to an emulated server with a default player ID, reaches the main menu and is playable in-game.

📦 Release Package Contents

  1. zenonia5ios.vpk (PSVZ5I001, version 01.00): the Mach-O loader with its Foundation / UIKit / CoreGraphics / CoreText / AudioToolbox / AVFoundation / OpenAL replacements, vitaGL presentation, FreeType text with a merged Latin + Korean font.ttf, the built-in server emulator and a Zenonia 5 LiveArea (banner, background and startup logo).
  2. rebase.bin: relocation table of 33,785 absolute 32-bit pointers for the 1.1.3 Zenonia5 executable (armv7 slice).
  3. binds.bin: 2,889 import slots that point into Apple frameworks, resolved by the loader at startup.
  4. controls.txt: button → touch mapping for the in-game HUD.

No game code or assets are included.


🛠️ What are rebase.bin and binds.bin?

The loader maps the executable at MACHO_SLIDE = 0x98000000 above its link address, so every absolute pointer in the code's literal pools and in __DATA has to be moved by hand.

  • rebase.bin: 'RBS1', u32 count, then count × u32 vmaddr of words that hold an absolute address (+ MACHO_SLIDE).
  • binds.bin: 'BND1', u32 count, then count × {u32 vmaddr, u32 addend, u8 lazy, char name[]} for each slot bound to an external symbol.

Both are generated by tools/ios_prep.py (Objective-C metadata, __cfstring, __mod_init_func, a recursive ARM/Thumb disassembly with capstone, and data heuristics); tools/stage_data.sh runs the whole pipeline.


🚀 Player Installation Guide

  1. Requirements: Enso 3.60/3.65, kubridge.skprx in ur0:tai/config.txt (*KERNEL), libshacccg.suprx in ur0:data/ (ShaRKBR33D).
  2. Game files: your own decrypted Zenonia 5 1.1.3 IPA. Run tools/stage_data.sh path/to/Zenonia5.app (Python 3 + capstone, ffmpeg) to build ux0_data/zenonia5ios/ and copy it to ux0:data/zenonia5ios/, together with controls.txt.
  3. Install zenonia5ios.vpk with VitaShell.

🎮 Controls

Input Action
Touch screen Game touch controls
Left stick / D-Pad Move (drags the on-screen joystick)
Cross (✕) Attack
Square / Triangle / Circle / R Skills
Start Pause
Select / L Skip (red button, top right)
L + R Show / hide the touch joystick, attack and skill buttons

📋 Changelog (v0.1)

  • Loader: armv7 slice loaded with 33,785 rebases and 2,889 binds; 116 ObjC classes, 217 initializers; Darwin stat with the 64-bit-inode layout (the save size was read as 0 → new[-1]).
  • Online: Gamevil Live and the IAP notice disabled with ObjC method overrides (port of tools/iphone/z5nolive.m); Reachability reports Wi-Fi and BSD sockets go to a server emulator that answers the login (SC_CONNECT) with player ID 1000001 / nickname jugador01, so no "create ID" popup.
  • Screen: UIScreenMode 640×1136 makes the game pick its iPhone 5 layout → full screen, no cropped HUD, accurate touch.
  • Text: NanumGothic had no á é í ó ú ñ → merged the Latin glyphs of DejaVu Sans into font.ttf; trailing spaces now count in sizeWithFont: (words were glued together).
  • Audio: AVAudioPlayer implemented (VOICE ports, high-priority thread on its own core, .ogg decoded from RAM); NSString pathComponents / pathWithComponents: for sound paths.
  • Loading: fast path for CGContextDrawImage (UI sheets went from ~2 s to a fraction each; title → menu ~19 s → ~6 s); the 1 s connection wait per login cut to 0.125 s.
  • Fixes: UIImage imageWithData:, XML plists (particles), NSCAssert handler, watchdog no longer kills long loads.

⚠️ Known Issues

  • Going from the title to the menu still takes several seconds (save re-encryption on every login).
  • Busy fights drop to about 21–24 FPS (game cap is 30 FPS).
  • PvP, rankings, mail, gacha and shop get empty answers from the emulated server.
  • Not yet confirmed on console in this build: hidden touch HUD (L + R), shorter connection wait, music decoded from RAM.

Installation and build instructions: see README.md.