SheepShaver Prefs Editor for Mac OS X

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

Myrd
Granny Smith
Posts: 107
Joined: Mon Dec 25, 2006 4:09 am

SheepShaver Prefs Editor for Mac OS X

Post by Myrd »

Hi folks,

I made a prefs editor in Cocoa for SheepShaver on Mac OS X.

Its much more useable than the "SheepShaverGUI" that comes with
SheepShaver on the Mac.

Grab it at: http://fizzysoft.net/get.php?f=SheepShaverPrefs.zip

To use it, simply drop it into your SheepShaver folder, and it works
like SheepShaverGUI, but better.

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

Post by Cat_7 »

Hello,

Thank you for a very nice piece of work. I works perfectly.

Please allow me to make some remarks as well?
-I get a yellow mouse over message at the ethernet option, saying EtherNet is not implemented. I believe that to be untrue ;-)
-The setting "Mouse Wheel Function" shows the same option twice (Cursor Up/Down) while when I chose the first of these the correct value (PageUp/PageDown) is actually written to the prefs file.
-Would it be possible to add the possibility to start SheepShaver from the GUI?


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

Post by Ronald P. Regensburg »

Hello Myrd,

Thank you for this very nice Christmas present! Yes, for a Mac user this looks and feels much much better than the interface presented by SheepShaverGUI

I did a couple of tests and I have several remarks:
(This means I consider your contribution to be important !)

1. The same remarks as Cat_7 already wrote above, regarding mouse wheel function menu, a start SheepShaver possibility and the ethernet networking setting.

Ethernet is available in SheepShaver. You could enter "slirp" networking by default, because that is the only ethernet networking available at the moment. Or you could make it a menu with "slirp" as the only choice, like it is in SheepShaverGUI.

2. If no existing ".sheepshaver_prefs" is available, SheepShaverPrefs will create one but next thing it crashes. At repeated launch it again crashes.

Only after adding the path to a ROM file in ".sheepshaver_prefs", SheepShaverPrefs can be launched without crashing. If you cannot reproduce the crash on your machine, would a crash log be helpful? My machine is a PowerBook G4 with MacOSX 10.4.8.


Suggestions to make SheepShaverPrefs even better:

3. It would be nice when also ROM File, Unix Root and Keycodes file could be chosen using the Open dialog. (A "Choose" button?)

4. With Cocoa applications being packages, it would be relatively simple to combine files:

A keycodes file could be added to the package and in the interface only the checkbox "Use Raw Keycodes" would be needed. In fact, I think even the checkbox is not necessary. The keycodes file can be used always, it does no harm when you do not need it and it is needed when SheepShaver is used in languages that use different keyboard lay-outs.

Even more exciting: The whole thing, including the SheepShaver executable, could be in in one SheepShaver for MacOSX application package. Any ideas about that? (A pity that a ROM file can not be included for legal reasons.)

A Merry Christmas !

Ronald.
Myrd
Granny Smith
Posts: 107
Joined: Mon Dec 25, 2006 4:09 am

Post by Myrd »

Thanks for the feedback. I'll see what I can do.
Myrd
Granny Smith
Posts: 107
Joined: Mon Dec 25, 2006 4:09 am

Post by Myrd »

Ok I've updated it, same download location.

Fixed in 1.0.1:

- Crash with new preferences
- Bad tooltip over Ethernet pref
- Wrong Mouse Wheel options in drop-down list

I'll look at the other stuff when I get some more time.

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

Post by Ronald P. Regensburg »

The speediest bug fixes ever. :wink:

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

Post by Ronald P. Regensburg »

I noticed that one can add ROM file, Unix Root and keycodes file by simply dragging the icon from the Finder to the appropriate text box. The path will automatically be entered. Nice! No need for the 'Browse' or Choose' buttons that I requested earlier.

The possibility to start from SheepShaverPrefs would be nice, but is not really necessary. Quitting SheepShaverPrefs (it quits when the window is closed) saves the changes without SheepShaver running.

Missing, however, is "Zap PRAM File" that SheepShaverGUI has in its File menu. It deletes the file ~/.sheepshaver_nvram
It could be a button at the bottom of the Setup tab in SheepShaverPrefs.
jrethorst
Tinkerer
Posts: 68
Joined: Sun Nov 05, 2006 1:21 am

Post by jrethorst »

Ronald P. Regensburg wrote:Missing, however, is "Zap PRAM File" that SheepShaverGUI has in its File menu. It deletes the file ~/.sheepshaver_nvram. It could be a button at the bottom of the Setup tab in SheepShaverPrefs.
Which version of SS GUI are you using? I'm using 2.3 of May 14, 2006. It has no file menu. Nor does SS itself. They have application and window menus only.
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Post by Cat_7 »

Are we talking about the same GUI?

The official SheepShaver Settings GUI (the GTK-based one) included in the SS download does have a file menu.

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

Post by Ronald P. Regensburg »

SheepShaverGUI does not use the usual Mac interface with menus in the menu bar. The menus are, like in Windows and Unix interfaces, at the top of the window. There you will find a File menu and a Help menu.
jrethorst
Tinkerer
Posts: 68
Joined: Sun Nov 05, 2006 1:21 am

Post by jrethorst »

Ronald P. Regensburg wrote:SheepShaverGUI does not use the usual Mac interface with menus in the menu bar. The menus are, like in Windows and Unix interfaces, at the top of the window. There you will find a File menu and a Help menu.
I had missed those - thank you.
eMax
Student Driver
Posts: 21
Joined: Sun May 13, 2007 12:32 pm

Post by eMax »

Thanks you all!
DJ Exprice
Space Cadet
Posts: 2
Joined: Wed Jul 11, 2007 12:39 am
Location: San Francisco, California
Contact:

Post by DJ Exprice »

This...kicks @$$ for sure. Love it. Much cleaner that the original. Thank you!


Cheers,
·:DJ Exprice:·
Myrd
Granny Smith
Posts: 107
Joined: Mon Dec 25, 2006 4:09 am

Post by Myrd »

I modified SheepShaver so that the new Prefs Editor can be brought up from the SheepShaver -> Preferences menu item. The updated code is in CVS (you will have to re-run autogen, before building).

Though the prefs editor is available while SheepShaver is running, changes to some (most?) settings may not take effect until SheepShaver is restarted. This may be addressed in the future.

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

Post by Cat_7 »

Hi,

I compiled and things seem OK. Thanks! It's a good step in usability for OS X users.

Best,
Cat_7
MetalSnake
Granny Smith
Posts: 120
Joined: Fri Nov 09, 2007 5:42 pm

Post by MetalSnake »

I just updated the MainMenu.nib file:
Window is now resizeable (finally you can see which images you have in your prefs)
It saves window position (and size)

http://citron.quickshareit.com/share/sh ... s8326c.zip

Hope you like it.
Last edited by MetalSnake on Tue Jan 29, 2008 2:35 pm, edited 2 times in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Setup tab looks OK, the other tabs need adjustments for the resizable window.
MetalSnake
Granny Smith
Posts: 120
Joined: Fri Nov 09, 2007 5:42 pm

Post by MetalSnake »

Ouch thanks!

New version here: http://citron.quickshareit.com/share/sh ... s8326c.zip
updated the old link too.
Last edited by MetalSnake on Tue Jan 29, 2008 2:35 pm, edited 1 time in total.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Now OK. Nice to be able to view full paths, thanks.

You wrote that window position and size is remembered. Not on my machine.
MetalSnake
Granny Smith
Posts: 120
Joined: Fri Nov 09, 2007 5:42 pm

Post by MetalSnake »

weird, works for me.
Do you have a com.yourcompany.SheepShaverPrefs.plist file in ~/Library/Preferences?
Maybe try to delete that
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Tried again. I now see that remembering window size and position only works if I quit SheepShaverPrefs using the application menu (or command-Q). I usually quit one-window applications like this one by clicking the red close button. That's why it did not work for me.
MetalSnake
Granny Smith
Posts: 120
Joined: Fri Nov 09, 2007 5:42 pm

Post by MetalSnake »

weird, that could be a bug in the source code, but I have no access to it, so I can't check.
MikeD
Space Cadet
Posts: 1
Joined: Thu May 29, 2008 10:49 am
Location: Devon, England

How2 Download SheepshaverPrefs

Post by MikeD »

How do I download this. I click on the link and I get the home page of QuickShareIt but no indication as to how to get the file.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

Apparently the link is broken. The original SheepShaverPrefs by "Myrd" can still be downloaded from the address in the first posting in this topic. It does not have the resizable prefs window but it's functionality is otherwise identical.
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Post by Ronald P. Regensburg »

I posted MetalSnake's version of SheepShaverPrefs with resizable window on my site:
http://www.xs4all.nl/~ronaldpr/emaculat ... rPrefs.zip

Convenient when you need to use long file name paths or many volumes in the list!
Post Reply