SheepShaver for Windows installer

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

Post Reply
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

SheepShaver for Windows installer

Post by emendelson »

Here is a first attempt at a SheepShaver for Windows installer:

https://www.dropbox.com/s/dyag85kv94gl6 ... r.exe?dl=1
(Edit: Link updated on request of the OP)

When you run it, it offers to create a SheepShaver folder in your user folder (but you can choose to put it elsewhere). It then installs the latest SheepShaver build into that folder, with SDL.dll, the SheepShaverGUI app, and a local copy of the GTK runtime. If no copy of the GTK runtime is in your path, it adds this new copy to the path. (I don't yet check whether an existing copy in the path actually exists; that will come later.)

It then prompts you to select a ROM file from your disk, then to create a blank disk image file on which to install Mac OS, and then to select an ISO (or Toast, etc.) file made from a Mac OS installation CD. If necessary, it marks the ISO as read-only so that Mac OS will install from it.

The installer then launches SheepShaver, and (in the background) removes the installer CD image file from the volumes list so that it won't try to boot from the CD image next time.

It's probably got a lot of problems, but it seems to work. So far, I've tested it under 32-bit Windows, but it should work under 64-bit Windows also. It can't do any harm to your system, and it includes an uninstaller (which will leave behind a few files that are easy to remove).

EDIT: More details: It tests the ROM file for the three file sizes that I believe are the only ones that work with SheepShaver. It does not test the installer disk image, though I should probably test for at least a minimum size. It allows creation of a hard disk image of 64-4096MB. I'm just guessing that anything larger won't work and that anything smaller is impractical, but I can fix that if anyone has better advice. Also, is there any way to test whether an install disk is likely to be what the user thinks it is? Perhaps test for the presence of some bytes near the start of the file?

EDIT: New link for corrected version that works correctly under Windows 10.
Last edited by emendelson on Sat Mar 04, 2017 5:17 pm, edited 3 times in total.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: SheepShaver for Windows installer

Post by 24bit »

Thanks for your work!
I´ll give it a go for sure. Last time I tried SS on a W10-64 box,
the "create new volume" only made zero k hard files.
A self content installer package will sure help many newcomers.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

Wait - if you downloaded this yesterday, it won't work under Windows 10. The current (slightly revised) version works perfectly under Windows 10, as far as I can tell. The current download link is the one in the first post.

EDIT: See next post.
Last edited by emendelson on Sat Mar 04, 2017 5:17 pm, edited 1 time in total.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

I've now fixed a few remaining problems, and the current version should run correctly under Windows 10, and one or two other mistakes are fixed. At least I hope they are. This is, I think, in good shape for testing. Apologies to anyone who wasted bandwidth on earlier downloads.

Download link is in the first post.

EDIT: And now recognizes an additional valid ROM size. I think I may need to modify the program to recognize other valid sizes. The ones I know about are these:

1949186
1948761
1945746
1945332

Are there others?
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

I just noticed (thanks to Cat_7's message in another post) that this created a prefs file with JIT disabled. I've updated the installer so that the defaults prefs file has JIT on.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

And the current version includes and installs keycodes file that works correctlly with the Windows keyboard.
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Windows installer

Post by adespoton »

There is some content near the head of the 9.0-9.0.4 install CD that could be checked for; my time near my disks is limited right now; on a Mac, I just run strings|grep to check for the appropriate bits, but this isn't available by default on Windows. There should be an easy way to check for the presence of a string or other sequence of bytes near the top though.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

adespoton wrote:There is some content near the head of the 9.0-9.0.4 install CD that could be checked for; my time near my disks is limited right now; on a Mac, I just run strings|grep to check for the appropriate bits, but this isn't available by default on Windows. There should be an easy way to check for the presence of a string or other sequence of bytes near the top though.
My installer is built in AutoIt, which can easily test for the presence of strings. I may check this out. Thanks for the suggestion.

Of course I wonder if anyone is ever going to use something like this - but I'm getting some enjoyment out of working on it.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

New download link (Moderator: could you kindly replace the link the first post? Thank you!)

https://www.dropbox.com/s/sn5zcrw0broc0 ... r.exe?dl=1
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Windows installer

Post by Cat_7 »

Done,

Cat_7
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

Thank you. While we're on the subject, I've adapted a system I created for the Windows version of DOSBox a while ago, and built a more elaborate launcher for SheepShaver that makes it easy to print to the default Windows printer (or any other Windows printer, if you want to choose from a menu), or create a PDF file in Windows. It's already possible to print to a network printer from SheepShaver, but this method works with any printer installed in Windows

I think most people who run SheepShaver in Windows use it for games, but if anyone uses it for applications that need to print, etc., send me a PM and I'll let you know when this is ready for further testing. At the moment, it's only practical to distribute it with a ROM and installed copy of Mac OS, so I can't post a link here.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

Apologies to the moderators, but the download link got changed again (thanks to my incompetence).

It's now:

https://www.dropbox.com/s/dyag85kv94gl6 ... r.exe?dl=1
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: SheepShaver for Windows installer

Post by Cat_7 »

done again,

Cat_7
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

And I won't need to ask again, I hope. I fiinally figured out how to avoid changing the download address...
User avatar
adespoton
Forum All-Star
Posts: 4226
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: SheepShaver for Windows installer

Post by adespoton »

one way is to use a uri shortener that you can redirect when you push a new release.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

Meanwhile, I think most people should ignore this until I figure out how to fix it. It works perfectly on two or three systems that I tried it on, but on one, it gives the dreaded "Cannot map second Kernel Data area: 487" error. I've tried the various fixes proposed elsewhere in the forum, but none work. When I find a build or prefs that work, I'll post a report of progress here.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

OK, I've fixed this by adding a second SheepShaver build to the installer, named SheepShaver-JIT.exe. If the standard version produces an error on startup, just rename SheepShaver.exe to SheepShaver-old.exe and rename SheepShaver-noJIT.exe to SheepShaver.exe, and the problem shouldn't occur.

The alternate build is the one I made by following dadreamer's instructions in another thread. JIT is not enabled, but at least it runs.

Same download link as in the first post.
emendelson
Forum All-Star
Posts: 1706
Joined: Tue Oct 14, 2008 12:12 am

Re: SheepShaver for Windows installer

Post by emendelson »

Updated with a minor fix in the launcher. Also codesigned. Same link as in the first post.
Post Reply