FORUMS

[Tool] Battery Mod Creator V1.1

1,541 posts
Thanks Meter: 2,447
 
By Thunder07, Recognized Contributor / Inactive Recognized Developer on 22nd September 2012, 12:03 PM
Post Reply Email Thread
I Know, I Know
Yet another tool from Thunder,
BUT don't you just love me for that

This Time I Present To You Battery Mod Creator,

This Tool Will Create 101 Battery Icon From 2 images (one of a full battery & one of an Empty battery Picture)
and at the same time it will create 101 charging icon to save you the hassle of doing that aswell.....
But it doesn't stop there...
it has a separate tab that will take those 202 images and shove them into an APK and into a flashable zip...
all with few simple Clicks
Updates
Update V1.0:
Initial Relase
Update V1.1:
Separated 101 picture creating process from percentage/bolt adding
Much more control over the Percentage/Bolt Adding
[INDENT]
Upcoming Updates
Update V1.1:
Will Support Custom Output Sizes/INDENT]
Suggestions
And suggestion is more than welcome
Requirements
-ImageMagik, For image Processing
Get ImageMagick-6.7.9-6-Q8-windows-dll.exe for 32bit windows
Get ImageMagick-6.7.9-6-Q16-windows-x64-dll.exe for 64bit windows
If you know of a libarary which i can use to avoid this download let me know about.
-WinRar, For Zipping The APK & Flashable ZIP
when i get time ill remove the winrar requirement and add my own zipping library
-A SystemUI.APK that supports 1% battery incremental
IF You Use This Tool, Please Credit and let me know,
unless it's a private personal project

You Can Thank Fightspit For The Coloured Sense Icons which is used in the SystemUI.apk included as a template

DOWNLOAD HERE

Attached Thumbnails
Click image for larger version

Name:	BatteryMod.jpg
Views:	4548
Size:	44.7 KB
ID:	1345258  
The Following 30 Users Say Thank You to Thunder07 For This Useful Post: [ View ] Gift Thunder07 Ad-Free
22nd September 2012, 12:03 PM |#2  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More

Image Processing(1)

1) this is were you choose the foler that contains the Images full.png & empty.png
2) Hovering Over will show you both pictures, To Make Sure They Fit One Another
3) Confirm That They Fit
4) select from which side is the battery full at and in which direction in discharges
5) now click on the full starting section of the battery, make sure you're within the battery and not in the white space as shown
The Left Side is Always 1st then the Right,
If You Have A Vertical Battery,
The Downside Comes 1st.
6) Click Finish
7) if you're happy with your selection click Save
8) To add another battery Click on new and start from step one
9) when you finish click process and watch the magic taking place.... you'll just be there staring at the screen
Now 101 Pciture Will Be Created And Placed With Full.png/empty.png in a folder called reusable

Image Processing(2)

1) Choose The Folder Containing usable from the previous step
2) Custimzate Your Font & Battery Charge
3) Preview
4) If You Are Happy Save It
5) If You Want To Add More Click New And Start From Step 1
6) Let The Magic Happen
Packaging
1) Click Add Battery
2) choose The Folder With "res" folder which contains either or both of the "drawable-hdpi" and "drawable-xhdpi" folder
3) Click Process

Note:
for this you must make sure the SystemUI.apk in the Template folder supports 100 battery incremental
the current one does and will work with any base 2.17,
unless you're running a run with a theming engine such as viper or CD-Tool,
in that case for CD-Suite, it will generate CD flashable zip but none yet for viper
The Following 7 Users Say Thank You to Thunder07 For This Useful Post: [ View ] Gift Thunder07 Ad-Free
22nd September 2012, 12:03 PM |#3  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More
reserve
The Following 2 Users Say Thank You to Thunder07 For This Useful Post: [ View ] Gift Thunder07 Ad-Free
22nd September 2012, 12:10 PM |#4  
ClydeB1's Avatar
Senior Member
Thanks Meter: 4,355
 
Donate to Me
More
Awesome work mate.
22nd September 2012, 12:40 PM |#5  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More
Quote:
Originally Posted by ClydeB1

Awesome work mate.

Thanks
22nd September 2012, 02:15 PM |#6  
backfromthestorm's Avatar
Senior Member
Flag 47000 places at once.
Thanks Meter: 270
 
More
You are a genius. How you think of these things! Wicked.
22nd September 2012, 05:24 PM |#7  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More
Quote:
Originally Posted by backfromthestorm

You are a genius. How you think of these things! Wicked.

necessity is the mother of invention

i wanted to make battery mods but didn't want the hassle of making 101 different icons,
then there is the hassle of numbering them,
there is also the hassle of resizing them,
and the hassle of creating the charging images,
not to forget packing and flashing

so i did my research and with the knowledge i had.. Voila
The Following User Says Thank You to Thunder07 For This Useful Post: [ View ] Gift Thunder07 Ad-Free
22nd September 2012, 06:48 PM |#8  
backfromthestorm's Avatar
Senior Member
Flag 47000 places at once.
Thanks Meter: 270
 
More
Im getting to process `picking correct images` in the magik bit but then it closes, windows has a problem apparently. hmmm. i got image shack and winrar and that...
22nd September 2012, 07:03 PM |#9  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More
Quote:
Originally Posted by backfromthestorm

Im getting to process `picking correct images` in the magik bit but then it closes, windows has a problem apparently. hmmm. i got image shack and winrar and that...

that would happen if you mix step 5 with 6,
thats a check i should add next update.
22nd September 2012, 07:51 PM |#10  
backfromthestorm's Avatar
Senior Member
Flag 47000 places at once.
Thanks Meter: 270
 
More
Quote:
Originally Posted by thunder07

that would happen if you mix step 5 with 6,
thats a check i should add next update.

i click save job then process. I cant see steps five or six, which are they? only numbered to 4.

edit - you meant the above steps, yeah ive tried it both ways. nevermind!
23rd September 2012, 12:42 AM |#11  
Thunder07's Avatar
OP Recognized Contributor / Inactive Recognized Developer
Thanks Meter: 2,447
 
Donate to Me
More
Quote:
Originally Posted by backfromthestorm

i click save job then process. I cant see steps five or six, which are they? only numbered to 4.

edit - you meant the above steps, yeah ive tried it both ways. nevermind!

if its still not working can you upload me the pictures or PM me them and ill test it out.
The Following User Says Thank You to Thunder07 For This Useful Post: [ View ] Gift Thunder07 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes