Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MGS2+3--resolution address #139

Open
yeqing1990 opened this issue Nov 6, 2018 · 51 comments
Open

MGS2+3--resolution address #139

yeqing1990 opened this issue Nov 6, 2018 · 51 comments

Comments

@yeqing1990
Copy link

@Electry
MGS2
qq 20181106232553
MGS3
qq 20181106231833
Modify the report: the repair has been changed to 960X544 prompts, FPS changed to 60 will lead to game acceleration

@Grazgamer
Copy link

These are the only games I care about now. Hopefully will be included soon.

@Sprucuis
Copy link

Sprucuis commented Nov 6, 2018

Yes, Snake deserved it.

@DerinQyu
Copy link

DerinQyu commented Nov 7, 2018

Here is the decrypted eboot for PCSE00079 MGS3 to add support for the US version.
PCSE00079.zip

@Sprucuis
Copy link

Sprucuis commented Nov 7, 2018

How about collection? Like PCSB00118

@diegorocha2007
Copy link

Amen to that

@Babbosh
Copy link

Babbosh commented Nov 11, 2018

@yeqing1990 I love @SheidCraft but I am starting loving you too. Probably he is gonna get jealous.

@SpamU47
Copy link

SpamU47 commented Nov 15, 2018

Getting MGS included within the compatible games of this plugin would be soooooooo cool!

@yeqing1990
Copy link
Author

@SpamU47
I hope, after I modified the EBOOT, the game has a BUG: MGS2 will not be full screen, MGS3 will report an error in the CG part, I tried to unlock 60 frames, the game accelerated. I believe the author should be able to fix these bugs.

@Electry
Copy link
Owner

Electry commented Jan 1, 2019

Try this if you have PCSE00020 (US 1.00). Add to patchlist.txt (you'll need VG 4.0 alpha) and then add IB=960x544 under [PCSE00020] to config.txt. Only for MGS 2. Lower values than 720x448 crash the game.

# MGS HD 2 [US 1.00]
[PCSE00020,MGS2.self,0xD1BDB047]
@IB
0:0x55627A t2_mov(1,9,<ib_w>)
0:0x556282 t2_mov(1,8,<ib_h>)
0:0x55637E t2_mov(1,0,<ib_w>)
0:0x556382 t2_mov(1,1,<ib_h>)
0:0x556398 t2_mov(1,0,<ib_w>)
0:0x55639E t2_mov(1,1,<ib_h>)
1:0xA1138 uint32(<ib_w>)
1:0xA113C uint32(<ib_h>)

@Electry Electry pinned this issue Jan 1, 2019
@nad45
Copy link

nad45 commented Jan 1, 2019

I've just tried and it's working
Thanks @Electry
Edit : I tried the PLANT and the game crashes (C2-12828-1)

@TheMostEve
Copy link

@nad45
Yeah, me too
@Electry
How about MGS 3?

@Electry
Copy link
Owner

Electry commented Jan 2, 2019

@nad45

# MGS HD 2 [US 1.00]
[PCSE00020,MGS2.self,0xD1BDB047]
@IB
0:0x55627A t2_mov(1,9,1024)
0:0x556282 t2_mov(1,8,576)
0:0x55637E t2_mov(1,0,1024)
0:0x556382 t2_mov(1,1,576)
0:0x556398 t2_mov(1,0,1024)
0:0x55639E t2_mov(1,1,576)
1:0xA1138 uint32(<ib_w>)
1:0xA113C uint32(<ib_h>)

Give this a try.
MGS 3 as soon as this one works properly.

@Grazgamer
Copy link

@Electry Not to be that person, but which suprx do I want from the alpha is it both?

@Electry
Copy link
Owner

Electry commented Jan 2, 2019

no, just the one named "VitaGrafix.suprx"

EDIT: I've just deleted the older one so that it's less confusing.

@Grazgamer
Copy link

Grazgamer commented Jan 2, 2019

@Electry Thanks mate. Just gave it a go with UK MGS HD Collection and got game not supported from your plugin. I tried using your code but with PCSB00118 but I guess there are differences. Would be much appreciated if you could get it working for this version too.

@nad45
Copy link

nad45 commented Jan 2, 2019

@Electry
So i tried the plant, this time the game doesn't crash but there are some graphics glitches
I think it is related to light effects
You can check pictures here : https://imgur.com/a/jKhDUxc

@yeqing1990
Copy link
Author

GS3 changed to 960x544, the CG will crash, it should be insufficient memory.

@Grazgamer
Copy link

Is this one a no go then? Seems to have gone dead.

@Babbosh
Copy link

Babbosh commented Jan 19, 2019

Let us pray...

@TheMostEve
Copy link

Still waiting.....

@Sprucuis
Copy link

Snake? Snake?! Snaaaaaake?!?!?!?!?!!?!!!!!!

@Electry
Copy link
Owner

Electry commented Feb 17, 2019

1 more test?

# MGS HD 2 [US 1.00]
[PCSE00020,MGS2.self,0xD1BDB047]
@IB
0:0x55627A t2_mov(1,9,<ib_w>)
0:0x556282 t2_mov(1,8,<ib_h>)
0:0x55637E t2_mov(1,0,<ib_w>)
0:0x556382 t2_mov(1,1,<ib_h>)
0:0x556398 t2_mov(1,0,<ib_w>)
0:0x55639E t2_mov(1,1,<ib_h>)
1:0xA1138 uint32(<ib_w>)
1:0xA113C uint32(<ib_h>)
0:0x59B4E0 t3_mov(0,0x9FCC)

@Grazgamer
Copy link

Grazgamer commented Feb 17, 2019

@Electry Looks good, non of the corrruption in @nad45 screenshots. No crashes either. Please consider the EU release too.

Actually, on the plant level, while Raiden has his mask on, the lenses are solid black and water running down the lense is also solid black.
The water looks interlaced too.

@nikolostov
Copy link

I confirm the issue @Grazgamer reported, you can see it in this screenshots: https://imgur.com/a/V2Uh3QP

@Sacr1fIces
Copy link

So is this whole thing dead? sorry if i sound rude or anything i just wanna know if anyone's working on this.

@Peoples00
Copy link

is there still the graphic patch for mgs3?

is there anyone else working on it?

@Errol1886
Copy link

If there is no graphics patch for Metal Gear Solid 3, can we at least get a 60 FPS frame rate patch for Metal Gear Solid 3?

@TheMostEve
Copy link

@Electry
make this work for MGS 3 or all collection pls

@Keivin1009
Copy link

Please Add Japanese Version.

@adrianbass360
Copy link

adrianbass360 commented Mar 27, 2020

Let me know if you can do this for MGS3. 720x544 and 960x544 seems to be working great on MGS2, I just don't know how to edit these files myself =/. Your help would be greatly appreciated!

  • Edit - 720x544 good on MGS2, but very glitchy on MGS3.

@adrianbass360
Copy link

adrianbass360 commented Mar 27, 2020

P.S all, visit this Chinese website. Apparently someone managed to play MGS3 on 960x544 with minor lighting/shadow issues ( http://live.baidu.com/p/6004879601?pid=123616774971&cid=0#123616774971 [USE PC, on mobile the chat is restricted and there's an important updated for the HD Collection on the last comment]). I had to use Chrome's Google translator, but his might be gold =D. About to give this a go!

@adrianbass360
Copy link

adrianbass360 commented Mar 28, 2020

Guys, I almost have it! Please someone help me fill in the blank! We're almost there! (I wrote HASHTAG instead of # because it was causing huge/bold letter on this post lol. Also the @ib should be capitalized not lower cased)

  • Edit - Thanks to my vitagrafix crashing, the error gave me the missing line lol '[PCSE00020,MGS3.self,0xDB0CBD8F]'. I've now restored/fixed my vitagrafix. However, for some reason MGS3 is crashing upon attempting to load, while MGS2 loads just fine. =/... If someone wants to take over, please do, thanks! This is where I left of (add this patchlist.txt):

HASHTAG {replace with # sign} Metal Gear Solid Collection - HD Edition [US 1.00]

[PCSE00020,MGS2.self,0xD1BDB047]
@ib {capitalized IB}
0:0x55627A t2_mov(1,9,<ib_w>)
0:0x556282 t2_mov(1,8,<ib_h>)
0:0x55637E t2_mov(1,0,<ib_w>)
0:0x556382 t2_mov(1,1,<ib_h>)
0:0x556398 t2_mov(1,0,<ib_w>)
0:0x55639E t2_mov(1,1,<ib_h>)
1:0xA1138 uint32(<ib_w>)
1:0xA113C uint32(<ib_h>)
0:0x59B4E0 t3_mov(0,0x9FCC)
[PCSE00020,MGS3.self,0xDB0CBD8F]
@ib {capitalized IB}
0:0x536E48 t2_mov(1,0,<+,<ib_w>,64>)
0:0x536E4C t2_mov(1,1,<+,<ib_h>,32>)
0:0x536E62 t2_mov(1,0,<+,<ib_w>,64>)
0:0x536E68 t2_mov(1,1,<+,<ib_h>,32>)
0:0x536D44 t2_mov(1,9,<+,<ib_w>,64>)
0:0x536D4C t2_mov(1,8,<+,<ib_h>,32>)
1:0xBDD00 uint32(<ib_w>)
1:0xBDD04 uint32(<-,<ib_h>,32>)

{ P.S., for the second to last line, maybe the guy meant to write: 1:0xBDD00 uint32(<-,<ib_w>,64>) ... Still fails to load regardless =/ }

@Grazgamer
Copy link

Unfortunately all you've done with MGS2 is use the codes already tested further up this post and which have known issues. If @Electry could have resolved it he would have by now I suspect.

Those codes for MGS3 are for the Japanese version. All they've done is copy them to the US one. It doesn't work like that. I tried copying the US codes for MGS2 to the EU game and it also crashed. You can see in Patchlist.txt that codes for different regions are different.

Even with an overclock, the FPS of MGS2 drops from 60fps indoors to 30fps as it's only double buffered, using native res.

I don't think it's even worth bothering as maintaining the 60fps is more important, for me it is anyway.

@adrianbass360
Copy link

adrianbass360 commented Mar 29, 2020

Tbh, 60 fps isn't a must for me for these games, just higher resolutions. And the OP of the Chinese post said these codes work for both JAP and US (he said EU were untested so they probably wouldn't work on it). They are meant for the stand alone MGS3 game (PCSE00079), but the last person to comment said they adjusted it to work on the HD Collection (PCSE00020). And even if they're buggy, I still want to test them with 720x544 resolution, which I know it hasn't been experimented much with.

P.S., thanks for replying. These games are way too awesome for us to let this chat die.

@adrianbass360
Copy link

adrianbass360 commented Mar 29, 2020

Got it working. So appartently this only does work on the stand alone MGS3 game (PCSE00079), and not the collection unfortunantly (PCSE00020).

Add to config.txt the following:
[PCSE00079]
ENABLED=1
OSD=1
IB=960x544

Add to patchlist.txt the following:
HASHTAG{replace with # sign} MGS3 HD
[PCSE00079, eboot.bin]
@ib {capitalized IB}
0:0x536E48 t2_mov(1,0,<+,<ib_w>,64>)
0:0x536E4C t2_mov(1,1,<+,<ib_h>,32>)
0:0x536E62 t2_mov(1,0,<+,<ib_w>,64>)
0:0x536E68 t2_mov(1,1,<+,<ib_h>,32>)
0:0x536D44 t2_mov(1,9,<+,<ib_w>,64>)
0:0x536D4C t2_mov(1,8,<+,<ib_h>,32>)
1:0xBDD00 uint32(<-,<ib_w>,64>)
1:0xBDD04 uint32(<-,<ib_h>,32>)

Enjoy, let me know if anyone can get it to run with the collection or make any further improvements to the patch, thanks!

@TheMostEve
Copy link

@adrianbass360
thanks dude its work
can you make patchlist for stand alone MGS2?

@adrianbass360
Copy link

adrianbass360 commented Mar 30, 2020

I don't think so 😅. To be honest, all I'm doing is guess work, trial an error based on what others have posted. I tried switching so many files (plus minor editing like adding the game's NID to patchlis.txt) over from PCSE0079 to PCSE00020 so everything was on the HD Collection. Unfortunately nothing I did worked... What I've done is deleted the following files on ux0/app/PCSE00020 to save some space: mgs3.psp2arc, MGS3.self, and mgs3_misc.psparc. So now I have two icons/bubbles on my screen, one for the HD Collection, and the other for MGS3. Of course MGS3 won't work of the HD Collection since I deleted those files lol.

@adrianbass360
Copy link

adrianbass360 commented Mar 30, 2020

Upon further experimentation with the patchlist.txt, and using Electry's previous examples on MSG2, I've discover a MUCH better sequence which gets rid of soo many graphical glitches (inc. lighting/shadow ones) and significantly sharpens the image quality of MGS3. Enjoy, this time for reals lol. GN all! =D

Add to config.txt the following:
[PCSE00079]
ENABLED=1
OSD=1
IB=960x544

Add to patchlist.txt the following:
HASHTAG{replace with # sign} Metal Gear Solid 3: Snake Eater - HD Edition
[PCSE00079, eboot.bin]
@ib {capitalized IB}
0:0x536E48 t2_mov(1,0,<ib_w>)
0:0x536E4C t2_mov(1,1,<ib_h>)
0:0x536E62 t2_mov(1,0,<ib_w>)
0:0x536E68 t2_mov(1,1,<ib_h>)
0:0x536D44 t2_mov(1,9,<ib_w>)
0:0x536D4C t2_mov(1,8,<ib_h>)
1:0xBDD00 uint32(<ib_w>)
1:0xBDD04 uint32(<ib_h>)

@Babbosh
Copy link

Babbosh commented Mar 30, 2020

Impressive work! Thanks a bunch!

@adrianbass360
Copy link

adrianbass360 commented Mar 30, 2020

I hope you all enjoy! I didn't want to get greedy and keep these gems to myself! 😅 Let me know if you guys have any issues!

(P.S. - Try this patch along with the Vitabright plug-in and you got yourself the perfect MGS on-the-go game!)

  • Edit - YouTuber Random IO mentioned that these patches can causes save files to get corrupted, so don't forget to periodically make back-ups of them. I'll re-edit this post to show you how. And if the game at any point does crash on you, try to temporarily lower it to the original resolution 720x448[writing 'OFF' next to 'IB=' also works], and see if that gets you pass the crashing point. Maybe it's a RAM issue?)

  • Edit - To back up your Vita's games save files, go to ux0/user/00/savedata. Copy and Paste that folder to a location you'll remember. If you just want to back up a specific game, then go to savedata/Game ID#, and Copy and paste that folder instead.)

@adrianbass360
Copy link

@Electry Hey Electry, these games seem to crash because a lack of RAM/VRAM. Is there any way you can add dynamic resolution to these games? Maybe those lower resolutions can kick in right before a crash?

@Errol1886
Copy link

@adrianbass360

The highest resolution I can get the game to run without crashing is 960x536. The only problem when running the game with a resolution of 960x536 is that there is a graphical glitch at the bottom of the screen.

I am going to try and tweak your second code to see if I can get the game to run at 960x536 without the graphical glitch at the bottom of the screen.

@adrianbass360
Copy link

adrianbass360 commented Apr 4, 2020

@Electry So apparently this game can have higher IB than 960x544, and after experimenting a lot with them, I no longer believe the game crashes because of the ram =/. In the beginning when he's falling of the parachute, if the players presses R to view down with the binoculars, the game will crash @960x544, but not on higher resolutions... Unfortually the only resolutions (inc. both higher and lower than native) that I have found that work without graphical glitches are the orginal @720x448 and 960x544. The coding/hex might simply need more editing...

  • Edit- Just saw your comment Errol1886. And that would so much be appreciated!!

@adrianbass360
Copy link

adrianbass360 commented Apr 4, 2020

@Errol1886 I really do think our best bet is to find and edit the hex (which I know nothing about lol) that is causing 960x544-reso to crash the game, but let us know what you find.

@Errol1886
Copy link

@adrianbass360

Running the game at 960x408 also works without graphical glitches (I did not notice any). But the game still looks a bit blurry when it's running at a screen resolution of 960x408.

At native resolution (960x544) the game looks fantastic but crashes. No crashes when running the game at 960x536 (close to native resolution), but has a graphical glitch at the bottom of the screen. I am going to mess around with the code. If I fix the graphical glitch problem or get the game to run at native resolution with no crashes I will let you know.

@adrianbass360
Copy link

adrianbass360 commented Apr 4, 2020

@Errol1886 960x408 almost works, however it does effect the shadow/lighting CGI. You can see it on the first video played with the monitors acting all weird =/.

However, 960x408 actually works excellent for Uncharted Golden Abyss (better than even 720x544) and helps the games keep steadier frames (unlike 960x544).

@adrianbass360
Copy link

adrianbass360 commented Apr 4, 2020

The bottom is a list of the following resolutions I've tested and their results (I know I've tried more than listed, just forgot to write them down lol).

Resolutions with ###x544
(R Button Parashute Crash) – 960x
(Boot Crash) – 726x, 722x, 718x, 714x, 704x
(Graphical Glitches) – 936x, 912x, 900x, 888x, 864x, 840x, 816x, 768x, 744x, 728x, 724x, 720x, 716x, 712x, 708x

Resolutions with 960x###:
(R Button Parashute Crash) – x544
(Boot Crash) – x542, x538, x534, x530, x526, x522, x518, x514,
(Graphical Glitches) – x540, x536, x532, x528, x524, x520, x516, x512, x510, x508, x506, x504, x502, x500, x498,x496, x494, x492, x490, x488, x486,x484, x482, x480, x478, x476, x474, x472, x448, x442, x440, x436, 432x, x428, x408

Other Graphically Glitchy Resolutions: 840x476, 832x480, 768x496, 768x448, 768x488, 768x480, 768x476

Like I said, i really believe the issues lies in the patchlist.txt. We need to correct something there...

@stev88987
Copy link

i see mgs 3 weres mgs 2

@realNZZN
Copy link

i see mgs 3 weres mgs 2

mgs2 is already 960x544 60fps

@Meonk69-Vita
Copy link

i see mgs 3 weres mgs 2

mgs2 is already 960x544 60fps

Wut? How? mgs2 in default locked on 30fps and clearly not native res

@Vitanewb
Copy link

i see mgs 3 weres mgs 2

mgs2 is already 960x544 60fps

Wut? How? mgs2 in default locked on 30fps and clearly not native res

I think it has double buffered vsync, it's 30 most of the time bust jumps to 60fps in less demanding scenes such as when you are indoors (and it goes down to 20 when a frame drops)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests