Patching GDI images

Discussion in 'Sega Dreamcast Development and Research' started by wombat, Jul 9, 2015.

  1. SONIC3D

    SONIC3D Spirited Member

    Joined:
    Oct 30, 2008
    Messages:
    149
    Likes Received:
    33
    For IP.BIN storage problem.I think if the buildgdi can read boot sector from an gdi dump and apply all its patch works on the fly in memory.Then the life would be easier.

    =]
     
  2. iCEQB

    iCEQB Peppy Member

    Joined:
    Feb 22, 2008
    Messages:
    322
    Likes Received:
    36
    Did someone ever figure out why Dino Crisis doesn't play its FMVs when displayed through VGA??
    Are there other games that have such side effects on the DC?
     
  3. japanese_cake

    japanese_cake Spirited Member

    Joined:
    Jul 24, 2009
    Messages:
    125
    Likes Received:
    123
    If you PM me a download link for the GDI version of that game (European one) I can have a look at it. Does the back cover of the game mentioned that it is compatible with VGA? I noticed that some games reinit the graphic stack everytime they play videos...
     
    Last edited: Aug 28, 2015
  4. iCEQB

    iCEQB Peppy Member

    Joined:
    Feb 22, 2008
    Messages:
    322
    Likes Received:
    36
    No it has to be patched in order to output something over VGA. But the FMVs simply don't play (or show up) once they start.
     
  5. japanese_cake

    japanese_cake Spirited Member

    Joined:
    Jul 24, 2009
    Messages:
    125
    Likes Received:
    123
    I'm gonna look that over probably this week. I'll let you know what I find.
     
  6. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Do you know what I have to modified in the ip.bin in order to use the 1st_read.bin patched for vga mode ?
    I replace the 1st_read.bin but I have always the message taht the is not vga capable...
    I tried to change the 0799A00 in 0799A10 in the ip.bin but it doesn't work... Same things if I built a .cdi file...
    Could you help me please.
     
  7. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
  8. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Thanks a lot, I 'm trying to patch skies of arcadia with the great 1st_read.bin patch of japanese_cake.
    I use hex edit for open my ip.bin, as you said the 61st byte is the A, so I have to replace the A by 1 ?
    Here my beginning of ip.bin :
    ipbin.jpg
    Sorry for my ignorance and thanks again for your help.
     
  9. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
    It's the byte after it I think. I must've started counting at zero, typical programming way to count.
     
  10. megavolt85

    megavolt85 Peppy Member

    Joined:
    Jan 8, 2015
    Messages:
    311
    Likes Received:
    454
    i'm find on HDD perfect program :)
     

    Attached Files:

  11. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Thanks for you two :)

    I have already tried to change 0799A00 in 0799A10 but it doesn't work.
    I restart from the beggining to be sure I have left the 1st_read.bin patched and not the original.

    Your program is very good and very easy to use ! Some games like Virtua fighter 3tb are vga capable but its ip.bin is in 0799A00...
    Maybe I have to change some other things. I hope your HDD program will be helpful.

    I'll do another test this evening.
     
  12. Rocky5

    Rocky5 Site Supporter 2015

    Joined:
    Jan 17, 2014
    Messages:
    524
    Likes Received:
    95
    You need to replace the 1st_read.bin with the patched one & rebuild the GDI or the CDI (you will need to scramble the 1st_read.bin if it's a CDI you're using, or if a scrambled one is included use that) then add the 1 to the ip.bin

    Or just download the NTSC version as that has it native.
     
  13. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
    No need to change the scrambling of the 1st_read.bin for commercial games when making a cdi, that's done in the hacked ip.bin bootstrap.
     
  14. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Yes you have right, but I want to spread a pal version with european langage like I did for resident evil code veronica X from the amazing work of "truemaster". And for me I want to played in vga in french with my own dreamcast ;-)
    I delete in my data file the 1st_read.bin original by the 1st_read_patched.bin that I rename 1st_read.bin then I build a .cdi file with cdi4dc with the ip.bin with 0799A10 flag. May I should create in first a .gdi before a .cdi.
    When I boot in vga mode I have the message : the game does not support vga ; and when I boot in rgb, nulldc crashed... Of course my gdi original version work well will nulldc in rgb mode and I see japanese cake present a screencapture of nulldc in his journal.
    In case of use a 1st_read.bin patched I tried to patch the 1st_read.bin original with the ppf file japanese_cake has joined with.
    Thanks again for your help.
     
  15. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
    If you're making a cdi, you still need to run binhack on the 1st_read.bin and ip.bin. Check my signature for binhack32.

    Try using my Selfboot pack to build the CDI. Read the readme carefully, you need to mount the resulting nrg file in daemon tools and to make a cdi out of it with discjuggler to create a proper cdi before testing in an emulator or burning to disc.
     
  16. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    When I've done a selfboot file with selfboot.exe, the result selfboot.nrg is not always see by discjuggler... I don't know why but when I put it on daemon tool, discjuggler don't see the time of the image it's written 951321hours and when I create the .cdi discjuggler create a very very huge image (a lot of Go !) and of course it doesn't work. There is only a few of selfboot.nrg which give me a .cdi correct...
    I rename binhack32.exe to binhack.exe in order to use it with selfboot.exe.
    Thank you for your advice I look at your tools.
     
  17. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Your tools are very good. Thanks for them :)
    Do you konw which kind of files i can put in the data 1 in order to win 65Mo of place in the disc. I had do some test but I never used success for use it.
     
  18. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
    Any files work, as long as they don't need to be read fast (avoid videos and executables). My pack is now 32bits, so no need to change binhack32.

    The standard procedure is to use the selfboot.bat, then mount selfboot.nrg in daemon tools and image the virtual drive with discjuggler.

    If that doesn't work, I'll need the console output of selfboot.bat at the very least in order to help you.
     
  19. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    Ok I try like you give it.
    Here a picture of my discjuggler bug the selfboot.nrg do 1Go
    discjuggler bug.jpg
     
  20. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,032
    Likes Received:
    891
    That's weird, try installing an older daemon tools version?

    Can I see the text in the console when you run selfboot.bat?
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page