VOGONS


cannot mount cue/iso/ogg

Topic actions

First post, by sdenab

User metadata
Rank Newbie
Rank
Newbie

Hi, everyone
I am trying to play a game with compressed audio image. Because I am a beginner to the dosbox, I will explain what i did in detail. I think this would be easier for you guys to figure out the problem.

I firstly created an iso (ED4.iso) with the data and audio (in ogg format) from the orinigal image (bin format). Then following the instruction in dosbox wiki I made a cue file (ED4.cue). Below is part of its content:

FILE "ED4.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
FILE "Track02.ogg" MP3
TRACK 02 AUDIO
INDEX 01 00:00:00
FILE "Track03.ogg" MP3
TRACK 03 AUDIO
INDEX 01 00:00:00
FILE "Track04.ogg" MP3
TRACK 04 AUDIO
INDEX 01 00:00:00
FILE "Track05.ogg" MP3
TRACK 05 AUDIO
INDEX 01 00:00:00

After I mounted the folder ed4 as c drive, I tried to imgmount the cue file with the command

imgmount d "./ED4.cue" -t iso

and all I got is an error message

Could not load image file: ./ed4/ed4.cue
MSCDEX: Failure: Path not valid. "

Interestingly, with the same commend I can imgmount the iso file.

imgmount d "./ED4.iso" -t iso

Since both files are in the same foler, I'm 100% sure the path of cue is valid.

I've checked space and upper/lower case of the track names which may be the causes of the problem, and I've tried imgmount with the newest version of dosbox. It's still not working.

I did find out somthing useful. The cue file is not accepted by daemon tools, as it gives me the error message when I tried to mount it to a virtual drive:

 unable to mount image. file not accessible 

The last thing I want to mention is I can mount the cue file if I delete all the track info. Below is what's left in the cue file after deletion.

FILE "ED4.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00

Thanks for spending time reading my post. Any ideas/suggestions?

Reply 1 of 4, by kolano

User metadata
Rank Oldbie
Rank
Oldbie

"DOSBox doesn't support OGG/MP3 CD rips. You need to use a bin/cue image with full audio data intact."

Updated:Apparently it does, pardon my ignorance.

Last edited by kolano on 2012-12-22, 07:27. Edited 1 time in total.

Reply 2 of 4, by sdenab

User metadata
Rank Newbie
Rank
Newbie

but i think dosbox wiki claims cue/iso is possible
here is the link: http://www.dosbox.com/wiki/Cuesheet

Compressed audio tracks […]
Show full quote

Compressed audio tracks

Another advantage of cuesheets is the possibility to compress audio tracks. The image of a CD's contents can split into an ISO image of the data track and one or more compressed files in OGG or MP3 format for the audio tracks. This method can drastically reduce the image's size without a substantial loss of audio quality.

First you have to rip and encode the audio tracks. The the cuesheet will have to be edited. Mind the changes for the first TRACK and the INDEX tags.

FILE "image.iso" BINARY
TRACK 01 MODE1/2048
INDEX 01 00:00:00
FILE "track02.ogg" MP3
TRACK 02 AUDIO
PREGAP 00:02:00
INDEX 01 00:00:00
FILE "track03.ogg" MP3
TRACK 03 AUDIO
INDEX 01 00:00:00
FILE "track04.ogg" MP3
TRACK 04 AUDIO
INDEX 01 00:00:00
FILE "track05.ogg" MP3
TRACK 05 AUDIO
INDEX 01 00:00:00
FILE "track06.ogg" MP3
TRACK 06 AUDIO
INDEX 01 00:00:00
FILE "track07.ogg" MP3
TRACK 07 AUDIO
INDEX 01 00:00:00
FILE "track08.ogg" MP3
TRACK 08 AUDIO
INDEX 01 00:00:00
FILE "track09.ogg" MP3
TRACK 09 AUDIO
INDEX 01 00:00:00
FILE "track10.ogg" MP3
TRACK 10 AUDIO
INDEX 01 00:00:00
FILE "track11.ogg" MP3
TRACK 11 AUDIO
INDEX 01 00:00:00
FILE "track12.ogg" MP3
TRACK 12 AUDIO
INDEX 01 00:00:00
FILE "track13.ogg" MP3
TRACK 13 AUDIO
INDEX 01 00:00:00

Warning: The length for the compressed audio tracks will never exactly match the original play length. It will deviate some frames (1 frame = 1/75 sec) from the correct values.

The ISO-image of the data track can be mastered with any CD Burning application.

Reply 3 of 4, by sdenab

User metadata
Rank Newbie
Rank
Newbie

problem solved.
The iso image should only include the data track of the bin image, while the compressed audio files should be left in the same folder with the cue file.
Finally I can enjoy the game. 😀