Need a hand testing my screensaver... please?

ppinter1
Unregistered
 
Post: #1
I was referred here by a contributor on the opengl.org forums at http://www.opengl.org/discussion_boards/...00333.html

as a place where Mac OpenGL wizards hang out.

I need to ask for some help... my screensaver works perfectly here, but logs a 'System Preferences[561] can't get principalClass' error on the one other machine I've tested this on.

First, would someone please confirm they get the same error? Again, the screensaver and its 3DS mesh loader framework both work perfectly on my machine.

Second, would anyone have a clue as to the nature of the above error code?

Additional details are available via the discussion thread listed above.

Many thanks,
/p2
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
I followed your installation instructions, and it's working for me. I don't get anything printed in the Console log.

Don't use metal for the configuraton sheet -- it's not really appropriate for a sheet in the first place (they're supposed to be semitransparent), and it looks completely out of place in the system preferences. It could also be causing the screensaver to fail on 10.1 installations.
Quote this message in a reply
ppinter1
Unregistered
 
Post: #3
Hello again OSC!

It's working for you insofar as you're getting the 3DS meshes, animated starfield and all?

I admit I made a wild-ass guess last night and removed the principalClass entry of "Mesh3DS" from the Mesh3DS.framework project, leaving only the super-ordinate class called "SpaceTime" as boss.

Maybe that's all it was, but I'd be happier with a few more successful tests before breaking out the beers!

I dunno...
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #4
Quote:It's working for you insofar as you're getting the 3DS meshes, animated starfield and all?

Well I don't have a reference screenshot to go by, but it looks like it's working just fine to me... certainly I get some stars in the background, streaks in what looks like a cylinder, and a spaceship model flying round in the middle.
Quote this message in a reply
ppinter1
Unregistered
 
Post: #5
Yup, that's all there is with this Beta.

Well, maybe just one beer then...
Quote this message in a reply
macboy
Unregistered
 
Post: #6
Didn't work for me. Installed it and the framework in the correct places, restarted, no preference pane in the system preferences, went to the Screensaver pane and tried it anyways and nothing but a blank screen came up.

OS X 10.1.5

P.S. This could go in the Help Wanted/Offered section.
Quote this message in a reply
Feanor
Unregistered
 
Post: #7
Hello, works fine on my machine.

Config: D867, X.2.4, GF4mx, 256MB
Quote this message in a reply
ppinter1
Unregistered
 
Post: #8
macboy,

Thanks for the testing help, and the pointer to help wanted/offered.

This thing is jaguar only; I'll update the Release Notes file to indicate the caveat.

Cheers,
/p2
Quote this message in a reply
ghettotek
Unregistered
 
Post: #9
works fine for me. i do get "can't get principalClass for /Library/Screen Savers/SpaceTime.saver" printed in Console when i go to configuration. otherwise the screensaver works perfectly.
Quote this message in a reply
ghettotek
Unregistered
 
Post: #10
btw ppinter1, thanks for introducing me to Mesh3DS. ive been looking everywhere for something like this.
Quote this message in a reply
ppinter1
Unregistered
 
Post: #11
Thanks ghettotek...

Baffling why Preferences barks about principalClass, yet loads and configs the screensaver happily enuf.

Also, I'm pleased to hear Mesh3DS (I'm assuming the Windows version) may be useful to you!

Cheers,
/p2
Quote this message in a reply
Feanor
Unregistered
 
Post: #12
Ghettotek,

PLEASE, start a new thread for this.
Quote this message in a reply
griffin239
Unregistered
 
Post: #13
Works 100% on dual 450 g4 running 10.2.4.

This screen saver rocks!

Choose folder option for 3ds files is a must!

I just changed the TIE fighter to a deathstar by hand
and it worked perfectly..except texture loading.
There are 13 textures for the deathstar..ugh.

Hang around here and make games ppinter!
Quote this message in a reply
ppinter1
Unregistered
 
Post: #14
So, some people get the gimpy message about "can't find principalClass" and other don't.

Among those that do, some get a black screen, some do not.

No consistency among OS X levels; gotta be something environmental. Are the guys with the error definitely putting the .saver file in their /home/users/myusername/library/screen savers folder?

I'm just not clever enough to fathom the vagaries of this new environment, I guess.

Griffin239 : Grats, eh? BTW: send me your deathstar plus textures and I'll fix it. I'm at pinter@p-squared.com

If someone could point me to a simple example of opening up a 'file selection dialog', I'll add that too. It's a couple lines of code on Win32; must be easy on Cocoa as well but I'll be buggered if I can find a cogent example.
Quote this message in a reply
Feanor
Unregistered
 
Post: #15
Quote:Originally posted by ppinter1
If someone could point me to a simple example of opening up a 'file selection dialog', I'll add that too. It's a couple lines of code on Win32; must be easy on Cocoa as well but I'll be buggered if I can find a cogent example.
Here's pseudocode:
[SOURCECODE]
[[NSOpenPanel openPanel] beginSheetForDirectory:(NSString *) directory
file:(NSString *) filename
types:(NSArray *) fileTypes
modalForWindow:(NSWindow *)docWindow
modalDelegate:(id)modalDelegate
didEndSelector:(SEL)didEndSelector
contextInfo:(void *)contextInfo];[/SOURCECODE]
There's also a simpler method. From the docs:
Quote:-(int)runModalForTypes:(NSArray *)fileTypes

Invokes the runModalForDirectory:file:types: method, using nil for both the filename and directory arguments. See the description of runModalForDirectory:file:types: for details. The fileTypes argument is an NSArray containing the extensions of files to be shown in the browser. Returns NSOKButton (if the user clicks the OK button) or NSCancelButton (if the user clicks the Cancel button).
You get the filenames by calling [[NSOpenPanel openPanel] filenames] which returns an NSArray of NSStrings containing user selected file names as absolute paths.
Quote this message in a reply
Post Reply