Dreamcast Widescreen Hacks

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

  1. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    I have changed part of the hack, so the code that was stoping the values from being constantly updated now reads from a point in memory wich is set to zero, so far I've been playing for more than an hour without any single reset, but I'd like to test it in depth since those values were changed by the game during runtime an now they are set to static ones, so I want to test it further and fine tune the values.

    Just as an example, the value that tells the game where to clip, is usually set to 0.45, but that same value is set to 1,7 during some cutscenes, in my hack I set it permanently to 1, that means, during nomal gameplay there is zero clipping, but during some cutscenes some (minor) clipping will appear, that could be solved by setting the value at 1,7 or even higer but doing so will it stress the console unnecesarly during normal gampley and slowdowns will be super frequent.

    Draw distance is the same, during the intro is set to 400. on workers Pier is set to 155 and inside shops it can go as low as 30, by default I set it to 400 so everything will display correctly during cutscenes.


    ....Or maybe its just me not remembering how bad Shenmue II ran on a Dreamcast xD
     
    Anthony817 and truemaster1 like this.
  2. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    @TerdFerguson


    SONIC ADVENTURE , U MK-51000 V1.005
    Code:
    Find
    1CF6888C 10F6888C 18F6888C
    Replace
    590D008C 10F6888C 18F6888C
    
    Find
    1CF6888C 1803898C 59F059F1
    Replace
    590D008C 1803898C 59F059F1
    
    Find
    1CF6888C A835678C E62F436E
    Replace
    1CF6888C A835678C E62F436E
    
    Find
    F0F5888C F4F5888C E4F5888C
    Replace
    F0F5888C F4F5888C 943A018C
     
  3. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    755
    Likes Received:
    468
  4. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    Screen tearing on a Dreamcast? Thats soomething Ive never seen.
     
    Last edited: Feb 12, 2017
  5. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    755
    Likes Received:
    468
    @Esppiral Is that a typo? Both values are the same

    Edit: Demul goes crazy when loading the binary, assuming typo
    Edit2: I forgot to binhack. But it won't boot on hardware, assuming I need the 3rd code so trying without codes
     
    Last edited: Feb 12, 2017
  6. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    Mmmm... I am at work atm, Ill take a look at it once I am at home.
     
    TerdFerguson likes this.
  7. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    755
    Likes Received:
    468
    I got everything working. But with widescreen codes it halts at black screen after the binary loads
     
  8. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    I don't know what went wrong but that wasn't the code for Sonic lol.

    This one is.

    Code:
    Find
    1CF6888C 10F6888C 18F6888C
    Replace
    80EF0A8C 10F6888C 18F6888C
    
    Find
    1CF6888C 1803898C 59F059F1
    Replace
    80EF0A8C 1803898C 59F059F1
    
    Find
    1CF6888C A835678C E62F436E
    Replace
    80EF0A8C A835678C E62F436E
    
    Find
    F0F5888C F4F5888C E4F5888C
    Replace
    F0F5888C F4F5888C 943A018C
    
     
  9. TerdFerguson

    TerdFerguson ls ~/

    Joined:
    Apr 27, 2015
    Messages:
    755
    Likes Received:
    468
    That works, thanks a lot

    Planetweb 2.6 doesn't support the logins for SA1 Online, so I might try Planetweb 3.0 and if that's the same I'll just use the original browser and release it somewhere. But thanks again
     
  10. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    PROJECT JUSTICE, U T1219N V1.0012 (USA)

    Code:
    Find
    477F4040 ABAAAA3F C0B68CE4 3FCA3B38
    Replace
    477F4040 398EE33F C0B68CE4 3FCA3B38

    [​IMG]
     
    Meringues, LordFenixNC and megavolt85 like this.
  11. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    METROPOLIS STREET RACER MK-5102250V1.001

    Code:
    Find
    00099432 04DD0000 0000F043 FCDC0000 6666663F
    Replace
    00099432 04DD0000 0000F043 FCDC0000 9A99993F
    
    Find
    0000C03F 9A99993F
    Replace
    0000703F 9A99993F
    

    [​IMG]
     
  12. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    Ok so I LOVE this game and it didn't have a widescreen hack yet.


    EVILTWIN T46605D 80 V1.001 (PAL)

    Code:
    Value 1
    Find
    ABAAAA3F 01D00B00 09000000 B03D1B8C
    Replace
    398EE33F 01D00B00 09000000 B03D1B8C
    
    Value 2
    Find
    0B00F9FF 00000040 08B7198C
    Replace
    0B00F9FF 5555D53F 08B7198C
    
    Render Fix
    Find
    D0000000 00000040 14A6198C 78AE198C
    Replace
    D0000000 5555D53F 14A6198C 78AE198C

    [​IMG]


    [​IMG]
     
  13. Gromber

    Gromber Spirited Member

    Joined:
    Apr 4, 2012
    Messages:
    115
    Likes Received:
    30
    not worked with cheats?
     
  14. Shenmue_Trilogy

    Shenmue_Trilogy Rapidly Rising Member

    Joined:
    Oct 29, 2015
    Messages:
    98
    Likes Received:
    40
    Esppiral no more codebreaker codes? :( ..or does these codes works also with codebreaker?
     
  15. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    I'd like to focus on hex patches atm, anyway almost every single game we all want or has been requested has a codebraker code.

    Patching directly the iso/1st_read.bin allows more stable hacks.
     
    Last edited: Feb 18, 2017
  16. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    The value needed for widescreen was stored in different places in memory depending on stage, camera, or any other circunstance 1 single cutscene could use as much as 5 memory addreses for the same thing.

    And every time you reboot your game, the value was stored in completley different addreses in memory.

    I was working on an action replay code, so far I got more than 13 different locations on memory that were used to store that value....

    Hacking the main binay, well... you just need one.
     
    truemaster1, Gromber and Mistawani like this.
  17. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    TOMB RAIDER THE LAST REVELACION NTSC US.

    WCETOMB4.EXE

    Code:
    Value 1
    Find
    ABAAAA3F 0AD7A33B
    Replace
    398EE33F 0AD7A33B
    
    Value 2
    Find
    DB0FC940 60FE0F00
    Replace
    8FC2ED40 60FE0F00
    
    LOGOS
    Find
    00002044 00008043
    Replace
    00805544 00008043
    Unlike the action replay code, the game does not clip anymore.


    [​IMG]

    [​IMG]
     
    Anthony817, megavolt85 and Woofmute like this.
  18. Aleron Ives

    Aleron Ives Rapidly Rising Member

    Joined:
    Jan 29, 2012
    Messages:
    83
    Likes Received:
    50
    So... why don't you just make a code to patch the main binary? The main binary is always in memory, so you can easily change the file patches into memory patches.
     
  19. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    Maybe I did something wrong when I tried but it didn't work.

    Btw, does anyone know what is the main binary for PS online v2?

    I have a widescreen hack for the game similar to the ones I've posted for sonic or jet set radio but I cant find the values in the game files.

    It is encripted or something?
     
  20. Esppiral

    Esppiral Enthusiastic Member

    Joined:
    Oct 3, 2012
    Messages:
    550
    Likes Received:
    1,133
    LAILLAS HEADHUNTER MK-5104150 V1.006

    Code:
    Find
    C0FC238C 0000003F C4FC238C
    Replace
    C0FC238C 0000003F 37920D8C
    [​IMG]

    [​IMG]

    [​IMG]
     

Share This Page