Repository navigation
Riptide GP — PS Vita · v1.0.2
Riptide GP — PS Vita · v1.0.2
Paste the section below into the GitHub release description. The title above goes in the
release-title field; suggested tag:v1.0.2.
Native PS Vita trophies: 29 trophies + Platinum, unlocked from the game's own achievements.
What's new in 1.0.2
- Trophies. The game's achievements now unlock real PS Vita trophies (20 bronze, 7 silver,
2 gold and a Platinum), with the official names and descriptions. Requires the
NoTrpDrm plugin under*mainin
ur0:tai/config.txt. The trophy set is installed on the first launch (the screen stays black
for a few seconds while it does). - Achievements from an existing save are granted too, the next time any achievement makes
progress. - "Throw Down" (beat a friend's challenge) needed Google Play and has no trophy.
- The engine now detects the Vita's 4 CPU cores, so it uses its "High" quality profile
instead of "Low" (water droplets on the camera lens are back).
Updating from 1.0.1: install the new riptidegp.vpk over the old one (the full VPK, not only
the eboot: the trophy pack lives in it). Data files and your save stay as they are.
Requirements
- PS Vita / PS TV with HENkaku/Enso (3.60–3.74 with a kernel plugin loader).
kubridge.skprxin*KERNELof your taiHEN config.libshacccg.suprxinur0:data/(use ShaRKBR33D).- Optional, for trophies:
NoTrpDrm.suprxin*main. - Your own copy of the game APK (Android 1.6.3,
armeabi-v7a).
Install
- Install
riptidegp.vpkwith VitaShell. - Create
ux0:data/riptidegp/and copy into it:libBlue.so,libfmodex.so,libfmodevent.sofrom the APK'slib/armeabi-v7a/assets/Base.apffrom the APK'sassets/
- Launch.
What works
- Boot through the NativeActivity lifecycle (
OnInitApp/OnInitWindow), full asset loading
fromassets/Base.apf(textures, shaders, sounds). - All 57 shader programs compile and link on real hardware (confirmed in the console
log, zero link failures, zero crashes across the run). - Main menu and racing, confirmed playable on real hardware.
- FMOD music and sound effects (AudioTrack output).
- Progress saved and restored across launches (
ux0:data/riptidegp/files/profile): continue
championships, keep unlocked boats and upgrades. - Locked 60 FPS in races.
- Tilt steering with the Vita's accelerometer.
- Native PS Vita trophies (29 + Platinum).
- Logs per run in
ux0:data/riptidegp/logs/.
Controls
| Vita | Action |
|---|---|
| Touch screen | Original touch controls |
| Tilt the console | Accelerometer (tilt steering) |
| Left / Right sticks | MOGA analog axes |
| Cross / Circle / Square / Triangle | MOGA A / B / X / Y |
| L / R (+ L2 / R2 on PSTV/DS4) | MOGA shoulder buttons / trigger axes |
| D-pad, Select, Start, L3, R3 | MOGA D-pad, Select, Start, thumb buttons |
Options
ux0:data/riptidegp/config.txt (one key value per line):
accelerometer 1— Vita motion sensor drives tilt steering (0= no tilt).invert_tilt 0—1swaps left/right tilt.
Under the hood
Three bugs stood between the APK and a fully playable game, each found on real hardware:
- Crash in
glBindAttribLocationon the first shader. The engine binds its ~10 attribute
locations right afterglCreateProgram(), before attaching any shader -- legal GLES2, but
vitaGL dereferences the program's vertex shader without aNULLcheck (upstream has the same
bug). The loader now queues those bindings and replays them insideglLinkProgram, where the
shaders are already attached; a link failure is reported with the program info log. - Permanent black screen with music playing. The prebuilt
libvitaGL.ain VitaSDK is not
built withSOFTFP_ABI=1, but the loader is softfp (the Android.sorequires it), so floats
crossing loader<->vitaGL arrived garbled. vitaGL is now vendored (vendor/vitaGL, same tree as
the Carnivores Vita ports) and built with the softfp ABI. Same root cause as Carnivores
logs 004-007. - Progress reset on every launch (fixed in 1.0.1).
VuGenericFile::size()inlines
fileno()as a read of bionic'sFILE::_file(offset0x0E) and passes it tofstat(). The
loader'sFILE*comes from SceLibc with a different layout, so it always got fd 0,fstat
failed and the profile looked empty.source/patch.chooks the function and computes the size
withftell/fseek.
Known issues
- Physical buttons and sticks only work with the Simple control method. With tilt
steering selected in the game's options, tilting steers the boat but the buttons/sticks stop
responding. Switch back to Simple to use them.
Report anything else you find with the log from ux0:data/riptidegp/logs/.