BIN/CUE support

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

It turns out the cue file contains some info from having been zipped on a mac. When you use it as is, you only get an audio cd with one track.
Edit the cue file with Notepad and leave only the text below. Save the file, and add the cue file as a cdrom to your prefs. Happing playing.

FILE "Civilization II.bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
INDEX 01 49:14:47
TRACK 03 AUDIO
INDEX 01 49:50:22
TRACK 04 AUDIO
INDEX 01 50:35:43
TRACK 05 AUDIO
INDEX 01 52:03:57
TRACK 06 AUDIO
INDEX 01 53:51:57
TRACK 07 AUDIO
INDEX 01 56:25:18
TRACK 08 AUDIO
INDEX 01 59:49:35
TRACK 09 AUDIO
INDEX 01 62:14:15
TRACK 10 AUDIO
INDEX 01 64:43:03
TRACK 11 AUDIO
INDEX 01 67:22:24
TRACK 12 AUDIO
INDEX 01 69:46:40
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

Ah, the OSX/macOS zip format! When unzipped on macOS, the file has only the above content, though with all 27 tracks:

Code: Select all

FILE "colonization.bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    INDEX 01 01:39:10
  TRACK 03 AUDIO
    INDEX 01 03:45:62
  TRACK 04 AUDIO
    INDEX 01 05:00:35
  TRACK 05 AUDIO
    INDEX 01 07:26:52
  TRACK 06 AUDIO
    INDEX 01 08:24:24
  TRACK 07 AUDIO
    INDEX 01 09:31:02
  TRACK 08 AUDIO
    INDEX 01 10:19:00
  TRACK 09 AUDIO
    INDEX 01 11:05:73
  TRACK 10 AUDIO
    INDEX 01 12:29:49
  TRACK 11 AUDIO
    INDEX 01 14:06:08
  TRACK 12 AUDIO
    INDEX 01 15:46:59
  TRACK 13 AUDIO
    INDEX 01 16:10:67
  TRACK 14 AUDIO
    INDEX 01 17:37:47
  TRACK 15 AUDIO
    INDEX 01 18:26:67
  TRACK 16 AUDIO
    INDEX 01 19:51:23
  TRACK 17 AUDIO
    INDEX 01 21:42:53
  TRACK 18 AUDIO
    INDEX 01 22:43:57
  TRACK 19 AUDIO
    INDEX 01 24:29:48
  TRACK 20 AUDIO
    INDEX 01 25:01:67
  TRACK 21 AUDIO
    INDEX 01 26:19:44
  TRACK 22 AUDIO
    INDEX 01 27:13:02
  TRACK 23 AUDIO
    INDEX 01 28:20:56
  TRACK 24 AUDIO
    INDEX 01 29:49:10
  TRACK 25 AUDIO
    INDEX 01 31:15:12
  TRACK 26 AUDIO
    INDEX 01 32:30:15
  TRACK 27 AUDIO
    INDEX 01 33:15:28
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

Oops, I fixed the wrong cue again.... civilization vs colonization.....

The colonization cue file is OK, no problem playing the intro with music...

Best,
Cat_7
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

I am a little confused. Did the colonization.cue file also need to be fixed in order to make the music play?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

Hi,

No, the colonization.cue file is OK as it is. It has the same content as in your post.

Best,
Cat_7
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

thanks again for the feedback,
but now I'm a bit confused
the colonization .cue and .bin are correct after all and that's not the problem, right?

I do not understand:
what is "a windows built"?
how can I include this in my GUI or .prefs?
does it work with that?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

I made the mistake thinking you wanted the game Civilisation II to run. When you download that, the cue file is not OK and has to be edited before you can run it with SheepShaver on Windows.
The cue file from the Colonization download works perfect without editing.

The "windows build" is the SheepShaver program compiled from the source code to run on Windows, just like we have a macOS build to run on macOS.

I see your problem: you want to play the music while not running the game. That will not work, even though you think you see the 27 tracks. The music will only play while running the game.
You cannot burn these bin/cue files to an empty CD and expect it to become an Audio CD.

Best,
Cat_7
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

I just want to play Colonization with CD music. not anymore.

The "Windows Build" is the SheepShaver program compiled from source to run on Windows.
I'm not a programmer so I have to ask:
should I somehow change something in the current version, or can you upload it to me?
I don't understand unfortunately :(
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

If you downloaded the latest SheepShaver for Windows from the forum here, that is the latest Windows build by Cat_7, built from kanjitalk755 source.

Using a recent Windows build from that source, the game Colonization works fine, with music, for both kanjitalk755 and Cat_7, so the issue seems to be specific for you.

1. Do you use the latest SheepShaver build from this post: viewtopic.php?t=5325 ?

2. When you open the cue file in Notepad, does its content look exactly like this code below?

Code: Select all

FILE "colonization.bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    INDEX 01 01:39:10
  TRACK 03 AUDIO
    INDEX 01 03:45:62
  TRACK 04 AUDIO
    INDEX 01 05:00:35
  TRACK 05 AUDIO
    INDEX 01 07:26:52
  TRACK 06 AUDIO
    INDEX 01 08:24:24
  TRACK 07 AUDIO
    INDEX 01 09:31:02
  TRACK 08 AUDIO
    INDEX 01 10:19:00
  TRACK 09 AUDIO
    INDEX 01 11:05:73
  TRACK 10 AUDIO
    INDEX 01 12:29:49
  TRACK 11 AUDIO
    INDEX 01 14:06:08
  TRACK 12 AUDIO
    INDEX 01 15:46:59
  TRACK 13 AUDIO
    INDEX 01 16:10:67
  TRACK 14 AUDIO
    INDEX 01 17:37:47
  TRACK 15 AUDIO
    INDEX 01 18:26:67
  TRACK 16 AUDIO
    INDEX 01 19:51:23
  TRACK 17 AUDIO
    INDEX 01 21:42:53
  TRACK 18 AUDIO
    INDEX 01 22:43:57
  TRACK 19 AUDIO
    INDEX 01 24:29:48
  TRACK 20 AUDIO
    INDEX 01 25:01:67
  TRACK 21 AUDIO
    INDEX 01 26:19:44
  TRACK 22 AUDIO
    INDEX 01 27:13:02
  TRACK 23 AUDIO
    INDEX 01 28:20:56
  TRACK 24 AUDIO
    INDEX 01 29:49:10
  TRACK 25 AUDIO
    INDEX 01 31:15:12
  TRACK 26 AUDIO
    INDEX 01 32:30:15
  TRACK 27 AUDIO
    INDEX 01 33:15:28
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

ok again in detail:
I still have the current version from the forum:
viewtopic.php?t=5325
( SheepShaver for Windows (03-12-2022)
= I couldn't find a newer version, so I'm still using this one

when I look at my downloaded colonization version it says this too:
FILE "colonization.bin" BINARY
TRACK 01 MODE1/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
INDEX 01 01:39:10
TRACK 03 AUDIO
INDEX 01 03:45:62
TRACK 04 AUDIO
INDEX 01 05:00:35
TRACK 05 AUDIO
INDEX 01 07:26:52
TRACK 06 AUDIO
INDEX 01 08:24:24
TRACK 07 AUDIO
INDEX 01 09:31:02
TRACK 08 AUDIO
INDEX 01 10:19:00
TRACK 09 AUDIO
INDEX 01 11:05:73
TRACK 10 AUDIO
INDEX 01 12:29:49
TRACK 11 AUDIO
INDEX 01 14:06:08
TRACK 12 AUDIO
INDEX 01 15:46:59
TRACK 13 AUDIO
INDEX 01 16:10:67
TRACK 14 AUDIO
INDEX 01 17:37:47
TRACK 15 AUDIO
INDEX 01 18:26:67
TRACK 16 AUDIO
INDEX 01 19:51:23
TRACK 17 AUDIO
INDEX 01 21:42:53
TRACK 18 AUDIO
INDEX 01 22:43:57
TRACK 19 AUDIO
INDEX 01 24:29:48
TRACK 20 AUDIO
INDEX 01 25:01:67
TRACK 21 AUDIO
INDEX 01 26:19:44
TRACK 22 AUDIO
INDEX 01 27:13:02
TRACK 23 AUDIO
INDEX 01 28:20:56
TRACK 24 AUDIO
INDEX 01 29:49:10
TRACK 25 AUDIO
INDEX 01 31:15:12
TRACK 26 AUDIO
INDEX 01 32:30:15
TRACK 27 AUDIO
INDEX 01 33:15:28

this is still the status a week ago:
1. question: should i download another version of sheepshaver somewhere?
2 question: should I, can I change the current version myself, if so how?
3 question: or can you upload the modified version of sheepshaver somewhere?
4 question: what about "./configure --with-bincue"
- where can I add this, how to do it?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

1. question: should i download another version of sheepshaver somewhere?
2 question: should I, can I change the current version myself, if so how?
3 question: or can you upload the modified version of sheepshaver somewhere?
4 question: what about "./configure --with-bincue"
- where can I add this, how to do it?

1. No, you already have the latest version
2. You can change the current version, but you have to compile it yourself.
3. There is no new version, and you don´t need a new version.
4. This has been done for you by me. I compiled the software with that option. You can only add the cue file to the preferences.

You need to understand that when you burn the cue and bin files to a CD will not become an Audio CD. You can not play the music without running the game. From your previous screen shots, I understand that the game runs fine and you can hear the music.

Debe comprender que cuando graba los archivos cue y bin en un CD, no se convertirá en un CD de audio. No puedes reproducir la música sin ejecutar el juego. De tus capturas de pantalla anteriores, entiendo que el juego funciona bien y puedes escuchar la música.

Best,
Cat_7
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

as I wrote in my other posts:
- I would prefer to work with the image formats .cue and .bin
- I tried this with sheepeshaver and only the pure data image is displayed to me (regardless of whether I load .bin and .cue image or just .bin or just .cue image files from colonization)
- I only did further tests and simply burned the image file onto a cd. I also wrote in my posts that the tracks are also displayed (graphically in a playlist), BUT you don't hear anything. that's the problem. you don't hear any music, you hear sounds from the game
when i play tests with other mac-games where the music isn't on the cd, i hear it.
my only problem is that i can't hear the music on the cd.

burning to a disc would only be an emergency solution, more or less as an additional test, but nothing more.

"2. You can change the current version, but you have to compile it yourself."
= that's exactly what I would like to do, but I'm not a computer programmer so I don't know how
Last edited by Lopez72 on Fri Feb 03, 2023 9:43 am, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

If you use the latest SheepShaver build, that one should be OK. The whole discussion at kanjitalk755/macemu was about creating (building) the application with the correct configuration and that the application was in fact created (built) as it should be. Forget about that discussion. No changes to the application are needed. Compiling the application yourself will not solve the problem.

If you use the most recent SheepShaver for Windows build and if the cue file is OK (as it appears to be), something else in your setup seems to cause the issue.

If I understand correctly, your problem is that you can play the game with all sounds, but the music does not play while playing the game. Your trials trying to play the audio tracks were only to try to figure out why the game played without music. Right?
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

If I understand correctly, your problem is that you can play the game with all the sounds, but the music doesn't play while playing the game. Their attempts to play the audio tracks only served to find out why the game was playing without music. To the right?

Thanks!!
Exactly that is my problem
and that was exactly my workflow
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

The quote of my post comes out strangely changed. Do you use Google Translate to translate the posts back and forth between English and your language (Spanish?)?

We have to try to find the cause of your problem. It is not SheepShaver and it is not the game files.
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

i used google translater, i`m from germany, my english ist terrible ^^
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: BIN/CUE support

Post by Cat_7 »

So the Spanish did not help ;-)
If it is not SheepShaver and it is not the game, then perhaps try to reinstall Mac OS 9.0.4

Best,
Cat_7
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

which I don't quite understand, it seems to work for you
I assume you use Mac as operating system.
I, on the other hand, use the windows version of Sheepshaver
it works for you, but not for me

someone from another forum uses the windows version of sheepshaver and it doesn't work either.
So my logical conclusion is:
somehow there is a difference between sheepshaver for mac and sheepshaver for windows

further logical conclusion:
- where is the difference exactly, so sheepshaver would be the problem
I would like to try that with "./configure --with-bincue"
but I don't know how to do that

I've already downloaded sheepshaver 3 times, tried all the settings, tried all the roms, have mac OS 9.0.4
Reinstalled 4 times, sometimes light version sometimes full installation version, i tried it with Mac os 7 too

always the same result
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

Both kanjitalk755 and Cat_7 used the Windows version and the game worked for them with the music.

someone from another forum uses the windows version of sheepshaver and it doesn't work either.
Which forum, where?
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

from a german retro games forum

the problem:
that sounds great that it works for you!! (really)
Now i`m just have to find out what's wrong and that shouldn't take much longer:
1 question: what rom do you use?
2: are there any deviations in the prefs file?

once you have tested it, the last difference can only be due to Mac os 9.0.4, is it a standard installation, for example, or have other programs or tools been added?

for comparison my prefs:
disc HD
disk games
disk Disk\colonization.cue
extfs
screen win/1024/768
window modes 3
screenmodes 63
seriala COM1
serialb COM2
rom ROM\5500.ROM
boot drive 0
boot driver 0
ramsize 268435456
frame skip 0
gfxaccel true
nocdrome true
none false
nosound false
nogui false
noclipconversion false
ignoresegv true
ignoreillegal true
jit true
jit68k false
keyboard type 5
hard cursor false
hot key 0
scale_nearest false
scale_integer false
CPUclock 0
yearofs 0
dayofs 0
like_rate 0
swap_opt_cmd true
sound_buffer 0
name_encoding 0
keycodes false
mouse wheel mode 1
mouse wheel lines 3
idlewait true
keycodes false
mouse wheel mode 1
mouse wheel lines 3
enableextfs true
debugextfs false
extdrives CDEFGHIJKLMNOPQRSTUVWXYZ
pollmedia true
etherpermanentaddress true
ether multicast mode 0
router enabled false
ftp_port_list 21
portfile0 C:\B2TEMP0.OUT
portfile1 C:\B2TEMP1.OUT
sdlrender software
sdl_vsync false
reservewindowskey false
kanjitalk755
Apple Corer
Posts: 239
Joined: Thu Nov 09, 2017 12:06 pm

Re: BIN/CUE support

Post by kanjitalk755 »

To recognize the image as a mixed mode CD:

Code: Select all

cdrom Disk\colonization.cue
If you specify "disk", the CUE file may be destroyed, so you need to copy the correct file again.
Lopez72
Student Driver
Posts: 16
Joined: Fri Jan 27, 2023 4:57 pm

Re: BIN/CUE support

Post by Lopez72 »

yessss!!!!!!

Thank you!!
it works out,
you have to play around with the gui
the point is to manually declare the .cue as a drive!
Thanks alot!!!!!!
User avatar
Ronald P. Regensburg
Expert User
Posts: 7821
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: BIN/CUE support

Post by Ronald P. Regensburg »

Congratulations!

However: I did suggest this solution before: viewtopic.php?p=75642#p75642
and as you made the files read-only, they could not have been changed.

Not sure why it did not work then.

Edit: I suggested manuaIly editing the prefs file because I was not aware of the cdrom entry in the GUI for the Windows version.
Post Reply