You are here

Change or add splash screen

13 posts / 0 new
Last post
Buzz
Offline
Last seen: 15 years 5 months ago
Joined: 2006-04-10 10:19
Change or add splash screen

Hi,

I would like to change the splash screen in firefox, fillezilla, and add one in thunderbird which doesn't have.
Is it possible with an exa editor like portableXNRE or is it just a .ini to change or a xml....
Thank yopu in advance, And thank you again for your contribution to the free software community.

Deuce
Offline
Last seen: 14 years 1 month ago
Developer
Joined: 2005-12-24 16:32
The splashscreen....

is built into PFF and is coded within the NSIS script that is use to build PFF. It is in the PFFCode folder, and has a .NSI extention. To change it, just replace the splash screen picture with what you want and name it the same name as the original splash screen. Then use Portable NSIS to recompile the script. (Search Portasoft.com for it) That is the only way to change the splash screen. I am assuming that to add a splash screen to Thunderbird, you just need to add in the same code as is in the PFF .NSI to the Tuhunderbird .NSI, and recompile.

The .ini file is used only to turn the splashscreen on and off.

***********************************
Deuce {The Core}
"Portable Software: Just the beginning.

Deuce
Portable Software: Just the beginning.

Buzz
Offline
Last seen: 15 years 5 months ago
Joined: 2006-04-10 10:19
Not realy clear

I replaced the original .jpg with the same name in "\PortableFirefox\PortableFirefoxCode"
Then I don't realy know what to change in the .nsi file, I just know where to look :

ProfileFound:
StrCmp $DISABLESPLASHSCREEN "true" SkipSplashScreen
;=== Show the splash screen before processing the files
InitPluginsDir
File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"

StrCmp $WAITFORPROGRAM "true" ShortSplashScreen
newadvsplash::show /NOUNLOAD 30000 400 0 -1 /L $PLUGINSDIR\splash.jpg
GoTo SkipSplashScreen

ShortSplashScreen:
newadvsplash::show /NOUNLOAD 3000 200 0 -1 /L $PLUGINSDIR\splash.jp

What I have to change exactly, thank you again.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
You dont

If you replaced the jpg you dont need to change any code.
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

Buzz
Offline
Last seen: 15 years 5 months ago
Joined: 2006-04-10 10:19
Not Enouch

That doesn't work, I think I need to edit the.nsi as said John but I don't know exactly how, I just (as I writed) what lines of the script is about.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
This then:

Change ${NAME}.jpg to the name of the jpg.
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 7 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
No, you don't

Change the JPG and recompile. That's it.

Sometimes, the impossible can become possible, if you're awesome!

daniel
Offline
Last seen: 17 years 11 months ago
Joined: 2005-12-15 06:18
Compiling Error

I get this:

IfFileExists: "$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" ? FoundProgramEXE :
MessageBox: 48: "$PROGRAMEXECUTABLE was not found. Please check your configuration"
Abort: ""
StrCmp "$ALLOWMULTIPLEINSTANCES" "true" equal=ProfileWork, nonequal=
Invalid command: FindProcDLL::FindProc
Error in script "X:\PortableFirefox2\PortableFirefoxCode\PortableFirefox.nsi" on line 188 -- aborting creation process

I am using the one from 1.5.0.2. Here are lines 177 through 188 inclusive of the NSI:

EndINI:
IfFileExists "$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" FoundProgramEXE

NoProgramEXE:
;=== Program executable not where expected
MessageBox MB_OK|MB_ICONEXCLAMATION `$PROGRAMEXECUTABLE was not found. Please check your configuration`
Abort

FoundProgramEXE:
;=== Check if Firefox is running
StrCmp $ALLOWMULTIPLEINSTANCES "true" ProfileWork
FindProcDLL::FindProc "firefox.exe"

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 7 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Plugin

That's an NSIS plugin you need to install. FindProcDLL. Google it.

Sometimes, the impossible can become possible, if you're awesome!

daniel
Offline
Last seen: 17 years 11 months ago
Joined: 2005-12-15 06:18
Thanks

Thanks. Finally success (after another plugin)!

Also, for those who want to try it, be forewarned there's another plugin:

http://nsis.sourceforge.net/NewAdvSplash_plug-in

Here's the first one mentioned:

http://nsis.sourceforge.net/Find_Process_By_Name

Buzz
Offline
Last seen: 15 years 5 months ago
Joined: 2006-04-10 10:19
Still not working

That doesn't work, I've changed the .jpg file and recopile it but, the spalsh is still the same, maybe because of :

"Error in script "d:\Documents and Settings\adenfert\Desktop\PortableFirefox\PortableFirefoxCode\PortableFirefox.nsi" on line 185 -- aborting creation process"

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Whats on 185

Whats on line 185?
----
R McCue

"If you're not part of the solution, you're part of the precipitate."

jamcam
Offline
Last seen: 18 years 3 months ago
Joined: 2006-08-13 04:48
Just Push The Easy Button

Disable the portable apps splash screen

download the splash extension
https://addons.mozilla.org/firefox/2995/

Just Push The Easy Button

JC-ya

Topic locked