This is a wrapper/port of the Android version of Max Payne Mobile. It loads the original game binary, patches it and runs it. This is probably not entirely stable yet, so expect issues.
Before installing the game, you should do the following on your Vita:
- Install kubridge same way you install other
.skprx
plugins: downloadkubridge.suprx
, copy it toux0:/tai/
and add these lines to yourux0:/tai/config.txt
:
*KERNEL
ux0:tai/kubridge.skprx
- (optional) Install fdfix if you don't want your game to crash on suspend.
- Extract the runtime shader compiler.
- Reboot.
You're going to need:
.apk
file for version 1.7 (latest version at the time of writing);.obb
file for version 1.6 or 1.7 (usually located at/sdcard/android/obb/com.rockstar.maxpayne/main.3.com.rockstar.maxpayne.obb
).
Both files can be obtained from your phone if you have a copy of the game installed.
Both files can be opened or extracted with anything that can extract .zip
files.
To install:
- Install the latest VPK from the Releases page.
- Extract the
assets
folder from your.apk
toux0:/data
and rename it tomaxpayne
. - Extract
lib/armeabi-v7a/libMaxPayne.so
from your.apk
toux0:/data/maxpayne
. - Extract the contents of the
.obb
file intoux0:/data/maxpayne
. You can skip all the.msf
files except forMaxPayneSoundsv2.msf
and any extra languages that you want. - Extract the contents of the
data.zip
from the latest release intoux0:/data
. Replace everything.
You can put the game data onto uma0:
or imc0:
instead of ux0:
. Paths remain the same.
The game will show an error message if it detects that anything is wrong. Please read those and check the relevant parts of your setup.
If the error says Could not find symbol ...
, that likely means you have the wrong .apk
. You need one for v1.7, others will not work.
If the game crashes on startup, please post an issue with your last crash dump attached.
You're going to need these things recompiled with the -mfloat-abi=softfp
compiler flag:
- The entirety of VitaSDK (Linux build, Windows build)
- openal-soft
- libmathneon
- vitashark
- vitaGL (build with
HAVE_SBRK=1 HAVE_SHARK=1 SOFTFP_ABI=1 NO_DEBUG=1
)
You're also going to need the static library and header for kubridge:
git clone https://github.com/TheOfficialFloW/kubridge.git && cd kubridge
mkdir build && cd build
cmake -G"Unix Makefiles" ..
make && make install
After you've obtained all the dependencies and ensured VitaSDK is properly installed and in PATH
, build this repository using the same commands:
git clone https://github.com/fgsfdsfgs/max_vita.git && cd max_vita
mkdir build && cd build
cmake -G"Unix Makefiles" ..
make
- TheOfficialFloW for kubridge, figuring out how to do this shit, and much of the code;
- Rinnegatamante for vitaGL and help with graphics-related stuff;
- Bythos and frangarcj for help with graphics-related stuff;
- CBPS/SonicMastr for PIB, which was used on earlier stages of development;
- isage for the native audio backend for OpenAL-Soft;
- Brandonheat8 for providing the old LiveArea assets;
- Freakler for providing the new LiveArea assets.