Dreamcast Widescreen Hacks

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

  1. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    449
    Likes Received:
    170
    F355 challenge is already available with widescreen hacks made by espiral.
     
    bulletbob likes this.
  2. lerabot

    lerabot Active Member

    Joined:
    Jan 21, 2014
    Messages:
    25
    Likes Received:
    8
    Might sound dumb, but I'm currently working on homebrew project and was wondering if I can widescreen hack my own project ;)
    I sometime test it on reicast with the widescreen hack and it looks WAY better.
     
    fafadou likes this.
  3. maxtherabbit

    maxtherabbit Member

    Joined:
    Mar 19, 2018
    Messages:
    23
    Likes Received:
    10
    the codebreaker codes he posted are only for JP and EU versions
     
  4. maxtherabbit

    maxtherabbit Member

    Joined:
    Mar 19, 2018
    Messages:
    23
    Likes Received:
    10
    well I sucked it up and downloaded some PAL games... F355 is working and wonderful

    the codes for chu chu rocket and tech romancer don't seem to do anything though, the games boot and run just fine but I can't see any change in geometry?
     
  5. Esppiral

    Esppiral Gutsy Member

    Joined:
    Oct 3, 2012
    Messages:
    467
    Likes Received:
    974
    If you don't mind sharing with me the protect I can look into it. It is 3D?
     
  6. S4pph4rad

    S4pph4rad Site Supporter 2015

    Joined:
    Nov 28, 2014
    Messages:
    140
    Likes Received:
    114
    I don't understand, @lerabot why would you need to widescreen hack your own game?

    The hacks just change the viewport parameters so that horizontal field of view is 0.75 times what it would normally be if the resolution was the default (4x3). You can achieve the same effect yourself by changing your projection matrix.
     
    TerdFerguson likes this.
  7. lerabot

    lerabot Active Member

    Joined:
    Jan 21, 2014
    Messages:
    25
    Likes Received:
    8
    Yeah I figured that out ;)
     
  8. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    56
    Likes Received:
    30
    I need hex code widescreen and 60 FPS for 24 hours of le Mans, Pal version
     
  9. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    56
    Likes Received:
    30
    Le Mans 24 Hours Pal HDR-0149 V1.000

    Original

    [​IMG]

    Code Fov
    2C05A59C
    BF400000
    [​IMG]

    Smalltest time hud code
    2C211818
    3F400000
    It is deactivated in the loading screens

    [​IMG]

    Code 16/9
    2C29B7BC
    3F400000
    [​IMG]

    All activated
    [​IMG]

    Megavolt, you could get them in hex code?
     
    bulletbob, fafadou and Anthony817 like this.
  10. megavolt85

    megavolt85 Robust Member

    Joined:
    Jan 8, 2015
    Messages:
    291
    Likes Received:
    422
    hm, i'm look, Code 16/9 is really bad code, he damage geometry

    original
    Снимок экрана от 2018-06-16 01-04-07.png

    Code Fov + Smalltest time hud code
    Снимок экрана от 2018-06-16 01-03-13.png

    Code Fov + Smalltest time hud code + 16:9
    Снимок экрана от 2018-06-16 01-05-22.png

    Le Mans 24 Hours v1.000 (2000)(Infogrames)(PAL)(M5)
    (track05)

    Code Fov
    Code:
    find
    C8010000 88000000 78010000 000080BF
    replace
    C8010000 88000000 78010000 000040BF

    Smalltest time hud code

    Code:
    find
    6d6f7279 0a000000 00000000 0000803f
    replace
    6d6f7279 0a000000 00000000 0000403f
    
    find
    188931a0 09001ed0 9df00af0
    replace
    188931a0 09000900 09000900
     
    Last edited: Jun 15, 2018
    Anthony817, fafadou and pitito like this.
  11. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    56
    Likes Received:
    30
    Thank you very much for the hex codes, but I found a small problem with the FOV code. I found some clipping in some parts of the circuits, passes both emu and real hardware


    [​IMG]

    [​IMG]

    You may need a render fix code
     
    Last edited: Jun 15, 2018
  12. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    449
    Likes Received:
    170
    Thanks megavolt :)
     
  13. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    Can anyone give a rundown on creating the file patches for widescreen? Is there a streamlined way to convert codebreaker codes to a patch? Or is it more like finding the instruction that sets the FOV value and patching in a wider value? I would love to create some sort of script that can automatically patch disk images.
     
    fafadou likes this.
  14. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    449
    Likes Received:
    170
    Espiral has done a mod for patching a game with widescreen :
    https://assemblergames.com/threads/dreamcast-widescreen-hacks.58620/page-27#post-900119

    I'm trying to understand it. For me you have to patch the iso and and if I understand well, you can extract after that the 1ST_READ.BIN patched.

    I don't know if you have it but Espiral has done a patch for F355 challenge view n° 3 :


    CAM3 (Really cool in motion)
    [​IMG]

    Have you the hex code please ?
     
  15. megavolt85

    megavolt85 Robust Member

    Joined:
    Jan 8, 2015
    Messages:
    291
    Likes Received:
    422
    will not quit, there is no universal method
     
    fafadou likes this.
  16. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    I'm trying to understand your Fur Fighters patch. I see this:

    [​IMG]

    So i see how you get 1.35 into fr4... but I would love some insight into how you find that this is the appropriate rendering code. Do you work backwards from Esppiral's CB codes and use a debugger in an emulator?
     
    fafadou likes this.
  17. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    449
    Likes Received:
    170
  18. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    56
    Likes Received:
    30
    Auto quote me

    I can not find any code to render fix, (I'm a bit of a rookie in this)
    Megavolt or Esppiral, could you help me?
     
  19. megavolt85

    megavolt85 Robust Member

    Joined:
    Jan 8, 2015
    Messages:
    291
    Likes Received:
    422
    sorry, i'm not finds codes, only create hex patch from finded codes

    debugger in an emulator and IDA for disasm main binary
    few games can be patched directly, for most games need opttimise func for get free memory
     
  20. pitito

    pitito Rising Member

    Joined:
    Mar 8, 2015
    Messages:
    56
    Likes Received:
    30
    Ok megavolt, no problem.

    Let's see if Esppiral or any other can help us
     

Share This Page