Electry / VitaGrafixPatchlist

Collection of patches for VitaGrafix 5.0+
180 stars 46 forks source link

Some game patches #43

Closed q6164007 closed 4 years ago

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Gundam SEED Battle Destiny Artdink 960x544 704x384 4x 30
# Gundam SEED Battle Destiny [JP 1.01]
[PCSG00040,eboot.bin,0x657F506B]
@IB
0:0x7761EC uint32(<ib_w>)
0:0x7761F0 uint32(<ib_h>)
@FPS
0:0x72189C a1_mov(0,0,<vblank>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
J-Stars Victory Vs+ Bandai Namco 960x544 768x448 none 30
# J-Stars Victory Vs+ [ASIA 1.00]
[PCSH00136,eboot.bin,0x86EAD93B]
@IB
0:0x2BD01E t2_mov(1,4,0xF00000) 
0:0x2BCF62 t2_mov(1,14,0x6100000) 
1:0x485F8 uint32(<ib_w>)
1:0x485FC uint32(<ib_h>)
# J-Stars Victory Vs+ [US 1.02]
[PCSE00595,eboot.bin,0x60650340]
@IB
0:0x2BCEDE t2_mov(1,4,0xF00000) 
0:0x2BCE22 t2_mov(1,14,0x6100000) 
1:0x485F8 uint32(<ib_w>)
1:0x485FC uint32(<ib_h>)
# J-Stars Victory Vs+ [EU 1.00]
[PCSB00713,eboot.bin,0x52574668]
@IB
0:0x2BD12A t2_mov(1,4,0xF00000) 
0:0x2BD06E t2_mov(1,14,0x6100000) 
1:0x485F8 uint32(<ib_w>)
1:0x485FC uint32(<ib_h>)
# J-Stars Victory Vs [JP 1.02]
[PCSG00300,eboot.bin,0xA11C13E2]
@IB
0:0x28D338 t2_mov(1,5,0xD00000)
0:0x28D286 t2_mov(1,12,0x6300000)
1:0x27FBC uint32(<ib_w>)
1:0x27FC0 uint32(<ib_h>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Catherine: Full Body Atlus 960x544 720x408 none 30
# Catherine: Full Body [JP 1.03]
[PCSG01179,eboot.bin,0x193F08A5]
@IB
0:0xBBE98 t2_mov(1,5,<ib_w>)
0:0xBBEA0 t2_mov(1,6,<ib_h>)
0:0x345E6A t2_mov(1,14,<ib_w>)
0:0x345E6E t2_mov(1,12,<ib_h>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Street Fighter X Tekken Capcom 960x544 640x480 4x 60
# Street Fighter X Tekken [US 1.08]
[PCSE00005,eboot.bin,0xEA3CB3D]
@IB
0:0x94D240 t2_mov(1,5,<ib_w>)
0:0x94D244 t2_mov(1,2,<ib_h>)
# Street Fighter X Tekken [EU 1.08]
[PCSB00144,eboot.bin,0x4C4DB951]
@IB
0:0x94D298 t2_mov(1,5,<ib_w>)
0:0x94D29C t2_mov(1,2,<ib_h>)
# Street Fighter X Tekken [JP 1.08]
[PCSG00063,eboot.bin,0xAAE7FEDF]
@IB
0:0x94D28C t2_mov(1,5,<ib_w>)
0:0x94D290 t2_mov(1,2,<ib_h>)
nad45 commented 5 years ago

Thanks

diegorocha2007 commented 5 years ago

Thank you very much!

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Supremacy MMA Unrestricted Kung Fu Factory 960x544 720x408 4x 60
# Supremacy MMA: Unrestricted [US 1.00]
[PCSE00012,eboot.bin,0x860FE0A7]
@IB
0:0x58EBA t2_mov(1,1,<ib_w>)
0:0x58EBE t2_mov(1,2,<ib_h>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Macross Delta Scramble Artdink 960x544 800x448 2x 30
# Macross Delta Scramble [JP 1.02]
[PCSG00947,eboot.bin]
@IB
0:0x7B6AB0 a1_mov(0,0,<ib_w>)
0:0x7B6AB8 a1_mov(0,0,<ib_h>)
0:0x7AC3FC a1_mov(0,0,<ib_w>)
0:0x7AC404 a1_mov(0,1,<ib_h>)
0:0x7AA920 a1_mov(0,0,<ib_w>)
0:0x7AA928 a1_mov(0,1,<ib_h>)
0:0x7AAC88 a1_mov(0,2,<ib_w>)
0:0x7AAC90 a1_mov(0,3,<ib_h>)
0:0x7AB4F8 a1_mov(0,3,<ib_w>)
0:0x7AB500 a1_mov(0,5,<ib_h>)
Feardarks commented 5 years ago

thhaankkssss <3

nad45 commented 5 years ago

Thanks Regarding Macross, is it possible to have MSAA 4x?

q6164007 commented 5 years ago

Thanks Regarding Macross, is it possible to have MSAA 4x?

Sorry, I have no idea. Maybe @Electry can do it.

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Tokyo Xanadu Nihon Falcom 960x544 720x408 2x 30

I pixel-counted gameplay screenshot and it's 720x408,but it was scaled to 960x544 output, so changing it to 1280x720 is the real 960x544.Setting MSAA=4 does not affect the number of frames. The best setting is IB=1280x720 MSAA=4

# Tokyo Xanadu [JP 1.04]
[PCSG00608,eboot.bin,0x95ACFA1D]
@IB
0:0xE75C8 t2_mov(1,1,<ib_w>)
0:0xE75CC t2_mov(1,2,<ib_h>)
0:0xE7602 t2_mov(1,1,<ib_w>)
0:0xE7606 t2_mov(1,2,<ib_h>)
@MSAA
0:0xE7594 t1_mov(4,<*,<msaa>,2>)
# Tokyo Xanadu [ASIA 1.00]
[PCSH10009,eboot.bin,0x2BE0554C]
@IB
0:0xE7A48 t2_mov(1,1,<ib_w>)
0:0xE7A4C t2_mov(1,2,<ib_h>)
0:0xE7A82 t2_mov(1,1,<ib_w>)
0:0xE7A86 t2_mov(1,2,<ib_h>)
@MSAA
0:0xE7A14 t1_mov(4,<*,<msaa>,2>)
# Tokyo Xanadu [US 1.00]
[PCSE00893,eboot.bin,0x9420F248]
@IB
0:0xE7730 t2_mov(1,1,<ib_w>)
0:0xE7734 t2_mov(1,2,<ib_h>)
0:0xE776A t2_mov(1,1,<ib_w>)
0:0xE776E t2_mov(1,2,<ib_h>)
@MSAA
0:0xE76FC t1_mov(4,<*,<msaa>,2>)
# Tokyo Xanadu [EU 1.00]
[PCSB01062,eboot.bin,0x061171E4]
@IB
0:0xE7818 t2_mov(1,1,<ib_w>)
0:0xE781C t2_mov(1,2,<ib_h>)
0:0xE7852 t2_mov(1,1,<ib_w>)
0:0xE7856 t2_mov(1,2,<ib_h>)
@MSAA
0:0xE77E4 t1_mov(4,<*,<msaa>,2>)
diegorocha2007 commented 5 years ago

On the previous Catherine patch I was using, for JP 1.01, it was possible to set the IB to 1280x720. Yours however, crashed the game when trying this resolution. Do you know if it's a limitation of 1.03 for this kind of patch?

q6164007 commented 5 years ago

@diegorocha2007 Of course, I am the original author of the 1.01 patch. To set it to 1280x720, it needs more 8mb free VRAM, I don't know what the bad consequences will be, I don't recommend it.If you need to set it to 1280x720, you can use this patch. I am very curious, European and American players will like Japanese games?

# Catherine: Full Body [JP 1.03]
[PCSG01179,eboot.bin,0x193F08A5]
@IB
0:0xBBE98 t2_mov(1,5,<ib_w>)
0:0xBBEA0 t2_mov(1,6,<ib_h>)
0:0x345E6A t2_mov(1,14,<ib_w>)
0:0x345E6E t2_mov(1,12,<ib_h>)
0:0x345D38 t2_mov(1,1,<if_gt,<*,<ib_w>,<ib_h>>,<*,960,544>,0x800000,0x1000000>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Ys VIII: Lacrimosa of Dana Nihon Falcom 960x544 960x512 840x476 720x320 none 30
# Ys VIII: Lacrimosa of Dana [EU 1.02]
[PCSB01128,eboot.bin,0x804268F1]
# Ys VIII: Lacrimosa of Dana [US 1.02]
[PCSE01103,eboot.bin,0x804268F1]
@IB
0:0x18A1E2 t2_mov(0,4,<ib_w>)
0:0x18A1E6 t2_mov(0,5,<ib_h>)
0:0x18A1F0 t2_mov(0,6,<ib_w>)
0:0x18A1F4 t2_mov(0,7,<ib_h>)
0:0x18A1FA t2_mov(1,4,<ib_w>)
0:0x18A202 t2_mov(1,5,<ib_h>)
0:0x191798 t2_mov(1,0,<ib_w>)
0:0x1917A6 t2_mov(1,0,<ib_h>)
0:0x19187A t2_mov(1,1,<ib_w>)
0:0x191888 t2_mov(1,1,<ib_h>)
@FPS
0:0x289620 t1_mov(0,<vblank>)
# Ys VIII: Lacrimosa of Dana [JP 1.02]
[PCSG00881,eboot.bin,0xC2D25375]
@IB
0:0x188F22 t2_mov(0,4,<ib_w>)
0:0x188F26 t2_mov(0,5,<ib_h>)
0:0x188F30 t2_mov(0,6,<ib_w>)
0:0x188F34 t2_mov(0,7,<ib_h>)
0:0x188F3A t2_mov(1,4,<ib_w>)
0:0x188F42 t2_mov(1,5,<ib_h>)
0:0x190574 t2_mov(1,0,<ib_w>)
0:0x190582 t2_mov(1,0,<ib_h>)
0:0x190656 t2_mov(1,1,<ib_w>)
0:0x190664 t2_mov(1,1,<ib_h>)
@FPS
0:0x285FD0 t1_mov(0,<vblank>)
# Ys VIII: Lacrimosa of Dana [ASIA 1.02]
[PCSH00297,eboot.bin,0xB4F97187]
@IB
0:0x189130 t2_mov(0,4,<ib_w>)
0:0x189134 t2_mov(0,5,<ib_h>)
0:0x18913E t2_mov(0,6,<ib_w>)
0:0x189142 t2_mov(0,7,<ib_h>)
0:0x189148 t2_mov(1,4,<ib_w>)
0:0x189150 t2_mov(1,5,<ib_h>)
0:0x1906CA t2_mov(1,0,<ib_w>)
0:0x1906D8 t2_mov(1,0,<ib_h>)
0:0x1907AC t2_mov(1,1,<ib_w>)
0:0x1907BA t2_mov(1,1,<ib_h>)
@FPS
0:0x285834 t1_mov(0,<vblank>)
diegorocha2007 commented 5 years ago

@q6164007 oh, I didn't know you were the original author, I'm talking to the right person then. You're on fire lately, all that awesome patches, the community thanks you (and me too)! Well, I'll try this new patch, if it needs more VRAM, maybe the consequences could be crashes later in the game perhaps? 720p downscaled looks too good to be ignored, haha. Answering your question, I can't really tell about them, but being a brazilian myself, we are very into japanese games over here. And Catherine is like, Vita's last AAA, this means a lot.

q6164007 commented 5 years ago

@Doredialilligan We should thank Electry for his great work and tutorials. If I had free time, I would try those games. But I still have a lot of game patches to deal with, so maybe it will take a while.

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
The Legend of Heroes: Trails of Cold Steel II Nihon Falcom 960x544 720x408 2x 30

Add MSAA patches to official patchlist.

# The Legend of Heroes: Trails of Cold Steel II [EU 1.00]
[PCSB01016,eboot.bin,0xBEE60BC5]
@MSAA
0:0x1399DE t1_mov(1,<*,<msaa>,2>)
0:0x139986 t1_mov(1,<*,<msaa>,2>)
# The Legend of Heroes: Trails of Cold Steel II [US 1.01]
[PCSE00896,eboot.bin,0x56DB15C5]
@MSAA
0:0x1398F6 t1_mov(1,<*,<msaa>,2>)
0:0x13989E t1_mov(1,<*,<msaa>,2>)
# The Legend of Heroes: Trails of Cold Steel II [JP 1.03]
[PCSG00354,eboot.bin,0x2998B4C3]
@MSAA
0:0x1393C0 t1_mov(1,<*,<msaa>,2>)
0:0x139414 t1_mov(1,<*,<msaa>,2>)
# The Legend of Heroes: Trails of Cold Steel II [ASIA 1.03]
[PCSH00075,eboot.bin,0xF1242A81]
@MSAA
0:0x1399E2 t1_mov(1,<*,<msaa>,2>)
0:0x139A3A t1_mov(1,<*,<msaa>,2>)
q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Summon Night 6:Lost Borders Media.Vision 960x544 960X544 2x 30

Runs well at 4x msaa.

# Summon Night 6:Lost Borders [EU 1.00]
[PCSB01013,eboot.bin,0x243B98A5]
# Summon Night 6:Lost Borders [US 1.00]
[PCSE00951,eboot.bin,0x88F34BB1]
@MSAA
0:0x2C0308 t1_mov(4,<msaa>)
# Summon Night 6:Lost Borders [JP 1.03]
[PCSG00827,eboot.bin,0x3CD87445]
@MSAA
0:0x2BFA18 t1_mov(4,<msaa>)
# Summon Night 6:Lost Borders [ASIA 1.03]
[PCSH00225,eboot.bin,0x919479D7]
@MSAA
0:0x2BF9C8 t1_mov(4,<msaa>)
Errol1886 commented 5 years ago

@q6164007 Do you have a code that will make the frame rate in the game "Resogun" 60 FPS or double speed?

q6164007 commented 5 years ago

2x speed

# RESOGUN [JP 1.00]
[PCSC00088,eboot.bin,0x9C16CEBD]
@FB
0:0x165A08 t2_mov(1,0,<fb_w>)
0:0x165A0E t2_mov(1,0,<fb_h>)
@FPS
0:0x1398F6 t1_mov(0,<vblank>)
# RESOGUN [US 1.01]
[PCSA00103,eboot.bin,0x871F1F8C]
@FB
0:0x165A28 t2_mov(1,0,<fb_w>)
0:0x165A2E t2_mov(1,0,<fb_h>)
@FPS
0:0x139916 t1_mov(0,<vblank>)
# RESOGUN [EU 1.01]
[PCSF00262,eboot.bin,0x67CD2E83]
@FB
0:0x165AC4 t2_mov(1,0,<fb_w>)
0:0x165ACA t2_mov(1,0,<fb_h>)
@FPS
0:0x1399B2 t1_mov(0,<vblank>)
Errol1886 commented 5 years ago

@q6164007 You are the man. Thank you for all your hard work. People like myself really do appreciate what you have done for the PS Vita community.

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Spy Hunter TT Fusion 640x368 640x368 4x 30

BUG:The game start interface is not fully displayed, but does not affect you play.

# Spy Hunter [EU 1.00]
[PCSB00166,eboot.bin,0x4D752CEE]
@FB
0:0xE9A00 t2_mov(1,1,0xD00000)
0:0xD1638 t2_mov(1,3,<fb_w>)
0:0xD163E t2_mov(1,2,<fb_h>)
@FPS
0:0xE921E t1_mov(0,<vblank>)
@MSAA
0:0xD1644 t1_mov(4,<*,<msaa>,2>)
# Spy Hunter [US 1.00]
[PCSE00068,eboot.bin,0x9BB899D3]
@FB
0:0xE99BC t2_mov(1,1,0xD00000)
0:0xD15F4 t2_mov(1,3,<fb_w>)
0:0xD15FA t2_mov(1,2,<fb_h>)
@FPS
0:0xE91DA t1_mov(0,<vblank>)
@MSAA
0:0xD1600 t1_mov(4,<*,<msaa>,2>)
nad45 commented 5 years ago

Once again, thank you ! If possible, could you take a look at Epic Mickey 2?

Exia-Ti885 commented 5 years ago

Hello can I RQ patchlist for Digimon World : Next Order (Asia)?

anyways Thank you so much! for your work!

q6164007 commented 5 years ago
Title Developer Framebuffer Backbuffer MSAA Target Framerate
Disney Epic Mickey 2: The Power of Two Junction Point, Blitz Games 960x544 720x408 none 30
# Disney Epic Mickey 2: The Power of Two [EU 1.00]
[PCSF00308,eboot.bin,0xE13F06A1]
# Disney Epic Mickey 2: The Power of Two [EU 1.00]
[PCSF00309,eboot.bin,0xE13F06A1]
@IB
0:0x106EF3C uint32(<ib_w>)
0:0x106EF40 uint32(<ib_h>)
q6164007 commented 5 years ago

@Doredialilligan I tried to upgrade other Atelier games from 2x MSAA to 4x MSAA, but it would make the game crash, I don't know why, but I am definitely not because of insufficient VRAM.

nad45 commented 5 years ago

Wow, thanks a lot for Epic Mickey :) That was fast!!

q6164007 commented 5 years ago

@Doredialilligan I tried to increase RAM and the game was still crashing. I only tested Atelier Ayesha and some KOEI TECMO games, both using the same game engine. You can quickly find the MSAA offset by searching for 0xC000000, which is usually expressed like this 0,1,2,0xC000000

# Atelier Ayesha Plus ~The Alchemist of Dusk~ [JP 1.02]
[PCSG00347,eboot.bin]
@MSAA
0:0x70813C uint32(<msaa>)
q6164007 commented 5 years ago

@Exia-Ti885 你是中国人?数码宝贝世界已经是原生分辨率了,帧数也没有限制,不知道你还要修改什么呢?

Exia-Ti885 commented 5 years ago

@Exia-Ti885 你是中国人?数码宝贝世界已经是原生分辨率了,帧数也没有限制,不知道你还要修改什么呢?

so sorry..I can't read chinese..I use google to translate your chat, you mean digimon world already run on native res? I thought it's not, thank you for let me know.

q6164007 commented 5 years ago

Sorry, you want the Asian version, I thought you were Chinese. Yes, the game is native resolution.

Exia-Ti885 commented 5 years ago

Sorry, you want the Asian version, I thought you were Chinese. Yes, the game is native resolution.

I see, I want Asian version, because it have english language on it, anyways Thank You!

q6164007 commented 5 years ago

@Doredialilligan 2x MSAA=1

typedef enum SceGxmMultisampleMode {
    SCE_GXM_MULTISAMPLE_NONE = 0,
    SCE_GXM_MULTISAMPLE_2X = 1,
    SCE_GXM_MULTISAMPLE_4X = 2
} SceGxmMultisampleMode;
#Atelier Lydie & Suelle: Fushigi na Kaiga no Renkinjutsushi [JP 1.06]
[PCSG01116,eboot.bin,0xFDABB61E]
@MSAA
0:0x813718 uint32(<msaa>)

捕获

greggameplayer commented 5 years ago

@q6164007 can you make a tutorial on how to find the offsets of MSAA, Internal Frame Buffers and stuff like that ?

Errol1886 commented 5 years ago

@q6164007

Any native resolution codes for the following games:

kane159 commented 5 years ago

Any chance for night trap?

q6164007 commented 5 years ago

@Errol1886 I did a quick test. Some of these games had native resolutions and some had image failures.

q6164007 commented 5 years ago

@greggameplayer Sorry, I only use Chinese and Japanese,I can't do an English tutorial. You can use Electry's tutorial.Electry's Blog and #19

nad45 commented 5 years ago

Regarding Injustice, what is the issue? Same as this? : https://github.com/Electry/VitaGrafixPatchlist/issues/34

Errol1886 commented 5 years ago

@q6164007 Thanks for replying and looking into the games I suggested a patch for.

In Gravity Rush what sort of image problems are you experiencing when running the game at native resolution? Will running Gravity Rush at a slightly lower resolution (940 x 524) get rid of the graphical glitches?

As for the game Injustice, if you run the game slightly lower than native resolution, are there still graphical image problems?

diegorocha2007 commented 5 years ago

Is MSAA doable on Persona 4 Golden? Or a downscaled 1280x720 like Catherine?

q6164007 commented 5 years ago

P4g can't increase the resolution to 1280x720, only 2x MSAA can be turned on, 4x MSAA will make the game crash, I don't know why.

# Persona 4 Golden [US 1.00]
[PCSE00120,eboot.bin,0xB8EBED65]
@IB
1:0xDBCEC fl32(<ib_w>)
1:0xDBCF0 fl32(<ib_h>)
@MSAA
0:0x2B49A0 t1_mov(4,<msaa>)
diegorocha2007 commented 5 years ago

Oh it already makes the game looks better, thank you @q6164007 , you rock!

q6164007 commented 5 years ago

Gravity Rush's graphics glitch is like having multiple images, at any resolution. Injustice's graphics glitch is that the health bar has disappeared, at any resolution. 2019-03-17-093629

nad45 commented 5 years ago

Could you give us the injustice patchlist please? Even without lifebars i would like to try (EU version if possible)

q6164007 commented 5 years ago

Well, I don't think it makes any sense.

# Injustice: Gods Among Us Ultimate Edition [EU 1.01]
[PCSB00356,eboot.bin,0x9E662913]
@FB
0:0x841E8 t2_mov(1,2,<fb_w>)
0:0x841EC t2_mov(0,1,<fb_h>)
Electry commented 5 years ago

I don't see any difference between 2x and no msaa in p4g.

Also, patching fb in injustice doesn't change the internal res iirc. You need to patch ib & region clipping as well.

q6164007 commented 5 years ago

@Electry Yes, you are right.They don't seem to make any difference,although viewed by VGi is 2x MSAA.Maybe I made a mistake. Do you have any good ideas? Injustice I just made a simple attempt, and I found that this was not a problem I could solve, so I didn't go any further to do internal resolution patches.

Electry commented 5 years ago

No worries. Maybe you could check sceGxmShaderPatcherCreateFragmentProgram() func, it takes an MSAA parameter as well, but that's beyond my understanding.

I appreciate the sheer amount of patches you made. This is great :) I'll add them to the list as soon as I have more free time.

eddyfire commented 5 years ago

@Electry Could you share the ones you did for injustice?