Login  •  Register


The time is now: Mon Apr 06, 2020 5:54 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 2 [ 48 posts ]    Go to page 1, 2  Next
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sun Dec 19, 2004 12:23 am 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
To download my new preferences editor/graphic interface/front end for the Windows port of SheepShaver, please go to:
http://www.heavensangelgraphicdesign.com/sheepgui.zip

I wrote it in 4 hours on Friday, works fine but I noticed later that it uses a non-standard font for all of the dropdown and multiselect boxes so they appear empty (but work if you can guess what the content is LoL).

My source code is at work so I can't fix it until monday, but monday morning I'll fix that font issue and upload the new version over the old one on the same link above.

Use:
unzip it to your sheepshaver folder and run it. similar in operation to the basiliskII gui everyone uses. I wrote it from scratch in 4 hours so there will be bugs (besides the missing font bug I mentioned above). I'm not releasing the vb.net source code (nothing special and rather ugly), but the app is free to distribute.

Bug Reports:
email me at [url]kelley@shaw.ca[/url]. My name's Don, I wrote this GUI thing.

Requirements:
- windows
- microsoft .NET runtime library 1.1 at least
- sheepshaver for windows
- a good rom file (which is version 8.6, or update 1.0 (same thing))
- a working PPC OS, like 9.04 (which I've tried) or 8.6 (apparently)


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Sun Dec 19, 2004 12:40 am 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1217
Location: Ouraion
Very cool Don. The executable's pretty small too. Not bad for 4 hours work. Thank you very much! :D

Could you add the capability to add more then one hard drive when you have a chance?

In case you are not familiar with Basilisk II, this is how B2's GUI looks:

Image


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Sun Dec 19, 2004 1:27 am 
Offline
Master Emulator

Joined: Sun Jan 25, 2004 3:49 pm
Posts: 377
Location: Canada
Mac Emu wrote:
Very cool Don. The executable's pretty small too. Not bad for 4 hours work. Thank you very much! :D

Could you add the capability to add more then one hard drive when you have a chance?

In case you are not familiar with Basilisk II, this is how B2's GUI looks:

Image

i would have to say the same size is good ,its easy to use but it lack the capacity of adding more then one hdd


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Sun Dec 19, 2004 5:41 am 
Offline
Forum All-Star
User avatar

Joined: Sun May 23, 2004 7:41 am
Posts: 549
Location: MY
Very nice Don...Kudos for you


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Dec 19, 2004 8:29 am 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
Hey everyone, thanks for the kind words :-)

Ok, so multiple hardfiles is a popular request, only thing is that I didn't know sheep for win could handle multiple hardfiles. I'll have to find some docs about it to see how to set that up.

Also if you notice on the input page I really have no idea what the different numbers represent for keyboard type, middle mouse butotn function etc, although the number of scrolls per mouse wheel rotation thingy was obvious enough for me.

I wrote this all using common sense with my working prefs file as a guide. I don't have any idea of extended commands or anything for the prefs file, so if there's any help I could get with which command does what and how to add to it (besides the stuff that I obviously figured out on my own like memory size etc), then please post it all here and I'll add it right away. If I know how to that is. ;-)

Don


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Sun Dec 19, 2004 9:37 am 
Offline
Real Swell Guy!

Joined: Tue Jun 22, 2004 4:20 am
Posts: 116
Hi, thanks for the GUI. However, I would like something I can build and understand myself. The first point may be to use raw Win32 API calls to keep it simple and buildable with cygwin/mingw without extra libs. The latter point may be to use an API similar to what you can find in prefs_editor_gtk.cpp. e.g. make_pane(), make_button_box(), etc.

Thus, the GUI could be integrated into the official CVS and evolving without having to always beg for GUI updates to the original author, in case of new options or other changes. ;-) Likewise for Basilisk II. Any takers?


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Sun Dec 19, 2004 12:23 pm 
Offline
Tinkerer

Joined: Tue May 18, 2004 2:56 pm
Posts: 59
Isn't it possible to tweak the BII GUI so that it works with SheepShaver?
Many of the functions are similar so there's no need to change much of it and it's pretty handy too.
Would be cool if someone could do this.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Dec 19, 2004 7:08 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
Hey GB, it's fine with me to give you the source but it's in vb.net which is why it was so easy to hack together from scratch in 4 hours.

I'm a windows developer and would be willing to do this in another language like C++ if there is good reason to do it.

The advantages of doing a windows gui in .net are that all libraries are built-in so features like the file open dialog and text file opening/parsing are really really easy to add, and the code is all in the .net library which gives me a tiny executable file. so it was either use .net or the gui would have taken me a lot longer to write. But I'm not biased towards .net particularly, it's just easier to get a quick end result than it is in C++.

I want to get a GUI out there so more people can have fun with sheepshaver, and if something better comes along it's great with me! From what you're saying though you'd like to have this written in a way that it can actually become part of the sheepshaver exe right? would rewriting this in C be sufficient or do I have to do it in assembly? Cuz C I can handle just fine (but it'll take me a bit longer), but I ain't writing nuthin in assembly ;-)

If C++ is the way to go then I'll see what I can get done for you to help out asap.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Dec 20, 2004 5:14 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
New version of sheepgui now, turns out it wasn't a font face problem but was a font color choice problem (duh!).

SHOULD work now (but can't test it cuz it worked on this machine in the first place!).

http://www.heavensangelgraphicdesign.com/sheepgui.zip

This one will get you up and running ok I think. I'll look into multiple hardfiles ASAP, and am looking into writing a gui that will integrate into the sheepshaver.exe file directly as well.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Dec 20, 2004 5:47 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
Ok, that didn't take too long ;-)

Sheepgui now supports multiple hardfiles. It uses an intuitive but less elegant interface than basilisk II, but it was easy to throw together fast which is my main goal in this gui. Add features and get it out there fast!

http://www.heavensangelgraphicdesign.com/sheepgui.zip

Don


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Mon Dec 20, 2004 6:27 pm 
Offline
Master Emulator

Joined: Sun Jan 25, 2004 3:49 pm
Posts: 377
Location: Canada
links broken


Top
 Profile  
Reply with quote Post a reply  
 Post subject: not broken for me
PostPosted: Mon Dec 20, 2004 6:38 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
Sorry, just tried it and the link wasn't broken for me.

email me and I'll email you the file (it's tiny).

kelley@shaw.ca

Don


Top
 Profile  
Reply with quote Post a reply  
 Post subject: the archive is empty
PostPosted: Mon Dec 20, 2004 9:31 pm 
Offline
Space Cadet

Joined: Sat Jun 05, 2004 12:55 am
Posts: 5
the file is an empty archive


Top
 Profile  
Reply with quote Post a reply  
 Post subject: empty archive fixed
PostPosted: Mon Dec 20, 2004 10:04 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
huh, guess it didn't upload properly last time. It's there now, I've double checked it.

Go ahead and download it.

http://www.heavensangelgraphicdesign.com/sheepgui.zip

Don


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Mon Dec 20, 2004 11:19 pm 
Offline
Master Emulator

Joined: Sun Jan 25, 2004 3:49 pm
Posts: 377
Location: Canada
yep it is now


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 21, 2004 6:48 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
There's a new version of sheepgui now, same link, and it has the following new features:

- added new button to general tab which will change settings to a known and fairly basic setup that should work for a lot of people, works for me anyway. Doesn't overwrite hardfile, cd drive or romfile prefs though so you won't lose the items that are hardest to find again.
- repaired some gui display issues on some systems
- added 1 gig ram option (for those with more than 1 gig ram pcs!?!?)
- added more useful descriptions of input control choices

http://www.heavensangelgraphicdesign.com/sheepgui.zip


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Tue Dec 21, 2004 7:34 pm 
Offline
Master Emulator

Joined: Sun Jan 25, 2004 3:49 pm
Posts: 377
Location: Canada
great work :D


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Dec 22, 2004 12:16 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1217
Location: Ouraion
gb wrote:
Any takers?

:wink:

It will take me quite a while if ever, but I have plenty of Win32 API reference books to help guide me. C (with no MASM-syntax assembly which I'd rather attempt). I'd be interested in disecting the source if someone else does it first.


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Fri Dec 24, 2004 6:33 pm 
Offline
Inquisitive Elf

Joined: Sun Jun 06, 2004 9:02 pm
Posts: 37
I'm pretty much a complete n00b, but i'm starting to get into asm. Granted i probably can't do this, i'll TRY to make an installer in asm. Don't count on this. Knowing me it will probably take 10 months to complete but i'll try :P

Mike


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Feb 09, 2005 5:30 am 
Offline
Apple Corer
User avatar

Joined: Mon Sep 23, 2002 6:53 am
Posts: 271
Edit:

It's not the GUI, but SheepShaver will crash under Windows 2000 if no hard disk image is setup. I assume it will do that on other platforms too.


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 9:55 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1217
Location: Ouraion
Has anyone experienced this problem with a .NET Framework application before? I tried reinstalling the latest .NET Framework 1.1 service pack and searched many sites for a resolution. I'm pretty sure this is a .NET 1.1 VB application. I've tried re-downloading the executable from Don's site. It happens when I launch SheepShaver GUI.

Image


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 10:14 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
Well not to sound like an idiot LoL, but I don't know why that's happening and I'm the guy that wrote the application. Honestly, I have't come across that particular problem before. It's generating a ton of error messages in the window, ones that other people aren't having, so I don't get it.

Check the following - do you only have .net framework 1.1 installed (and not beta 2.0 or 1.0)?
- can you run any other .net applications?

The second questions sort of obvious, but sometimes it's not to easy to verify. Off the top of my head I don't know any examples, although maybe "web matrix" might be written in .net (I'm not sure).


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 10:21 pm 
Offline
Student Driver

Joined: Sat Dec 18, 2004 5:58 pm
Posts: 15
actually, when I look at your error message I see a likely problem. It's complaining that you can't convert the text string "*" into an integer value (duh). So since sheepgui reads in your sheepshaver configuration upon startup, it's very likely that somewhere in your sheepshaver configuration you have an asterisk (*) where sheepgui expects to see an integer numeric value (such as 0, 1, 17, or 2005).

Please open your sheepshaver config file in a text editor and see if there's a * character anywhere and change it to a 0 or something (or change it to whatever is the logical value for that field). If it looks right to you where it is, post your config file here with the asterisk intact and maybe I can add the capability of reading an asterisk in that field into sheepgui.

And just a note: silly me for not checking such a thing in the program... I overlooked some error checking apparently. Lesson to self: never assume everyone will use the program you create in the way you expect.


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 10:30 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1217
Location: Ouraion
Thanks for replying.

Actually, it's an empty string ...

System.InvalidCastException: Cast from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.

I have NET Framework 1.1SP3 installed and some beta of 2.0. Do you know where I can download small .NET apps for 1.1\2.0?

My current prefs are
Code:
nosound false
nogui true
noclipconversion false
ignoresegv true
idlewait true
seriala file
serialb file
nonet false
jit true
jit68k false
frameskip 0
ramsize 134217728
rom C:\Sheep\ROM.rom
windowmodes 7
screenmodes 63
gfxaccel true
disk c:\sheep\os86.hfv
disk c:\sheep\100.hfv
cdrom E:
nocdrom false
bootdrive 0
bootdriver 0
pollmedia true
enableextfs false
debugextfs false
extdrives CD
keyboardtype 5
keycodes false
mousewheelmode 1
mousewheellines


Please let me know if you want me to try out or find out anything.


Top
 Profile  
Reply with quote Post a reply  
 Post subject:
PostPosted: Wed Apr 06, 2005 10:38 pm 
Offline
Forum All-Star
User avatar

Joined: Mon May 20, 2002 11:50 am
Posts: 1217
Location: Ouraion
Doh. The following seems to have fixed things.

mousewheellines 1


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 2 [ 48 posts ]    Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group