VOGONS

Common searches


First post, by darkgamorck

User metadata
Rank Member
Rank
Member

All,

Is there anyway to mount a CD on DOSBox within OS X and keep DOSBox from believing I am mounting a directory? I know about imgmount, but I have a bin & cue CD-ROM image that I mount using toast and then try to mount as a CD-ROM within DOSBox.

In Linux, you would simply mount the CD-ROM into a specified mount point (i.e. /mnt/cdrom) and then type "mount e /mnt/cdrom -t cdrom" from within DOSBox. On Linux, the responsible code can tell that this directory is in fact a mount point for a cd-rom and it handles it appropriately. However on OS X typing "mount e /Volumes/CDROMLABEL -t cdrom", it mounts the location as if it was a directory.

Is this an SDL issue or is it a DOSBox issue? And is there a way to work around this that I'm just not aware of? If the answer is indeed RTFM, feel free to tell me. Maybe I just missed something in the docs.

Thanks,

Jay

Reply 1 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Have you tried adding -label CDROMLABEL ?
How about -ioctl ?
Or -usecd N ?

60 seconds guide to getting your game to run in DOSBox
http://dosbox.sourceforge.net/wiki/index.php? … rograms%2FMount

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 2 of 15, by darkgamorck

User metadata
Rank Member
Rank
Member

ioctl is a Windows only parameter. I have tried usecd prior to this with no success.

Remember I can get it to mount and work as if it was a cd-rom fine. It's just that it's limited support so that when it comes to images that I keep around (i.e. Mech Warrior 2), I don't get any CD Audio or anything while playing the game because of limited support.

Reply 3 of 15, by darkgamorck

User metadata
Rank Member
Rank
Member

Hmmmmm... When I run "mount -cd" I only get one entry for the fakecd and that is listed as #0. If I run "mount /Volumes/CDROM_LABEL -usecd 0" that seems to bypass the message. Let me see if that resolves the CD Audio issue in MechWarrior 2.

Reply 4 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator
darkgamorck wrote:

ioctl is a Windows only parameter.

Well... The ReadMe is a litle unclear about this:

87 Q: My CD-ROM doesn't work.
88 A: To mount your CD-ROM in DOSBox you have to specify some additional options
89 when mounting the CD-ROM.
90 To enable CD-ROM support:
91 - mount d f:\ -t cdrom
92 To enable low-level SDL-support:
93 - mount d f:\ -t cdrom -usecd 0 -noioctl
94 To enable low-level ioctl-support(win2k/xp/linux):
95 - mount d f:\ -t cdrom -usecd 0 -ioctl
96 To enable low-level aspi-support (win98 with aspi-layer installed):
97 - mount d f:\ -t cdrom -usecd 0 -aspi

It says win2k/xp/linux, and MacOS X is kinda Linux-like.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 6 of 15, by darkgamorck

User metadata
Rank Member
Rank
Member

Hmmmm... after digging a bit more I think the issue might actually be toast. When I mount a bin/cue image, it makes me mount the bin file, not the cue one. That indicates that Toast isn't using the cue file to determine what tracks are where. I can't actually get any program like iTunes to acknowledge that the mounted image has CD Audio tracks either.

I actually have the physical CD for Mechwarrior 2 at home. So sometime this weekend I'll try to make it work with the physical CD. In the meantime I'm going to search for a daemon-tools like application for OS X.

Reply 8 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Thread where the patch for MacOS X is discussed:

CD-ROM issues in OSX

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 9 of 15, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

I've only ever gotten MW2 to work with the CD audio by using Imgmount with a bin/cue of the MW2 CD. No other methods have worked for me. (Unless you count a NOCD crack with no CD audio as working).

Last edited by DosFreak on 2007-06-01, 21:34. Edited 1 time in total.

DOSBox Compilation Guides
DosBox Feature Request Thread
PC Game Compatibility List
How To Ask Questions The Smart Way
Running DRM games offline

Reply 10 of 15, by darkgamorck

User metadata
Rank Member
Rank
Member

You can use imgmount with bin/cue files? Whoa. That like makes this issue null and void for me then.

I've gotten MW2 Audio to work on Windows while using -ioctl and daemontools to mount the actual image. I don't believe I've ever gotten it working with a bin/cue image under Linux however. I hate using the physical CD as I hate carrying CDs around with my laptop.

I always use the appropriate CD cracks. Remember I'm the one who figured out how to crack the second file as the cracks for MW2 online only cracked one of the original files. Of course it was nothing more than dumb luck really. I checked to see what bytes the crack for one file changed and looked for a similar string of hex in the second file and tried to replicate the change as best as I could. Once I tried a few variations on the idea, it worked.

And for the record, you rock DosFreak. I tried mounting the cue file with imgmount and the CD audio works like a charm. I'd still be interested in playing around with the CD device fixed that was linked to earlier in this thread however.

Also, wd, I would be interested in helping to make the OS X port of DOSBox better in my spare time. Anything you'd like for me to do, just let me know and I can give you results. I have a pretty large library of DOS software to work from, so it the issues are software related, I likely already have a copy of it somewhere.

Reply 11 of 15, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

We definetly need some help in the OSX testing department. We really do not have alot of OSX users on the forum unfortunately.

I guess it would be nice to get physical CD's working as well as possible for those people that like them. Although, I can't believe people would prefer to use their original DOS games cdroms though. Alot of mind have been in their CD cases for years without being touched and they are still scratched to hell. I'm just glad I have images of all of them.

DOSBox Compilation Guides
DosBox Feature Request Thread
PC Game Compatibility List
How To Ask Questions The Smart Way
Running DRM games offline

Reply 12 of 15, by darkgamorck

User metadata
Rank Member
Rank
Member

I feel you there. It takes an act of god to get my Loom, MW2 or Bioforge CDs to leave their safe enclosures. I've had each of them for years. I've got a variety of others as well. For instance I had a CD of Darklands for years and after several attempts to play the game using buggy versions from the web (even after I patched them), I tried the CD version only to find that it worked perfectly! And it's been sitting in storage all this time.

Reply 13 of 15, by BigDanG

User metadata
Rank Newbie
Rank
Newbie

Hi, I'm a recent OS X convert, and have been using dosbox for the past couple of months and also desire to get some CD music. I've been running the latest CVS build (to end the freezing but have been having trouble mounting a bin/cue image. When trying to mount Tomb Raider "imgmount "/Users/Dan/Documents/CD Images/tr.cue" -t iso I get the message "MSCDEX: Failure: Path not valid" message. The bin file mounts, but as shown on other threads, it gives no music. I've been creating my bin/cue file on WinXP with Cdrwin, and it successfully mounts with Daemon Tools in WinXP. I'd like to try other CDs/bin cue creators, but has anyone else run into this issue and can lend some information?

Reply 14 of 15, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

> imgmount "/Users/Dan/Documents/CD Images/tr.cue" -t iso

I do hope this is a miss-typing - you need to add a drive letter:

Z:\>imgmount D "/Users/Dan/Documents/CD Images/tr.cue" -t iso

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 15 of 15, by BigDanG

User metadata
Rank Newbie
Rank
Newbie

Yeah, actually it was my mistyping in the thread, not in DOSBox though. However, there is a happy ending as I recreated the Tomb Raider bin/cue with MagicISO and it actually worked. The bin/cue feature of DOSBox should be better known, as it is the only way us OS X users can get our audio tracks.