VOGONS


First post, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

Hi I am trying to get the cd version of DarkSun 2: Ravager to work with DosBox 0.65 on Mac OS X 10.4.7. I can get the game to load perfectly fine but only one of the partitions of the cd will be recognized by the game which prevents cd music from being played. I have tried mounting both partitions as different cds but the game still wont load the music. I suspect the cdrom disk is nonstandard in some way as it has both a cd audio partition and a cd data partition but only the cd data is recognized by system profiler (even though both partitions are mounted.) I have tried sticking the disk into my dads computer with Windows XP SP2 and windows only sees and the data partition. I didn't test to see if DosBox in windows could properly load both the data and audio partitions alowing the game to use the cd music and data files that cant be copied to hd. I belive I am going to have to tell dosbox to mount cds in a simmilar way the linux version requires, but im not exactly sure how to do that. Can someone PLEASE help me!!!!

Info on CDROM Disk

Capacity: 721.37 MB
Model: PIONEER DVD-RW DVR-107D
Revision: 1.22
Removable Media: Yes
Detachable Drive: No
BSD Name: disk2
Protocol: ATAPI
Unit Number: 0
Socket Type: Internal
OS9 Drivers: No
S.M.A.R.T. status: Not Supported
Volumes: WAKE_1.0
Capacity: 628.13MB (actual sizes 89.5MB data 618MB audio)
Media Type: CD-ROM
Writable: No
File System: ISO (Actual ISO 9660)
BSD Name: disk2s0
Mount Point: /Volumes/WAKE_1.0

My Computer Specifications

Operating System: Mac OS X 10.4.7
Processor Type: Dual 1.25 Ghz g4
Amount Of Ram: 2 GB Ram
Video Card Type: Radeon 9800 Pro Mac Edition
Hard Drive Type: 80 GB HD 8MB Cache
CDROM/DVDROM Type: Pioneer DVR-107D Aka Super Drive
Audio: Texas Instruments TAS3004 (audio chipset)
Expansion: Usb 2.0 5 port pci card (1 internal usb port)

Config File

fullscreen= false
fulldouble= false
fullresolution= original
windowresolution= original
output= opengl
autolock= true
sensitivity= 100
waitonerror= true
priority= highest,highest
mapperfile= mapper.txt
usescancodes= true
language=
machine= vga
captures= capture
memsize= 32
frameskip= 0
aspect= true
scaler= normal2x
core= simple
cycles= 6000
cycleup= 100
cycledown= 100
nosound= false
rate= 44100
blocksize= 5120
prebuffer= 60
mpu401= intelligent
device= coreaudio
config=
sbtype= sb16
sbbase= 220
irq= 7
dma= 1
hdma= 5
mixer= true
oplmode= opl2
oplrate= 44100
gus= false
gusrate= 44100
gusbase= 240
irq1= 5
irq2= 5
dma1= 3
dma2= 3
ultradir= C:\ULTRASND
pcspeaker= true
pcrate= 44100
tandy= auto
tandyrate= 44100
disney= false
serial1= disabled
serial2= disabled
serial3= disabled
serial4= disabled
xms= true
ems= true
umb= max
ipx= false
[autoexec]
mount c: /Applications/Emulators/Computer/Dos/games/
Mount d /volumes/Wake_1.0 -t cdrom
c:

Reply 1 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

I've only ever had success with using CD Audio on CD's in DosBox by mounting an .CUE/.BIN image in DosBox of the CD.

Also they are not paritions, partitions only apply to hard drive filesystems or those divider things you setup in an office.

How To Ask Questions The Smart Way
Make your games work offline

Reply 2 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

I have found the secret to get bin/cue files to be properly copied and loaded into DOSBOX!:happyhappy:

Use an application that can copy the cd in non raw mode and can properly identify the cd's filesystem structure. Most of the applications that can do this dump an in-proper .cue file or a .toc file so you will need to use an application called BIN2ISO. You must get the latest version from the actual developer. You must make sure that when you set the variable C:\BIN2ISO.EXE C:\PATH_TO_CUE_TO_BE_MADE -c C:\PATH_TO_BIN_FILE that the output shows the right information in my case the first track is a data track and must be in MODE1/2352, Also you want to make sure that the times are consistent. Once you have the .cue file created you will need to place the .bin and .cue file on your hard-drive were you intend to keep them. Open the .cue file in a text editor and edit the FILE string to point to the .bin file. In DOSBOX you will need to set the variable imgmount D: PATH_TO_CUE_FILE . YOU MUST SET THE PATH TO THE CUE FILE OR THE CDAUDIO WILL NOT BE LOADED. 😁

Sincerely

Zach Stuart

Reply 3 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

Cds do in fact have partitions, they can be Sessions which compartmentalize different filesystems for each partition or you can have multiple filesystems within one session that act as seperate partitions but share some or all of the data on the cd. For instance many mac/pc hybrid game disks will share some of the game data but have seperate filesystem structures that hold platform specific data such as installers.

Sincerely

Zach Stuart

Reply 4 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++
ZachTheMacJunkie wrote:

I have found the secret to get bin/cue files to be properly copied and loaded into DOSBOX!:happyhappy:

Use an application that can copy the cd in non raw mode and can properly identify the cd's filesystem structure. Most of the applications that can do this dump an in-proper .cue file or a .toc file so you will need to use an application called BIN2ISO. You must get the latest version from the actual developer. You must make sure that when you set the variable C:\BIN2ISO.EXE C:\PATH_TO_CUE_TO_BE_MADE -c C:\PATH_TO_BIN_FILE that the output shows the right information in my case the first track is a data track and must be in MODE1/2352, Also you want to make sure that the times are consistent. Once you have the .cue file created you will need to place the .bin and .cue file on your hard-drive were you intend to keep them. Open the .cue file in a text editor and edit the FILE string to point to the .bin file. In DOSBOX you will need to set the variable imgmount D: PATH_TO_CUE_FILE . YOU MUST SET THE PATH TO THE CUE FILE OR THE CDAUDIO WILL NOT BE LOADED. 😁

Thanks for posting that. Don't have a Mac but there are some people here that use DosBox that do and this question comes up occasionaly.

How To Ask Questions The Smart Way
Make your games work offline

Reply 5 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

http://forums.afterdawn.com/thread_view.cfm/7976
http://en.wikipedia.org/wiki/Disk_image#.BIN.2F.CUE

Actually this would apply to windows machines too. If the disk image is in raw the tracks have to many bits per block. Each sector is 2352 bytes big, and contains 2048 bytes of PC (MODE1)Data, 2336 bytes of PSX/VCD (MODE2) Data or 2352 bytes of AUDIO. If raw is selected the image becomes to large and has redundant data that prevents the tracks from being properly mapped out.

Sincerely

Zach Stuart

Reply 6 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

http://users.eastlink.ca/~doiron/bin2iso/bin2iso19b.zip

This is the link to bin2iso, this app is a command line application which i have personally tested in Windows 98 MS Dos prompt. It should work fine in Windows XP's terminal .

Sincerely

Zach Stuart

Reply 7 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

It's just easier to use ISOBuster or CDRWIN for Windows machines instead of users having to use multiple tools and the CLI. Ideally we'd have a utility packaged with DosBox or on the site specifically for making images.

How To Ask Questions The Smart Way
Make your games work offline

Reply 8 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

See heres the thing I used ISObuster and it makes an incorrect bin/cue file . Im not sure about cdrwin as the site never sent me a link to download a trial. AND anyways if the user cant use the command line then they will NEVER be able to use DosBox .

Sincerely

Zach Stuart

Reply 9 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++
ZachTheMacJunkie wrote:

See heres the thing I used ISObuster and it makes an incorrect bin/cue file . Im not sure about cdrwin as the site never sent me a link to download a trial. AND anyways if the user cant use the command line then they will NEVER be able to use DosBox .

Not sure what your ISOBuster problem was (probably a bug), it's always worked for me.

As for users not being able to use command line, not being able to use DosBox? Not true. For the really lazy a profile in Dfend can be setup for them or they can easily read the DosBox Readme and guides and follow the instructions. We've helped out many people that either have never used DOS\CLI before or haven't used it for years.

How To Ask Questions The Smart Way
Make your games work offline

Reply 10 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

So in a sense you already have all the extra support needed by my method.

Sincerely

Zach Stuart

Reply 11 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

Apparently the latest version 0.72 breaks this solution.

Sincerely

Zach Stuart

Reply 12 of 12, by ZachTheMacJunkie

User metadata
Rank Newbie
Rank
Newbie

Ok I figured out how to make it work again, do everything as before except put this imgmount D: path to cue file -t cdrom instead of imgmount D: path to cue file -t iso also you MUST type ravager not dsun.exe in the terminal.

Sincerely

Zach Stuart