We'd have to test to be sure in any case.
Dreamcast Widescreen Hacks
Sega Dreamcast Development and ResearchWe'd have to test to be sure in any case.
In terms on how the pointers are written inside the EXE, that's correct. WS also shares the S1 format.
It would be nice if it could be patched with the SDcard Maker that GDemu uses,, like region and VGA.
Could anyone link me to the DOA2 LE and What's Shenmue? enable codes so I can test out widescreen on those two? Thanks!
I'll look into automated patching over the weekend, but first I'll need to find widescreen codes for games that work differently.
On a side note, I reregistered over at Shenmue Dojo and went ahead and cleared up someone's question in the thread there. Looks like my account was on an old forum, so I didn't need to worry about it.
Original.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/CYyb83K.jpg)
Widescreen.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/9QDeN6B.jpg)
Best thing is,the geometry popping present on emulators is gone on a real Dreamcast!!!

Wow that looks really great.
These widescreen hacks definitely add new life to the Dreamcast library, especially seeing Shenmue running in 16:9 is unreal and makes it a more immersive experience.
Esppiral thanks so much! I guess I'll go ahead and try What's Shenmue and Virtua Fighter 3tB without enable codes then 
Edit: tested What's Shenmue?, Dead or Alive 2 LE and Virtua Fighter 3TB (JP) without enable codes and they worked just fine. This is excellent.

Edit: tested What's Shenmue?, Dead or Alive 2 LE and Virtua Fighter 3TB (JP) without enable codes and they worked just fine. This is excellent.
Should we make a request thread? I can fullfill one myself alone lol xD
Hell yeah. I will start by requesting Half-Life and Vigilante 8.
I was going to update the first post with a complete list of codes posted throughout this thread so far, but given the amount of discussion I wonder if it would be better to put them somewhere else. Any suggestions?
Just take note that I had made a mistake when I first guessed the address, I corrected my prediction afterward, on page 3 I think.
It'd be nice if it's a simple bootbin fix.
It'd be nice if it's a simple bootbin fix.
so can I do an example....
Shenmue (US version)
02230250 43800000
in ist_read.bin 0x1c36d0:
mov.l @(h'1E4,pc), r5 ; [0C1D38B8] = dword_C2A1ED4
mova @(h'1E0,pc), r0 ; [0C1D38B4] = h'3F000000
fmov.s @r0, fr5
mov #4, r0
fmov.s @r5, fr3
fmul fr5, fr3
fmov.s fr3, @r4
write fr3 = 0x43a00000
r4 = 0x0c230250
Shenmue (US version)
02230250 43800000
in ist_read.bin 0x1c36d0:
mov.l @(h'1E4,pc), r5 ; [0C1D38B8] = dword_C2A1ED4
mova @(h'1E0,pc), r0 ; [0C1D38B4] = h'3F000000
fmov.s @r0, fr5
mov #4, r0
fmov.s @r5, fr3
fmul fr5, fr3
fmov.s fr3, @r4
write fr3 = 0x43a00000
r4 = 0x0c230250
I tried patching the game directly (shenmue) didn't work.
I replaced all instances of 0000A043 with 00008043 there were a total of 21 in the 1st_read.bin & 75 in Track6.bin.
(Took bloody ages to, change & test)
I also tried just replaced each value in Track6.bin, instead of extracting & rebuilding.
(Where the 1st_read.bin is located)
I then reverted to the cheat code & that worked first time :/
I replaced all instances of 0000A043 with 00008043 there were a total of 21 in the 1st_read.bin & 75 in Track6.bin.
(Took bloody ages to, change & test)
I also tried just replaced each value in Track6.bin, instead of extracting & rebuilding.
(Where the 1st_read.bin is located)
I then reverted to the cheat code & that worked first time :/
We need a tutorial for dummies so everyone can contribute to increase the list of games with widescreen patches.
Maybe this development will be the motivator needed for the creators of GDEMU and USB GDRom to look into adding Codebreaker / Action Replay functionality to each features. It would be great if we could just add these code in a .txt file along side the .gdi and get these hacks going 

@yzb37859365, care to explain more in details the logic? What is the routine you disassembled?
@Rocky5, you patched at yzb's address? When you modified the raw image directly, did you rebuild the edc/ecc footer of the sector?
Maybe the CB enabler code must also be patched into the bootbin?
@Rocky5, you patched at yzb's address? When you modified the raw image directly, did you rebuild the edc/ecc footer of the sector?
Maybe the CB enabler code must also be patched into the bootbin?
@Rocky5
Can you upload the 1st_read.bin file
@-=FamilyGuy=-
I don't know
I just know that the values are written here.
Can you upload the 1st_read.bin file
@-=FamilyGuy=-
I don't know
I just know that the values are written here.
About clipping, the following information may help (source: PowerVR Registers).
There is a lot more information in the text file (including e.g. about the horizontal/vertical border).
Code:
a05f8068: (fb_clip_x)
+-------------------------------+
| 31-27 | 26-16 | 15-11 | 10-0 |
| n/a | max | n/a | min |
+-------------------------------+
Specifies the horizontal pixel clipping area - 1.
a05f806c: (fb_clip_y)
+-------------------------------+
| 31-27 | 26-16 | 15-11 | 10-0 |
| n/a | max | n/a | min |
+-------------------------------+
Specifies the vertical pixel clipping area - 1.
a05f8078: (object_clip)
+--------------+
| 31-0 (FLOAT) |
| distance |
+--------------+
distance:
Position of polygon culling.
Original thread: https://assemblergames.com/threads/dreamcast-widescreen-hacks.58620/