Shenmue I, Shenmue II & What's Shenmue Widescreen HEX hack.

(Modding and other series related projects)

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Sappharad » Mon Jul 03, 2017 7:20 pm

ner0 wrote:
Sappharad wrote:I'm not sure what approach he took for the Hex patch, I never got around to figuring out why the codebreaker wasn't able to perform the same patch in memory yet. I suspect it's permanently modifying the game logic that calculates the camera parameters.

I may not be remembering correctly some of the stuff but you can patch the game memory to use this hack. Although nullDC was a pain in the ass because of how it emulates the game in a protected memory region, I needed to use kernel-level access to the protected memory in order to change the values, otherwise it would either crash or reallocate the value to another address. DEMUL is straight-forward in that regard because it emulates the DC so amazingly. Anyway, I think that one of the conditions is that you do patch the memory before you start playing, at least one of those addresses must be because it is the one responsible for the mechanism that dynamically adjusts the clipping range - depending on several factors, game level/map being a major one.

This has nothing to do with emulators. This was about Codebreaker - doing a memory patch on actual hardware. The changes get clobbered at some point.
Sappharad
Man Mo Acolyte
Man Mo Acolyte
 
Joined: October 2015
Favorite title: Shenmue II

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Ziming » Sat Jul 08, 2017 12:23 am

I tested disc 1 of Shenmue II with the widescreen hex hack on the Sega Dreamcast. Managed to play through the entire disc without issues minus a glitch that happened during a cutscene with Master Zhoushan. The cutscene that occurs after you return with a letter from his student.

phpBB [video]
User avatar
Ziming
Banned
Banned
 
Joined: November 2003

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby fafadou » Mon Jul 10, 2017 4:34 am

Did you used the 1st_read.bin released here at page 2 ?

because the widescreen "maker" needs a track06.bin and not all GDs of shenmue have one...
fafadou
Fuku-san
Fuku-san
 
Joined: June 2017
Favorite title: Shenmue II
Currently playing: shenmue II

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby b_ren » Thu Aug 10, 2017 1:20 pm

Just played Shenmue II in widescreen for the first time last night. Can't believe how well this works. Thanks to who ever made this possible.
User avatar
b_ren
of Heavens
Machine Gun Fist
 
Joined: May 2003
Location: UK
Favorite title: Shenmue

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Esppiral » Wed Aug 16, 2017 9:55 am

Shenmue Passport PAL (16:9)

Code: Select all
Find

CCCCCC3D AAAAAA3F C067240C

Replace

CCCCCC3D 398EE33F C067240C



Code: Select all
Find

005A0C0C E62FD62F C62FB62F A62F962F

Replace

B83C000C E62FD62F C62FB62F A62F962F


Code: Select all
Find

01E50B00 53600900 09000900 09000900 09000900 09000900 09000900 09000900 09000900 00000000 00000000 00000000 00000000 09000900 09000900 09000900 09000900 00000000 00000000 00000000

Replace

01E50B00 53600900 09000900 09000900 09000900 09000900 09000900 09000900 09000900 00008C43 0000F042 AAAAAA3F AAAAAA3F 09000900 09000900 09000900 09000900 AAAAAA3F AAAAAA3F AAAAAA3F





nekusasu wrote:
Esppiral wrote:
nekusasu wrote: Thank you Esppiral!

I've seen some videos on youtube where you modified the game to run at 21:9 Ultrawide.

Can you tell me how you achieved that? I'm assuming it's also with hex editing?



Do you have a 21:9 monitor?

If you are interested, I can post the orresponding code to make the game 21:9.

It should run fine on emulators, but I guess It may be too much for the Dreamcast to handle.


Yes, sir. 2560 x 1080.

Would be nice to, at least, try that on Demul to see how much of a difference it makes.

From your videos, it looks amazing!


Sorry I absolutely forgot your request.

SHENMUE (21:9)

Value 1
Code: Select all
Find

CCCCCC3D AAAAAA3F
Replace

CCCCCC3D 26B41740

Render fix
Code: Select all
Find

203F090C 8BC78AD4 FFE55224 51145214
Replace

303F090C 8BC78AD4 FFE55224 51145214

Render Fix
Code: Select all
Find

09000900 09000900 09000900 09000900 09000900 09000900 09000900 00000000 00000000 00000000 00000000 09000900 09000900 09000900 09000900 00000000 00000000 00000000

Replace

09000900 09000900 09000900 09000900 09000900 09000900 09000900 00002FAA 00007041 AAAAAA3F AAAAAA3F 00090009 00090009 00090009 00090009 00004042 AAAAAA3F AAAAAA3F


Image


SHENMUE II (21:9)

Code: Select all
Find
ABAAAA3F 90FF1D8C
Replace
26B41740 90FF1D8C


Value 2 Render Fix
Code: Select all
Find
00000000 00000000 00000000 00000000 09000900 09000900 09000900 09000900 00000000 00000000 00000000
Replace
00001B43 0000F043 AAAAAA3F AAAAAA3F 09000900 09000900 09000900 09000900 0000F041 AAAAAA3F AAAAAA3F


Value 3 (Render Fix)
Code: Select all
Find
Find
60DF048C 00000000 00000000 E62F224F F36E06D1
Replace
FA3B008C 00000000 00000000 E62F224F F36E06D1


Value 4 (No Black Bars)

Code: Select all
Find
01A0 01E100E1 A36002C9
Replace
01a0 00e100E1 A36002C9


Image



Shenmue Passport PAL (21:9)

Code: Select all
Find

CCCCCC3D AAAAAA3F C067240C

Replace

CCCCCC3D 26B41740 C067240C



Code: Select all
Find

005A0C0C E62FD62F C62FB62F A62F962F

Replace

B83C000C E62FD62F C62FB62F A62F962F


Code: Select all
Find

01E50B00 53600900 09000900 09000900 09000900 09000900 09000900 09000900 09000900 00000000 00000000 00000000 00000000 09000900 09000900 09000900 09000900 00000000 00000000 00000000

Replace

01E50B00 53600900 09000900 09000900 09000900 09000900 09000900 09000900 09000900 00008C43 0000F042 AAAAAA3F AAAAAA3F 09000900 09000900 09000900 09000900 AAAAAA3F AAAAAA3F AAAAAA3F


Image

Image

Esppiral has received a thanks from: Mr357
User avatar
Esppiral
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
PSN: Esppiral
XBL: Esppiral
Steam: Esppiral
Favorite title: Shenmue
Currently playing: The Witcher 2

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Esppiral » Mon Oct 02, 2017 2:03 pm

Shenmue Ultrawidescreen (21:9) running on a real Dreamcast,

Video was captured from My Dreamcast conected to a VGA2HDMI box, then conected to my Xbox One streaming to windows I then recorded using Bandicam and finally recompressed to keep the 21:9 aspect ratio since the source video was 16:9 on top of that the youtube compression.... lol

So the quality isn't the best possible actually it introduced quite a lot of stuttering and artifacts not present during direct gameplay, but you get the Idea, it is quite impressive seeing it running on the real thing.

In the whole 40 minutes gameplay there are only 2 times when the games lags, mostly in the intro.

phpBB [video]
Last edited by Esppiral on Sat Jan 06, 2018 1:45 pm, edited 1 time in total.

Esppiral has received 4 thanks from: Louie, Mr357, ReeceKun, Switch
User avatar
Esppiral
Alpha Trading Boss
Alpha Trading Boss
 
Joined: May 2012
PSN: Esppiral
XBL: Esppiral
Steam: Esppiral
Favorite title: Shenmue
Currently playing: The Witcher 2

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Wong Chai » Sat Jan 06, 2018 11:13 am

Esppiral, does this affect the FPS due to it having to show more of the world? Will it cause lag?
User avatar
Wong Chai
Asia Travel Representative
Asia Travel Representative
 
Joined: July 2014
Location: Yokosuka, 4:00pm, Nov. 29, 1986 (Sat)
Favorite title: Shenmue IIx
Currently playing: Half-Life

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Grijalbo » Sat Apr 14, 2018 6:09 pm

Hi!

I have a full GDI version patched in spanish (and the original version too) and i dont have the 1st_read.bin file...

I opened every file .bin that i have of games, but i cant find the code you mention to change it to widescreen...

how can i get the 1st_read.bin file?

thanks!
Grijalbo
Fuku-san
Fuku-san
 
Joined: April 2018
PSN: Gr1jalb0
XBL: Grijalbo
Steam: Grijalbo
Favorite title: Shenmue

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Yama » Wed Apr 18, 2018 6:06 am

Shooting for 21:9. All 3 provided codes were replaced and saved on track06.bin.

Replaced the code in HexEdit, ending up with the following results:
https://snag.gy/TsL8h9.jpg

Couldn't find a step by step, this is what I figured out through trial and error. First time doing this. Looks like the right aspect ratio, just missing textures and such. Any help would be appreciated.

Using Demul
User avatar
Yama
Shenmue Dojo Owner
Shenmue Dojo Owner
 
Joined: December 2003
Location: Los Angeles
PSN: YamaMX
Favorite title: Shenmue

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby PILMAN » Fri Jul 06, 2018 8:40 pm

The widescreen hack appears to work for me on disc 1 but when I enter the harbor, this is where I notice pop in occur and objects not fully loading, perhaps due to the draw distance.
User avatar
PILMAN
Man Mo Acolyte
Man Mo Acolyte
 
Joined: January 2004
Location: Somewhere In The Deep South
Favorite title: Shenmue II

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby Mr357 » Fri Jul 06, 2018 11:11 pm

PILMAN wrote: The widescreen hack appears to work for me on disc 1 but when I enter the harbor, this is where I notice pop in occur and objects not fully loading, perhaps due to the draw distance.


You'll also notice it in Disc 3 while working and during the motorcycle ride cutscene with Nozomi. I believe Esppiral covered how to change the draw distance earlier in this thread, but be weary of other potential consequences.
User avatar
Mr357
"After Burner...Great!"
"After Burner...Great!"
 
Joined: March 2015
Location: United States
Favorite title: Shenmue II

Re: Shenmue I, Shenmue II & What's Shenmue Widescreen HEX ha

Postby PILMAN » Sat Jul 07, 2018 4:09 pm

Mr357 wrote:
PILMAN wrote: The widescreen hack appears to work for me on disc 1 but when I enter the harbor, this is where I notice pop in occur and objects not fully loading, perhaps due to the draw distance.


You'll also notice it in Disc 3 while working and during the motorcycle ride cutscene with Nozomi. I believe Esppiral covered how to change the draw distance earlier in this thread, but be weary of other potential consequences.


ah yes i saw that but not sure how to change floating point value via hexedit.
User avatar
PILMAN
Man Mo Acolyte
Man Mo Acolyte
 
Joined: January 2004
Location: Somewhere In The Deep South
Favorite title: Shenmue II

Previous

Return to Community Projects

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000-
ShenmueDojo.net