Skip to content

Rinnegatamante/sleepwalkers-vita

Repository files navigation

Sleepwalker's Journey Vita

This is a wrapper/port of Sleepwalker's Journey for the PS Vita.

The port works by loading the official Android ARMv6 executable in memory, resolving its imports with native functions and patching it in order to properly run.

Note

This wrapper has been tested only with v.1.2.

Changelog

v.1.2

  • Added playback of the intro video at app start.
  • Made it possible to rewind time by pressing L trigger.
  • Made it possible to fast forward by pressing R trigger.

v.1.1

  • Added possibility to pause game with Start button.

v.1.0

  • Initial release.

Setup Instructions (For End Users)

In order to properly install the game, you'll have to follow these steps precisely:

  • Install kubridge and FdFix by copying kubridge.skprx and fd_fix.skprx to your taiHEN plugins folder (usually ux0:tai) and adding two entries to your config.txt under *KERNEL:
  *KERNEL
  ux0:tai/kubridge.skprx
  ux0:tai/fd_fix.skprx

Note Don't install fd_fix.skprx if you're using rePatch plugin

  • Optional: Install PSVshell to overclock your device to 500Mhz.
  • Install libshacccg.suprx, if you don't have it already, by following this guide.
  • Obtain your copy of Sleepwalker's Journey legally for Android in form of an .apk file and a .obb file.
  • Open the apk with your zip explorer and extract the file libAndroidGame.so from the lib/armeabi folder to ux0:data/sleepwalkers.
  • Place the obb file named as main.obb in ux0:data/sleepwalkers.

Build Instructions (For Developers)

In order to build the loader, you'll need a vitasdk build fully compiled with softfp usage.
You can find a precompiled version here: https://github.com/vitasdk/buildscripts/actions/runs/1102643776.
Additionally, you'll need these libraries to be compiled as well with -mfloat-abi=softfp added to their CFLAGS:

  • openal-soft

    • cd build
      cmake -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS=-mfloat-abi=softfp .. && make install
  • libmathneon

    • make install
  • vitaShaRK

    • make install
  • kubridge

    • mkdir build && cd build
      cmake .. && make install
  • vitaGL

    • make SOFTFP_ABI=1 PHYCONT_ON_DEMAND=1 NO_DEBUG=1 install

After all these requirements are met, you can compile the loader with the following commands:

mkdir build && cd build
cmake .. && make

Credits

  • CatoTheYounger for the screenshots and for testing the homebrew.
  • gl33ntwine for helping dealing with partial automatization of shaders translation.