Skip to content

Rinnegatamante/seven-vita

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

7 Billion Humans Vita

This is a wrapper/port of 7 Billion Humans for the PS Vita.

The port works by loading the official Android ARMv7 executable in memory, resolving its imports with native functions and patching it 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 executable as is.

Changelog

v1.1

  • Slightly improved levels loading times.
  • Improved rendering logic. Now rendering is faster.
  • Solved a bug potentially causing sporadic GPU crashes.
  • Slightly reduced memory usage and CPU workload.

v1.0

  • Initial release.

Note

You need a legally acquired copy of the v.1.0.3 of 7 Billion Humans for Android in order to use this wrapper since it's the last version featuring an ARMv7 build.

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.
  • Obtain your copy of 7 Billion Humans legally for Android in form of an .apk file. You can get all the required files directly from your phone or by using an apk extractor you can find in the play store. The apk can be extracted with whatever Zip extractor you prefer (eg: WinZip, WinRar, etc...) since apk is basically a zip file. You can rename .apk to .zip to open them with your default zip extractor.
  • Open the apk with your zip explorer and extract the files lib7BillionHumans.so and libc++_shared.so from the lib/armeabi-v7a folder to ux0:data/7billion.
  • Extract the assets folder inside ux0:data/7billion.
  • Download datafiles.zip from the Release tab of this repository and extract it in ux0:data.

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.
  • Once13one for the Livearea assets.
  • Northfear for the SDL2 fork with vitaGL as backend.