xboxscene.org forums

Pages: 1 [2] 3 4 ... 6

Author Topic: The 'setvideomode' Hex (480p Patch)  (Read 277 times)

aceboomer

  • Archived User
  • Newbie
  • *
  • Posts: 23
The 'setvideomode' Hex (480p Patch)
« Reply #15 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
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #16 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.
Logged

aceboomer

  • Archived User
  • Newbie
  • *
  • Posts: 23
The 'setvideomode' Hex (480p Patch)
« Reply #17 on: April 01, 2005, 12:47:00 AM »

question about the 280h etc.. search
are those text or hex searches?
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #18 on: April 01, 2005, 07:19:00 AM »

its a text search in ida

the hex would be 80 02
Logged

shadowlord_kt

  • Archived User
  • Newbie
  • *
  • Posts: 1
The 'setvideomode' Hex (480p Patch)
« Reply #19 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!
Logged

Dreamcazman

  • Archived User
  • Sr. Member
  • *
  • Posts: 408
The 'setvideomode' Hex (480p Patch)
« Reply #20 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...
Logged

Foe-hammer

  • Archived User
  • Hero Member
  • *
  • Posts: 2288
The 'setvideomode' Hex (480p Patch)
« Reply #21 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.
Logged

ninjatech

  • Archived User
  • Newbie
  • *
  • Posts: 5
The 'setvideomode' Hex (480p Patch)
« Reply #22 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
Logged

Foe-hammer

  • Archived User
  • Hero Member
  • *
  • Posts: 2288
The 'setvideomode' Hex (480p Patch)
« Reply #23 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
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #24 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)
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #25 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
Logged

Foe-hammer

  • Archived User
  • Hero Member
  • *
  • Posts: 2288
The 'setvideomode' Hex (480p Patch)
« Reply #26 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......
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #27 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
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #28 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.
Logged

raydn

  • Archived User
  • Full Member
  • *
  • Posts: 122
The 'setvideomode' Hex (480p Patch)
« Reply #29 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
Logged
Pages: 1 [2] 3 4 ... 6