LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-09-2012, 10:49 AM   #1
almosthere
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Rep: Reputation: Disabled
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.
 
Old 08-09-2012, 11:02 AM   #2
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
Quote:
Originally Posted by almosthere View Post
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.
 
Old 08-09-2012, 11:18 AM   #3
almosthere
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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

Last edited by almosthere; 08-09-2012 at 11:19 AM.
 
Old 08-09-2012, 11:29 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.
 
Old 08-09-2012, 12:48 PM   #5
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 334

Rep: Reputation: 34
Quote:
Originally Posted by frieza View Post
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
 
Old 08-09-2012, 12:56 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
bchunk is old, use iat instead to do the conversion.
http://www.slackbuilds.org/repositor...ultimedia/iat/
 
Old 08-12-2012, 08:48 PM   #7
almosthere
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-13-2012, 11:10 AM   #8
joghi
Member
 
Registered: Jun 2011
Distribution: Slackware64 15.0 Slackware 14.2 Slackware64 14.2
Posts: 33

Rep: Reputation: Disabled
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.

Last edited by joghi; 08-13-2012 at 11:11 AM. Reason: forgot to mention that cue and bin images had to be in game directory
 
Old 08-13-2012, 11:47 AM   #9
Citramonum
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware 14.1
Posts: 19

Rep: Reputation: 2
You have to build Dosbox with SDL_sound support.
 
Old 08-13-2012, 12:09 PM   #10
joghi
Member
 
Registered: Jun 2011
Distribution: Slackware64 15.0 Slackware 14.2 Slackware64 14.2
Posts: 33

Rep: Reputation: Disabled
Hm,

for me it works without SDL_sound. Just used the SBO-script to create a dosbox-package without having SDL_sound installed.
 
Old 08-13-2012, 12:18 PM   #11
Citramonum
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware 14.1
Posts: 19

Rep: Reputation: 2
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.
 
Old 08-13-2012, 12:24 PM   #12
joghi
Member
 
Registered: Jun 2011
Distribution: Slackware64 15.0 Slackware 14.2 Slackware64 14.2
Posts: 33

Rep: Reputation: Disabled
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.

Last edited by joghi; 08-13-2012 at 12:59 PM. Reason: Added a link how to create bin- cue images
 
Old 08-13-2012, 01:47 PM   #13
joghi
Member
 
Registered: Jun 2011
Distribution: Slackware64 15.0 Slackware 14.2 Slackware64 14.2
Posts: 33

Rep: Reputation: Disabled
almostthere,

one question. This may sound stupid, but I often played this trick to myself: Have you checked the permissions of the cue-file?
 
Old 08-13-2012, 06:04 PM   #14
almosthere
LQ Newbie
 
Registered: Aug 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-13-2012, 06:29 PM   #15
Citramonum
LQ Newbie
 
Registered: Aug 2012
Distribution: Slackware 14.1
Posts: 19

Rep: Reputation: 2
Quote:
Originally Posted by almosthere View Post
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?

Last edited by Citramonum; 08-13-2012 at 06:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Write BIN/CUE ISO IMAGES? ProtoformX Linux - Software 4 01-17-2011 11:48 PM
making BIN/CUE images under linux??? mlu Linux - Software 2 07-12-2005 04:05 AM
k3b won't burn cue images compu73rg33k Linux - Software 9 06-25-2005 12:15 AM
Mounting .cue/bin images PapaSmurf88 Linux - Software 2 05-30-2005 07:47 AM
mounting bin/cue images without convert to iso? Moebius Linux - Software 1 12-05-2004 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration