Posts: 1.530
Threads: 11
Joined: Sep 2011
Reputation:
70
Kind of offtopic but it looks like you can also mess with PS2's GS vmode to force a game being rendered nativelly in a desired video mode/resolution.
I was looking at SetGsCrt syscall and it looks like you can force your game being rendered (i'll repeat rendered, not a trick of line doubling and scalling) at a desired video mode:
0x02 = 480i
0x03 = 576i
0x50 = 480p
0x51 = 1080i
0x52 = 720p
I was messing with Tekken 4 that has a progressive scan mode so I could spot the value easier on memmory and when I forced it to 0x52 I saw up on the place PCSX2 shows the native resolution 1280x720! Doing that also made the game look less blurry than setting from GSdX at 1280x720! Also with that setting you don't need to set a deinterlace mode! Another experiment I did was I loaded SMS (It's a media player for PS2 for those who don't know) on PCSX2 via ELF loading and went on settings and startd to change video modes/resolutions and see what happens on the memmory. You should definitely take a look at this, it looks like if we understand how this works we could force 480p (or even 720p/1080i for less resource demanding games) on PS2 games without any trick like line doubling and magnification/scalling!
Posts: 7
Threads: 0
Joined: May 2012
Reputation:
0
It is possible on real hardware for a long time. GSM (GS Mode Selector) is the homebrew that enables this. Google it for more info on the subject.
It is done via SetGsCrt as you said.
As you have already pointed out, it doesn't resize, it just line doubles the original resolution so it makes the picture blurry. The real usage lies in 480p mode. It makes GS omit the interlacing stage, so you get progressive picture plus 1 frame less delay on video.
It doesn't work with all games though.
Posts: 7
Threads: 0
Joined: May 2012
Reputation:
0
05-17-2012, 03:36 PM
(This post was last modified: 05-17-2012, 03:40 PM by reprep.)
I read it correctly. You are not forcing the game to render at a higher resolution. At least SetGsCrt doesn't do that. Feel free to prove me wrong.
Also here is a bonus mode from me 0x53 = 576p. It is only possible for BIOS versions above 2.20
Those linux modes you say SMS use are the same modes GSM use. Both are done by SetGsCrt.
Posts: 7
Threads: 0
Joined: May 2012
Reputation:
0
I think i see your point. It should of course be possible to force the game render the graphics with a higher resolution. All i am saying is SetGsCrt doesn't do that. But it might be possible via RAM hacking as you say..
You are playing a video with resolution below 640 x 480p on SMS right? Because SMS can play videos up to 720p and they will of course look better if you set the VMODE to 720p via a SetGsCrt syscall.
About the hack you say, any chance of giving raw memory addresses for a specific game? I will try on both PCSX2 and original PS2 for comparison.