Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TOOL][LINUX]PNG to RLE conversion scripts - make your own splash screen!

OP KeiranFTW

12th February 2012, 08:51 PM   |  #1  
KeiranFTW's Avatar
OP Recognized Developer
Flag Sunderland
Thanks Meter: 2,728
 
2,639 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Right.....

There is one thing I have always wanted to do, make my own splashscreen
As you know, I am the sort of person who makes scripts to accomplish these type of things (really, my memory is that bad), so I created a set of scripts for converting RLE splash image files into PNG files, vice versa.

How to use:
Open the terminal, and issue the command:
Code:
mkdir tools
then extract http://icxperia.com/keiran/tools/splashtools.zip into the tools folder
then, in the terminal:
Code:
cd tools
chmod +x set-permissions.sh
./set-permissions.sh
exit
now, permissions for the executables have been set.
Now, move your png/rle to the tools folder.
navigate to the tools folder again, and depending on what you want to do, either double click on png-to-rle.sh or rle-to-png.sh and select run in terminal, then enter the filename of your rle/png without the rle/png extension

When converting to RLE, the RLE file will be in the OUT folder

Keiran
The Following 14 Users Say Thank You to KeiranFTW For This Useful Post: [ View ]
13th February 2012, 01:34 AM   |  #2  
sonicfreak360's Avatar
Senior Member
Thanks Meter: 65
 
258 posts
Join Date:Joined: Aug 2010
This is going to be awesome, maybe people should share their boot logos in this thread?

Sent from my R800x using Tapatalk
13th February 2012, 01:37 AM   |  #3  
Leraeniesh's Avatar
Senior Member
Flag Detroit
Thanks Meter: 967
 
1,952 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Origanel image.rle for anyone looking for it.
http://forum.xda-developers.com/atta...0&d=1328227275

Along with a tutorial on Unpacking and Repacking kernels
http://forum.xda-developers.com/show....php?t=1477845
13th February 2012, 02:27 AM   |  #4  
paxChristos's Avatar
Retired Forum Moderator
Flag Milwaukee
Thanks Meter: 1,507
 
2,036 posts
Join Date:Joined: Aug 2011
Donate to Me
More
You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...
Last edited by paxChristos; 13th February 2012 at 07:14 AM.
13th February 2012, 09:59 AM   |  #5  
Senior Member
Thanks Meter: 391
 
584 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by paxChristos

You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...

You need to add the imagemagick http://www.imagemagick.org/script/index.php (that's the missing convert executable)

@Keiran Maybe you should link to DooMLoRD's original Windows thread for credit: http://forum.xda-developers.com/show....php?t=1140406
Last edited by Atarii; 13th February 2012 at 11:30 AM.
13th February 2012, 11:21 AM   |  #6  
KeiranFTW's Avatar
OP Recognized Developer
Flag Sunderland
Thanks Meter: 2,728
 
2,639 posts
Join Date:Joined: Nov 2011
Donate to Me
More
Quote:
Originally Posted by paxChristos

You should probably put that this is for Ubuntu/whatever distro you use. I tried it on Arch Linux and it pretty much told me i was wrong :P
(Arch linux does not have the convert binary :P)

Also, when I used this tool, some (not all) of the of the colors are the negative of what they should be...

I think that has to do with the PNG format and how you save the image

Sent from my R800i using Tapatalk
13th February 2012, 02:12 PM   |  #7  
paxChristos's Avatar
Retired Forum Moderator
Flag Milwaukee
Thanks Meter: 1,507
 
2,036 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:
Originally Posted by KeiranFTW

I think that has to do with the PNG format and how you save the image

Sent from my R800i using Tapatalk

I used gimp, I'll look into the saving options, thanks for the pointer.

Sent from my R800x using Tapatalk
13th February 2012, 02:26 PM   |  #8  
paxChristos's Avatar
Retired Forum Moderator
Flag Milwaukee
Thanks Meter: 1,507
 
2,036 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:
Originally Posted by Atarii

You need to add the imagemagick http://www.imagemagick.org/script/index.php (that's the missing convert executable)

Nope, it's built into Ubuntu, not arch, different distros have different binaries stored in either /bin/ or /usr/bin/

Sent from my R800x using Tapatalk
13th February 2012, 02:37 PM   |  #9  
Senior Member
Thanks Meter: 391
 
584 posts
Join Date:Joined: May 2011
Quote:
Originally Posted by paxChristos

Nope, it's built into Ubuntu, not arch, different distros have different binaries stored in either /bin/ or /usr/bin/

Sent from my R800x using Tapatalk

Yes but you can also download the latest version from the ImageMagick and add it locally. Keiran could have packaged it into the tools and so wouldn't have this problem (as DooMLoRD's version does)
13th February 2012, 02:39 PM   |  #10  
KeiranFTW's Avatar
OP Recognized Developer
Flag Sunderland
Thanks Meter: 2,728
 
2,639 posts
Join Date:Joined: Nov 2011
Donate to Me
More
sudo apt-get install imagemagick


Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes