Evo Splash Screen Helper Script - EVO 4G Themes and Apps

Hi Everyone, I've been roaming here for the past year with my Hero and recently got my Evo and started modding.. So after searching for an easy way to create the correct stuff for splash screens, I wrote myself a small batch file to complete all the steps except making the suitable bmp file to begin with. I don't know if something like this has been done already, if it has please let me know. Otherwise, Enjoy!
Unzip into new directory (i have one just for splashes)
Prerequisits: Have your 24bit bmp file in the above directory, be in a command prompt window
Usage: create.bat imagefilename (do not add the .bmp extension)
You will be offered to create a seperate copy of the pc36img zip file as your master copy so you can more easily change on the fly if you want.
Script will clean the directory of usage files, run nbimg to convert bmp, run 7zip to create the archive, and offer to create a backup/master copy.
This could be easily ported to a bash script if desired. =)
Mods, if the title or subject matter has been delt with in the past, feel free to let me know and do what you must.
-CK

Related

[RELEASE]{02/08/2007}MODIFIED Molski Devpack Kitchen for HTC Tornado [by Duke]

Hello ALL!
Here is the long awaited HTC Tornado ROM kitchen
This Kitchen is in actual fact the Molski DEVPACK kitchen but its been MODIFIED by myself, Duke_Stix in order to be compatible with the HTC tornado and to make rom editing and cooking easier for EVERYONE!
Please note, before anybody starts pointing fingers, FULL permission was obtained from molski himself before any modifications were made and full permission was obtained in order for me to release this kitchen as the initial kitchen was of course, by MOLSKI!
This was the first kitchen that i learnt to use so it was the first kitchen i modified!
There will also be a modified CORE kitchen released soon too once i can iron out any and all bugs.
Anyway:
Pretty simple to run really. heres a few instructions to get you all started:
Download the attached file: Molskis_Devpack_modified_for_tornado_by_duke_stix.exe
READ THE PDF FILE THAT IS IN C:\DEVPACK\tools\batch\readme
Here are steps:
1) RUN the executable file, you should end up with TWO folders, DEVPACK and Molski.biz Devpack. MOVE the 'DEVPACK' folder to the ROOT of your C: drive.
2) Place ANY nk.nbf that you wish to 'unpack' into the source folder of the DEVPACK folder. so.....
' C:\DEVPACK\source ' Contains your NK.NBF file
3) Go to your desktop and into the 'molski.biz devpack' folder, this has lots of little shortcuts in it.
4) first of all, click the 'dump rom' script.
5) Let it do its thing
6) in the C:\DEVPACK folder there should now be a new folder called......ROMDUMP! (<-- guess whats in here?!)
7) Edit as much as you wish, dont forget to get rid of the first two bytes in the initflashfiles.dat file before you build rom again
8) once you've clicked the 'build rom' script go back into c:\devpack\tools and in there should be nb2nbf_tornado.exe
9) open that, dont touch anything atthe top apart fro the output field, here, I would suggest selecting your desktop and you MUST issue the file name as 'nb.nbf'
10) below that click the tick box next to 'File #1:' it will allow you to select 'file #1' point it to c:\DEVPACK\ROMDUMP and to the file called 82040000-OS.nb
11) back in the nb2nbf program select 'OS' under image name
click translate
go to your desktop, move the nk.nbf file there into C:\DEVPACK\tools\RUU_2001
run the 'ROMUpdateUtility.exe'
and away you go! should start flashing
IT IS IMPORTANT THAT YOU READ THE README FILE! i will also attach it to the post
also, anyone willing to donate can send any paypal donations to [email protected] and reference them 'duke'! very much appreciated!lol
MIRROR:
http://www.megaupload.com/?d=VWCLXM6Z
ENJOY!
post any questions here
AND DO NOT FORGET TO READ THE README FILE!!!!!
ALSO READ: http:\\www.molski.biz
HAPPY COOKING!
duke_stix said:
How to use this Rom Cooking Pack:
I tried to make everything as simple as possible, still you definitely need to know what you are doing!
Step 1:
Extract the nk.nbf file from a Rom archive (all Rom archives can be opened with tools like WinRAR) into the X:\DEVPACK\source directory.
Step 2:
Execute the DUMP_ROM script when the script is finished a ROMDUMP folder is created in X:\DEVPACK, with all the .nb files found in the nk.nbf file, the 80040000-OS.nb file will be splitted into 2 template (.bin) files and the contents of the OS templates is placed in the “dump” folder.
Step 3:
When the script is finished you can start adding and deleting (watch out what you delete!) files in the dump folder.
Step 4:
Editing the initflashfiles.dat file!
Execute the EDIT_INITFLASHFILES script so the file gets copied to the ROMDUMP directory, a backup of this file is placed in the Backup folder inside the ROMDUMP directory!
This is a very important file, when the Wizard gets a hard-reset or is flashed to another Rom, this file builds the directory structure, copys files from Windows to (as example) the Program Files directory.
These are some examples from the initflashfiles.dat file:
root:-Directory("My Documents")
Directory("My Documents"):-Directory("My Pictures")
Directory("\Windows\Start Menu")ermDir("Programs")
Directory("\Windows\Start Menu")ermDir("Settings")
Directory("\Windows\Start Menu"):-File("Messaging.lnk","\Windows\tmail.lnk")
Directory("\Windows\Start Menu\Programs"):-File("File Explorer.lnk","\Windows\fexplore.lnk")
Directory("\My Documents\Templates"):-File("love.gif","\Windows\love.gif")
As you can see, not so tough as it looks, I am not going to explain every single line of this file, but will give you one example….just to make things a little bit easier to understand!
All files from the “dump” folder are basically placed in \Windows and get copied to other directories from this point, so when a shortcut is copied from \Windows to \Windows\Start Menu\Programs you will have a shortcut in both directories (but that’s not a big deal!).
I am going to explain this line, to let you know what this line actually does
Directory("\Windows\Start Menu\Programs"):-File("File Explorer.lnk","\Windows\fexplore.lnk")
The shortcut fexplore.lnk in \Windows gets copied to the \Windows\Start Menu\Programs directory and gets renamed to File Explorer.lnk
Very easy….isn’t it? J
So…after adding all files to the “dump” directory, adding the lines of the added files (IF needed) to the initflashfiles.dat file you can save this file, make sure the last line in this file is a blank line (otherwise your device will be stuck at the second Splash Screen)!!
Example:
When you want to add a program named ABC.exe to \Start Menu\Programs, just copy the ABC.exe file to to the “dump” folder and place a shortcut named ABC.lnk in the “dump” folder and add a line for ABC.lnk into the initflashfiles.dat file.
To create a shortcut for ABC.exe, simply open Notepad, create a line like this:
24#"\Windows\ABC.exe"
(the number can be different), save it as ABC.lnk and add this to the initflashfiles.dat file:
Directory("\Windows\Start Menu\Programs"):-File("Alphabet.lnk","\Windows\ABC.lnk")
In this example the shortcut ABC.lnk, that points to ABC.exe gets placed in Programs with the name Alphabet.
After saving the initflashfiles.dat file, open the file in WinHex and remove the first 2 bytes (FF FE)!
If you don’t remove these 2 bytes your device will also be stuck at the second Splash Screen!!
After removing the 2 bytes and saving the file you can copy it to the “dump” folder (overwrite the original initflashfiles.dat file….don’t worry, you still got the backup of the original file in the Backup folder)!
Step 5:
Editing the HV Files!
Okay, let’s say that the application used in the example (ABC.exe) has a few Registry Values and will not work without it, therefore we will need to edit the default.hv and/or user.hv files.
Execute the script CREATE_RGU_FILES, this will copy the default.hv and user.hv files from the “dump” folder into a directory called HV Files in the Romdump directory and convert the 2 .hv files into .rgu files so we can edit them with notepad.
When editing .rgu files there are 4 things that are very important!
Turn off Word Wrap in Notepad
The 1st line is a blank line, type “REGEDIT4” (without quotes) on this line
Make sure the last line of the file is a blank line
Make sure the files are saved in Unicode and not in ANSI
The Windows Mobile Registry has 4 keys:
[HKEY_CLASSES_ROOT] à These Registry keys gets insert in the default.rgu file
[HKEY_LOCAL_MACHINE] à These Registry keys gets insert in the default.rgu file
[HKEY_CURRENT_USER] à These Registry keys gets insert in the user.rgu file
[HKEY_USERS] à These Registry keys gets insert in the user.rgu file
When you are finished editing the .rgu files, execute the CREATE_HV_FILES, watch properly of the files get converted without errors, if everything went okay, copy the default.hv files from the HV Files directory to the “dump” folder (overwite the original files….don’t worry, you still got the backup of the original file in the Backup folder)!
Step 6:
Okay, by now we have extracted and dumped the nk.nbf file, added and/or removed files from the “dump” folder, edited the initflashfiles.dat file, added registry values in default.hv & user.hv and copied the 3 edited files to the “dump” folder.
Now we are (finally…) ready to build the Rom!
Execute the script BUILD_ROM and wait till it’s finished (will take a couple of minutes depending on the speed of the computer).
This script will add the modified “dump” folder to the OS template files (.bin files) and when that is done it will build the 8004000-OS.nb file from the OS template file.
[\QUOTE]
Click to expand...
Click to collapse
Click to expand...
Click to collapse
reserved yet again
Thanks a lot for this tool i'll look that when i will go at home.
Thanks for all your job
can't get to megaupload.
can you upload it to rapidshare? thanks for your work.
ericjm said:
can't get to megaupload.
can you upload it to rapidshare? thanks for your work.
Click to expand...
Click to collapse
http://rapidshare.com/files/46589256/Molskis_Devpack_modified_for_tornado_by_duke_stix.exe.html
burkay said:
http://rapidshare.com/files/46589256/Molskis_Devpack_modified_for_tornado_by_duke_stix.exe.html
Click to expand...
Click to collapse
thanks dude!
anyone tried this yet then?!
\
im awaiting feedback!
When I tried to dump rom, I get this
Splitting 80040000-OS.nb into .bin files....
Unable to open source image [80040000-OS.nb]
Creating Dump directory....
Dumping Rom content into dump directory....
Please wait a couple of minutes, depending of the speed of your computer!
Dump folder is ready in ROMDUMP directory!
Press any key to continue . . .
Why is it that I am unable to open source image ?
Looks like duke stix forgot to add a rename command in the batch file.
The wizard NBF WDATA start address for the OS is 80040000 and the tornado WDATA start address is 82040000, so rename 82040000-OS.nb to 80040000-OS.nb and it should work.
Phil
jm012a9749 said:
Looks like duke stix forgot to add a rename command in the batch file.
The wizard NBF WDATA start address for the OS is 80040000 and the tornado WDATA start address is 82040000, so rename 82040000-OS.nb to 80040000-OS.nb and it should work.
Phil
Click to expand...
Click to collapse
Actually im dumping using Mozbi Devpack for Wizard, thought it is the same, it works now.
Thanks
oioi
I'll get to changing that right now. didnt notice that!
Good tools and good explanations.
I dumped I rebuilt a Qtek ROM today for my wizard, and the advices of this thread were the biggest help.
Thanks and well done.
Customized ROM hanging in spash screen
Hello Duke,
I am currently in the process of customizing my own ROMs from other user builds thanks to the tools you provided. I am having problems though...I have used multiple nk.nbf (different os) files and dumped then rebuilded without modification just to make sure I have the technique correct. That is without modifying initflash or hv files and going right to rebuilding after dumping and I am hanging on the first screen. I then need to manually go to bootloader for reinstall.
I then checked with my modified ROMs following pdf religiously (ie deleting first 2 bytes and leaving last empty line-initflash...and adding REGEDIT4 and leaving last line saving as unicode-rgu...following instructions provided) and yet I continue to hang on the first screen.
Do you have any suggestions??
Thanks again,
vjgrace

Putting togeter exe from wm6 image (noob)

Hi,
Following this thread: http://forum.xda-developers.com/showthread.php?t=310287 I created a dump directory for a WM6 image. Inside the SYS directories are a number of subdirectories. Some of these subdirectories have familiar names (e.g. calendar.exe). Using calendar.exe as an example, there are 5 files: imageinfo.bin, imageinfo.txt, S000, S001, and S002. Here are my questions:
1. What are these 5 files?
2. What tool would I use to put the folder together to create a single executable?
Sorry for the noob questions but I can't find the answer on the forums!!
OK, after trying out all of the tools in one of the bundles, I found the answer to the second question:
2. Within someone's kitchen tools (I don't remember which one I downloaded) was a file called recmod.exe. Run it with the folder as a parameter and it will put the exe together.
I still don't have the answer as to what those 5 files are though.
My terms may be off base but I'll try to explain what these files are as I understand it (and hopefully not look stupid in the meantime as I'm also trying to explain it in layman's terms).
Many core files are constructed like this so that they are optimized in the Rom to make them run more efficiently on our devices.

open and edit cab files

Hi!
I want to edit a skin package for the program "Tengo Thumb" by myself.. I have a cab file with a skin inside it but when I open it with winrar the files don't have any file-endings.. I want to get to those pictures and change them to something nicer.
Any clues?
You can install the software, take out all files you want to edit from the folder they were installed to, and then replace them with the edited files. Sounds easy, doesn't it?
This is what I do when I edit the resources of various EXEs and DLLs - sure the same will work for images.
You can afterwards repack the installed program using, for example, SK Tools (Installed Programs - Marked items - Make cab) and get yourself a working installer
There might be better and more professional ways to do the same - if anyone knows, please educate us
You could use a .cab editer like Cab Manager. With that, you can extract and add files, and then re-save the new .cab file.

Batch Flasher (splash, radio, and boots into bootloader/recovery)

Hi guys, don't know if I'm posting in the right section or not, if not move it please, I'm still fairly new here.
Thought I would share a tool of mine that I created for my own use.
It'd a DOS batch file that I use to reboot my phone into bootloader, reboot it into recovery, or to create and flash various splash images.
As of 22/05/2011 code was added to flash RADIO.IMG files to your phone.
I did some work extending it so its a bit more user friendly, and contains various explanations, options etc.
Like i say, its just a tool I created for my own use, but I figure you might get some use out of it, or you can use it to build your own custom boot loady thing.
included in the zip is adb.exe, nbimg.exe, fastboot.exe and the adb dll files, so that everything you need is contained in the same folder. There is a read me file that also points out a few features.
Enjoy
Downloaded,thanks mate....
SENT FROM HONEYSENSE
Boskoel03 said:
Downloaded,thanks mate....
SENT FROM HONEYSENSE
Click to expand...
Click to collapse
Apologies, going over the code and realized I forgot to remove the lines linking to my default Android directory (which it doesn't need, since its all self-contained now).
Have re-uploaded the ZIP but if you edit the batch file just remove the lines "cd c:\android" and your good to go.

[TOOL][SCRIPT] Alliance wbp2png Batch Converter

Hello XDA,
Here's a simple script, brought to you by ALLIANCE and myself, that will allow you to easily convert the .wbp files found in many newer apps to more manageable .png files, either individually, or in batches. For other image formats, such as .pkm and .atc, please see my thread here.
***This script is currently for Windows only.***​
The script utilizes a tool called dwebp to handle the decoding. dwebp can be run by itself to convert .wbp files to .png via the command prompt with the following:
Code:
dwebp <inputfile.wbp> -o <outputfile.png>
It has other commands and options, but for our purposes, that's the only one we're interested in. For creating .wbp files from other image formats, you can use its' sister tool, cwebp. For more information or to download the entire WebP package, please visit Google Developers.
On to the script....
SETUP
Download the attached zip file, and extract it to a location of your choice. Inside, you will find four files: dwebp.exe, a copy of these instructions, and two batch files.
Select the two batch files, right-click, and select Create Shortcut.
Next, open the run dialog (Start > Run, or windows key + r), type in "sendto" without the quotes, and press enter.
Either move or copy the two shortcuts that you created into the sendto folder, then close it. Now you're ready to convert....
USAGE
To convert individual .wbp files, simply right-click on one, and select Send To > wbp2png (file). The script will run for a couple of seconds, and once it finishes, you will have a .png in the same folder as your .wbp, and with the same name.
To convert multiple .wbp files at once, select the folder containing them (drawable-xxhdpi, for example), right-click, select Send To > wbp2png (folder), and let it do its' magic. Once it's finished, you will have .png versions of any .wbp files contained in the folder.
During batch conversion, you will likely notice several lines in the cmd output that say BITSTREAM_ERROR. This simply means that it encountered a file that was not a .wbp or .png file (such as .xml files) and is skipping over it. It is perfectly safe, and the error can be ignored.
Originally, I created this script so that it would delete the original .wbp files after it had finished generating the .pngs, but I decided to remove that functionality so that, should something go wrong in the decoding process, the user still has the originals, without having to decompile their apk again. In order to be able to recompile your apk, the .wbp files will have to be removed, once you have the .png equivalents. If anyone would like the script to remove them automatically, let me know and I can tell you how to add that functionality yourself.
Thank you,
~Morningstar
Morningstar said:
Hello XDA,
Here's a simple script, brought to you by ALLIANCE and myself, that will allow you to easily convert the .wbp files found in many newer apps to more manageable .png files, either individually, or in batches. For other image formats, such as .pkm and .atc, please see my thread here.
***This script is currently for Windows only.***​
The script utilizes a tool called dwebp to handle the decoding. dwebp can be run by itself to convert .wbp files to .png via the command prompt with the following:
Code:
dwebp <inputfile.wbp> -o <outputfile.png>
It has other commands and options, but for our purposes, that's the only one we're interested in. For creating .wbp files from other image formats, you can use its' sister tool, cwebp. For more information or to download the entire WebP package, please visit Google Developers.
On to the script....
SETUP
Download the attached zip file, and extract it to a location of your choice. Inside, you will find four files: dwebp.exe, a copy of these instructions, and two batch files.
Select the two batch files, right-click, and select Create Shortcut.
Next, open the run dialog (Start > Run, or windows key + r), type in "sendto" without the quotes, and press enter.
Either move or copy the two shortcuts that you created into the sendto folder, then close it. Now you're ready to convert....
USAGE
To convert individual .wbp files, simply right-click on one, and select Send To > wbp2png (file). The script will run for a couple of seconds, and once it finishes, you will have a .png in the same folder as your .wbp, and with the same name.
To convert multiple .wbp files at once, select the folder containing them (drawable-xxhdpi, for example), right-click, select Send To > wbp2png (folder), and let it do its' magic. Once it's finished, you will have .png versions of any .wbp files contained in the folder.
During batch conversion, you will likely notice several lines in the cmd output that say BITSTREAM_ERROR. This simply means that it encountered a file that was not a .wbp or .png file (such as .xml files) and is skipping over it. It is perfectly safe, and the error can be ignored.
Originally, I created this script so that it would delete the original .wbp files after it had finished generating the .pngs, but I decided to remove that functionality so that, should something go wrong in the decoding process, the user still has the originals, without having to decompile their apk again. In order to be able to recompile your apk, the .wbp files will have to be removed, once you have the .png equivalents. If anyone would like the script to remove them automatically, let me know and I can tell you how to add that functionality yourself.
Thank you,
~Morningstar
Click to expand...
Click to collapse
Will this work with linux or xposed?
sparx said:
Will this work with linux or xposed?
Click to expand...
Click to collapse
Yes. It works with both. I don't even understand how it works with xposed, but it does. Flawlessly.
[emoji23]
Morningstar said:
Hello XDA,
Here's a simple script, brought to you by ALLIANCE and myself, that will allow you to easily convert the .wbp files found in many newer apps to more manageable .png files, either individually, or in batches. For other image formats, such as .pkm and .atc, please see my thread here.
***This script is currently for Windows only.***​
The script utilizes a tool called dwebp to handle the decoding. dwebp can be run by itself to convert .wbp files to .png via the command prompt with the following:
Code:
dwebp <inputfile.wbp> -o <outputfile.png>
It has other commands and options, but for our purposes, that's the only one we're interested in. For creating .wbp files from other image formats, you can use its' sister tool, cwebp. For more information or to download the entire WebP package, please visit Google Developers.
On to the script....
SETUP
Download the attached zip file, and extract it to a location of your choice. Inside, you will find four files: dwebp.exe, a copy of these instructions, and two batch files.
Select the two batch files, right-click, and select Create Shortcut.
Next, open the run dialog (Start > Run, or windows key + r), type in "sendto" without the quotes, and press enter.
Either move or copy the two shortcuts that you created into the sendto folder, then close it. Now you're ready to convert....
USAGE
To convert individual .wbp files, simply right-click on one, and select Send To > wbp2png (file). The script will run for a couple of seconds, and once it finishes, you will have a .png in the same folder as your .wbp, and with the same name.
To convert multiple .wbp files at once, select the folder containing them (drawable-xxhdpi, for example), right-click, select Send To > wbp2png (folder), and let it do its' magic. Once it's finished, you will have .png versions of any .wbp files contained in the folder.
During batch conversion, you will likely notice several lines in the cmd output that say BITSTREAM_ERROR. This simply means that it encountered a file that was not a .wbp or .png file (such as .xml files) and is skipping over it. It is perfectly safe, and the error can be ignored.
Originally, I created this script so that it would delete the original .wbp files after it had finished generating the .pngs, but I decided to remove that functionality so that, should something go wrong in the decoding process, the user still has the originals, without having to decompile their apk again. In order to be able to recompile your apk, the .wbp files will have to be removed, once you have the .png equivalents. If anyone would like the script to remove them automatically, let me know and I can tell you how to add that functionality yourself.
Thank you,
~Morningstar
Click to expand...
Click to collapse
I don't understand. I tried to open this on my iPhone and nothing happened. Plz halp.
Morningstar said:
Yes. It works with both. I don't even understand how it works with xposed, but it does. Flawlessly.
[emoji23]
Click to expand...
Click to collapse
Ohhh bro! Downloading now!! You rock dude...alliance rules!!!!
Morningstar said:
Hello XDA,
Here's a simple script, brought to you by ALLIANCE and myself, that will allow you to easily convert the .wbp files found in many newer apps to more manageable .png files, either individually, or in batches. For other image formats, such as .pkm and .atc, please see my thread here.
***This script is currently for Windows only.***​
The script utilizes a tool called dwebp to handle the decoding. dwebp can be run by itself to convert .wbp files to .png via the command prompt with the following:
Code:
dwebp -o
It has other commands and options, but for our purposes, that's the only one we're interested in. For creating .wbp files from other image formats, you can use its' sister tool, cwebp. For more information or to download the entire WebP package, please visit Google Developers.
On to the script....
SETUP
Download the attached zip file, and extract it to a location of your choice. Inside, you will find four files: dwebp.exe, a copy of these instructions, and two batch files.
Select the two batch files, right-click, and select Create Shortcut.
Next, open the run dialog (Start > Run, or windows key + r), type in "sendto" without the quotes, and press enter.
Either move or copy the two shortcuts that you created into the sendto folder, then close it. Now you're ready to convert....
USAGE
To convert individual .wbp files, simply right-click on one, and select Send To > wbp2png (file). The script will run for a couple of seconds, and once it finishes, you will have a .png in the same folder as your .wbp, and with the same name.
To convert multiple .wbp files at once, select the folder containing them (drawable-xxhdpi, for example), right-click, select Send To > wbp2png (folder), and let it do its' magic. Once it's finished, you will have .png versions of any .wbp files contained in the folder.
During batch conversion, you will likely notice several lines in the cmd output that say BITSTREAM_ERROR. This simply means that it encountered a file that was not a .wbp or .png file (such as .xml files) and is skipping over it. It is perfectly safe, and the error can be ignored.
Originally, I created this script so that it would delete the original .wbp files after it had finished generating the .pngs, but I decided to remove that functionality so that, should something go wrong in the decoding process, the user still has the originals, without having to decompile their apk again. In order to be able to recompile your apk, the .wbp files will have to be removed, once you have the .png equivalents. If anyone would like the script to remove them automatically, let me know and I can tell you how to add that functionality yourself.
Thank you,
~Morningstar
Click to expand...
Click to collapse
Ooo haha. Thanks for the PM bro.
So it only works on windows...
Is there an ETA for when the update will come for the iPhone bro?
Thanks bro.
Morningstar said:
Hello XDA,
Here's a simple script, brought to you by ALLIANCE and myself, that will allow you to easily convert the .wbp files found in many newer apps to more manageable .png files, either individually, or in batches. For other image formats, such as .pkm and .atc, please see my thread here.
***This script is currently for Windows only.***​
The script utilizes a tool called dwebp to handle the decoding. dwebp can be run by itself to convert .wbp files to .png via the command prompt with the following:
Code:
dwebp <inputfile.wbp> -o <outputfile.png>
It has other commands and options, but for our purposes, that's the only one we're interested in. For creating .wbp files from other image formats, you can use its' sister tool, cwebp. For more information or to download the entire WebP package, please visit Google Developers.
On to the script....
SETUP
Download the attached zip file, and extract it to a location of your choice. Inside, you will find four files: dwebp.exe, a copy of these instructions, and two batch files.
Select the two batch files, right-click, and select Create Shortcut.
Next, open the run dialog (Start > Run, or windows key + r), type in "sendto" without the quotes, and press enter.
Either move or copy the two shortcuts that you created into the sendto folder, then close it. Now you're ready to convert....
USAGE
To convert individual .wbp files, simply right-click on one, and select Send To > wbp2png (file). The script will run for a couple of seconds, and once it finishes, you will have a .png in the same folder as your .wbp, and with the same name.
To convert multiple .wbp files at once, select the folder containing them (drawable-xxhdpi, for example), right-click, select Send To > wbp2png (folder), and let it do its' magic. Once it's finished, you will have .png versions of any .wbp files contained in the folder.
During batch conversion, you will likely notice several lines in the cmd output that say BITSTREAM_ERROR. This simply means that it encountered a file that was not a .wbp or .png file (such as .xml files) and is skipping over it. It is perfectly safe, and the error can be ignored.
Originally, I created this script so that it would delete the original .wbp files after it had finished generating the .pngs, but I decided to remove that functionality so that, should something go wrong in the decoding process, the user still has the originals, without having to decompile their apk again. In order to be able to recompile your apk, the .wbp files will have to be removed, once you have the .png equivalents. If anyone would like the script to remove them automatically, let me know and I can tell you how to add that functionality yourself.
Thank you,
~Morningstar
Click to expand...
Click to collapse
False advertising. It are not like simpilish as you said. I want my dorrars back.
sparx said:
Will this work with linux or xposed?
Click to expand...
Click to collapse
You Linux is xposed?
Morningstar said:
Yes. It works with both. I don't even understand how it works with xposed, but it does. Flawlessly.
[emoji23]
Click to expand...
Click to collapse
Truth or another round of bs? You act like this is your world and your rules or something.
RErick said:
I don't understand. I tried to open this on my iPhone and nothing happened. Plz halp.
Click to expand...
Click to collapse
Just double tap home button and change to McDonald's icons. All will be g00d.
sparx said:
Ohhh bro! Downloading now!! You rock dude...alliance rules!!!!
Click to expand...
Click to collapse
Won't boot on Samsung Note 3. Be careful. Ps glad to see you got your Linux tucked back in.
RErick said:
Ooo haha. Thanks for the PM bro.
So it only works on windows...
Is there an ETA for when the update will come for the iPhone bro?
Thanks bro.
Click to expand...
Click to collapse
Dagnammit. He didn't pm me [emoji35]
Cowboy from Hell on a twisted trail.
Koffed From my Big Ass Outlaw Phone.
sparx said:
Will this work with linux or xposed?
Click to expand...
Click to collapse
RErick said:
I don't understand. I tried to open this on my iPhone and nothing happened. Plz halp.
Click to expand...
Click to collapse
RErick said:
Ooo haha. Thanks for the PM bro.
So it only works on windows...
Is there an ETA for when the update will come for the iPhone bro?
Thanks bro.
Click to expand...
Click to collapse
Bubbajoe40356 said:
False advertising. It are not like simpilish as you said. I want my dorrars back.
You Linux is xposed?
Truth or another round of bs? You act like this is your world and your rules or something.
Just double tap home button and change to McDonald's icons. All will be g00d.
Won't boot on Samsung Note 3. Be careful. Ps glad to see you got your Linux tucked back in.
Dagnammit. He didn't pm me [emoji35]
Cowboy from Hell on a twisted trail.
Koffed From my Big Ass Outlaw Phone.
Click to expand...
Click to collapse
Why are all these morons quoting the op....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good work morningstar bro

			
				
txr33 said:
Why are all these morons quoting the op....
Good work morningstar bro
Click to expand...
Click to collapse
Pffft
Cowboy from Hell on a twisted trail.
Koffed From my Big Ass Outlaw Phone.
hey @Morningstar...added to my Image Converter. if you don't mind i'll just drop it here too.
now it BATCH resizes xxhdpi and converts .atc and .wbp images to png images
IMAGE RESIZERv2
thank you so much for this incredible tool
hello friends as you can convert jpg to wbp
thanks

Categories

Resources