LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Cannot mount CUE images in DOSbox 0.74 (https://www.linuxquestions.org/questions/slackware-14/cannot-mount-cue-images-in-dosbox-0-74-a-4175421232/)

almosthere 08-09-2012 10:49 AM

Cannot mount CUE images in DOSbox 0.74
 
Code:

Z:\>imgmount d "~/Downloads/Betrayal at Krondor/KRONDOR.cue" -t iso
Could not load image file: /home/john/Downloads/Betrayal at Krondor/KRONDOR.cue
MSCDEX: Failure: Invalid file or unable to open.

The file is valid, as I just mounted the same CUE file with the same version of DOSbox under Windows XP.

ProtoformX 08-09-2012 11:02 AM

Quote:

Originally Posted by almosthere (Post 4750018)
Code:

Z:\>imgmount d "~/Downloads/Betrayal at Krondor/KRONDOR.cue" -t iso
Could not load image file: /home/john/Downloads/Betrayal at Krondor/KRONDOR.cue
MSCDEX: Failure: Invalid file or unable to open.

The file is valid, as I just mounted the same CUE file with the same version of DOSbox under Windows XP.

Nice choice in game :)
I see you have spaces in the name... linux/unix doesn't handle spaces very well at all.
Try renaming the directory "BAKCD" or "Betrayal_at_Krondor" and then try mounting the CUE file.

almosthere 08-09-2012 11:18 AM

I renamed the directory to "krondor" and this results in the same error message. Anyway, spaces shouldn't be a problem if the path is placed in quotes. I can actually mount the BIN image fine, but I really need to mount the CUE file instead, otherwise the soundtrack doesn't play.

Edit: I got DOSbox from SlackBuilds

frieza 08-09-2012 11:29 AM

i see two options here, one, mount the cue image in linux, then mount the mount point for the cue image in dosbox, or convert the cue image to a straight ISO image and mount it in dosbox
http://www.ubuntugeek.com/how-to-con...in-ubuntu.html
those instructions are for ubuntu, but should be adaptable to any distribution.

ProtoformX 08-09-2012 12:48 PM

Quote:

Originally Posted by frieza (Post 4750041)
i see two options here, one, mount the cue image in linux, then mount the mount point for the cue image in dosbox, or convert the cue image to a straight ISO image and mount it in dosbox
http://www.ubuntugeek.com/how-to-con...in-ubuntu.html
those instructions are for ubuntu, but should be adaptable to any distribution.

That won't work in his case, the game he is trying to mount is a mixed cd.. it has data and CDDA data on it (red book audio) if he turns it into an ISO the audio tracks are gone.
try this:
Code:

imgmount d "~/Downloads/krondor/KRONDOR.cue" -t iso -fs iso

H_TeXMeX_H 08-09-2012 12:56 PM

bchunk is old, use iat instead to do the conversion.
http://www.slackbuilds.org/repositor...ultimedia/iat/

almosthere 08-12-2012 08:48 PM

ProtoformX: that didn't work

Can someone attempt to mount a CUE file within DOSbox and let me know how it went? If not I'm going to submit a bug report.

joghi 08-13-2012 11:10 AM

Hello,

in my case to play good old RAYMAN, I proceed as follows:
-changing to the directory containing the program files as well as the .cue and .bin-images, I start dosbox with . as argument, making sure the current
directory is mounted as c:.
-then I use command
Code:

imgmount d c:\rayman.cue -t iso
- finally I can start the game
Ok. This was, what I did first. After downloading a few games from GOG, I created a file dosbox.conf in the RAYMAN-directory that contains a section
Code:


[autoexec]# Lines in this section will be run at startup.
mount C .
imgmount d c:\rayman.cue -t iso
C:
rayman.exe

which does the things I did manually before and which are described above. Now I can just start dosbox in the current directory to play RAYMAN.
Hope that helps.

Citramonum 08-13-2012 11:47 AM

You have to build Dosbox with SDL_sound support.

joghi 08-13-2012 12:09 PM

Hm,

for me it works without SDL_sound. Just used the SBO-script to create a dosbox-package without having SDL_sound installed.

Citramonum 08-13-2012 12:18 PM

You don't need SDL_sound to mount plain ISO but you need it if you want to mount complex CUE with additional music tracks.

joghi 08-13-2012 12:24 PM

Sorry if that didn't become clear. The RAYMAN disc is a misc mode CD. I had some difficulties first creating the bin and cue-images from the CD. For those, who want to know how to do this with a clean installation of slackware, without any SBO-packages: I succeeded using the procedure described in the last post here http://www.linuxforen.de/forums/arch.../t-227307.html. If I had known the link H_TexMex_H gave above, it might have simpified matters. But now I play this as described, using bin and cue images and enjoying the sound. Still no SDL_sound package installed.

joghi 08-13-2012 01:47 PM

almostthere,

one question. This may sound stupid, but I often played this trick to myself: Have you checked the permissions of the cue-file?

almosthere 08-13-2012 06:04 PM

File permissions are alright. It seems that Citramonum is correct. In order to mount *.cue files, DOSbox requires SDL_sound. By default, this isn't configured in dosbox.SlackBuild or even mentioned anywhere. I'll rebuild DOSbox again, I guess.

*sigh*

Flame me as much as you want, but this is another example of busting one's balls to accomplish a simple task under Linux.

Citramonum 08-13-2012 06:29 PM

Quote:

Originally Posted by almosthere (Post 4753480)
Flame me as much as you want, but this is another example of busting one's balls to accomplish a simple task under Linux.

The difference here is that in the first case you take the prebuild program and in the second case you build the same program by yourself not reading instructions. Why do you blame Linux then?


All times are GMT -5. The time now is 02:16 AM.