LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11: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, 12:02 PM   #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, 12:18 PM   #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 12:19 PM.
 
Old 08-09-2012, 12:29 PM   #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, 01: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, 01:56 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
bchunk is old, use iat instead to do the conversion.
http://www.slackbuilds.org/repositor...ultimedia/iat/
 
Old 08-12-2012, 09: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, 12:10 PM   #8
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.2 Slackware64 14.2
Posts: 23

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 12:11 PM. Reason: forgot to mention that cue and bin images had to be in game directory
 
Old 08-13-2012, 12:47 PM   #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, 01:09 PM   #10
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.2 Slackware64 14.2
Posts: 23

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, 01: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, 01:24 PM   #12
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.2 Slackware64 14.2
Posts: 23

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 01:59 PM. Reason: Added a link how to create bin- cue images
 
Old 08-13-2012, 02:47 PM   #13
joghi
LQ Newbie
 
Registered: Jun 2011
Distribution: Slackware 14.2 Slackware64 14.2
Posts: 23

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, 07: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, 07: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 07:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-18-2011 12:48 AM
making BIN/CUE images under linux??? mlu Linux - Software 2 07-12-2005 05:05 AM
k3b won't burn cue images compu73rg33k Linux - Software 9 06-25-2005 01:15 AM
Mounting .cue/bin images PapaSmurf88 Linux - Software 2 05-30-2005 08:47 AM
mounting bin/cue images without convert to iso? Moebius Linux - Software 1 12-05-2004 06:22 AM

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

All times are GMT -5. The time now is 05:00 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