Make cdda releases with cdda starting from track 4 (cdda+game files pushed to end of disc)

Discussion in 'Sega Dreamcast Development and Research' started by Blackwaltz, Feb 2, 2018.

  1. Blackwaltz

    Blackwaltz Member

    Joined:
    Feb 1, 2018
    Messages:
    11
    Likes Received:
    7
    I want to share some information:

    I usually make rip with a data track, where i put the dummy and the sfds (them i relink them with the 2 session)(assuming they stream right) and sometimes other files,then put the warning track as track 2,as track 3 you can repeat the track2 or put a 4 sec audio track, and the real cdda starts from track 4.this way you dummy both cdda and game files.


    After you use cdda.exe or darkfalz cdda patcher search for this string with an hexeditor:
    11DO224F083FF360462F562F662F036510D00B4000E4F666F665F664FC74FD75

    replace this: FC74FD75 to FF740900
     
    darcagn and fafadou like this.
  2. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    your rip are in gdi format ? Because i don't understand why you put a dummy in a gdi ?...
    could you share your tools and you mod for inject cdda.

    Thanks for sharing :)
     
  3. Blackwaltz

    Blackwaltz Member

    Joined:
    Feb 1, 2018
    Messages:
    11
    Likes Received:
    7
    My rips are in cdi.
    The tools i use are the normal ones.
    I use data/audio in 1st session and data on second.
    Its all done with cdrecord older version
    All my cdda games are dummied.
    For example in my star wars demolition:
    the first session have the txt files a dummy and all the sfd(the bitrate is 3600 so work flawless)then i have the cdda startin from track 4(you have to put 2 dummy audio tracks) i use the warning track present in the gdi of the games (the games stay with the same structure of gd rom) i even put IP0000.BIN in first data session.In the second session i put the files that are acessed more times( the result are faster loadings)you have to relink the files that you left in first session.My 2nd session of this game have about 50 mb,nothing downsampled.the movies (biger part of game are in first session relink to 2nd)
    A shame that dreamcast still not recognizes as a gd-rom(damm security ring)
    You can calculate the lbas easy.For example:
    you want to do a rip with lba 45000 in 2nd session:if you use the track02.raw present in gdi normaly (sometimes are biger,burn on cdrw and see) have 526 sectors.you also knows that the space between session is 11402 so do the maths:
    i can tell you to that the space betwen tracks (not session) is 152 sectors, so your data track must be 32920 sectors.


    32920 sectors - data track with dummy(can use dummy hider to stay more professional), and put abstract,bibliog,copyrigh.txt
    152 sectors - space between tracks
    526 sectors - warning audio track
    11402 sectors - space between sessions
    45000 - beggining of second session

    and you stay with firt session like a gd rom .
    this is for the lba 45000 scheme.

    Another information i can give.games that have folders, you should start the 2nd session the far away possible,because for example:
    evolution-the world of sacred device.if you use lba 45000 the loadings are longer,and the reader noise biger,
    and you kwow why? you can sort the files to the end of the disc,but the files are inside a folder,right? and where is that folder near 45000,so the console go firts to folder lda and then to file lba.But if the folder are colser to file ,the faster the access and less the noise,you can achieeve this if you put the sfd in 1st session(the bitrate is 3600 so work fine ,for biger bitrates wave to test)and relink to 2nd.

    this is only examples, you have to understand and aply them.


    cheers.
     
    fafadou and darcagn like this.
  4. darcagn

    darcagn Site Supporter 2013, Site Supporter 2014

    Joined:
    May 12, 2007
    Messages:
    529
    Likes Received:
    246
    Good information, and lots of respect to you for making rips with as close as possible structure to a real GD-ROM.

    I'm currently working on learning Python in my spare time and as my first project I'm making a cross-platform Python script that will incorporate all known DC binhacks, basically as a companion script to FamilyGuy's gditools Python script. I'll definitely experiment with this hack and include it in my script, so rippers can choose where the CDDA track starts.
     
    fafadou likes this.
  5. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    @darcagn : very nice projetct.

    @Blackwaltz : The only way I have for now for building cdi with cdda tracks is to build them using record.exe tool and burn a cd for having the lba of end of cdda and start the data tracks. So I have only 2 cessions, one with cdda and one others for data. And I inject the ip.bin with the binhack as the echelon method said.

    So you have to burn a cd too ? How could you build more than 2 sessions for having better loadings ? How do you build your cdi exactly ?

    Thanks
     
  6. Blackwaltz

    Blackwaltz Member

    Joined:
    Feb 1, 2018
    Messages:
    11
    Likes Received:
    7
    Sorry for my long absence.I have been having problems in life. My mother recently died after fighting against cancer for 2 an half years, and was not easy to me because i was by her side this 2 years and i see everthing in first hand and its not easy.

    now about you question.First of all i dont do more than2 sessions.i do 2 sessions, but with 2 or more tracks in first session.

    all gd have in firts session 2 tracks a data and a audio, and in the second session a data track, or a data track folowwed for audio tracks and another data track that is linked with the data track before the audio in this session.

    For make a disc with a data track+audio track in first session use cdrecord.exe -dev=x,x,x -xa1 dummy.iso -audio track2.wav -speed=xxx

    dummy .iso is a data track with the files in low density area and with other if you want like sfd to make optimizations, track2.wav is the warning track(i dont use wav anymore, i use raw,you have to use -swab after -audio )

    then use cdrecord.exe -dev=x,x,x -msinfo to see the 2 session lba start

    then burn second session with cdrecord.exe -xa1 data.iso -speed=xxx


    I repeat you have to make calculation to make the lba start 45000 or other you want (you can see how many sectors the tracks use when recording in a cdrw,) for that use a cdrw to build the image and the make a image with discjugler.

    i can assure this works. i use this in all my rips.its a technique i was able to optimize over the years,it takes a lot of work at first but when you understan it well is easy as pie.
     
    fafadou likes this.
  7. fafadou

    fafadou Gutsy Member

    Joined:
    Aug 3, 2016
    Messages:
    473
    Likes Received:
    185
    First of all, I'm sorry for all your troubles.

    And I thanks you for your answers. Unfortunately you used the method echelon burning a cdrw. It's nearly the same than mine.
    Maybe it's possible to create a virtual disc like daemon create a virtual disc reader.
    I'm looking for a method without burning cd for create .cdi with cdda, I had heard of lazyboot, I have download it but I can't use it with cdda...
     
    Mrneo240 likes this.
  8. Mrneo240

    Mrneo240 Gutsy Member

    Joined:
    Sep 15, 2017
    Messages:
    462
    Likes Received:
    571
    I've made them with burning a disc prior to having a complete image.

    There's a whole tool dedicated to it... Mds4dc open source too
     
    fafadou likes this.
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page