xboxscene.org forums

OG Xbox Forums => Hardware Forums => Xbox Audio/Video Technical => Topic started by: raydn on March 29, 2005, 03:02:00 PM

Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 29, 2005, 03:02:00 PM
The 'SetVideoMode' Hex


This hex patch as those of you following the '480p Games Hex List' thread will know allows many interlaced games to run in 480p that were previously unpatched.

Replace:

8B 57 28 50 8B 47 30 50 8B 47 2C 51 8B 4F 04 52

with:

50 8B 47 30 50 8B 47 2C 51 8B 4F 04 90 6A 00 90


*Please always backup your original xbe*

Background

The majority of games call CreateDevice(x,x,x,x,x,x,x). A struct _D3DPRESENT_PARAMETERS_ is passed to the 6th x.
This describes the presentation parameters for the game. _D3DPRESENT_PARAMETERS_ contains among other things a Dword - 'Flags'. Flags is what all previous 480i -> 480p patches have been patching (20h (interlaced) to 00 (autoselect) or 40 (progressive). Within the CreateDevice call the _D3DPRESENT_PARAMETERS_ struct is broken down, 'Flags' being the 11th value is stored at +28h.

Below you can see that the original XBE moves +28h to edx (mov edx, [edi+28h]), this however isn't 'pushed' (push edx)
until just before the SetVideoMode call, this means the the 1st arg of the SetVideoMode call is the Dword value for 'Flags'.
So changing the code to 'push' a value of 0 instead of the original edx / +28h value it will cause 480i / p autoselect.

To do this I had to first 'nop' (do nothing) out 8B 57 28 with 90 90 90 and then move everything around. From the original XBE you can see that push edx (52 as hex) is one hex32 value. However Push 0 is (6A 00) so requires 2 hex32 values. I was not possible to simple do a push 0 at the location of 90 90 90 since it needed to be in the same place as the original push edx.


CODE


Original XBE

8B 57 28           mov     edx, [edi+28h]
50                 push    eax
8B 47 30           mov     eax, [edi+30h]
50                 push    eax
8B 47 2C           mov     eax, [edi+2Ch]
51                 push    ecx
8B 4F 04           mov     ecx, [edi+4]
52                 push    edx


8B 57 28 50 8B 47 30-50 8B 47 2C 51 8B 4F 04 52


Patched XBE

50                push    eax
8B 47 30           mov     eax, [edi+30h]
50                 push    eax
8B 47 2C           mov     eax, [edi+2Ch]
51                 push    ecx
8B 4F 04           mov     ecx, [edi+4]
90                 nop
6A 00              push    0
90                 nop
              

50 8B 47 30 50 8B 47 2C 51 8B 4F 04 90 6A 00



Compatabilty

Some titles already have a fix I recommend this fix only if there isn't an already working fix.
The 480p Games Hex List


Thanks to everyone who has helped test the fix.



*Working*

Broken Sword: The Sleeping Dragon (PAL)
Headhunter: Redemption
I-Ninja
Mashed Fully Loaded
Outlaw Golf 2 (PAL)
Puyo Pop Fever (NTSC?)
Shell Shock: NAM'67
SpongeBob SquarePants: Battle for Bikini Bottom
Stacey Jones Rugby League *
Street Racing Syndicate
Teenage Mutant Ninja Turtles
Teenage Mutant Ninja Turtles 2: Battle Nexus (PAL)
Vietcong: Purple Haze
XGRA: Extreme Racing (NTSC)


*Not working*

Some games don't have the search hex, or simply switch back to 480i.


Chessmaster (NTSC)
Haunted House
Kung-Fu Chaos (MIX)
Scooby Doo Night of 100 Frights
Star Wars: Republic Commando
V8 supercars (PAL)
Title: The 'setvideomode' Hex (480p Patch)
Post by: jo77 on March 29, 2005, 03:54:00 PM
I have V8 Supercars (Toca Race Driver 1 )Pal version since along time ago and it always worked in 480p mode  blink.gif  were there 2 different versions ?

If someone sends me there non-480p default.xbe I will do a compare and see what bytes are different.

[email protected]
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 29, 2005, 04:09:00 PM
QUOTE(jo77 @ Mar 29 2005, 10:00 PM)
I have V8 Supercars (Toca Race Driver 1 )Pal version since along time ago and it always worked in 480p mode  blink.gif  were there 2 different versions ?



Dreamcazman tested it on his pal version and posted that the hex wasn't found.

Also for example my playboy mansion runs 480p no problem but another member with a retail copy posted that his ran 480i, a comparison of both xbes is in the 480p hex thread
Title: The 'setvideomode' Hex (480p Patch)
Post by: dm71 on March 30, 2005, 12:37:00 PM
Is there any way to use this or a variation to switch a 480P game down to 480I?  I know this is an oddball request but I have an annoying issue that I've rounded down to this.
Title: The 'setvideomode' Hex (480p Patch)
Post by: twistedsymphony on March 30, 2005, 12:45:00 PM
QUOTE(dm71 @ Mar 30 2005, 02:43 PM)
Is there any way to use this or a variation to switch a 480P game down to 480I?  I know this is an oddball request but I have an annoying issue that I've rounded down to this.
*




 :blink: what's you're situation that you can't just disable 480p in the MS Dash?

I suppose it would be possible to permanently set games to 480i but I have enough trouble getting them to play in 480p  :P
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 30, 2005, 02:42:00 PM
QUOTE(dm71 @ Mar 30 2005, 06:43 PM)
Is there any way to use this or a variation to switch a 480P game down to 480I?  I know this is an oddball request but I have an annoying issue that I've rounded down to this.
*



Don't think so, at least not by modifying this hex as far as i know ;)

you would need to push a vaule of 20 instead of 0
Title: The 'setvideomode' Hex (480p Patch)
Post by: dm71 on March 30, 2005, 02:55:00 PM
QUOTE(twistedsymphony @ Mar 30 2005, 01:51 PM)
:blink: what's you're situation that you can't just disable 480p in the MS Dash?

I suppose it would be possible to permanently set games to 480i but I have enough trouble getting them to play in 480p  :P
*



I don't want 480P disabled totally.  Only for a few specific games.  I should explain.  An example would be the game 'Serious Sam' which is 480p.  It works just fine when I play from the game disc with my chip disabled.  Here's the weird part.  If I play it with my chip on and launching from avalaunch or unleashx, the video becomes scrambled.  If I disable 480p like you said twisted, then it indeed works BUT I still want 480P for all my other games.
I discovered that 480P was the problem when I did the hex edit to enable 480p in Metal Slug 3.  When I launched it, it scrambled the exact same way that serious sam did.  I obviously undid the hex-edit after that.  This is my quandry.
Title: The 'setvideomode' Hex (480p Patch)
Post by: jack2003 on March 30, 2005, 03:52:00 PM
QUOTE
(dm71 Posted Today, 10:01 PM)
When I launched it, it scrambled the exact same way that serious sam did


What do you mean with scrambled: absolutely no recognizable picture, or artifacts that increase when there is motion.

If the latter is the case, than you probably refer to "de-interlace" problems, given by the fact that most video's are interlaced (i.e. 480i) by nature. When they are played back in progressive scan (i.e. 480p) the result is that adjacent lines have a temporal difference of 30 miliseconds as they originate from two different fields, resulting in "sawtooth" edges.
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 30, 2005, 04:18:00 PM
i guess you could always try 50 8B 47 30 50 8B 47 2C 51 8B 4F 04 90 6A 20 90 for interlaced
Title: The 'setvideomode' Hex (480p Patch)
Post by: dm71 on March 30, 2005, 09:59:00 PM
QUOTE(jack2003 @ Mar 30 2005, 04:58 PM)
What do you mean with scrambled


This is the Serious Sam main menu:
user posted image


I can't find any matching hex strings so I have no idea where to try to edit.  

I'm just going to stick with the workaround of disabling 480p in the dash.
I apologize raydn for jacking your thread.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Mr Ed on March 31, 2005, 12:15:00 AM
QUOTE(raydn @ Mar 29 2005, 02:08 PM)
Background

The majority of games call CreateDevice(x,x,x,x,x,x,x). A struct _D3DPRESENT_PARAMETERS_ is passed to the 6th x.
This describes the presentation parameters for the game. _D3DPRESENT_PARAMETERS_ contains among other things a Dword - 'Flags'. Flags is what all previous 480i -> 480p patches have been patching (20h (interlaced) to 00 (autoselect) or 40 (progressive).



So raydn, is there any parameter there that specifies 720p or 1080i modes?  I realize changing the actual resolution may cause many issues with a game, including scaling issues, collision detection problems, slow framerates, etc. however I'd still like to try it and see for myself.   rolleyes.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 31, 2005, 06:31:00 AM
The first two values of D3DPRESENT_PARAMETERS specify the height and width of the backbuffer. This would be 640 (280h) x 480 (1E0h) for 480i/p. You would need to change the 280h to 500h and 1E0h to 2D0h for 720p. It is unlikely it will be possible to make it work by patching at this location simply because many games rely on these two values for placement of menus and text amoung other things.

I would recommend searching the xbe for 280h followed by 1E0h, and changing them at that location. Using this ^ method i did get I-Ninja to run at 720p, looked very crisp, only noticble problem was with the in game text and and intro vids. SuperMonkey ball worked at 720p until the game started at which point it crashed out with a blue screen displaying an out of memory error.
Title: The 'setvideomode' Hex (480p Patch)
Post by: twistedsymphony on March 31, 2005, 08:38:00 AM
ohmy.gif That's really friggin cool!

Any chance you know where the string is for how much memory the game uses? 720p patches along with 128MB memory patches could make for some kick ass patches for popular games

You would be a God among men if you were able to 720p & 128MB patch Halo 2, PGR 2, or Splinter Cell 3
 beerchug.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 31, 2005, 10:47:00 AM
spose its possible ;) will have a look into it
Title: The 'setvideomode' Hex (480p Patch)
Post by: twistedsymphony on March 31, 2005, 01:49:00 PM
someone in another thread clued me into this: http://xbox-scene.co...VplyEpujTqBIzpD

I always thought it just allowed games to function with the added ram, not actually use it. Perhaps with 720p SuperMonkeyBall and this patch we could have SMB HD goodness beerchug.gif

at very least you could compare the output from that to see what it changes  wink.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: aceboomer on March 31, 2005, 05:42:00 PM
so what values in the patch would we need to switch to see if 720p was possible?
50 8B 47 30 50 8B 47 2C 51 8B 4F 04 90 6A 00 90
what would need to be changed?
oh and i have a challenge for ya. i wonder if its possible to make soul calibur 2 switch to full widescreen in 720p mode with your patches
thanks for all the hard work
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on March 31, 2005, 07:07:00 PM
QUOTE(aceboomer @ Mar 31 2005, 11:48 PM)
so what values in the patch would we need to switch to see if 720p was possible?
50 8B 47 30 50 8B 47 2C 51 8B 4F 04 90 6A 00 90
what would need to be changed?
*



It's not quite as simple as that.
Title: The 'setvideomode' Hex (480p Patch)
Post by: aceboomer on April 01, 2005, 12:47:00 AM
question about the 280h etc.. search
are those text or hex searches?
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 01, 2005, 07:19:00 AM
its a text search in ida

the hex would be 80 02
Title: The 'setvideomode' Hex (480p Patch)
Post by: shadowlord_kt on April 03, 2005, 03:10:00 AM
I don't know if this is an appropriate place to post, but I got this patch to work with Teenage Mutant Ninja Turtles 2: Battle Nexus NTSC.  That's TMNT2 in 480p for you people trying to find this post via the forum Search engine biggrin.gif

Thanks, raydn!
Title: The 'setvideomode' Hex (480p Patch)
Post by: Dreamcazman on April 09, 2005, 03:25:00 AM
You can add Stolen to the list of shitty PAL games that won't run in 480p.

Doesn't work with the setvideomode patch either...
Title: The 'setvideomode' Hex (480p Patch)
Post by: Foe-hammer on April 09, 2005, 03:49:00 AM
QUOTE(raydn @ Mar 31 2005, 01:37 PM)
The first two values of D3DPRESENT_PARAMETERS specify the height and width of the backbuffer. This would be 640 (280h) x 480 (1E0h) for 480i/p. You would need to change the 280h to 500h and 1E0h to 2D0h for 720p. It is unlikely it will be possible to make it work by patching at this location simply because many games rely on these two values for placement of menus and text amoung other things.

I would recommend searching the xbe for 280h followed by 1E0h, and changing them at that location. Using this ^ method i did get I-Ninja to run at 720p, looked very crisp, only noticble problem was with the in game text and and intro vids. SuperMonkey ball worked at 720p until the game started at which point it crashed out with a blue screen displaying an out of memory error.
*


This is too cool.  This would be the first major breakthrough in the video section, since the vga bios were released.  I would look into upgrading my xbox ram if 720p were possible via hex editing.  Keep up the good work raydn, i'm extremely excited to see where you take this.
Title: The 'setvideomode' Hex (480p Patch)
Post by: ninjatech on April 14, 2005, 07:40:00 PM
I just got Dead to Rights 2 and was so very disappointed to see it is 480i. What I don't get is that the first one was 480p for certain... Silly Namco, they made iNinja 480i and you guys get it running in 720p, haha.

Anyhow I looked at the files and there is actuall an xbox.cgf file on the disc, and it has the following lines:
SetBkInt32 MODE_WIDTH 640
SetBkInt32 MODE_HEIGHT 480
SetBkInt32 MODE_COLOR_DEPTH 32
SetBkInt32 MODE_Z_DEPTH 32
SetBkBool FULLSCREEN TRUE
SetBkBool INTERLACED TRUE
SetBkInt32 MODE_REFRESH_RATE 60

I thought this was really odd for an Xbox game... must be very PC-ish in nature. Anyhow, changing interlaced to false makes the game crash before it even boots, and commenting it out defaults it to interlaced  :angry:

Any ideas? I didn't check for the hex yet, because at this point I am assuming this file is the key.

Edit: I tried changing the word to PROGRESSIVE, but that had no effect.

This post has been edited by ninjatech: Apr 15 2005, 02:43 AM
Title: The 'setvideomode' Hex (480p Patch)
Post by: Foe-hammer on April 14, 2005, 09:28:00 PM
QUOTE(raydn @ Apr 1 2005, 02:25 PM)
its a text search in ida

the hex would be 80 02
*



I do not have ida, but use workshop to hex edit.

Raydn, would you also please convert 500h, 1E0h, and 2D0h to hex?

I want to mess around with these setting, and see what i can get for 720p.

Thanks again
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 15, 2005, 08:31:00 AM
QUOTE(Dreamcazman @ Apr 9 2005, 08:31 AM)
You can add Stolen to the list of shitty PAL games that won't run in 480p.

Doesn't work with the setvideomode patch either...
*



oh another to look at - we need a thread with a list of all the unpatched titles (inc game region)
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 15, 2005, 08:42:00 AM
QUOTE(ninjatech @ Apr 15 2005, 12:46 AM)
Any ideas? I didn't check for the hex yet, because at this point I am assuming this file is the key.

Edit: I tried changing the word to PROGRESSIVE, but that had no effect.
*




prob a check on the crc thingy of the file to see if it was changed best thing to do is modify the xapi calls to return a good value for these

XCalculateSignatureUpdate
XCalculateSignatureBegin
XCalculateSignatureEnd

ref: Generic Reversing of Hacked Save Game checks.

QUOTE(Foe-hammer @ Apr 15 2005, 02:34 AM)
I do not have ida, but use workshop to hex edit.

Raydn, would you also please convert 500h, 1E0h, and 2D0h to hex?

I want to mess around with these setting, and see what i can get for 720p.

Thanks again
*



you can do this easyily with windows calulator

500h is 1280
1E0h is 480
and 2D0h is 720

720p is 1280 x 720 ;)

interesting side note - though pal games are 'suposed to be higher res' than ntsc and this is listed in the xdk help.  pal = 720 x 576, ntsc 640 x 480 it often the case that all games are 640 x 480

This post has been edited by raydn: Apr 15 2005, 03:43 PM
Title: The 'setvideomode' Hex (480p Patch)
Post by: Foe-hammer on April 16, 2005, 02:08:00 AM
QUOTE(raydn @ Apr 15 2005, 02:48 PM)
500h is 1280
1E0h is 480
and 2D0h is 720

720p is 1280 x 720 ;)

interesting side note - though pal games are 'suposed to be higher res' than ntsc and this is listed in the xdk help.  pal = 720 x 576, ntsc 640 x 480 it often the case that all games are 640 x 480
*


I understand what resolutions each stand for, my question is what to search for.  When i do a text search for 280h, i find nothing.  Someone else asked this question earlier to you, and you said it is a text search in ida, and that the hex equivalent is 80 02.  I've tried search for both but cannot find it.  What is ida?  Is it not software like hex workshop?

Anyway, all i want to do is search for the 640 x 480 res, and change it to 720 x 1280.  You mentioned to change the 280h to 500h and 1E0h to 2D0h for 720p.
I cannot even find these values to change them.

I realize that there is problems when changing these setting, and it will more then likely crash, but i would like to mess with it some.

Thanks again......
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 16, 2005, 05:55:00 AM
oki maybe i wasn't as helpful as i thought.

IDA is a 'Windows or Linux hosted multi-processor disassembler and debugger'. Take a look here. It's helpful since it supports XBE files. Using an xbox 'FLIRT' file (its on the web somewhere) it will display most of the xapi functions.

A search for 280 will turn up nothing in a normal hex editor simple reason is that from a debuger to a hex editor the value is reversed. So 280 is 80 20 in hex. If you just want to change the backbuffer size try searching in a hex editor for somthing similar to 66 C7 46 04 80 02 66 C7 46 06 E0 01 since 280h is nearly always followed by 1E0h in the XBE (note: the hex not in bold will not be the same in other XBE files).

In IDA select 'IDA View-A' search (, 280h) ;)


QUOTE
Raydn, would you also please convert 500h, 1E0h, and 2D0h to hex?


sorry, must have misread that

500h = 00 05
1E0h = E0 01
2D0h = D0 02
280h = 80 02

This post has been edited by raydn: Apr 16 2005, 12:59 PM
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 16, 2005, 06:39:00 AM
Another tip....

.text:00157BE6                 mov     dword ptr [esi], 280h
.text:00157BEC                 mov     dword ptr [esi+4], 1E0h

look for this in IDA as this is a D3D struct... 1st value being 640 and 2nd value (esi+4) being the 480.
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 16, 2005, 07:09:00 AM
Going a bit off topic i have made a new thread over in game hacking http://forums.xbox-scene.com/index.php?act...=0#entry2518269
Title: The 'setvideomode' Hex (480p Patch)
Post by: jack2003 on April 16, 2005, 09:10:00 AM
QUOTE
(raydn @ Mar 31 2005, 01:37 PM)

SuperMonkey ball worked at 720p until the game started at which point it crashed out with a blue screen displaying an out of memory error



Raydn, I did find a only 1 similar string in the hex file at position 5691Ah, which I changed accordingly:

00 7E 05 BE 80 02 00 00 81 FF E0 01
00 7E 05 BE 00 05 00 00 81 FF D0 02

But this did not give the 720p as you mentioned (I double checked my Xbox settings and did a check with Enter the Matrix in 720p)

At which position did you change the XBE?

Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 16, 2005, 10:09:00 AM
Opps. Since it didnt work correctly i never recorded the changes i made to super monkey ball. So can't help much atm.

Just a quick word - the setvideomode patch is only intended to patch to 480i/p from interlaced not to other resolutions. I never used anything as complex as this patch to fiddle with that.

changing the res with this patch will most likely not work since something earlier in the code will reqire the display dimentions eg rendering. It would be wrong to think you can patch the game to 720p with this patch imo.

This post has been edited by raydn: Apr 16 2005, 05:14 PM
Title: The 'setvideomode' Hex (480p Patch)
Post by: jack2003 on April 16, 2005, 11:03:00 AM
You are right raydn, this was a long shot.

But since I have 128Mb in my box, I thought I should give it a try.

Keep on the good work!

This post has been edited by jack2003: Apr 16 2005, 06:03 PM
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on April 16, 2005, 06:56:00 PM
QUOTE(ninjatech @ Apr 15 2005, 12:46 AM)
I just got Dead to Rights 2 and was so very disappointed to see it is 480i. What I don't get is that the first one was 480p for certain... Silly Namco, they made iNinja 480i and you guys get it running in 720p, haha.




 :jester: LOL

I just had a look the XBE of Dead To Rights 2 - I have never seen an XBE like this one before. Don't expect this to be patched anytime soon!


The mad thing is that the xbox.cfg has the values in it.

SetBkInt32 MODE_WIDTH 640
SetBkInt32 MODE_HEIGHT 480
SetBkInt32 MODE_COLOR_DEPTH 32
SetBkInt32 MODE_Z_DEPTH 32
SetBkBool FULLSCREEN TRUE
SetBkBool INTERLACED TRUE
SetBkInt32 MODE_REFRESH_RATE 60

...but this crashes the game before it loads. I couldnt find any signiture check on the cfg file.


 Have to say I think only hope will be a look at the PC version when that comes out or mayb someone else has more luck.

Title: The 'setvideomode' Hex (480p Patch)
Post by: petermac on April 17, 2005, 12:17:00 PM
yes, i also noticed this , i got the default.xbe, checked several hex edits, none were successful for dead to rights 2, i hope it gets a hex edit!

This post has been edited by petermac: Apr 17 2005, 07:20 PM
Title: The 'setvideomode' Hex (480p Patch)
Post by: mechabim on April 24, 2005, 10:16:00 AM
Pls let me know progressive Code for Dead to Rights 2
Title: The 'setvideomode' Hex (480p Patch)
Post by: twistedsymphony on April 25, 2005, 08:26:00 PM
Is this code supposed to set the video mode permanently to 480p or should it auto select 480p/i?

I ask because I just picked up Headhunter redemption this is the first game I've tried to patch with this. it works great in 480p but it locks up when I try to run in 480i... a shame there isn't an easy patch available.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on April 26, 2005, 12:51:00 AM
QUOTE(twistedsymphony @ Apr 26 2005, 02:32 AM)
Is this code supposed to set the video mode permanently to 480p or should it auto select 480p/i?

QUOTE(raydn @ Mar 29 2005, 10:08 PM)
So changing the code to 'push' a value of 0 instead of the original edx / +28h value it will cause 480i / p autoselect.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Vejita on May 12, 2005, 02:38:00 PM
raydn,

I grabbed the default.xbe from I-Ninja and ran it through IDA Pro with the Xbox flirt (Xbox.sig in sig folder) loaded up and I do a text search for 280h and it comes up with nothing.

What am I doing wrong?

I want to patch the game to 720p to see how it looks.

I'm new to using IDA so go easy on me jester.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on May 13, 2005, 09:04:00 AM
At the weekend if I get time ill try attempt the I-Ninja 720p patch again and post it here for anyone interested.

basically make sure you are in IDA View-A and do a search (ALT-T) for , 280h
Title: The 'setvideomode' Hex (480p Patch)
Post by: Vejita on May 14, 2005, 06:15:00 AM
QUOTE(raydn @ May 13 2005, 04:10 PM)
At the weekend if I get time ill try attempt the I-Ninja 720p patch again and post it here for anyone interested.

basically make sure you are in IDA View-A and do a search (ALT-T) for , 280h
*



Yep, I was tabbed into the IDA View-A and it didn't find anything for , 280h
Title: The 'setvideomode' Hex (480p Patch)
Post by: jack2003 on May 27, 2005, 10:01:00 AM
Hi,

just to let you know that the 'SetVideoMode' Hex also works for Madagascar
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on June 10, 2005, 12:34:00 AM
QUOTE(jack2003 @ May 27 2005, 06:12 PM)
Hi,

just to let you know that the 'SetVideoMode' Hex also works for Madagascar

Thanks, it does indeed. :D

Here's one that doesn't work though -

Medal of Honour: European Assault

Tried the old hex edits and nothing, then tried this one and it did infact find and change the code but when I ran the game it was still in 480i. :(

Well done EA. :angry:
Title: The 'setvideomode' Hex (480p Patch)
Post by: Dreamcazman on June 16, 2005, 10:43:00 PM
QUOTE(Hitcher @ Jun 10 2005, 07:45 AM)
Here's one that doesn't work though -

Medal of Honour: European Assault

Tried the old hex edits and nothing, then tried this one and it did infact find and change the code but when I ran the game it was still in 480i. :(

Well done EA. :angry:
*



I got the US version and it runs in 480p, I take it you have the PAL version?

This seems to be a common trend with EA, do they have something against the PAL market or something?  :huh:
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on June 26, 2005, 06:37:00 PM
QUOTE(Dreamcazman @ Jun 17 2005, 06:54 AM)
I got the US version and it runs in 480p, I take it you have the PAL version?

This seems to be a common trend with EA, do they have something against the PAL market or something?  huh.gif

NTSC game, PAL Xbox.

It just seemed wierd that, of all the hex codes for prog scan, only this one actually found the string but it still ran in 480i.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Dreamcazman on June 28, 2005, 12:29:00 AM
QUOTE(Hitcher @ Jun 27 2005, 01:48 AM)
NTSC game, PAL Xbox.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on June 28, 2005, 02:27:00 PM
QUOTE(Dreamcazman @ Jun 28 2005, 08:40 AM)
It must be seeing that the Xbox is from a PAL region. Try changing the region code to 1 using configmagic and see how you go.

Yeah, I think I'll give that a go.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on June 29, 2005, 12:40:00 AM
This is really strange.

Ran Configmagic and changed the region from 4 to 1, played MoH:EA and it was in prog scan. Changed the region back to 4, tried it again and it was still in prog scan.

I can't explain it.
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 27, 2005, 12:23:00 PM
Hi Guys!!! I just patched Chessmaster 10000  !!!!!!! Finally i can play it in my vga monitor !!!!!!!! :smile.gif))))


Only one byte to change:

0x33d2ah from 20h to 00h


smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on August 27, 2005, 02:35:00 PM
Nice work silvermax
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 27, 2005, 02:53:00 PM
Thnanx. I am very happy about that. Its my first patch. I founded the byte just reading in this forum about the video modes and using the IDA disassembler. I requested the patch in some forums with no answer. Finally i tryed and i did it biggrin.gif biggrin.gif biggrin.gif biggrin.gif biggrin.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 28, 2005, 02:36:00 PM
ive got another one


Yeti.Sports.Artic.Adventures.PAL.MULTI4.XBOXDVD-CENTURY

149e70 = 40 (instead of 20)
149e71 = 00 (instead of 01)

too easy for me smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif

Thanx to the people in this forum for the toturials, hex info, etc etc
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on August 28, 2005, 05:11:00 PM
Gret stuff silvermax - you're on fire!

Post em in the 480p hex list thread wink.gif , not as many people read this one.

If you need any more info look for a number of my posts. A little trick i found out is if you find a game giving you grief with patching only to either 480i or 480p and not autoselect (00) is to nop the complete line out with 90's biggrin.gif

btw the holy grail is to 'widescreen' soulcalibur II for 720p mode. I tried again today and still having no luck even found a new setvideomode to patch but kept kicking me back to dash for some reason sad.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 28, 2005, 05:29:00 PM
well, it looks dificult, becouse the game already recongnizes the 720p mode and uses it. Do you know another game sucessfull situation where the widescreen can be forced?
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on August 28, 2005, 06:23:00 PM
The situation with soul caliber II in 720 is that it is cropped 4:3. I was thinking that it was running 10x11 (add / or 100h) but now i think about it it might just require a render buffer width being changed from 640 to 1280. Might give it another look over at some point.
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 29, 2005, 05:22:00 AM
raydn: in another post you talk about the "flirt" xbox for the ida. I copied the file in to the sid folder. but, how can i use it? how does it work?
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on August 29, 2005, 11:30:00 AM
click the flower icon in IDA and then right click the window if need and bring up all of the files and select the xbox flirt v2 final.

Sorry for the poor explanation but dont have it in front of me on this pc
Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on August 29, 2005, 02:41:00 PM
your explanation was ok. Thnx

by the while, i am working on the scalibur ii think. Looks very dificult becouse theres a lot of data involved in the 4:3 to widescreen, like the angle (fov) of the camera, etc etc.... lets see...
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on August 29, 2005, 05:35:00 PM
Did anything come of getting Star Wars Republic Commando running in prog scan when set to widescreen?
Title: The 'setvideomode' Hex (480p Patch)
Post by: -Spud- on September 21, 2005, 11:30:00 PM
Just a thought but would it be possible to use some of these methods being used here to fix some of the PAL games that have Hi Def or ProScan issues? For example the PAL version of Enter The Matrix will not run when 720p and 1080i is enabled on your Xbox however the NTSC version runs the game in HD fine.

Another problem is the PAL versions of GTA games. Although they play in 480p they are all screwed up to look at on screen.
Title: The 'setvideomode' Hex (480p Patch)
Post by: -Spud- on September 25, 2005, 07:55:00 PM
Ah wow thanks raydn, sounds like something worth trying out anyway. Thanks again!
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on October 07, 2005, 07:15:00 PM
The should run 480p, but i have seen this happen before (playboy mansion) where there are both 480p and 480i ntsc retail discs. Does your tiger woods 2006 xbe have the folowing hex string(s) ?

8B 46 28 51 8B 4E 2C 52 8B 56 04 50 8B 06 51 52 50 8B CD  

or

8B 57 28 50 8B 47 30 50 8B 47 2C 51 8B 4F 04 52 8B 17 50 51 52 8B CE

Title: The 'setvideomode' Hex (480p Patch)
Post by: 6zero9 on October 08, 2005, 12:31:00 AM
i've read about that too..

as far as i can tell, it has both of the examples you gave me. i'm using hex workshop to search for them, and they both pull up. i have to take the spaces out of your examples to find any thing, but after i do, it finds them both. i don't have a lot of experience with any of this, but i'm a quick learner. i noticed that taking out the spaces changed some of the "letter" values, does that make a difference?
raydn, you seem to be the guy to talk to, i hope i can make this as easy as possible for you. any assistance i get from you or anyone here is really cool.
thanks in advance
zero
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on October 08, 2005, 04:56:00 AM
I will twist the above around in a short while for you and magic up a patch that should help you out, nothing to hard. Just make sure that you do have the xbox in ntsc mode and 480p is enables in the dash wink.gif

basically this 8B 46 28 needs to be nopped (90s) and a 50 later in the line needs to become 6A 00. You might be able to figure this one out... so you have 90 90 push the remaing hex along one and change one of them 50s at the end to 6a 00. hex should still be same length.

I'll post back later when i check which one it is.
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on October 08, 2005, 06:33:00 AM
try these

CODE

replace

8B 46 28 51 8B 4E 2C 52 8B 56 04 50 8B 06 51 52 50 8B CD

with

90 90 51 8B 4E 2C 52 8B 56 04 6A 00 8B 06 51 52 50 8B CD


and possibly this one too if the first doesn't fix it.

CODE

replace

8B 57 28 50 8B 47 30 50 8B 47 2C 51 8B 4F 04 52 8B 17 50 51 52 8B CE

with

90 90 50 8B 47 30 50 8B 47 2C 51 8B 4F 04 6A 00 8B 17 50 51 52 8B CE
Title: The 'setvideomode' Hex (480p Patch)
Post by: 6zero9 on October 09, 2005, 01:48:00 AM
ah yeah, thanks mate. the only help i've had thus far. i will look into it tomorrow as i've been out and got rather rounded. i'll let you know what happens with it as soon as i get the chance.

cheers
Title: The 'setvideomode' Hex (480p Patch)
Post by: 6zero9 on October 09, 2005, 09:05:00 AM
right on, just tried it. all makes a lot more sense when the room isn't spinning. anyway, i tried your first example and nopped out the first few sets, works great now. that was quick ;-)
thanks mate
wes

wait a sec, i just tried it again and it's back to the same problem. i'll tinker with it and see what i can do.
Title: The 'setvideomode' Hex (480p Patch)
Post by: jo77 on October 10, 2005, 08:40:00 PM
maybe a dumb question, but would that TW2006 fix above work on the pal version to get 480p operational ?  all Tiger Wood pal versions have been 480i only so far.

Does anyone out there have the Pal version ?  I never bothered after 2004 because of the probs I had with Tiger WOods pal.
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on October 10, 2005, 08:59:00 PM
which  tiger woods are in 480i
Title: The 'setvideomode' Hex (480p Patch)
Post by: 6zero9 on October 10, 2005, 09:01:00 PM
probably worth trying, jo. if anyone has an answer, raydn would be the one.

speaking of which, i did try again, and finally got it to work reliably. had to tinker with evox a bit. my video mode was set to default, which usually works. so i didn't really think much of it. the weird thing was that, after i edited the hex code, it worked under unleash just fine. so, i tried going to evox and playing from there, with the trainer. i got the squiggly lines again. the oddest thing was that when i IGR'd my box, i would get the squigglies (technical terminology?) again. if i turned my box off and turned it back on, unleashx would play it just fine. only when i soft rest did i get the problems. no big deal, it works great now, but i've never run in to that before.
just thought i'd throw that out there.
thanks again, raydn, keep it up.
wes
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on October 11, 2005, 03:12:00 AM
I think another forum member posted something similar happening with serious sam on his set up, came up on screen all messed up.

Title: The 'setvideomode' Hex (480p Patch)
Post by: silvermax on April 29, 2006, 07:43:00 PM
i need a the favor back  
Can any1 patch to 480p the game WINBACK2? Im trying to do it... looks hard...
THANXXX
Title: The 'setvideomode' Hex (480p Patch)
Post by: doidgy on May 02, 2006, 01:46:00 PM
Have tried searching in LMA Manager 2006 for the Hex (1st Post)
I found it exactly as listed, but spread over two different lines. Is this relevant?
I changed to alternate Hex but I still get a Black Screen.
Any advice?
Title: The 'setvideomode' Hex (480p Patch)
Post by: rst100 on May 07, 2006, 07:39:00 AM
Someone knows if exist some patch to make possible the game Stolen works with x2vga+ adpater ?

thx
Title: The 'setvideomode' Hex (480p Patch)
Post by: raydn on May 09, 2006, 11:43:00 AM
QUOTE(rst100 @ May 7 2006, 01:46 PM) View Post

Someone knows if exist some patch to make possible the game Stolen works with x2vga+ adpater ?

thx


I patched Stolen last year

Stolen
CODE

C7 46 4C 20 00 00 00
C7 46 4C 00 00 00 00
Title: The 'setvideomode' Hex (480p Patch)
Post by: rst100 on May 11, 2006, 08:06:00 AM
Thx Raydn smile.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on May 20, 2006, 04:03:00 PM
QUOTE(silvermax @ Apr 30 2006, 02:50 AM) View Post

i need a the favor back  
Can any1 patch to 480p the game WINBACK2? Im trying to do it... looks hard...
THANXXX

I tried all the usual edits but nothing worked for this one.
Title: The 'setvideomode' Hex (480p Patch)
Post by: grouik on May 30, 2006, 10:54:00 AM
QUOTE(dm71 @ Mar 31 2005, 07:06 AM) View Post

This is the Serious Sam main menu:
IPB Image
I can't find any matching hex strings so I have no idea where to try to edit.  

I'm just going to stick with the workaround of disabling 480p in the dash.
I apologize raydn for jacking your thread.



I have the same problem on Metal Slug 3 PAl patched for progressive and few game like Panzer Dragon Orta, my tv indicate that the signal is 720x480P but i've this scrambled screen too (but only on very few game).

I dsicover that the playstation emulator pcsx for xbox have the same problem, if i activat e480p or 720p -> scrambled
Title: The 'setvideomode' Hex (480p Patch)
Post by: doidgy on June 16, 2006, 01:57:00 PM
Does anyone know of a HEX edit for Sensible Soccer 2006? Tried original Hex edit but with no luck.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on August 17, 2006, 09:12:00 AM
This works for 'Xyanide'.
Title: The 'setvideomode' Hex (480p Patch)
Post by: RyLoS on August 24, 2006, 12:44:00 AM
I've Xyanide well working on 480P now, but the problem is that i get black borders on top and below. Is there a way to hex edit and get a full screen? (something related to pixel aspect ratio?)
Title: The 'setvideomode' Hex (480p Patch)
Post by: mikejf on August 25, 2006, 06:26:00 AM
QUOTE(RyLoS @ Aug 24 2006, 02:51 AM) View Post

I've Xyanide well working on 480P now, but the problem is that i get black borders on top and below. Is there a way to hex edit and get a full screen? (something related to pixel aspect ratio?)


I hate widescreen (letterbox) on a non widescreen TV (mine) too.
Title: The 'setvideomode' Hex (480p Patch)
Post by: ahaimsky3 on October 19, 2006, 01:44:00 AM
Hello, I don't usually post to message boards (in fact this is my first post to this particular board), but I wanted to show my gratitude for this hex patch by letting everyone know that it works for Family Guy. I just did it and the graphics look great (I'm using a x2vga adapter). Thanks so much for all the hard work it took to come up with this.  happy.gif  happy.gif   biggrin.gif
Title: The 'setvideomode' Hex (480p Patch)
Post by: Hitcher on October 21, 2006, 02:46:00 AM
Nice one, I just popped in here to see if anyone had found an edit for Family Guy, thanks.
Title: The 'setvideomode' Hex (480p Patch)
Post by: Streamer2k on December 15, 2007, 09:53:00 AM
Hello, I've read this topic i think it's very interesting, specially information about 480p->720p patching.
First of all, thanks to Raidn for all this information.

Here is my question/trouble:
I've Chessmaster game, patched it succesfully, so it's working now in progressive mode (480p).
I think that a chess game doesn't need a lot of resources for working properly, so I've tried to patch it to run at 720p with no success.

Here are the changes that i've made:

Original (IDA-view-A) ->
seg000:00033D79                 mov     ds:dword_2AF8D8, 280h
seg000:00033D83                 mov     ds:dword_2AF8DC, 1E0h

Patched->
seg000:00033D79                 mov     ds:dword_2AF8D8, 500h
seg000:00033D83                 mov     ds:dword_2AF8DC, 2D0h

So, that's it in hex view:
00 C7 05 D8 F8 2A 00 80 02 00 00 C7 05 DC F8 2A  00 E0 01 00 00 A3 E8 F8
->
00 C7 05 D8 F8 2A 00 00 05 00 00 C7 05 DC F8 2A  00 D0 02 00 00 A3 E8 F8

With this changes I get a black screen and the game doesn't initialize freezing the xbox .

Any help will be apreciate!
Title: The 'setvideomode' Hex (480p Patch)
Post by: ldotsfan on July 06, 2009, 05:39:00 PM
QUOTE(flavor @ Jul 7 2009, 06:36 AM) View Post

Has anyone tried to patch the msdashboard to 720p or it's offsprings like thclite? I am not able to find the correct strings to edit.

Do you have the pre-requisite cables? Have a look at this
Title: The 'setvideomode' Hex (480p Patch)
Post by: pimmelpeter on July 11, 2009, 12:16:00 PM
Can someone please patch Egg-Mania Eggstrem Madness to 480p.
I´ve got a Crystal Edition with 1000GB HD and Tsop Flash.
I can play all games on it. But with Egg Mania I´ve got a problem.
With every mode (NTSC,PAL,PAL60...) I´ve startet the game the game isn´t in color. It´s in Black And White.

With the Av Cable its with color.

It would be very nice if someone can make a patch like the 480p patch for XYANIDE (in use with ppf-omatic patcher.....etc..) and upload it?