Slide # 1

1

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 2

2

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 3

3

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 4

4

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Slide # 5

5

GET TUTORIALS RELATING TO JAVA S40 N AlchemyOS N OTHER OS!!! Read More

Sunday, 26 May 2013

Change UCweb Startup Color (Newer Versions) by badp90

I know many know this and dzebb had already made one tut about this long time ago, but that one isnt valid for newer versions. So I am sharing new way of changing ucweb's startup color. It requires little graphics editing and little reverse engineering. So lets start.

THEORY: If you have ever seen the .png files inside the ucweb's jar file, then you probably know that there are png files which are actually the startup image, the loading dots and logo. The names of these png files are in numbers. Here I am using UC 8.8, and talking to its context, the names of image files are 29.png; 30.png; 31.png and 32.png. These names are actually clue to find the class file which contains color code of startup screen. Further, there are other symbols in that class file; like "%";"[";"]". It is best to search the class file using "%" symbol (and I have used that only ;))

Tools:
1) File manager (I use mini commander)
2) Bytecode editor
3) Graphics editor like paintcad or propaint (I use paintcad)

Procedure:
1) Change the jar file name to .zip (if needed); Extract all files in a folder using a file manager
2) Open bytecode editor. Browse towards the folder where you have extracted all files. Goto options and search. Enter search symbol as "%"; Obviously without quotes.
SuperScreenshot0034.jpg 

3) Few class files will popup.
SuperScreenshot0035.jpg 

Now you have to do one operation on all of them untill you find correct file. Open a class file. Go to its constant pool. You will see some integer constants. 
SuperScreenshot0036.jpg 

Press "*"  and now only string constants will appear.
SuperScreenshot0037.jpg 

Now you have to check if there are 29, 30, 31 and 32 written there or not. YOU DONT HAVE TO SCROLL TO CHECK. In the correct class file, the symbols will appear as soon as you press *.
If the class file is correct, you will see structure like this :
SuperScreenshot0038.jpg 

4) Once you have found the correct class file,you just have to remember its name. Close this class file and again open it. You will again see some numbers as integers. This time, dont press *. Check out line number 5 as shown in pic.
SuperScreenshot0039.jpg 

5) Now, as you may remember, the color of ucweb 8.8 start is somewhat white. The decimal color code of white is 16777215 to be exact. Since this number at line 5 is very close to white, using our common sense, we can predict that this number is actually the color code. So we change this to our desired color code. I change it to zero , which means "black".
SuperScreenshot0040.jpg 

6) Save the changes and insert back the class file in zip/jar file.
SuperScreenshot0042.jpg 

Install and check the effect.
SuperScreenshot0043.jpg 

7) If the startup color has change, its time to change the splash image and loading dots. As they are simple graphical editing, I am not explaining them right now. You can tell me if you want a tutorial for it too.
8) After you have done everything, you can further change the default theme of ucweb to make it suitable for you mod. Like the black or machinery theme will be perfect for this mod. I am attaching my changed png file below, and here is how startup looks after implementing them.
SuperScreenshot0044.jpg 

Feel free to ask anything and tell me if you want graphical portion help too ! 
29.png 

30.png 

31.png 
32.png

0 comments:

Post a Comment