not_a_hero-vita

Port of Not a Hero for PSVITA.

Stars
4

Not A Hero Vita

This is a wrapper/port of Not A Hero for the PS Vita.

The port works by loading the official Android ARMv7 executables in memory, resolving their imports with native functions and patching them in order to properly run. By doing so, it's basically as if we emulate a minimalist Android environment in which we run natively the executables as they are.

Notes

  • The port has been tested with v.12.0 of the game.

Changelog

v1.0.1

  • Added multilanguage support.
  • Made two trophies hidden to mimic PS4 trophy pack.
  • Fixed a bug causing some trophies to not properly unlock.

v1.0

  • Initial Release.

Setup Instructions (For End Users)

  • 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.
  • Install the vpk from Release tab.
  • Obtain your copy of Not a Hero legally for Android in form of an .apk file.
  • Open the apk with your zip explorer and extract the files libChowdren.so and libAmazonGamesJni.so from the lib/armeabi-v7a folder to ux0:data/not-a-hero.
  • Extract the assets folder in ux0:data/not-a-hero.

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:

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

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

Credits

  • TheFloW for the original .so loader.
  • CatoTheYounger for the screenshots and for testing the homebrew.
  • Northfear for the SDL2 fork with vitaGL as backend.