Saturn iso creation from extracted files.

Discussion in 'Sega Saturn Programming and Development' started by WaSTeD, Jan 20, 2009.

  1. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Hello, i'm trying to mod a couple SS games, but i can't manage to get a workable iso with the modified files.. I'm always stuck with a "Disc Unsuitable for this System" error :banghead:

    Is there a reliable method to create a working saturn iso from files? Or maybe a way to add or extract them directly?

    Thanks in advance :)
     
  2. alphagamer

    alphagamer What is this? *BRRZZ*.. Ouch!

    Joined:
    Jun 25, 2008
    Messages:
    3,255
    Likes Received:
    10
    especially the last part may be interesting for you!
     
  3. st!

    st! Rising Member

    Joined:
    Oct 24, 2006
    Messages:
    73
    Likes Received:
    3
    Do you insert "ip.bin" from original iso you're modding? That might be the reason.
    In case you didn't know, I mean first +/- 8192 bytes, preferably in mode1/2048 format.
     
    Last edited: Jan 20, 2009
  4. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Yeah, actually i had all wrong lol. Thanks both for the tips :icon_bigg

    Now i have the isos working :nod:
     
  5. karsten

    karsten Member of The Cult Of Kefka

    Joined:
    Mar 14, 2004
    Messages:
    4,015
    Likes Received:
    149
    are you translating something or what?
     
  6. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Hmm, interesting. I've been trying to write files successfully to a CD that's readable in a Saturn, albeit not pre-formed ISOs, but this info could be quite useful.

    I asked over at SegaXtreme, but didn't get a reply and that was a week ago. It seems there's not much happening over there in the Saturn dev forum, at least... and when there is, it's mostly people STILL trying to crack the ring :rolleyes:

    Thanks!
     
  7. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Nope, i'm just toying with some games. I will post anything interesting.

    I can write a step by step method if you want :nod:
     
  8. WarHampster

    WarHampster Robust Member

    Joined:
    May 4, 2008
    Messages:
    232
    Likes Received:
    0
    That would be awesome!
     
  9. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Yeah, that would be cool, thanks!
     
  10. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Ok, this is what i did:

    You will need isobuster:
    http://www.isobuster.com/
    And mkisofs, that is part of cdrtools:
    http://smithii.com/files/cdrtools-latest.zip

    1- Extract the contents from cd or iso.
    2- Modify whatever you want.
    3- Extract the ip.bin with isobuster
    · Right-click on the session
    · Select "extract from-to"
    · Select Start LBA = 0 and End LBA = 29 *
    · Save as IP.TAO **
    · Rename IP.TAO to ip.bin

    4- Create a folder "game"
    5- Inside "game" create a directory "cd"
    6- Copy ip.bin to the "cd" folder
    7- Copy mkisofs.exe and cygwin1.dll to the "game" folder
    8- Create a file makeiso.txt
    9- Write this to makeiso.txt:
    mkisofs -quiet -sysid "SEGA SATURN" -volid "GAMENAMEHERE" -volset "GAMNENAMEHERE" -publisher "SEGA ENTERPRISES, LTD." -preparer "SEGA ENTERPRISES, LTD." -appid "GAMENAMEHERE" -abstract "ABS.TXT" -copyright "CPY.TXT" -biblio "BIB.TXT" -generic-boot ip.bin -full-iso9660-filenames -o GAMENAMEHERE.iso cd
    ·Obviously, write the game name in GAMENAMEHERE ;)
    ·I had to write the full path to the files, for ex. c:\game\mkisofs and c:\game\cd\ip.bin , do it if it produces a 0 sized iso.

    10- Copy all game files to the "cd" folder
    11- Rename makeiso.txt to makeiso.bat
    12- Run it, it should create a working ss iso.

    * I don't know if that works for all games, but for now it worked for me.
    ** The original method called to edit the file, but it worked for me unedited.
    From the source: "Take a hex editor, open IP.TAO remove all bytes beyond the IP.BIN. The IP.BIN is located at the start of IP.TAO, you can see where it ends there starts a big block of zero bytes. In my case (european E0), the zero bytes start at hex offset 0x12B0. Once you found the offset, mark all bytes after that offset and delete/remove them. Save the file as IP.BIN."

    As you can see, most of the method is "stolen" from :
    http://www.rockin-b.de/saturn-patching-enemyzero.html

    The autor deserves full credit for it :) mine is "somewhat" simpler and generic.

    Hope it helps and sorry for my not-as-good-as-i-wish english ;-)
     
    Last edited: Jan 22, 2009
  11. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    That's great, thanks!

    I'm not sure whether it will help me, as my files are in Virtual CD format. If you look on the DTS CD, you'll find a VCD folder with a sample in it. For example:

    • IP.BIN
    • TEST.BIN
    • TEST.PVD
    • TEST.RTI
    • TEST.SCR

    There may be other files, too, sometimes. In the Virtual CD environment, you would build these into a .DSK file to be read by the equipment. Would the method from rockin-b work with these files?
     
  12. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Mmh, i don't really know, never tried VCD. But the image building should be similar.
     
  13. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Well I tried it, ignoring the bit about extracting the IP.BIN because of course I'm not copying from a CD so there isn't anything to extract, but also because I have what I assume is a good IP.BIN that came with the files.

    When I create the ISO, it has only the IP.BIN inside, and no files!
     
  14. WaSTeD

    WaSTeD Active Member

    Joined:
    Feb 24, 2008
    Messages:
    45
    Likes Received:
    1
    Check the path of the files, i had similar problems with that. Look at the second point at the step 9.
     
  15. retro

    retro Resigned from mod duty 15 March 2018

    Joined:
    Mar 13, 2004
    Messages:
    10,354
    Likes Received:
    822
    Ah, it was my mistake, put the files in the wrong directory - oops!

    Well, I haven't tried it on a Saturn yet, but tried it in a couple of emulators. The demo file flicked up a screen on one emulator then went back to the CD dashboard, and crashed the other emulator! I'll have to give it a try on a Saturn.
     
  16. Billkwando

    Billkwando Member

    Joined:
    Jul 28, 2013
    Messages:
    6
    Likes Received:
    0
    I just wanted to say thanks for this amazingly helpful post, and I also wanted to point out (for future googlers like myself who run across this post looking for help) that in my case I had an issue with this part of the instructions:

    In my case, I had to put the IP.BIN in the "game" folder, cos that's where the .bat checked for it. It took me a while to figure it out too, so I wanted to save others the potential headache.

    I also found a premade IP.BIN and mkisofs.exe. You can read about my experience with the process, and download those files, here:
    http://www.assemblergames.com/forum...versions-(ADX)&p=691874&viewfull=1#post691874
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page