(06-29-2012, 04:45 PM)synce Wrote: [ -> ]You seem to know your stuff, I wonder can you make sense of this?
1E004014 00000000 00020224 01000724 2800A2AF 3000A427 E0000224 2000A527 2C00A2AF
bold = x res (512)
underline = y res (224)
The characters look perfect, but the more I increase the x res the more the UI gets squished. In screen 1 the text is corrupted blue and in screen 2 the background textures are corrupted. Tried your suggested resolutions but no luck. If you've had any success with resolution patches I'd love some tips because I swear this game is impossible otherwise.
There is somekind of an analogy factor of how you can increase the resolution and to what I understand, in order to not break anything it must have to do something with a mathematics routine (possibly multiplication or something) with the native resolution and the routines involving how the game gets rendered.
I think the values that I gave you will work on -AND ONLY ON THOSE- games that render in those resolutions (possibly because of the factor I'm not exactly sure of what affects):
640x447@60Hz
640x511@50Hz
Also I feel pretty confident to say that you may need to alter more values than just the resolution since alot of things depend on the pixels rendered on-screen so it would result into some errors or garbage rendered outside the center 512x448 part of the screen.
BTW, the values I gave you are from the PS2 SDK. I can grab a couple more if you want, these were the ones that I just remembered. Also It would help us to know how GSdX sets the internal resolution. I think that newer BIOS'es allow pretty like everything and not just predefined resolutions
EDIT: Remember to NEVER break the aspect ratio of the resolution you input. The aspect ratio of the native resolution (512x448 let's say) must MATCH the output one (for example a direct multiplication is 1024x896). I bet this one has to do with the deforming of things.
I didn't have any real success but I'm trying to understand what people used in order to make everything working properly and trying to immitate it. Things look a bit better slowly slowly.
EDIT 2:
OK did some testing, used Final Fantsy XII:
WIDTH RESOLUTION
from: 27 00020424 0000 (512)
to: 27 D0020424 0000 (720)
HEIGHT RESOLUTION
from: 000324 C0010224 (448)
to: 000324 E0010224 (480)
The results:
1.Videos getting centered to the 512x448 space inside 720x480, which means that when you increase the resolution it just "adds" pixels to the already seen resolution, like it expands the sides with extra pixels.
2.Because it adds those pixels on the side you can see alot of garbage, like non graphical data getting rendered or while you load a map/level you can see it getting rendered in the sides.
3. HUD ellements getting placed in the first 512x448 pixels from upper left corner from the specified resolution.
4. Increasing the resolution near 1280x720 causes black screen due to low memory I guess or something super simmilar to that:
http://pcsx2.net/developer-blog/88-path-...ncing.html but on real PS2 hardware.