Battlefield: Bad Company 2 Vita
This is a wrapper/port of Battlefield: Bad Company 2 Android 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.
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
fd_fix.skprxto your taiHEN plugins folder (usually
ux0:tai) and adding two entries to your
*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.
libshacccg.suprx, if you don't have it already, by following this guide.
- Obtain your copy of Battlefield: Bad Company 2 legally from the Amazon store in form of an
.apkfile and one or more
.obbfiles (usually located inside the
/sdcard/android/obb/bc2/) folder. 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
.zipto open them with your default zip extractor.
- Copy the
- Open the apk and extract
- Install BC2.vpk on your PS Vita.
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: Linux / Windows.
Additionally, you'll need these libraries to be compiled as well with
-mfloat-abi=softfp added to their CFLAGS:
mkdir build && cd build cmake .. && make install
make SOFTFP_ABI=1 DRAW_SPEEDHACK=1 install
After all these requirements are met, you can compile the loader with the following commands:
mkdir build && cd build cmake .. && make
- Rinnegatamante for vitaGL.
- Once13One for providing LiveArea assets.