Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Different approach to Bootup Splash screen

Different approach to Bootup Splash screen
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 27, 2007, 08:03 PM
 
So, we all know about editing WaitingForLoginWindow with the code from a different PDF file with a HEX editor, blah blah, been doing that since System 7 w/ the "Welcome to Macintosh" and ResEdit.


I've been tinkering recently with the version 6.0 Java developer release from apple, which happens to have a -splash:image.jpg function build in, for example:

java -splash:image.jpg HelloWorldApp, or simply java -splash:image.jpg

unfortunatly, when I edit /etc/rc and comment the line about /usr/libexec/WaitingForLoginWindow and replace it with another application, such as

/System/Library/Frameworks/JavaVM/Versions/1.6/Commands/java -splash:image.jpg

nothing shows up in the timeframe between the grey screen and the desktop (also known as the blue screen that usually has WaitingForLoginWindow running.)

Does anyone know why java would not render in this environment? Any ideas at replacing WaitingForLoginWindow with something that looks cool, like a custom splash screen, but without editing the stupid program for a crappy 16k pdf file?


Thanks in advance!
     
ecaz  (op)
Fresh-Faced Recruit
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 27, 2007, 08:08 PM
 
this is the /etc/rc change, pretty simple


if [ "${VerboseFlag}" != "-v" ] ; then
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java -splash:5.jpg
# /usr/libexec/WaitingForLoginWindow
fi


I have tried both with and without calling a Java Class at the end of the java command.

I can run other applications, but they dont' show up until the desktop loads.. how does apples program work and ours does not? Grr!
(Last edited by ecaz; Jan 27, 2007 at 08:09 PM. (Reason:disable smilies?))
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 27, 2007, 08:36 PM
 
I think Java depends on the window server to display, and the window server isn't running yet. This is a special program meant specifically to show up there.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
ecaz  (op)
Fresh-Faced Recruit
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 27, 2007, 09:22 PM
 
Any idea what its written in, or how to disassemble it so that it can be recompiled with a custom pdf, preferably one that's not 16k? =)



In any case, thanks for the info =)
     
ecaz  (op)
Fresh-Faced Recruit
Join Date: Jan 2007
Status: Offline
Reply With Quote
Jan 28, 2007, 05:05 PM
 
bump
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2