Permalink
4dfc0d6 Nov 3, 2018
1 contributor

Users who have contributed to this file

executable file 163 lines (147 sloc) 11.9 KB

VitaGrafix

VitaGrafix is a taiHEN plugin that allows you to change resolution and FPS cap of PS Vita games (to get better visuals, higher FPS or longer battery life).

Credits

  • Rinnegatamante - for vitaRescale
  • dots_tb - for ioPlus
  • InquisitionImplied - for finding patches of some of the games included in here
  • "the scene" - for giving us a chance to do these things in the first place

Installation

  1. Download latest VitaGrafix.suprx and ioPlus.skprx from the Releases section
  2. If ux0:tai/config.txt file does exist
    1. Copy VitaGrafix.suprx and ioPlus.skprx to ux0:tai/ directory
    2. Open ux0:tai/config.txt in a text editor
    3. Add following lines to the bottom
*KERNEL
ux0:tai/ioPlus.skprx
*ALL
ux0:tai/VitaGrafix.suprx
  1. Otherwise
    1. Copy VitaGrafix.suprx and ioPlus.skprx to ur0:tai/ directory
    2. Open ur0:tai/config.txt in a text editor
    3. Add following lines to the bottom
*KERNEL
ur0:tai/ioPlus.skprx
*ALL
ur0:tai/VitaGrafix.suprx
  1. Create ux0:data/VitaGrafix folder or start any game (the folder will be created automatically)
  2. Create and open ux0:data/VitaGrafix/config.txt file
  3. Add games you wish to apply patches for (refer to the configuration section and compatibility list below)

Configuration

You can configure every game separately using unified configuration file.

[MAIN] section

  • This section applies to all games and overrides their individual options.
[MAIN]
ENABLED=1      <- Setting this to 0 disables all game modifications.
                  (default = 1)
OSD=1          <- Setting this to 0 disables in game OSD (during few seconds at the beginning).
                  (default = 1)

GAME section

  • This section applies to a single game. Each game supports different options! Refer to the compatibility table below.
[PCSB00245]    <- TITLE ID of your game
ENABLED=1      <- Setting this to 0 disables all game modifications.
                  (default = 1)
OSD=1          <- Setting this to 0 disables in game OSD (during few seconds at the beginning).
                  (default = 1)
FB=960x544     <- Framebuffer resolution. Setting this to OFF disables this feature.
                  (default = OFF)
                  Valid options:
                    960x544
                    720x408
                    640x368
                    OFF
IB=960x544     <- Internal buffer resolution. Setting this to OFF disables this feature.
                  Changing this generally does not impact resolution of UI elements.
                  (default = OFF)
                  Valid options:
                    WxH (where 0 < W <= 960 and 0 < H <= 544)
                    WxH,WxH,... (ONLY if the game supports multiple IB res. options)
                    OFF
FPS=60         <- FPS cap. Setting this to OFF disables this feature.
                  (default = OFF)
                  Valid options:
                    60
                    30
                    OFF

Example config.txt

[MAIN]
ENABLED=1

# This is a comment, comments have to be on a separate line and start with # char
[PCSB00245]
OSD=0
IB=960x544

# Ninja Gaiden Sigma 2 Plus uses dynamic resolution scaling,
# and switches between two specified IB resolutions when patched
# (based on framerate)
[PCSB00294]
IB=960x544,720x408

[PCSE00411]
IB=864x492

[PCSB00204]
IB=OFF

[PCSF00438]
FB=720x408
FPS=30

[PCSB00204]
ENABLED=0

NOTE: If some options are left out, the plugin will use their default values.

Supported games

Game Title ID(s) Supported features Game defaults Notes..............
Assassin's Creed III: Liberation PCSB00074
PCSE00053
Internal res.
FPS cap.
720x408
30
Asphalt: Injection PCSB00040
PCSE00007
Internal res. 720x408
Borderlands 2 PCSF00570
PCSF00576
PCSE00383
Framebuffer 960x544 #119
Dead or Alive 5 Plus PCSB00296
PCSE00235
PCSG00167
Internal res. 720x408
Dead or Alive Xtreme 3: Venus PCSG00773
PCSH00250
PCSH00281
2x Internal res. 736x416, 640x368
Dragon Ball Z: Battle of Z PCSB00396
PCSE00305
PCSG00213
Internal res. 704x448
Dragon Quest Builders PCSB00981
PCSE00912
PCSG00697
PCSH00221
Internal res.
FPS cap
720x408
60
Fate/EXTELLA LINK (The Umbral Star) PCSG01091
PCSH10121
Internal res. 720x408
F1 2011 PCSB00027 Internal res. 640x384
God of War Collection PCSF00438
PCSA00126
PCSC00059
Framebuffer
FPS cap
720x408
30
Hatsune Miku: Project Diva f PCSB00419
PCSE00326
PCSG00074
Internal res.
FPS cap
640x352
30
#120, #81
Hatsune Miku: Project Diva f 2nd PCSB00554
PCSE00434
PCSG00205
PCSH00088
Internal res.
FPS cap
720x408
30
#120, #80
Hatsune Miku: Project Diva X PCSB01007
PCSE00867
PCSH00176
Internal res. 720x408
Jak and Daxter Collection PCSF00247
PCSF00248
PCSF00249
PCSF00250
PCSA00080
Framebuffer 720x408
Killzone: Mercenary PCSF00243
PCSF00403
PCSA00107
PCSC00045
PCSD00071
Internal res.
FPS cap
Dynamic
30
LEGO Star Wars: The Force Awakens PCSB00877
PCSE00791
Internal res. 640x368
LittleBigPlanet PCSF00021
PCSA00017
PCSC00013
PCSD00006
Internal res. 720x408 #24
Miracle Girls Festival PCSG00610 Internal res. 720x408
MotoGP 13 PCSB00316
PCSE00409
Internal res. 704x448
MotoGP 14 PCSE00529 Internal res. 704x448
MUD - FIM Motocross World Championship PCSB00182 Internal res. 704x448
MXGP: The Official Motocross Videogame PCSB00470
PCSE00530
Internal res. 704x448
Ninja Gaiden Sigma 2 Plus PCSB00294
PCSE00233
PCSG00157
2x Internal res. 864x480, 640x416
Persona 4 Golden PCSB00245
PCSE00120
PCSG00004
PCSG00563
PCSH00021
Internal res. 840x476
Ratchet & Clank PCSF00484
PCSF00482
PCSA00133
Framebuffer 720x408
Ratchet & Clank 2: Locked and Loaded / Going Commando PCSF00485
PCSF00482
PCSA00133
Framebuffer 720x408 #121
Ratchet & Clank 3 / Up Your Arsenal PCSF00486
PCSF00482
PCSA00133
Framebuffer 720x408 #121
Ratchet & Clank: QForce / Full Frontal Assault PCSF00191
PCSA00086
Framebuffer 720x408
Resident Evil: Revelations 2 PCSF00728
PCSE00608
PCSG00594
Internal res. 720x408
Ridge Racer PCSB00048
PCSE00001
PCSG00001
Internal res. 720x408
Sly Cooper and the Thievius Raccoonus PCSF00269
PCSF00338
PCSA00095
PCSA00096
Framebuffer
FPS cap
720x408
30
Sly Cooper 2: Band of Thieves PCSF00270
PCSF00338
PCSA00095
PCSA00097
Framebuffer
FPS cap
960x544
30
Sly Cooper 3: Honor Among Thieves PCSF00271
PCSF00338
PCSA00095
PCSA00098
Framebuffer
FPS cap
960x544
30
Sly Cooper: Thieves in Time PCSF00156
PCSF00206
PCSF00207
PCSF00208
PCSF00209
PCSA00068
FPS cap 30
The Amazing Spider-Man PCSB00428 Internal res.
FPS cap
704x400
60
#122
The Legend of Heroes: Trails of Cold Steel
Eiyuu Densetsu: Sen no Kiseki
PCSB00866
PCSE00786
PCSG00195
PCSH00074
Internal res. 720x408
The Legend of Heroes: Trails of Cold Steel II
Eiyuu Densetsu: Sen no Kiseki II
PCSB01016
PCSE00896
PCSG00354
PCSH00075
Internal res. 720x408
Utawarerumono: Mask of Deception / Itsuwari no Kamen PCSB01093
PCSE00959
PCSG00617
Internal res. 672x384
Utawarerumono: Mask of Truth / Futari no Hakuoro PCSB01145
PCSE01102
PCSG00838
Internal res. 672x384
Utawarerumono: Chiriyuku Mono he no Komoriuta PCSG01079 Internal res. 672x384
Wipeout 2048 PCSF00007
PCSA00015
PCSC00006
PCSD00005
14x Internal res.
FPS cap
up to 960x544
30
World of Final Fantasy PCSB00951
PCSE00880
PCSH00223
PCSG00709
Internal res. 640x384
WRC 3: FIA World Rally Championship PCSB00204 Internal res. 704x448
WRC 4: FIA World Rally Championship PCSB00345
PCSE00411
Internal res. 704x448
WRC 5: FIA World Rally Championship PCSB00762 Framebuffer 960x544
  • no known issues
  • playable, but with some minor issues (check Issues section)

Adding support for each and every game requires manual disassembly of game's binary to find addresses in the game code where the resolution is set. Some are easy to patch, others plainly impossible.