This is a wrapper/port of Death Road to Canada 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.
- Initial Release.
The port has been tested with v.1.7.2b. With different versions, mod may need adjustments to be applied.
The game is bundled with a mod made by CatoTheYounger that simplifies maps in order for the game to be playable on Vita.
Given the nature of the mod, if you encounter any issue regarding framerate, please open an Issue on this repository.
- Install kubridge and FdFix by copying
kubridge.skprx
andfd_fix.skprx
to your taiHEN plugins folder (usuallyux0:tai
) and adding two entries to yourconfig.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 Death Road to Canada 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 file
libmain.so
from thelib/armeabi-v7a
folder toux0:data/canada
. - Extract the
assets
folder insideux0:data/canada
. - Download
datafiles.zip
from the Release page of this repository and extract it inux0:data
. - Run
ux0:data/canada/assets/apply.bat
.
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:
-
-
make install
-
-
-
make install
-
-
-
mkdir build && cd build cmake .. && make install
-
-
-
make SOFTFP_ABI=1 HAVE_CUSTOM_HEAP=1 SINGLE_THREADED_GC=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
- TheFloW for the original .so loader.
- CatoTheYounger for the mod that makes the game less intensive, the screenshots and for testing the homebrew.
- withLogic for testing the homebrew.
- Once13one for the Livearea assets.
- Northfear for the SDL2 fork with vitaGL as backend.