Can't install multi-cd game

About BasiliskII, a 68k Mac emulator for Windows, MacOSX, and Linux that can run System 7.x through MacOS 8.1.

Moderators: Cat_7, Ronald P. Regensburg

Post Reply
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Can't install multi-cd game

Post by nicktasios »

Hi everyone, I recently setup Basilisk II on my macbook pro and wanted to install an old classic, Broken Sword.

So I mounted both disks and, as per the instructions, copied the installer to the desktop and started it, but shortly after it asks for CD2, and it gets stuck. I cannot even exit the installer. I also tried to mount both images as 'cdrom' in the preference file, but that didn't work either (By the way, the beta GUI gets confused and sets the ROM to the second specified cdrom).

Is there away I can install this game properly? Perhaps some way to actually swap cd roms?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7737
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Can't install multi-cd game

Post by Ronald P. Regensburg »

I do not know yet if the new "drop and mount" feature in BasiliskII will work for the installed MacOS as actual CD-swapping.
My latest BasiliskII (10 August 2023) build can mount disk images as CD-ROM by dragging them into the BasiliskII window. Only one image can be mounted that way at a time. Different from images mounted through the volumes list in the GUI, these images can be removed again while BasiliskII is running. Maybe it will work when you mount the first image by dropping it into the BasiliskII window and, after removing it again, drop and mount the second image.

Download of the latest BasiliskII here: viewtopic.php?t=7361
Information about the new feature: viewtopic.php?p=76806#p76806
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Re: Can't install multi-cd game

Post by nicktasios »

Unfortunately, that nearly worked! I mounted CD1 as a disk and started the installer. When it asked for CD2 I dragged the image to Basilisk, and the installer continued! But then it asked CD1 again and unfortunately, dragging the image does not replace the mounted image and there is no way I know of to remove an image if I don't have access to the desktop (the installer is fullscreen). Is there perhaps a different way, e.g. through a keybind to remove the mounted cd image, or do I have to dig into the source code?
User avatar
adespoton
Forum All-Star
Posts: 4084
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Can't install multi-cd game

Post by adespoton »

nicktasios wrote: Thu Sep 21, 2023 10:54 am Unfortunately, that nearly worked! I mounted CD1 as a disk and started the installer. When it asked for CD2 I dragged the image to Basilisk, and the installer continued! But then it asked CD1 again and unfortunately, dragging the image does not replace the mounted image and there is no way I know of to remove an image if I don't have access to the desktop (the installer is fullscreen). Is there perhaps a different way, e.g. through a keybind to remove the mounted cd image, or do I have to dig into the source code?
Has anyone tried adding the eject FKey or using the eject key keycode?

Alternatively, is there a way to get back to the desktop when you've got a blocking dialog up?

In this case, an alternative might be to copy the contents of both CDs to a folder on the disk image; sometimes this works with installers.
User avatar
Cat_7
Expert User
Posts: 6014
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Can't install multi-cd game

Post by Cat_7 »

There is also something funny with the second CD image. If you add both to the volumes list, it shows up as a hard disk and is not write protected by itself.
You can do a minimal install that will succeed, but the game crashes at start (on my Windows host) with error -39, so I don't know whether it can be played at all.

The garden site says the game is for PowerPC and runs in ScummVM. If so, it cannot run in Basilisk.

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4084
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Can't install multi-cd game

Post by adespoton »

Error -39 is "unexpected end of file" isn't it? Definitely sounds like something wrong with disc 2.
emendelson
Forum All-Star
Posts: 1677
Joined: Tue Oct 14, 2008 12:12 am

Re: Can't install multi-cd game

Post by emendelson »

I tried creating an AppleScript that could be run from a keyboard shortcut using a utility that provides keyboard shortcuts for applications, but found this oddity:

This AppleScript returns the correct name of the mounted CD, but it seems that a CD can't be ejected from BasiliskII or SheepShaver by running an AppleScript. I haven't tried it on real hardware, but perhaps someone has a real classic Mac up and running, and could try It on a real Mac:

Code: Select all

tell application "Finder"
    eject (every disk whose ejectable is true)
end tell
This should work but doesn't. Also, if you create an AppleScript that ejects a disk by name, you're prompted to insert the disk, which is very strange.
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Re: Can't install multi-cd game

Post by nicktasios »

I modified Basilisk II to be able to swap CDs. It's not a proper implementation, but it seemed to work fine. Unfortunately, the CD image that's on macintoshgarden does not seem to include a 68k version.

Nonetheless, I wanted to have a look at the installer binary to see if there is a reference to a 68k binary, but when I copy the installer to the unix mounted folder on my macbook, the file I end up with is 0B, while from Basilisk II I clearly see it's larger than that. Is somehow the OS interfering with the copying? How can I properly copy this file?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7737
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Can't install multi-cd game

Post by Ronald P. Regensburg »

Copy (drag) the file from the mounted CD image to your virtual HD (not to the desktop), then copy (drag) the file from your virtual HD to "Unix".

(If te game is PPC only, try SheepShaver instead of BasiliskII)
emendelson
Forum All-Star
Posts: 1677
Joined: Tue Oct 14, 2008 12:12 am

Re: Can't install multi-cd game

Post by emendelson »

emendelson wrote: Fri Sep 22, 2023 1:43 am I tried creating an AppleScript that could be run from a keyboard shortcut using a utility that provides keyboard shortcuts for applications, but found this oddity:

This AppleScript returns the correct name of the mounted CD, but it seems that a CD can't be ejected from BasiliskII or SheepShaver by running an AppleScript. I haven't tried it on real hardware, but perhaps someone has a real classic Mac up and running, and could try It on a real Mac:

Code: Select all

tell application "Finder"
    eject (every disk whose ejectable is true)
end tell
This should work but doesn't. Also, if you create an AppleScript that ejects a disk by name, you're prompted to insert the disk, which is very strange.
That script works on real hardware. I tested it on a Pismo PowerBook running 9.2.2. Perhaps it tells the hardware to do something that isn't emulated in SheepShaver or BasiliskII?
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Re: Can't install multi-cd game

Post by nicktasios »

Ronald P. Regensburg wrote: Sat Sep 23, 2023 10:03 am Copy (drag) the file from the mounted CD image to your virtual HD (not to the desktop), then copy (drag) the file from your virtual HD to "Unix".

(If te game is PPC only, try SheepShaver instead of BasiliskII)
Image
When I copy the file to 'Unix' it shows up as 80K within Basilisk II
Image
But as 0B on my Macbook
emendelson
Forum All-Star
Posts: 1677
Joined: Tue Oct 14, 2008 12:12 am

Re: Can't install multi-cd game

Post by emendelson »

I got curious, and downloaded CD1 from the link in the first post. In both BasiliskII and SheepShaver, the installer is 61K, not 80K, and it's the same in the Unix folder. Perhaps try downloading again? Something strange might have happened to your copy.
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Re: Can't install multi-cd game

Post by nicktasios »

emendelson wrote: Sat Sep 23, 2023 6:39 pm I got curious, and downloaded CD1 from the link in the first post. In both BasiliskII and SheepShaver, the installer is 61K, not 80K, and it's the same in the Unix folder. Perhaps try downloading again? Something strange might have happened to your copy.
Interesting. This is from an image I received from someone that has the original UK version.
User avatar
mabam
Master Emulator
Posts: 492
Joined: Wed Apr 10, 2013 9:32 am

Re: Can't install multi-cd game

Post by mabam »

IIRC, the block size of the HDD (image) has an influence on the file size shown in Finder. That might explain 61K vs. 80K.

But whatever the file size, it shouldn’t shrink to 0K when copied to “Unix”.
nicktasios
Space Cadet
Posts: 6
Joined: Thu Sep 21, 2023 9:46 am

Re: Can't install multi-cd game

Post by nicktasios »

mabam wrote: Sun Sep 24, 2023 10:55 am IIRC, the block size of the HDD (image) has an influence on the file size shown in Finder. That might explain 61K vs. 80K.

But whatever the file size, it shouldn’t shrink to 0K when copied to “Unix”.
Ok, I check the file size with 'du', and it is indeed 51K on disk. But I guess it's a special file, just like modern OSX .app files which are kinda like folders.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7737
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Can't install multi-cd game

Post by Ronald P. Regensburg »

mabam wrote: Sun Sep 24, 2023 10:55 am IIRC, the block size of the HDD (image) has an influence on the file size shown in Finder. That might explain 61K vs. 80K.
The Finder does not only show size on disk, which depends on the disk's block size, but it also shows the actual file size. Here, the size of this installer application is always 52.797 bytes, on the CD image, when copied inside BasiliskII to the virtual HD, and when copied to "Unix". In "Unix" seen both from inside BasiliskII and from the host macOS in the shared folder.
mabam wrote: Sun Sep 24, 2023 10:55 amBut I guess it's a special file, just like modern OSX .app files which are kinda like folders.
I did not check it, but the application wil no doubt be a classic Mac application, consisting of a data fork and a resource fork. The two forks will appear as two separate files on a non-Mac file system.
Post Reply