How to add dummy files to existing selfboot DCt images

Discussion in 'Sega Dreamcast Development and Research' started by krisk77, Jul 19, 2014.

  1. krisk77

    krisk77 Peppy Member

    Joined:
    Jul 20, 2012
    Messages:
    351
    Likes Received:
    49
    Hi,

    Is it possible to add a Dummy file to an existing DC iso, without breaking the iso? I have a few selfboot iso's here, which are:

    1) 480 MB (503,412,037 bytes)

    2) 481 MB (504,848,440 bytes)

    3) 280 MB (294,384,602 bytes)

    4) 689 MB (723,067,550 bytes)

    I want to maximize the full 80min CD for the above images without overburn and I tried using apps like ultraISO to add a dummy file and then re saving it, yet it breaks the structure and ends up being a coaster. I want to do this since the DC reads the disc from the outer part and then inwards.



    • [*=center]

      [*=center]

     
  2. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    891
    Sorry but while it wouldn't be impossible, it'd be much easier to simply extract the data and rebuild the image.
     
  3. krisk77

    krisk77 Peppy Member

    Joined:
    Jul 20, 2012
    Messages:
    351
    Likes Received:
    49

    I just used your Selfboot Pack 1.4 earlier and created a 709mb NRG image after extracting the iso. However, the image fails to load in NullDC so one would assume that if it was burnt it would fail in a real DC console.

    The files I have that I originally extracted from one of the source iso's total's to only 18.5mb (3rd one in my 1st post 280mb) which I then created a dummy file myself. The selfboot.bat states that 65mb must be copied to the Data1 folder. Is this a mandatory requirement? as I just copied the IP.bin to the root and all the files including dummy.bin to the "Data" folder and then ran the batch file, as I did not have enough files to total to 65mb if I took away the dummy file which is is over 600mb.

    Edit: realized it was too big, so redone the dummy again and created a new iso using the SB pack. Mounted the Image via Daemon tools and made a new CDI image through Discjuggler, which is now 699Mb instead of the 280MB that the source CDI is. NullDC now reconizes it and the boot animation appears but then the emu crashes. All other images I have work, so I must have messed up somewhere, which makes me think its the Data1 folder now been used.
     
    Last edited: Jul 19, 2014
  4. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    891
    My selfboot pack is meant to be used with fresh files from GDI, not other rips. If those rips were altered for another second session address than 45000 and if the bootbin has something more than binhack applied my pack won't work.

    Check the LBA of the 2de session of your games. If it's 45000 my pack should do it, if it's 11702 or 11700 I think cdi4dc might be of help to you. Else you better either get a gdi and use my pack or find another release (a good one preferably). It'd eb weird that you only extract a few MBs from a 280MB image unless the rest of the data is audio.


    tl;dr: data1 folder isn't mandatory and it's clearly not your problem.

    Long version: The data1 folder is just used to save space, it's not required. A data/data 45000LBA backup gotta have its 2de session starting at LBA45000, this has the advantage of requiring no LBA-related hacks, but you loose 33750 sectors for the padding up to 45000LBA. Now the trick to redeem this lost space is to acutally put data on the 1st session and put a reference for it in the TOC of the 2de session. A bit like the 2de tome of a book that'd have the TOC for the 1st and the 2de one. Doing this allows to only loose 45000-33750=11250 sectors for the selfboot, while a standard audio/data backup "wastes" 11702 because of restrictions of cd-rom format. 11702-11250=450 sectors are thus saved, which is 900kB (it's a bit less than than because of 1st session toc, but it's close). This redeemed space can be useful for games that are hard to fit. Using always the same (and original) LBA is what makes the procedure somewhat more predictable and allowed me to build a fairly well-working pack. For games with audio though, nothing beats a good old (well made) manual selfboot.
     
    Last edited: Jul 19, 2014
  5. krisk77

    krisk77 Peppy Member

    Joined:
    Jul 20, 2012
    Messages:
    351
    Likes Received:
    49
    Thanks for the informative information, which I'll investigate this further by checking the LBA address first.
     
  6. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    FamilyGuy selfboot pack very good,I like and Have been using....


     
  7. krisk77

    krisk77 Peppy Member

    Joined:
    Jul 20, 2012
    Messages:
    351
    Likes Received:
    49
    Right, I have managed to get my own dummied iso to boot on NullDC after re-building the image with CDI4DC using Audio/Data method and the LBA for the 2nd Session is 11702. However, the in-game audio is corrupted/distorted, yet the original source is fine when tested with NullDC but I did notice the LBA address for the 2nd session on the source image is 127693, which I have never seen before??
     
    Last edited: Jul 20, 2014
  8. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    what game?

    is cdda game?
     
  9. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,034
    Likes Received:
    891
    For games without cdda tracks, you might be able to rebuild it using my pack. Put a file called LBA.BIN in the root folder of the pack, and in it write "45000".
     
    Last edited: Jul 20, 2014
  10. RaZiel

    RaZiel Enthusiastic Member

    Joined:
    Oct 30, 2008
    Messages:
    541
    Likes Received:
    85
    Hit me up via PM here and I'll get your game your requesting me to do Samba De Amigo 2000
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page