Repository navigation
Releases
Releases · MetalSyntax/Brothers-in-Arms-2-vita
Brothers in Arms 2: Global Front HD Vita v1.0
Brothers in Arms 2: Global Front HD Vita v1.0
This is a wrapper/port of Brothers in Arms 2: Global Front HD (Gameloft) for the PlayStation Vita and PlayStation TV.
Changelog
- v1.0 — Initial Release:
- Full 3D Gameplay: Runs smoothly on the PS Vita using hardware-accelerated GLES rendering via vitaGL.
- Blue Textures Fixed: ATC textures are transcoded block-by-block to DXT1 / DXT3 / DXT5 (
source/reimpl/atc.c) with the proper channel order, fixing the blue skin and blue rifle textures while keeping textures compressed in VRAM. - Performance: vitaGL CPU speedhacks from N.O.V.A 2 (
MATH_SPEEDHACK,SAMPLERS_SPEEDHACK), cached vitaGL RAM pool, compressed textures and trampoline hooks for the HUD dimming (no code patching on every HUD draw). - Full Dual-Analog Physical Controls:
- Left Stick / D-Pad: Move soldier.
- Right Stick: Smooth, unlimited 360° camera with continuous drag and velocity curves.
- R / RTRIGGER / R1: Fire weapon (hold).
- L / LTRIGGER / L1: Iron sights / Aim (toggle).
- Cross: Context action (climb obstacles, jump, vehicle interaction).
- Circle: Run / dash (hold in game; Back in menus -- no longer opens the pause menu).
- Select: Shake (melee "SHAKE" prompts); the real accelerometer works too.
- Square: Change stance (Stand / Crouch / Prone).
- Triangle: Switch weapon / Reload.
- Start: Pause game / Open menu.
- Bottom Virtual Buttons Dimmed to 1%: Bottom on-screen buttons (move joystick, fire, aim, run, stance) are rendered at 1% opacity while remaining touch-interactive; the top HUD (pause button, weapon panel) keeps its normal opacity.
- Main Menu Background Restored: fixed a hook that made the menu background render black.
- Smooth Camera Sensitivity: Adjust camera look speed on the fly with Select + D-Pad Up / Down (levels 1–10). An on-screen visual indicator appears, and settings are saved to
ux0:data/brothersinarms2/camera_sens.txt. - Intro Video Playback: Unconverted
intro.mp4(H.264 Baseline + AAC) plays on boot using the PS Vita's hardware video decoder (sceAvcdec) and software AAC audio decoding via FFmpeg (libavcodec). Can be skipped anytime with Cross or Start. - Audio System: Custom 48 kHz stereo mixer routing sound effects and Vorbis OGG music to
sceAudioOut. - Data Paths: Remapped all save and asset directories to
ux0:data/brothersinarms2/.
Setup Instructions
To run this port, you must supply assets from a legally obtained copy of the Android game:
- Ensure kubridge and FdFix are installed on your PS Vita (
ur0:tai/config.txtunder*KERNEL). - Ensure libshacccg.suprx is installed in
ur0:data/. - Obtain the original APK of Brothers in Arms 2: Global Front HD v1.0.4 (
Brothers_In_Arms_2__Global_Front_HD_1.0.4.apk) and its data cache folder (BIA2/). - Extract the
.apkusing any zip archive tool on your PC. - Copy
lib/armeabi-v7a/libbia2.sofrom inside the APK toux0:data/brothersinarms2/libbia2.so. - Copy the APK's
res/raw/directory contents toux0:data/brothersinarms2/res/raw/. - Copy the complete
BIA2/data cache folder (intro.mp4,sprites/,sounds/,gui/, etc.) toux0:data/brothersinarms2/BIA2/. - Install
brothersinarms2.vpkon your PS Vita using VitaShell. - Launch the game from your LiveArea.
Directory Layout on Memory Card
ux0:data/brothersinarms2/
├── libbia2.so <- Extracted from lib/armeabi-v7a/ in the APK
├── BIA2/ <- Android data cache folder (gameloft/games/bia2)
│ ├── intro.mp4 <- Boot intro video
│ ├── sprites/
│ ├── sounds/
│ ├── fonts/
│ └── gui/
├── res/
│ └── raw/ <- Extracted from res/raw/ in the APK (raw_000.ogg, etc.)
├── saves/ <- Created automatically by the game
├── logs/ <- Debug logs (brothersinarms2_NNN.log)
└── camera_sens.txt <- Camera sensitivity setting file
Controls Reference
- Left Stick — Move soldier
- Right Stick — Camera look / Aim (light tilt = precise aim, full tilt = fast turn)
- R / R1 / RTRIGGER — Fire weapon (hold)
- L / L1 / LTRIGGER — Aim / Iron sights (toggle)
- Cross — Context action (jump, climb, interact)
- Circle — Run / dash (hold in game; Back in menus)
- Select — Shake (melee "SHAKE" prompts; shaking the console also works)
- Square — Change stance (Stand / Crouch / Prone)
- Triangle — Switch weapon / Reload
- Start — Pause / Menu
- Select + D-Pad Up / Down — Adjust camera sensitivity (1 to 10)
- D-Pad (without Select) — Move soldier / Navigate menus
- Touch Screen — Touch controls (still responsive; bottom buttons at 1% opacity)
Troubleshooting
- Error dialog on boot saying data files are missing:
Ensureux0:data/brothersinarms2/libbia2.sois present and thatux0:data/brothersinarms2/BIA2/contains the cache files. - Crash on startup or black screen:
Verify thatkubridge.skprxandfd_fix.skprxare loaded under*KERNELinur0:tai/config.txt, and thatur0:data/libshacccg.suprxis present. - If an issue occurs:
Check the latest log created inux0:data/brothersinarms2/logs/brothersinarms2_NNN.log.
Credits
- Gameloft & Gearbox Software for the original game.
- TheFloW for
so_util,kubridge, andFdFix. - Rinnegatamante for
vitaGL. - v-atamanenko for
FalsoJNIandsoloader-boilerplate. - Wonder Diaz for porting, reverse engineering, controls mapping, and optimization for PS Vita.