Hacking Gravity Rush native framebuffer size.

BasedIndex

splendid
OP
Member
Joined
Dec 18, 2015
Messages
313
Trophies
0
Location
Hellfire Peninsula
Website
www.youtube.com
XP
307
Country
Russia
Hi.
I've been inspecting a few eboot executable files in IDA Pro (thanks @KabutoKun ) recently and found a way to increase Gravity Rush resolution from 720x408 to 960x544. The only downside is dialogue/comic book cutscenes being bugged. So if you've finished the game and/or don't care about it then this is definitely something you'll enjoy.

Screenshots:
Before
d01651903d.jpg
After
db0410efa7.jpg
Dialogue bug:
97a2a72d56.jpg
2a1351d147.jpg

Steps to get it working(you have to have access to patch or decrypted ( ͡° ͜ʖ ͡°) game files:
  1. Backup original eboot.bin.
  2. Open eboot.bin with HxD or visit https://hexed.it/
  3. Search for value 5FF434701A905FF4CC70 , replace with 5FF470701A905FF40870 (make sure file has the same size after editing)
FAQ:
Q: I have a gamecart, what do?
A: by idumpvitastuff: You could just dump eboot.bin, edit it and then put edited eboot into ux0:/patch/TITLEID that would save more space... Oh also dont forget to put sce_sys/param.sfo into the same patch folder otherwise it will say "file is currupt"

Comparison screenshots are welcome!
I hope someone found this helpful. If you're interested in Vita GPU shenanigans visit https://www.reddit.com/r/vitahacks/comments/637np7/problematic_psp_game_fixes_force_unleashed/ , look for readyyourawoos posts.

Cheers.
 
Last edited by BasedIndex,

BasedIndex

splendid
OP
Member
Joined
Dec 18, 2015
Messages
313
Trophies
0
Location
Hellfire Peninsula
Website
www.youtube.com
XP
307
Country
Russia
Does this have any effect on frame rate?
I did not notice major fps dips. Just like on stock resolution it will dip if Kat is attacked by many projectiles at once.
Game already uses slightly higher clock rate I wouldn't expect a lot of fps difference. Just like in Borderlands 2, while decreasing resolution, we didn't gain a whole lot of extra frames during gameplay.
https://gbatemp.net/threads/borderlands-2-on-vita-ini-file.442215/page-5
But I will say that it needs more testing.
Comparison screenshots are welcome!
 

InquisitionImplied

Two-cent DF
Member
Joined
Sep 25, 2015
Messages
205
Trophies
0
Age
25
Location
Arizona
XP
546
Country
United States
I can't get the ux0:Patch/PCSA00011 trick to work even with the param.sfo, since it gives me a C2-12828-2, so I had to use a dumped copy, but here are some comparison screenshots. The outline effect doesn't display properly in chapter 5 where there normally is no white outline. In general, the changes look very minimal, but there is clearly a difference in the UI. Is it just because the only value edit didn't change everything and there's still more that can be improved?

Top - Original
Bottom - Eboot edit

Full Gallery - (8 sets of images)
Bird(Upscaled).png
Bird(Native).png


Map(Upscaled).png
Map(NativE).png
CityBottom(Upscaled).png
CityBottom(Native).png

Example of the outline during the snow area
Snow(Upscaled).png
Snow(Native).png
 

Attachments

  • City2(Upscaled).png
    City2(Upscaled).png
    121.4 KB · Views: 638
Last edited by InquisitionImplied,

BasedIndex

splendid
OP
Member
Joined
Dec 18, 2015
Messages
313
Trophies
0
Location
Hellfire Peninsula
Website
www.youtube.com
XP
307
Country
Russia
I can't get the ux0:Patch/PCSA00011 trick to work even with the param.sfo, since it gives me a C2-12828-2, so I had to use a dumped copy, but here are some comparison screenshots. The outline effect doesn't display properly in chapter 5 where there normally is no white outline. In general, the changes look very minimal, but there is clearly a difference in the UI. Is it just because the only value edit didn't change everything and there's still more that can be improved?

Top - Original
Bottom - Eboot edit

Full Gallery - (8 sets of images)

Example of the outline during the snow area
Try 5FF4347101605FF4CC71 > 5FF4707101605FF40871 with original patch applied as well.

Edit: Here's a little something, not like you'll get any more improvements besides these 2.
I used patch 1 and 2 for the screenshots.
https://puu.sh/wuBPK/8da94cac79.txt
 
Last edited by BasedIndex,
  • Like
Reactions: InquisitionImplied

BasedIndex

splendid
OP
Member
Joined
Dec 18, 2015
Messages
313
Trophies
0
Location
Hellfire Peninsula
Website
www.youtube.com
XP
307
Country
Russia
Can you share eboot.bin offsets? It would be possible to make a plugin that way
I'd say this needs more testing but here you go.
First patch 5FF4347101605FF4CC71 > 5FF4707101605FF40871
offsets: 8974 to 897D
Second one(from op) 5FF434701A905FF4CC70 > 5FF470701A905FF40870
offsets: 2284 to 228D
 

jiahao1889

New Member
Newbie
Joined
Aug 8, 2017
Messages
3
Trophies
0
Age
34
XP
52
Country
China
Hi.
I've been inspecting a few eboot executable files in IDA Pro (thanks @KabutoKun ) recently and found a way to increase Gravity Rush resolution from 720x408 to 960x544. The only downside is dialogue/comic book cutscenes being bugged. So if you've finished the game and/or don't care about it then this is definitely something you'll enjoy.

Screenshots:
Before
d01651903d.jpg
After
db0410efa7.jpg
Dialogue bug:
97a2a72d56.jpg
2a1351d147.jpg

Steps to get it working(you have to have access to patch or decrypted ( ͡° ͜ʖ ͡°) game files:
  1. Backup original eboot.bin.
  2. Open eboot.bin with HxD or visit https://hexed.it/
  3. Search for value 5FF434701A905FF4CC70 , replace with 5FF470701A905FF40870 (make sure file has the same size after editing)
FAQ:
Q: I have a gamecart, what do?
A: by idumpvitastuff: You could just dump eboot.bin, edit it and then put edited eboot into ux0:/patch/TITLEID that would save more space... Oh also dont forget to put sce_sys/param.sfo into the same patch folder otherwise it will say "file is currupt"

Comparison screenshots are welcome!
I hope someone found this helpful. If you're interested in Vita GPU shenanigans visit https://www.reddit.com/r/vitahacks/comments/637np7/problematic_psp_game_fixes_force_unleashed/ , look for readyyourawoos posts.

Cheers.
great work here. i've tried something like this on yurunonaikuni(aka nights of azure) before, but failed to locate the offset.
cos this game at version japanese 1.0, its resolution something like 960x544.
but after the 1.02 patch(also for english and chinese version 1.0), changes it down to like 720x408 or below(full screen of aliasing).
i think there's some tricky things i didn't found, so is there some hint for searching the resolution config? T_T
i can provide the two eboot.bin here
https://www.dropbox.com/s/6e59vu1w0htkv6e/eboot_1.0.bin?dl=0
https://www.dropbox.com/s/vfql0j965dku8od/eboot_1.04.bin?dl=0
 
Last edited by jiahao1889,

InquisitionImplied

Two-cent DF
Member
Joined
Sep 25, 2015
Messages
205
Trophies
0
Age
25
Location
Arizona
XP
546
Country
United States
great work here. i've tried something like this on yurunonaikuni(aka nights of azure) before, but failed to locate the offset.
cos this game at version japanese 1.0, its resolution something like 960x544.
but after the 1.02 patch(also for english and chinese version 1.0), changes it down to like 720x408 or below(full screen of aliasing).
i think there's some tricky things i didn't found, so is there some hint for searching the resolution config? T_T
i can provide the two eboot.bin here
https://www.dropbox.com/s/6e59vu1w0htkv6e/eboot_1.0.bin?dl=0
https://www.dropbox.com/s/vfql0j965dku8od/eboot_1.04.bin?dl=0

I only played the 1.04 patch of Nights of Azure and it looked like it used a dynamic resolution. Did version 1.00 perform better than 1.04?
 

jiahao1889

New Member
Newbie
Joined
Aug 8, 2017
Messages
3
Trophies
0
Age
34
XP
52
Country
China
I only played the 1.04 patch of Nights of Azure and it looked like it used a dynamic resolution. Did version 1.00 perform better than 1.04?
yeah... it makes a big difference
i've tried replace chinese resources into the original jpn 1.0 game, and make these screenshots.
but i failed when dealing with these block fonts. T_T

180100b67b6jcx6sss6xxb.jpg
1801555bvnhs9b1k508878.jpg
180106t9bvbx8z7vtwzmqb.jpg
1801261o9o33i38eoo9wnn.jpg
 
  • Like
Reactions: InquisitionImplied

BasedIndex

splendid
OP
Member
Joined
Dec 18, 2015
Messages
313
Trophies
0
Location
Hellfire Peninsula
Website
www.youtube.com
XP
307
Country
Russia
yeah... it makes a big difference
i've tried replace chinese resources into the original jpn 1.0 game, and make these screenshots.
but i failed when dealing with these block fonts. T_T

View attachment 95043 View attachment 95044 View attachment 95045 View attachment 95046
Hi.
Look for different resolution values.
For instance after a quick look I found 640x480, weird but that's all I have for now. Might be a coincidence but I'd try swapping those with resolution of same float. 640/480=1.33333333333
Of course these are offsets with original eboot cut by first 1000 bytes.
Also if these don't work try checking booleans near 960x544 values movs.w 0x3c0/0x220

27f15c7c7b.png

181590a2c4.png

Cheers.
 
  • Like
Reactions: InquisitionImplied

jiahao1889

New Member
Newbie
Joined
Aug 8, 2017
Messages
3
Trophies
0
Age
34
XP
52
Country
China
Hi.
Look for different resolution values.
For instance after a quick look I found 640x480, weird but that's all I have for now. Might be a coincidence but I'd try swapping those with resolution of same float. 640/480=1.33333333333
Of course these are offsets with original eboot cut by first 1000 bytes.
Also if these don't work try checking booleans near 960x544 values movs.w 0x3c0/0x220

27f15c7c7b.png

181590a2c4.png

Cheers.
seems not this one...in both 1.0 and 1.04, these values both appears at same position

i've found something different in two files, like this:
Pasted Graphic 1.png
Pasted Graphic 2.png

first one for 1.0 and second for 1.04

i've tried replace the extra codes with mov r0, r0 in second eboot.bin, but run as same as before...

maybe u guys could provide more possible resolutions for psv so i could search for more?
 

Electry

New Member
Newbie
Joined
Aug 17, 2018
Messages
1
Trophies
0
Age
25
XP
57
Country
Slovakia
After the first patch (in OP) only FB res changes, game still renders at 720x408.
Check github . com/Electry/VitaGrafix/commit/5f8be0aef5671e4213e8ab93bf7920dfa7a35578#diff-4eea93503c06fd20d48043534611e469R389
(I can't post links yet)
I added all references I could find (maybe some of the changes aren't necessary), but now it renders at 960x544.
I also haven't played the game really, only made sure it was booting, so there might be some issues.

The offsets are the same for all game regions. (0x284 is seg000:81000284 or 00000284 in IDA).

EDIT: Dialogs are still glitched, and I'm getting this weird ghost image in some areas.
 
Last edited by Electry,

Chostyn

New Member
Newbie
Joined
Jan 21, 2019
Messages
1
Trophies
0
Age
28
XP
68
Country
Albania
Hey, I'm having trouble installing this... When I edit the eboot file, the game just doesn't start. What could it be? ANy idea?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Mkay.