Home
Downloads
Community
Submit
Marketplace

The Iso Zone

OgXHD - A tool for patching XBEs to run in 720p

Discuss your favourite Xbox titles here and reccomend them to other members!

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Tue Sep 08, 2015 2:06 pm

PGR1 ( I feel the game is still 3:4)

Image

Image

Image

Image

Image

Image

Image

Image

Image

Gun Valkyrie (It runs surprisingly good, it only lags when there are transparent textures covering the screen otherwise it will run at 60fps.)

Image

Image

Image

Image

Image

Image

Image

Image

Image
  • 10

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby zaykho » Tue Sep 08, 2015 4:28 pm

Just a reminder, Aggressive mode is more complete but also heavier, if you want maximum performance, try on weak or normal instead (depend of the game).
  • 0

User avatar
zaykho 3
 
Posts: 107
Joined: Wed Jan 25, 2012 4:30 am
Reputation: 60

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby scroeffie » Tue Sep 08, 2015 9:55 pm

any update ?
  • 0

scroeffie 2
 
Posts: 35
Joined: Mon Dec 30, 2013 10:24 am
Reputation: 10

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby arfgh » Wed Sep 09, 2015 4:25 pm

how's it going the amazing project ?
  • 0

arfgh 2
 
Posts: 10
Joined: Tue Sep 08, 2015 8:07 pm
Reputation: 0

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby scroeffie » Wed Sep 09, 2015 4:49 pm

i have tested ridick its zoomed in ? why is that
i did normal patch// i tried again turnd off 16:9 and did agressive mode stil the same
  • 0

scroeffie 2
 
Posts: 35
Joined: Mon Dec 30, 2013 10:24 am
Reputation: 10

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby zaykho » Wed Sep 09, 2015 5:13 pm

scroeffie wrote:i have tested ridick its zoomed in ? why is that
i did normal patch// i tried again turnd off 16:9 and did agressive mode stil the same




zaykho wrote:To fix games that do :

Sonic Heroes (NTSC-U) - Game seems to run in 720p, but video output is still 480p


You need to replace each lines:
01 08 08 88
01 07 07 88
01 0F 11 88

by this:
02 0A 0B 88
  • 0

User avatar
zaykho 3
 
Posts: 107
Joined: Wed Jan 25, 2012 4:30 am
Reputation: 60

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby MarvelousMirth » Wed Sep 09, 2015 6:09 pm

zaykho wrote:
scroeffie wrote:i have tested ridick its zoomed in ? why is that
i did normal patch// i tried again turnd off 16:9 and did agressive mode stil the same




zaykho wrote:To fix games that do :

Sonic Heroes (NTSC-U) - Game seems to run in 720p, but video output is still 480p


You need to replace each lines:
01 08 08 88
01 07 07 88
01 0F 11 88

by this:
02 0A 0B 88


Do you think I should make the tool automatically do this? Perhaps make it an option? If so, what would I even call it?

Also, I'm really amazed with the results so far!
  • 0

User avatar
MarvelousMirth 2
 
Posts: 17
Joined: Tue Aug 25, 2015 9:07 pm
Reputation: 10

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby zaykho » Wed Sep 09, 2015 6:46 pm

I don't think that make it auto will be good, because in some games (I think like PGR2) it will stop the game to initialize (not sure though).

Making like an option will be great, a better approach will be to write a tips that explain (by picture or simple words) this -->

Spoiler:
Image


I think the best way to describe this, will be to call this like all emulator do:

Screen view (window) and Internal Resolution (the game scene).
  • 0

User avatar
zaykho 3
 
Posts: 107
Joined: Wed Jan 25, 2012 4:30 am
Reputation: 60

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Wed Sep 09, 2015 7:30 pm

Sonic Heroes.

Image

Image

Image

Image

THU2

Image

Image

Image

Image

Vodoo Vince

Image

Image

Image

Image

Kakuto Chojin

Image

Image

Image



Image

Image

Kill Switch

Image

Image

Midtown Madness ( it hangs on a 64 mb console after car selection)

Image

Nightcaster 2

Image
  • 0

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Wed Sep 09, 2015 7:34 pm

Nightcaster.

Image

Image


GTA III (disabling the "trails" effect gives the game a huge boost in performance it usually stays in mid 20's)

Image

Image

Image

Image

Image

Image

Image
  • 0

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby MarvelousMirth » Wed Sep 09, 2015 8:07 pm

zaykho wrote:I don't think that make it auto will be good, because in some games (I think like PGR2) it will stop the game to initialize (not sure though).

Making like an option will be great, a better approach will be to write a tips that explain (by picture or simple words)...


What does that hex mod actually do, though? Would need to know what to call the option :)

Esppiral, I'm loving all these screenshots, great stuff! I hope you keep them coming :) Can't wait to try out some games myself.
BTW, Tony Hawks Underground 2 runs in 720p natively, no need to modify.
  • 0

User avatar
MarvelousMirth 2
 
Posts: 17
Joined: Tue Aug 25, 2015 9:07 pm
Reputation: 10

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby arfgh » Wed Sep 09, 2015 8:54 pm

MarvelousMirth, we need a compatibility list on the first post of the topic....

also, are all the hex codes on ps2wide.net taken by the program ?

and also: neither 'OgXHD_x64.exe' and 'OgXHD_x86.exe' start on my computer. XP X64 SP2. What i need to make them to work ?

and also: the latest net framework for xp was the 4.0. Please MarvelousMirth, can you compile the program to be used by that framework ? thx in advance
  • 0

arfgh 2
 
Posts: 10
Joined: Tue Sep 08, 2015 8:07 pm
Reputation: 0

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Wed Sep 09, 2015 10:14 pm

I have a question, as you may have noticed in my screen shots, some games are missing geometry in the main characters and NPc'. it happens in sonic heroes, Kill Swith and GTA, why is the reason for that?

Also there are games with native resolutions lower than 640x480 (Panzer Dragoon Orta, kung fu chaos) among others, are those unpatchable with this util?

There are some games that after patched and working at 720p hangs on my 64mb xbox, games like grabbed by the goulies, Brute Force, or Midtown madness, I'd like to see some screenshots of those games in HD.

Last but no least, The game I trully want to play in HD on Xbox is Shenmue II, if someone could manage to make it work at 720 or just in widescreen I would be the happiest gamer in the world.

Thanks for this amazing util MarvelousMirt.
  • 0

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby PaulSilentin » Wed Sep 09, 2015 11:56 pm

So, to make things perfect, we will need:

1. hardware modded xbox CPU
2. hardware modded xbox RAM
3. hack XBE to use new CPU and RAM
4. hack XBE to display as 16:9 and 720p

without 1 and 2 - games will always lag in 720p? Or better to play on vanilla XDK with XBE patch to run as debug?
  • 0

xbox 1.6 PAL 64Mb/2004-10-08/120Gb HDD/YPbPr/softmod: UnleashX 0.37.1218A Build 543
User avatar
PaulSilentin 2
 
Posts: 34
Joined: Tue May 05, 2015 12:04 am
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby scroeffie » Thu Sep 10, 2015 5:54 am

You need to replace each lines:
01 08 08 88
01 07 07 88
01 0F 11 88

by this:
02 0A 0B 88

how ??
  • 0

scroeffie 2
 
Posts: 35
Joined: Mon Dec 30, 2013 10:24 am
Reputation: 10

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Thu Sep 10, 2015 9:22 am

Kameo Elements of Power :shock:

Image

Image

Image

Image

Image

Image
  • 0

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby zaykho » Thu Sep 10, 2015 10:20 am

MarvelousMirth wrote:What does that hex mod actually do, though? Would need to know what to call the option :)


Well every game need to call at least once the "D3D resolution library", it's a bunch of value that the xbox and the game share together.

Before the xbox can send the signal to the tv, the .xbe will need to call first the "request AV capability", then, look if anything can match the "D3D resolution library" and then send the correct value from his library (xbe) associated to the matched resolution returned by the "Av capability" function to the xbox, and finally, the xbox send the final signal with resolution/hertz/color mode.


Tl;dr: The xbox and xbe communicate the resolution info by "predetermined value", the xbe does not send 1280x720 value, instead, it send something like "xxx" to the xbox, then the xbox match the "xxx" to 1280x720.


Off course, this is only affect the "window view", the "internal resolution", however, is manually triggered and managed differently for each .xbe.


Ok, it seems a better and simpler explanation is needed:

First, Here the list of some resolution supported by the xbox, those resolution are called "window view", they said to the tv what resolution to use.

Code: Select all
640x480
720x480
1280x720


Then, here how they are in Hexadecimal:

Code: Select all
80 02 E0 01
D0 02 E0 01
00 05 D0 02


Now, to send 80 02 E0 01 from the xbe to the xbox, the xbe need to use an "index" value:

Code: Select all
01 07 07 88
01 08 08 88
02 0A 0B 88



So, In conclusion, when the xbox start a game (xbe), the xbe, before displaying anything, start to requesting/testing the tv (or anything connected) to get what signal can be supported (resolution/herz/color), then, after getting the returned signal, the xbe start to read a library where all resolution supported by the xbox is stored, in hope to find a value that will match the returned value from the TV.

If a value match, then the xbe send to the xbox the desired value, to let the xbox send to the tv the matched signal.

After that, the xbe will trigger a D3D "internal resolution", this is something totally arbitrary and not related at all to the TV/XBOX, the function will show "something" at the screen, either 2D, 3D or both, with a desired resolution, no matter what resolution used, the "window view" started by the XBOX/TV will not be impacted.

So, the conclusion is:

Code: Select all
01 07 07 88 -- 80 02 E0 01 -- 640x480
01 08 08 88 -- D0 02 E0 01 -- 720x480
02 0A 0B 88 -- 00 05 D0 02 -- 1280x720



Here a picture, showing the lib in IDA:

Image




arfgh wrote:and also: neither 'OgXHD_x64.exe' and 'OgXHD_x86.exe' start on my computer. XP X64 SP2. What i need to make them to work ?


Same, the x86 won't work in my XP32, need to load this in the Windows7 x64 to properly start it.


Esppiral wrote:I have a question, as you may have noticed in my screen shots, some games are missing geometry in the main characters and NPc'. it happens in sonic heroes, Kill Swith and GTA, why is the reason for that?



It may be either:

Ram limit exceeded: All games need to allocate a percentage of memory for each section: D3D (screen), DIrectSound (Audio), Input (joypad etc..), most games crash, freeze or display a "dirty disc" message when one those sections request too much memory than the maximum available for their respected section.

BUT , some games, use a volatile memory management (usually, games that use this are games that will suffer of bad framerate even in stock condition (64mb RAM and 480i), ie really high demanding games), this type of memory management let one of this section (usually D3D or Input) being limited by the maximum available memory, and then to restrict percentage for others section. (Otogi is great example here, the game won't crash, it will try to load the maximum he can, 3D mesh, Texture etc... off course, some of those will fails, but still, the game will run, at slow speed with missing texture/mesh, but still, it will run. IE, see my thread about Otogi in 1080i)

Generated/managed Mesh/effect: In some games, some parts of the 3D scene is positioned or rendered by 2D value (x, y) instead of 3D value (x, y, z), a great example is the "water" shader in Otogi, the shader require the x/y value of screen size to be positioned in a 3D scene, also, the hair from Raikho in Otogi is generated by the xbe, his animation, size, vertices etc... is managed by a X/Y value.

In that case, if some value are wrong, or not match in each of them, the resulted scene will display wrong or missing mesh, shader etc.... In some worst case, a simple shader/texture with wrong numbers can lead to stop rendering the entire mesh.....


Wrong value between .xbe and others files: well, this is something really rare, mostly used by port games from PC to Xbox. Those games use the .xbe and others files to store important info like positioning, rendering and scaling.

When off course we can change those value easily in the .xbe, others, will require to dig some .ini files to completely change all resolution or scaling value to get correct mesh and texture in final scene. In worst case, a deep reverse engineering will be needed to get proper rendering.


Esppiral wrote:Also there are games with native resolutions lower than 640x480 (Panzer Dragoon Orta, kung fu chaos) among others, are those unpatchable with this util?


Are you sure ? because I have a hard time with PDO, any idea of the size ? because this game always rendered to 640x480p for me.

Esppiral wrote:Last but no least, The game I trully want to play in HD on Xbox is Shenmue II, if someone could manage to make it work at 720 or just in widescreen I would be the happiest gamer in the world.


Then prepare to be happy, I will work on Shenmue 2 after finishing PDO and Double Steel. Downloading now. :-o


PaulSilentin wrote:So, to make things perfect, we will need:

1. hardware modded xbox CPU
2. hardware modded xbox RAM
3. hack XBE to use new CPU and RAM
4. hack XBE to display as 16:9 and 720p

without 1 and 2 - games will always lag in 720p? Or better to play on vanilla XDK with XBE patch to run as debug?


Not necessary, PGR2 run smoothly, only some minor lag at some "special" zone in some tracks. But yes, for a lot of demanding games, a CPU/RAM upgrade will be needed.


scroeffie wrote:You need to replace each lines:
01 08 08 88
01 07 07 88
01 0F 11 88

by this:
02 0A 0B 88

how ??



Download HexEdit, then open the .xbe in the software, then go to EDIT > Replace:

Image

Don't forget to save before closing the software.
  • 0

User avatar
zaykho 3
 
Posts: 107
Joined: Wed Jan 25, 2012 4:30 am
Reputation: 60

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Xam » Thu Sep 10, 2015 10:51 am

Hi i would to know how to hex-edit games to switch from 4:3 to 16:9 widescreen,which is the value to change? thanks!
  • 0

consoles i own

hardmodded xbox 1 with 750 gb harddrive
hardmodded playstation 1
User avatar
Xam 3
 
Posts: 139
Joined: Wed Aug 03, 2011 12:52 pm
Reputation: 255

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby Esppiral » Thu Sep 10, 2015 10:58 am

Thanks zaykho, very useful info! :D
  • 0

Image

English is not my native language, don't hesitate to correct me. :)
User avatar
Esppiral 2
 
Posts: 42
Joined: Wed Aug 10, 2011 3:00 pm
Reputation: 20

Re: OgXHD - A tool for patching XBEs to run in 720p

Postby PaulSilentin » Thu Sep 10, 2015 12:54 pm

Xam wrote:Hi i would to know how to hex-edit games to switch from 4:3 to 16:9 widescreen,which is the value to change? thanks!
Try this tutorial, this is for PS2, but follow very similar logic.

http://psx-scene.com/forums/f293/ps2-wi ... ly-105475/
  • 0

xbox 1.6 PAL 64Mb/2004-10-08/120Gb HDD/YPbPr/softmod: UnleashX 0.37.1218A Build 543
User avatar
PaulSilentin 2
 
Posts: 34
Joined: Tue May 05, 2015 12:04 am
Reputation: 20

PreviousNext

Return to Xbox Gaming



Who is online

Users browsing this forum: No registered users and 7 guests



Home | Contact Us | Privacy Policy | File Removal Request | Premium