Dreamcast Widescreen Hacks

@Espirral, That's some serious nice stuff! Although why is the sky color slightly different? Weather?

This plus yzb's toggle via controller would be PERFECT, no need for an HD version!

It would be trivial to keep the same file ordering as him, we could even patch the cdi directly.
The difference in sky color is due to setting the list sorting option off in the emulator in the first recording, nothing to do with the hack.
I think the clipping is the difference. On the right you can only see a few clipping glitches. Do you have a code for the widescreen fix? ;)

[​IMG]
I suspect it's more than simple "clipping". as far as I know Shenmue games uses advanced (for it's time) game data streaming, so depending where player is and his view direction - needed game objects will be read from disk (most likely with prediction), unneeded (invisible) will be purged from memory if necessary.
so I doubt it will be such simple to "fix" as change single DWORD in memory.
Left is NullDC with extra geometry setting turned on.
Right is Demul with the 16:9 code on.
Culling and fov gets calculated differently, quite more effective with the cheat on.
:p
It is also the case for alot of PS1 and DC widescreen patches.
Both are shenmue running in demul, with the widescreen hack, but the right version does also have an extra patch, so now characters won't dissappear outside th 4:3 area and there is extra geometry too, there is still some clipping though, there should be more addresses responsible for the culling appart from the one I've found :)
Some screenshots comparing the "standard" widescreen code, and the extra patch.

[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

The game does still have A LOT of clipping, but characters won't dissapear outside the 4x3 area and it seems there is a little extra geometry, that will help reduce the clipping while playing in 16x9, I took the screenshots with insane horizontal fov, just to make it look clear.


I must say I found this value by accident, while I was lokking to fix the game HUD, so basically

[​IMG]

xDDDDD.
What is the value? :D I would like to try it on original hardware and see how well it works.
Shenmue v1.001 (2000)(Sega)(PAL)(M4)

Less clipping/No characters clipping.
Code:
021EF370---7C1EF400
Just tested on my dreamcast. The character clipping is gone. The enviroment clipping is decreased by 60-70% I would say. Good work! :)
When you say you were looking to fix the HUD, do you mean crushing it horizontally so it's the correct aspect ratio when using the widescreen code?

Based on your 2nd screenshot above, where the watch in the lower right is correct but the compass around it is stretched, I'm guessing that you found the value for that one element. I actually found the same thing in Shenmue 2 when I was looking for the Widescreen code in that, but that happens to be the only HUD element that showed up searching for the particular value that it's set to. (I think 1.0?) I also stumbled upon an address that stopped the music from playing but kept sound effects going. Might be good for people looking to record videos to use in trailers, but I didn't save that address either because I was looking for widescreen at the time. :-(

I don't think I tried it, but you might have luck manually looking at the memory around the area where you found the watch. Perhaps the HUD stuff is all in the same area, but uses different width values for some reason?

Regarding your code to fix clipping, it seems you're setting something to 0.0f. What was the original value? I don't know if it causes any slowdown, but is it possible that you're un-clipping things too much and perhaps there's another value more appropriate for 16x9?
Yes that's exactly what I mean :)

Yeah I've found some of the hud elements and they were pretty close each other in memory.


[​IMG]


Initial value is 0C1EF400 as I've said I changed it by accident, its float value is 1.224530333E-31

It runs normally on real hardware, I haven't notice any aditional slowdown compared to the "standard" game, I think they took a very conservative route while designing the game.
Did you try applying this to the US and Japanese versions? I had a quick test and it seems the game freezes on changing the initial value to the new one.
Us and Japanese versions should use a different address, also the passport needs its own widescreen hack for every version of the game since they stores the values at different addresses.

I tested it myself and I can confirm too that it does work on a real dreamcast.
I had a quick memory scan with the original value in both US and JAP versions, and I think I found two new addresses. However setting the new value into those addresses caused the game to freeze.
Esppiral I would like to know the code for the hud fix :D
Esppiral? :(
There's no need to double post. He's never held back on releasing a code after he finishes it prior to now. He's not even finished yet; the only thing changed in the screenshot is the watch in the lower right corner. There's still more that needs to be done.

(Oh, I see the text and icons were done too, but the dialog is still the same size so I didn't notice that right away.)
Sorry man. I know Esppiral is a loyal member who always makes his codes public. The reason why I am asking for the second time is because I am going to make a shenmue 1&2 marathon on this weekend and I would like to play both games on the best known settings :)
Font

Original thread: https://assemblergames.com/threads/dreamcast-widescreen-hacks.58620/