Gravity Rush native framebuffer size.

Discussion in 'PS Vita - Hacking & Homebrew' started by BasedIndex, Jun 21, 2017.

  1. BasedIndex
    OP

    BasedIndex Hey, that's pretty good!

    Member
    301
    89
    Dec 18, 2015
    Russia
    sysnand
    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
    Warning: Spoilers inside!
    After
    Warning: Spoilers inside!
    Dialogue bug:
    Warning: Spoilers inside!

    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:
    Warning: Spoilers inside!

    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, Jun 24, 2017
    jiahao1889, Androu1, zeldaism and 9 others like this.
  2. Bu2d85

    Bu2d85 GBAtemp Advanced Fan

    Member
    GBAtemp Patron
    Bu2d85 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    889
    231
    Nov 6, 2014
    United States
    Does this have any effect on frame rate?
     
  3. BasedIndex
    OP

    BasedIndex Hey, that's pretty good!

    Member
    301
    89
    Dec 18, 2015
    Russia
    sysnand
    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.
     
    InquisitionImplied and MKKhanzo like this.
  4. InquisitionImplied

    InquisitionImplied Two-cent DF

    Member
    128
    77
    Sep 25, 2015
    United States
    Arizona
    What a nice game to choose for the first resolution hack. I'll test out the framerates and make a video on it!
     
    TheVinAnator likes this.
  5. Nad45

    Nad45 Newbie

    Newcomer
    5
    2
    Aug 4, 2016
    France
    Thanks, i'll try that
     
    Last edited by Nad45, Jun 23, 2017
  6. SuperDan

    SuperDan Im Aware ... Im Unaware

    Member
    683
    168
    Aug 17, 2016
    United States
    Londoner , Living In Louisiana ...
    Very Nice ~!~
     
  7. InquisitionImplied

    InquisitionImplied Two-cent DF

    Member
    128
    77
    Sep 25, 2015
    United States
    Arizona
    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)
    Warning: Spoilers inside!

    Example of the outline during the snow area
    Warning: Spoilers inside!
     

    Attached Files:

    Last edited by InquisitionImplied, Jun 26, 2017
  8. BasedIndex
    OP

    BasedIndex Hey, that's pretty good!

    Member
    301
    89
    Dec 18, 2015
    Russia
    sysnand
    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, Jun 26, 2017
    InquisitionImplied likes this.
  9. frangarcj

    frangarcj Member

    Newcomer
    43
    61
    Nov 10, 2013
    Almería, Spain
    Can you share eboot.bin offsets? It would be possible to make a plugin that way
     
  10. BasedIndex
    OP

    BasedIndex Hey, that's pretty good!

    Member
    301
    89
    Dec 18, 2015
    Russia
    sysnand
    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
     
  11. InquisitionImplied

    InquisitionImplied Two-cent DF

    Member
    128
    77
    Sep 25, 2015
    United States
    Arizona
    I can't spot any difference with the second value changed

    Old edit vs. New edit
    Warning: Spoilers inside!

    Original vs. New Edit
    Warning: Spoilers inside!

    EDIT: Added the missing native comparison shots
     
    Last edited by InquisitionImplied, Jun 26, 2017
  12. SuperDan

    SuperDan Im Aware ... Im Unaware

    Member
    683
    168
    Aug 17, 2016
    United States
    Londoner , Living In Louisiana ...
    sounds great !!
     
  13. jiahao1889

    jiahao1889 Newbie

    Newcomer
    3
    1
    Aug 8, 2017
    China
    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, Aug 8, 2017
  14. InquisitionImplied

    InquisitionImplied Two-cent DF

    Member
    128
    77
    Sep 25, 2015
    United States
    Arizona
    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?
     
  15. jiahao1889

    jiahao1889 Newbie

    Newcomer
    3
    1
    Aug 8, 2017
    China
    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
     
    InquisitionImplied likes this.
  16. BasedIndex
    OP

    BasedIndex Hey, that's pretty good!

    Member
    301
    89
    Dec 18, 2015
    Russia
    sysnand
    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

    [​IMG]
    [​IMG]
    Cheers.
     
    InquisitionImplied likes this.
  17. TheStig02

    TheStig02 Newbie

    Newcomer
    1
    0
    Sunday
    Russia
    Hi people! Has anyone tried to increase the buffer in NFS MW?
    I can not do it at ...
     
  18. jiahao1889

    jiahao1889 Newbie

    Newcomer
    3
    1
    Aug 8, 2017
    China
    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?