Dreamcast Widescreen Hacks

Discussion in 'Sega Dreamcast Development and Research' started by S4pph4rad, Oct 20, 2015.

  1. fafadou

    fafadou Enthusiastic Member

    Joined:
    Aug 3, 2016
    Messages:
    522
    Likes Received:
    218
    I had a good result with this for shadow man :

    render fix for shadow man
    find
    0B 40 14 74 FF 88 70 8D 03 6E E8 2E 39 89 D3 60
    replace
    09 00 14 74 FF 88 70 8D 03 6E E8 2E 39 89 D3 60

    Its playable in all views and cut scenes, there is a very little left clipping especially on the top on the screen when with the render fix of @espirral the 3rd person view was really perfect.

    I try to do some things in the "0x0B 40 -> jsr @r0 ; sub_8C01742C" "area", but nothing change... replace the 0x0B 40 by a no operation gives a very good rending extremely close to a perfect 16/9.

    My set for shadow man wh :

    Code:
    Shadow Man v1.002 (1999)(Acclaim)(PAL)(M4)
    
    (track05)
    
    find
    09003CC7 08F78DF5 3BD23CC7 08F65CF4 28F83BD4 3BD00B40 9DF936C7
    
    replace
    8DF53CC7 08F77CF9 3BD23CC7 08F65CF4 28F83BD4 3BD00B40 63F936C7
    
    
    render fix...
    find
    0B 40 14 74 FF 88 70 8D 03 6E E8 2E 39 89 D3 60
    replace
    09 00 14 74 FF 88 70 8D 03 6E E8 2E 39 89 D3 60
     
    pitito, Esppiral and Anthony817 like this.
  2. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    68
    Likes Received:
    47
    I found 2 values per cheat engine for the Spirit of Speed 1937 Pal Europe.
    The game is 0winceos but these values do not change direction or at least they always appear to me in the same offset
    These are the values:
    2CD03E40
    0000803F ------->0000403F
    2CD03E54
    0000803F ------->0000403F
    There is also this value that does the same function as the previous two
    2CD03E68
    0000803F ------->0000C03F

    I think that either option can be worth

    Megavolt, could you take out the hex patch for these values if possible?
    I tried to find them but I had no luck.
     
    Anthony817 and fafadou like this.
  3. Aleron Ives

    Aleron Ives Rapidly Rising Member

    Joined:
    Jan 29, 2012
    Messages:
    82
    Likes Received:
    50
    You can't find them because they're not in the game binary. You need to find the assembly in the game binary that generates those values.
     
    fafadou likes this.
  4. megavolt85

    megavolt85 Peppy Member

    Joined:
    Jan 8, 2015
    Messages:
    329
    Likes Received:
    482
    your value don't work for me

    Снимок экрана_2019-09-01_12-12-31.png
     
    Anthony817, pitito and fafadou like this.
  5. fafadou

    fafadou Enthusiastic Member

    Joined:
    Aug 3, 2016
    Messages:
    522
    Likes Received:
    218
    I try to do something like that with railroad tycoon II pal, because the pal version doesn't have vga.
    so I'll try to replace it by the binarie files from us version with vga.
    And then I notice the 0winceos.bin are the exactly the same.
    The differences are in the .exe (RT2DC.EXE for railroad tycoon II), I success to patch the VWF in the .exe but the game crash at the end of a mission.
    Anyway it's an other topic, just for me, I advise to look in the .exe file for widescreen hacks instead of the 0WINCEOS.BIN for windows OS games. But there are really different than the 1ST_READ.BIN, in sega OS games...
     
    pitito likes this.
  6. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    68
    Likes Received:
    47
    Sorry, I did the tests from a cdi, and as a binary 0WINCEOS this hacked is smaller the ram position is minor

    Here you have the offsset from the GDI

    2CD04E40
    0000803F ------->0000403F
    2CD04E54
    0000803F ------->0000403F
    There is also this value that does the same function as the previous two
    2CD04E68
    0000803F ------->0000C03F


    Yes, it was where I searched the game's .exe.
     
    Last edited: Sep 1, 2019
    fafadou likes this.
  7. megavolt85

    megavolt85 Peppy Member

    Joined:
    Jan 8, 2015
    Messages:
    329
    Likes Received:
    482
    Spirit of Speed 1937 v1.002 (2000)(Acclaim)(PAL)(M4)
    (track08)
    Code:
    find
    09008002 A000E001 0000803F C0C0C0FF 00000040 00002041 0000403F 000080BF 0000803E 58AC0900
    
    replace
    06D08002 A000E001 0000803F C0C0C0FF 00000040 00002041 0000403F 000080BF 0000803E 58AC0900
    Code:
    find
    54AC0900 1E4FB5D0 00E216C2
    
    replace
    54AC0900 1E4F16C2 00E2B4D0
    WARNING. Need find render fix

    s1937_4_3.png
    s1937_16_9.png
     
    Last edited: Sep 1, 2019
    Esppiral, fafadou and pitito like this.
  8. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    68
    Likes Received:
    47
    Thanks, I will try to find the render fix, although finding this is not easy for me, since I don't know what values to look for.
    Hopefully if Espiral sees the widescreen fix he can find the render fix
     
    fafadou likes this.
  9. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    543
    Likes Received:
    1,129
    Iirc 640 - 639 float
     
    pitito and fafadou like this.
  10. fafadou

    fafadou Enthusiastic Member

    Joined:
    Aug 3, 2016
    Messages:
    522
    Likes Received:
    218
    I'm terribly sorry @Esppiral , I didn't find lirc fonction in the SH4 datasheet have you it in hex code please ?
     
  11. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,097
    Likes Received:
    1,045
    IIRC = If I recall correctly

    He means: Look for a float value of 640 or 639 (possibly in between?).
     
    Anthony817 and fafadou like this.
  12. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    68
    Likes Received:
    47
    I found this offsset that affects screen rendering.
    So I think the solution may be here
    2CD05EE4
     
  13. fafadou

    fafadou Enthusiastic Member

    Joined:
    Aug 3, 2016
    Messages:
    522
    Likes Received:
    218
    @-=FamilyGuy=- LOL thank you, I'm going to bed more clever this night ^^
     
    Esppiral and -=FamilyGuy=- like this.

Share This Page