iromlab
iromlab copied to clipboard
Handling of CD-ROMs with multiple data sessions
Currently Iromlab only extracts the data from the first session of a disc (unless it is an enhanced CD). Consider extracting data from all sessions.
We could repeatedly call IsoBuster for each session, using the /s: option. Then for each iteration write the ISO image using a naming suffix that allows us to figure out the original session arrangement/order (e.g. disc-02.iso, disc-03.iso, etc).
A complication here is that if a cd contains muliple data-only sessions, cd-info does not report it as a multisession disc, so there's no info that would inform Iromlab about the number of sessions to iterate over!
We can get around this with /s:all in IsoBuster, and using the session index path variable <%SI> (note added quotation marks around the ei argument):
"C:\Program Files (x86)\Smart Projects\IsoBuster\IsoBuster.exe" /d:D "/ei:test-<%SI>.iso" /et:u /ep:oea /ep:npc /c /m /nosplash /s:all /l:ib-h.log
Some things that need to be taken into account:
-
What is the behaviour of the above command with enhanced audio CDs? Will this extract the audio session as well?
-
Renaming of ISO images as per the volumeIdentifier will get slightly more complicated.
-
How do we inform isolyzer that it now needs to iterate over multiple files (and which ones)?
-
How do we pass the correct sector offset of each sector to isolyzer? LSN of each track from iso-info listing?
Update - the multisession case is further complicated by the fact that the file system within a session may link to previous sessions, see:
http://www.gburner.com/online-help/what-is-multisession-disc.htm
and a bit of history:
(Via Tyler Thorsted on Twitter)