Mount a .cue as CD drive

General information and assistance with DOSBox.

Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-13 @ 18:35

Hi,

I'm on Ubuntu and using Dosbox 0.74.
I've a ripped a mixed CD (DATA tracks + audio tracks) to .cue & multiple .bin files.

I can mount it with imgmount but it mounts as a isoDrive.

My question is: is it possible to mount a .cue + .bin's as a cd drive (rather an a isoDrive) ?

This more general question is related to the specific issue I've described here: viewtopic.php?f=33&t=62417

CS
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby Qbix » 2018-9-13 @ 18:44

It's one of the important features of dosbox.

So yes.
There are a few possible problems.
1) your cue/bin is wrong. (this happens more than you think)
2) the game does something that we didn't implement in cue/bin/iso mode. In general though cue/bin mode is more compatible than using your real CD, assuming that your cue/bin is correct.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10630
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-13 @ 18:50

Hi,

I'm pretty confident that the .cue is OK because I can mount it using imgmount. I have installed the game from the mounted image.
The issue is really to start the game. I get a message saying that the disc is required to run the game.

I was able to run the game by mouting the real cd. Which makes me thing that the drive where the cd is mounted must be a cdrom drive and not a iso drive...

Note: I ripped my game using Disc Image Creator and have not modified the generated .cue or .bin's. I've not renamed any file.
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby Qbix » 2018-9-13 @ 19:41

Being able to mount it, says nothing about the correctness of the length of audio tracks for example or the amount of audio tracks. (which can be used as cd check)
It only means that DOSBox sees no errors which keep it from mounting (and accessing the data track).

Still it is possible that dosbox is bugged, but the cue/bin mounting is a very often used feature to replace real CDROMs. (and as we don't depend on the OS, it is far easier to implement all features in it, so it is the most feature complete of all types of CDRROMs that we emulate)

Anyway, with regards to your original question. Yes mounting a good cue/bin file will result in a CDROM emulation which works very well.

If it doesn't work for a specific case, then either the cue has wrong information or the bin has some problems or dosbox is bugged.
However, there are several image creation programs which produce wrong images for DOS games.

So maybe post your cue file and maybe somebody else has made a cue bin as well.
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10630
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-13 @ 20:39

Here's my .cue

Code: Select all
FILE "Destruction Derby (Track 01).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Destruction Derby (Track 02).bin" BINARY
  TRACK 02 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 03).bin" BINARY
  TRACK 03 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 04).bin" BINARY
  TRACK 04 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 05).bin" BINARY
  TRACK 05 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 06).bin" BINARY
  TRACK 06 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 07).bin" BINARY
  TRACK 07 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 08).bin" BINARY
  TRACK 08 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 09).bin" BINARY
  TRACK 09 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 10).bin" BINARY
  TRACK 10 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 11).bin" BINARY
  TRACK 11 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 12).bin" BINARY
  TRACK 12 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 13).bin" BINARY
  TRACK 13 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 14).bin" BINARY
  TRACK 14 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 15).bin" BINARY
  TRACK 15 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 16).bin" BINARY
  TRACK 16 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 17).bin" BINARY
  TRACK 17 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 18).bin" BINARY
  TRACK 18 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 19).bin" BINARY
  TRACK 19 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00
FILE "Destruction Derby (Track 20).bin" BINARY
  TRACK 20 AUDIO
    FLAGS PRE
    INDEX 00 00:00:00
    INDEX 01 00:02:00


And if it can help to check my dump, here are the md5, crc32 and sha1 of the bin's:

MD5:
Code: Select all
3713aa28deb14774f19a0a59cea75de6  Destruction Derby (Track 01).bin
ec9492b79c67eb308c641323b037b795  Destruction Derby (Track 02).bin
3de3c8959711a21c229db59d68913a57  Destruction Derby (Track 03).bin
a9c27368a02517796fc990af666da600  Destruction Derby (Track 04).bin
9d9b70e8337413f1adc2d986b1bc652d  Destruction Derby (Track 05).bin
a119a2fa60d416dde03cbe8045587b66  Destruction Derby (Track 06).bin
a1efc380b55867acde79aa5ab6eb4c5a  Destruction Derby (Track 07).bin
cc6c2cdd6b4147b76672199340e4d83b  Destruction Derby (Track 08).bin
bc45822cb2042daaef47b2a73296a1b6  Destruction Derby (Track 09).bin
0562fc36ee3d8265d10c285c9911872f  Destruction Derby (Track 10).bin
e7d1c9eebbe2a0c6f5bf8de76f95bc93  Destruction Derby (Track 11).bin
c0761d841523cab035d6bc1e0d35807b  Destruction Derby (Track 12).bin
b1ea60cc7ffac83dbc94baff8f2047e0  Destruction Derby (Track 13).bin
8337fff77bf857a63c111c41f851df9e  Destruction Derby (Track 14).bin
689cf5a477b7a61bd72ee132d6597e6c  Destruction Derby (Track 15).bin
b454b5fab66de46942a54dab24806ce1  Destruction Derby (Track 16).bin
eed3a276aafa55f7383606702d59cb2c  Destruction Derby (Track 17).bin
8d87398426cdab8954b1509e3a75b9ff  Destruction Derby (Track 18).bin
441fa40909ba43eaa2b5b0924aaf9bd8  Destruction Derby (Track 19).bin
8daa65163f5f6db908b29713efc01fd1  Destruction Derby (Track 20).bin


CRC32:
Code: Select all
17bd1482   Destruction Derby (Track 01).bin
2958ad43   Destruction Derby (Track 02).bin
31ee401b   Destruction Derby (Track 03).bin
d4d69922   Destruction Derby (Track 04).bin
2139636d   Destruction Derby (Track 05).bin
7764c1c8   Destruction Derby (Track 06).bin
bf1f2a84   Destruction Derby (Track 07).bin
f91be49c   Destruction Derby (Track 08).bin
28c7a2c0   Destruction Derby (Track 09).bin
e2f94e94   Destruction Derby (Track 10).bin
0962cbb6   Destruction Derby (Track 11).bin
1f869484   Destruction Derby (Track 12).bin
f8baf519   Destruction Derby (Track 13).bin
b1c16a0f   Destruction Derby (Track 14).bin
228757da   Destruction Derby (Track 15).bin
0d69d8ce   Destruction Derby (Track 16).bin
e3f68c02   Destruction Derby (Track 17).bin
ea9675f8   Destruction Derby (Track 18).bin
3cbad968   Destruction Derby (Track 19).bin
a73f1bdd   Destruction Derby (Track 20).bin


SHA1:
Code: Select all
f5f0ad296e47e7733218b37fcbb3bedca511ab6a  Destruction Derby (Track 01).bin
ac6d82bdc2246c547fb5eba7ad444096ba8a251a  Destruction Derby (Track 02).bin
deea8502fb3485ee70684303799c8d0d17010f68  Destruction Derby (Track 03).bin
6c93fbcbc793263b54300669eb9541fa4a441cf4  Destruction Derby (Track 04).bin
75f6a55e6c45a97c1f488995665bc491e2f34f2d  Destruction Derby (Track 05).bin
37f7c61543ecb683b52d121c5fbddcfcdd11187d  Destruction Derby (Track 06).bin
19e7c3a6112fcbc22a3d921d8189212bf3d9df42  Destruction Derby (Track 07).bin
93ee8755b37e2846144ed92cc133177b99b2e93b  Destruction Derby (Track 08).bin
772b862002ef7af74d5541fdde51ff8ef90b603e  Destruction Derby (Track 09).bin
46f82a5cc381f60df09759e0b3cd257824458b5d  Destruction Derby (Track 10).bin
9c457f84729d6789397ea1bbb77468f8d66b971f  Destruction Derby (Track 11).bin
0b045847b2dc02896035920d8c39f1e22aadf498  Destruction Derby (Track 12).bin
498ee4c004b830d1988dc6dafec6a86c4981f59e  Destruction Derby (Track 13).bin
e6bc1e074b6f1a4a363400955ebe134756b5051f  Destruction Derby (Track 14).bin
70d48f941253c67d9c06b1ae76b9bd77c5275877  Destruction Derby (Track 15).bin
8a333190a034ce4a8a25a5d50f7f6c63a271d55a  Destruction Derby (Track 16).bin
03bd84b1fe5432386c63139f0d1631ad2b04219d  Destruction Derby (Track 17).bin
b6e07470c830229820897b5f7c9cb571364c76e0  Destruction Derby (Track 18).bin
8e02d6b8f94d07b43a971acb675a03d0effd5629  Destruction Derby (Track 19).bin
0a10b2660d209f403f5f033f0ab39e05b1be8582  Destruction Derby (Track 20).bin


Note: I check and the hashes exactly correspond to what I can see here: http://redump2.rssing.com/chan-20787209/all_p123.html (look for "Destruction Derby" "Argentum Collection" on that page).

Note 2: My .cue corresponds to the one available on redump: http://redump2.rssing.com/browser.php?i ... &item=2445
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby ripsaw8080 » 2018-9-13 @ 21:44

The type of bin/cue image that DOSBox supports has only one bin file.

Check if your image making software has an option to place all data tracks and audio tracks into a single bin file instead of separate ones for each track.

As a reference for what such cue files look like: viewtopic.php?f=31&t=41028&p=384261#p384261
User avatar
ripsaw8080
DOSBox Author
 
Posts: 4222
Joined: 2006-4-25 @ 23:24

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-14 @ 04:49

Ah OK I’ll give it a shot this weekend !
I’ve another software which is able to bundle all tracks in one single .bin and generate the appropriate .cue.

I’ve chosen one .cue and several .bin as I’m participating in Video Game Preservation initiatives like redump where the standard is one .cue and one .bin per track.

Anyway thanks for your feedback and suggestion, I’ll keep you posted !

Also, the image is in a sub-folder of the directory I mounted as C which according to the post you link shall be avoided !

Question : is .ccd / .img / .sub also supported ? I so Disc Image Creator (which is really reliable at dumping CD) can output the image in this format. This I can just mount the .ccd (there is only one .img with all tracks included).
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby kode54 » 2018-9-14 @ 05:54

You can also concatenation the bin files and reformat your cue. The timestamps will need to continue incrementing upward, instead of being relative to each FILE entry, of course.
User avatar
kode54
Member
 
Posts: 234
Joined: 2003-6-15 @ 05:32

Re: Mount a .cue as CD drive

Postby ripsaw8080 » 2018-9-14 @ 07:03

ClaudeSpeed wrote:is .ccd / .img / .sub also supported ?

The ccd descriptor file is not supported, and the sub file is not used by DOSBox. However, the img file is equivalent to a bin file, and if the image making software will additionally produce a cue file then you can use the cue/img pair with DOSBox.
User avatar
ripsaw8080
DOSBox Author
 
Posts: 4222
Joined: 2006-4-25 @ 23:24

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-14 @ 09:10

Disc Image Creator produces also a .cue to be used with the .img so I’ll try that.
Do you confirm that the cd image shall not be under the folder mounted as C ?
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby Qbix » 2018-9-14 @ 09:16

a CD should always be mounted at D.

However for the location of the imagefile itself, there are no rules, aside from being able to access it
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10630
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-14 @ 10:03

OK, I did not mean to mount CD as C but in the post you linked it was advised that the image was not in the folder mounted as C.
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby ripsaw8080 » 2018-9-14 @ 11:01

The post I linked to was my own, but it was some other person in the thread that made the point about the location of image files, which was probably more opinion than anything else.
User avatar
ripsaw8080
DOSBox Author
 
Posts: 4222
Joined: 2006-4-25 @ 23:24

Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-14 @ 11:14

Sorry I meant the thread not post... I did not want to tell that you say that. ;-)
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

[Re: Mount a .cue as CD drive

Postby ClaudeSpeed » 2018-9-14 @ 17:44

So I have to thank you for the help I got. The game is now perfectly working with all the music playing. You guys are amazing !
So basically, I redumped my game (because I delete all the other image format and only kept the .bin / .cue).
This time, I kept the CloneCD files:
.ccd
.img (containing all the tracks : data + audio tracks)
.sub
And the .cue file that DICGUI is creating for the img.

And my script worked like a charm:
Code: Select all
imgmount D "C:\source~1\destru~3.cue" -t iso -fs iso
cd DERBY
DD
pause


I'll update the other topic with the same info in case someone needs a similar help !

Thanks again.
PS: the cd images files are in the folder mounted as C and it does not cause any issue.
ClaudeSpeed
Newbie
 
Posts: 13
Joined: 2018-9-13 @ 05:09

Re: Mount a .cue as CD drive

Postby krcroft » 2018-9-16 @ 03:17

Posted some follow up findings here - viewtopic.php?f=33&t=62417
krcroft
Newbie
 
Posts: 58
Joined: 2017-4-29 @ 15:07
Location: Tsawwassen


Return to DOSBox General

Who is online

Users browsing this forum: No registered users and 1 guest