PDA

View Full Version : Want to change color of hdloader boxes


eight_heads
09-01-2004, 06:13 PM
does anyone know how to change the color of the blue boxes that hdloader automatically puts over any image you inject? i guess that the color values for it could be hex edited, i just don't know where they are located.

eight_heads
09-02-2004, 12:56 PM
anyone got any ideas? i'm a little new to hex editing so i'm kinda lost

ÇÐ~kÂ??
09-03-2004, 07:07 AM
hex editing is cool

<G>
09-03-2004, 12:48 PM
this is pretty much the last thing to be looked into. just about everything else has been hacked

eight_heads
09-03-2004, 07:51 PM
thanks for making this a sticky.... :)

Zer0-X
09-03-2004, 11:28 PM
The first column is the location in the unpacked ELF, second column: a_ is alpha and r_, g_ & b_ should be quite clear for everyone. So you only edit the values of r_, g_, b_ & a_, and even then it's propably best to leave the a_ values alone if you can't think of any reasonable reason to edit it.


Messages & confirmations:
------------------------------------
Frame:
00002158 b_a_093C
00002168 r_g_2935
00002180 b_a_093C
00002198 r_g_2935

Titlebox:
000020E4 b_a_093C
000020FC r_g_2935

Titletext:
000021A8 b_a_093C
000021B8 r_g_2935

Textbox:
0000212C b_a_093C
00002144 r_g_2935

Text:
000021E0 b_a_093C
000021F0 r_g_2935

Game title in remove confirmation:
00003458 b_a_0A3C
00003484 r_g_4A35

Selected button highlight:
00002258 b_a_023C
00002264 r_g_4234

Unselected button highlight:
000022A8 b_a_023C
000022B4 r_g_4234

Button text:
000022F4 b_a_093C
00002328 r_g_2935



Inputbox:
------------------------------------
Frame:
00002560 b_a_053C
00002588 r_g_a534

Titlebox:
00002554 b_a_033C
00002584 r_g_6334

Titletext:
00002C98 b_a_093C
00002CB8 r_g_2935

Textbox:
0000254C b_a_023C
00002580 r_g_4234

Text:
00002568 b_a_073C
00002590 r_g_E734

Cursorblock:
00002564 b_a_063C
0000258C r_g_C634

Selected char/text:
0000256C b_a_083C
00002594 r_g_0835



Game list:
------------------------------------
Active frame:
00003E94 b_a_033C
00003EBC r_g_6334
00004CDC b_a_093C
00004CE4 r_g_2935

Active titlebox:
00003EAC b_a_093C
00003ECC r_g_2935

Inactive frame:
00003EB4 b_a_103C
00003ED4 r_g_1036
00004CD8 b_a_023C
00004CE0 r_g_4234

Inactive titlebox:
00003E9C b_a_023C
00003EC4 r_g_4234

Titletext:
00003FAC b_a_093C
00003FC4 r_g_2935

Textbox & scrollbar background:
00003EFC b_a_093C
00003F18 r_g_2935

Scrollbar:
00004D48 b_a_093C
00004D5C r_g_2935

No games installed:
00003FF8 b_a_093C
00004010 r_g_2935

Text:
00004C44 b_a_0A3C
00004C4C r_g_4A35

Selected text:
00004C48 b_a_023C
00004C54 r_g_4234



Toolbar:
------------------------------------
Active frame:
00004044 b_a_023C
0000404C r_g_4234

Active titlebox:
000040E4 b_a_093C
000040EC r_g_2935

Inactive frame:
0000406C b_a_103C
00004074 r_g_1036

Inactive titlebox:
000040C4 b_a_023C
000040E0 b_a_023C
000040E8 r_g_4234

Titletext:
00004130 b_a_093C
00004148 r_g_2935

Textbox:
0000410C b_a_093C
00004128 r_g_2935

Play:
0001C320 r_g_b_a_

Install:
0001C324 r_g_b_a_

Remove:
0001C328 r_g_b_a_

Rename:
0001C32C r_g_b_a_

Selected text:
000040CC b_a_033C
000040D0 r_g_6334

Game size:
0000438C b_a_093C
000043A8 r_g_2935

x GB:
000043E4 b_a_0A3C
00004408 r_g_4A35

HDD size:
00004428 b_a_093C
00004444 r_g_2935

y GB:
00004474 b_a_0A3C
00004490 r_g_4A35

HDD free:
000044B0 b_a_093C
000044D8 r_g_2935

z GB:
00004500 b_a_0A3C
00004528 r_g_4A35



Game compatibility settings:
------------------------------------
Selection:
00004F84 b_a_093C *ADDED* (found by ivc)
00004E78 b_a_093C
00004E9C r_g_2935

Mode x:
00004EAC b_a_093C
00004ECC r_g_2935

Enabled:
00004EEC b_a_093C
00004F08 r_g_2935

Disabled:
00004F48 b_a_093C
00004F68 r_g_2935



Install:
------------------------------------
Progress bar frame:
00005210 b_a_023C
00005224 r_g_4234

Progress bar:
00005214 b_a_033C
00005228 r_g_6334

Progress %:
00005218 b_a_053C
0000522C r_g_A534

Status bar frame:
00005B14 b_a_093C
00005B30 r_g_2935
00005B34 b_a_093C
00005B50 r_g_2935

Status bar titlebox:
00005A74 b_a_093C
00005AA8 r_g_2935

Status bar titletext:
00005AE4 b_a_093C
00005AFC r_g_2935

Status bar textbox:
00005AC0 b_a_093C
00005ADC r_g_2935

Speed:
00005B78 b_a_093C
00005B90 r_g_2935

xKB/Sec:
00005BC4 b_a_0A3C
00005BE8 r_g_4A35

Time left:
00005BF8 b_a_093C
00005C10 r_g_2935

xmin/sec:
00005CF4 b_a_0A3C
00005D18 r_g_4A35

Unknown:
00005D30 b_a_093C
00005D48 r_g_2935

Disk size:
00005DA4 b_a_093C
00005DBC r_g_2935

x MB/GB:
00005DFC b_a_0A3C
00005E18 r_g_4A35

Read errors:
00005E40 b_a_093C
00005E58 r_g_2935

x:
00005E8C b_a_0A3C
00005EAC r_g_4A35

eight_heads
09-03-2004, 11:35 PM
thanks alot Zero, now i got something new to play with.... i guess a gui should be coming out soon too now.... :P thanks again Zero

mrush2004
09-03-2004, 11:45 PM
yah a gui would be the best thing so you could actually see how the colours work but thanks for the work man!! appreciate it,

eight_heads
09-03-2004, 11:48 PM
zero, what hex editor do you like to use when editing for ps2?

Zer0-X
09-03-2004, 11:49 PM
I've pretty much grown into Hex Workshop.

DLM'
09-04-2004, 12:03 AM
xvi32 is pretty cool, I think.

HypERSoniC
09-04-2004, 12:16 AM
xvi32 is pretty cool, I think.
agreed

ashmufc
09-04-2004, 05:56 AM
Waiting for the gui!

<G>
09-04-2004, 07:07 AM
The first column is the location in the unpacked ELF, second column: a_ is alpha and r_, g_ & b_ should be quite clear for everyone. So you only edit the values of r_, g_, b_ & a_, and even then it's propably best to leave the a_ values alone if you can't think of any reasonable reason to edit it.



And now we wait and see if some japanese person can improve his proggie. ;)

i knew i stuck this for a good reason, good job! :)

<__>
09-09-2004, 04:14 PM
I have no idea how to use hexedit safely but would like to change the windows(frames?) so they are clear or at least transparent white instead of blue,thing is I have'nt got a clue how.If i can get the windows clear it gives me more scope in what I can design for the skins.
please help

damatrixz
09-11-2004, 07:57 PM
HdlCng V6 isnt that the gui version

HypERSoniC
09-11-2004, 10:14 PM
i believe you would just set the alpha for that relevant box to 255

<__>
09-12-2004, 08:22 AM
ok I found address 00002158 and zero-x has put b_a_093C next to it,but on mine i get E380.
I can find the locations but have no idea what to do when I get there.

sorry if this is a simple question but I didn't even know what hexediting was until a week ago.

Zer0-X
09-12-2004, 09:27 AM
You are in the correct location. E3 is the value noted with b_ and 80 is a_. If you replace _b (E3 in this case) with 00 you remove all the blue color from that. By replacing it with FF you turn the blue color to the max.

<__>
09-12-2004, 04:44 PM
OK I understand so if I set the r_,g_ and _b to 00 I get black,and if I set them all to ff i get white or does it make the boxes totally transparent?
Also what is the a_ for? I know you said not to change it without good reason but I'd like to know for future reference,just incase I feel the need to fiddle lol

Much appreciation for your help zero-x

HypERSoniC
09-12-2004, 07:20 PM
no, if you set them all to FF you will get white boxes, still half transparent. you will have to set the a_ to FF or 00(either one, i haven't tested) to make it transparent

<__>
09-12-2004, 08:19 PM
Ah I see,thanks dude.
It's so nice to finally find a forum where a noob like me can get an answer to a question,rather than get treated with scorn ;)

Zer0-X
09-13-2004, 12:36 PM
Hard to choose which section I should post todays small insignificant patch so I threw it in here. :)

In the unpacked HDLoader.ELF, from location 0000D558 can be found the following data: 45000924.

By changing this into 00000924 you force the display into NTSC-mode.

Obviously this is only useful for the PAL-people with NTSC-capable TVs and who want to stretch the image to fill the screen, like me.

<__>
09-13-2004, 03:47 PM
zero is there a way to shift the screen position as i always end up with the screen so far to the left that the games box is touching the side of the screen :S
I know its because of my crappy tv because the same happens if I plug my dvd player into it,but it would be handy if i could jut knock the screen position over slightly.
By the way I have spent half the day fiddling with the colours of the boxes and am getting good results :D just wish inlink could reset the ps2 when hdloaders booted so I didn't have to keep jumping between the pc and ps2 everytime I make a change lol

rotec52
09-26-2004, 04:11 PM
Her is my GUI to change the colors of HDL\HDA, it is far from prfect but it should work. Thanks to Zer0-X and all the good people here in the forums. Read the readme for more info.

hiTCH-HiKER
09-26-2004, 04:43 PM
thanks for the GUI, looks very good... but it didn't work for me with a patched HDLoader... the menu picture is there, but no menus...

rotec52
09-26-2004, 05:33 PM
hiTCH-HiKER thanks for trying the GUI. This is how I did right know and it work for me:
1. Change the colors
2. Patch for no disc seek
3. Change the splash and menu image
4. Compress the elf

Alcahest
10-10-2004, 01:21 AM
Very nice tool, thanks a bunch!
Later,

Alcahest

ÇÐ~kÂ??
10-12-2004, 01:47 PM
this is great, just what i wanted , to make the all menu boxes and everything else completely invisible , but just keep all lettering the same or would that make the lettering invisible too?

please help using this gui which setting would i chose to do this, there are so many choices. and i cant use the eploit to boot .elf so i need to burn a dvd-r every time and dont wanna waste `em like that.

<__>
10-12-2004, 02:21 PM
ÇÐ~kÂ?? the best way I found to do this is to install inlink on the pc and run ps2link.elf on the ps2 so you can test minor alterations by booting the custom hdloader.elf from the pc through the network before you start burning any discs.This method is great if you have 2 memorycards like me because you can set 1 of them up with ps2link.elf renamed as boot.elf so when you startup with your exploit disc it loads straight up,so as you make alterations you can test them then reset your ps2 and by the time you are ready to test again its all ready to roll.
Also if you want to stop burning discs altogether install flash fxp on your pc and run execftps on the ps2 and you can send files across the network straight to the memorycard and also can back up your saves to your pc :D

You do of course need a router,but I'm guessing you know that already ;)

I know you said that you can't use the exploit but have you tried using the "tiny boot elf" and renaming hdloader to HDA.ELF ?

If you need any help pm me.

ÇÐ~kÂ??
10-12-2004, 04:00 PM
thanx alot for the help .belive me m8 , i have tried for a month to get the exploit and could never get past tring to boot the ps1 disc , alwayz no matter what went to black screen.

i use 3 different ps2, 3 different mc`s, and 3 different ps1 games.

so i finally gave up and left for a while and when i found the 128+ patched cd version i returned for help on that.

i very suprised actually shocked that the "hdloader cd version" that dav helped me with actually booted and allowed my custom splash screens and bigger HD was included in the release.

come to think of it i never actually got the uncompressed .elf untill last night the size is 2,908kb it says in my windows folder.

but back to the subject , i dont have a router and would like to just get everything on hdloader screen invisible except for the lettering

<__>
10-12-2004, 04:11 PM
In that case turn the a_ to 00 for everything you want invisible,don't need to do anything to the r_g_ or b_
I used it to make the backgrounds invisible instead of that transparent blue so the background pic looked better.

ÇÐ~kÂ??
10-12-2004, 05:20 PM
yes yes yes , that is the bomb m8 , thank you for telling me that :D which section has the background? i see 1 that says background only one does its under

-
games list
text box and scrollbackground
-
then i put alppha = 00

is that what i do m8? :)


what is frame 1 and 2 and scroll bar ...etc. i dont change those correct?

your koo bro;)

Zer0-X
10-12-2004, 06:10 PM
Those that say titlebox/textbox are the backgrounds.

Frames mean the frame borders. Also sometimes the line between the title and rest of the textarea is drawn separately. Scrollbar is the vertical bar at the right side of the gamelist when you have more games installer than what can fit on screen.

ÇÐ~kÂ??
10-12-2004, 10:32 PM
so i just set all stuff to 00 , except for the anything that says text m8?

<__>
10-14-2004, 03:06 PM
Yeah that should do it dude.

I got the list that Zero-X put near the beggininng of this thread and went through it testing everything and making edits where it was slightly different but its pretty messy at the mo with all my notes on it,when i got time ill clean it up and post it.

One thing is the confirm and cancel boxes,you can edit the colour of them but they stay blue underneath e.g. if you make the colour black then it will be black but if you make it white it just goes lightish blue,but I'm gonna go through and see if I can find out how to do it properly,again,when I have time.

Zer0-X
10-14-2004, 03:15 PM
The buttons are inside HDL as gfx. There's one IIF-file just for those.

(0x27a940 - 0x28294f)

<__>
10-14-2004, 04:39 PM
Thanks dude :D I'm still not very experienced with hex editing but have been getting more used to it since you got me started.
You're the man! Just wish you would'nt waste so much bandwith with that damn sig ;)

SHadoph
10-15-2004, 07:07 PM
I used your gui, rotec52. It's alot of help. What would be the ultimate tool is an app that lets you change everything. The skins, font, colors, and you're allowed to do this in a full visual mode. So you won't have to burn it to see the result. Anyways, here's a bad picture of my TV screen to show you how it looks:

blake_zero
10-15-2004, 11:17 PM
Zer0-X

Do you have change the buttons of HDL succesfully?, because I have try to change them using this command:
bmpintoelf.exe 0botones.bmp HDLoader.ELF 2599232,
and when I launch HDL the buttons are missing (I can see the letters but not the image of the button).

Here is the image that I extract from the unpacked file:

Zer0-X
10-16-2004, 04:14 AM
The problem could be that bmpintoelf clears the alpha-channel when injecting images and thus the buttons become 100% transparent. Perhaps the next HDLPatch...

gfish
10-16-2004, 07:00 AM
how do you remove the boxes and colour i tried hex editing but i couldnt find the right thing some1 plz help. gfish

blake_zero
10-18-2004, 05:04 PM
Here is an update to my tool. Now it is a GUI for Zer0-X's and crazyc's patchs, and of course let you change the colors and bitmaps of HDL\HDA.

Thanks to Clement, Zer0-X, crazyc and all the good people at PS2-SCENE.ORG

Update: Add the value for the Game compatibility settings as stated by ivc, so that the 3 selection bar will show the correct color. Add the import and export colors fuctions to make sharing your skins more easy.Also fixed the bug of the Force translation patch not confirming if the patch was done or not. Thanks to FreeFighter for pointing it to me. Look at the ccf file provide for intructions on editing the colors manually.

Download HDL_CC GUI 1.2 here:
http://www.ps2-scene.org/forums/attachment.php?attachmentid=5196

Zer0-X
10-18-2004, 05:27 PM
Just wondering, what does the "patch alpha values" do?

blake_zero
10-18-2004, 05:59 PM
Zer0-X:

If you mean what is it usage, I use it to make the replace bitmap of the buttons visible.

If you mean what it really do in the HDL\HDA file, it replaces values that are inserted by bmpintoelf as 00 for 01 or 80, depending the location. For example,

Original --> Patch

FF00 --> FF01 this are always the same.
B000 --> B080 the first byte changes the second byte if what I patch.

I really don't know if this is the correct way to do it (neither if these are the alpha values) but it is what have work for me.

Zer0-X
10-18-2004, 06:07 PM
Ah, should've guessed from the menu itself. :)

Zer0-X
10-20-2004, 05:13 AM
Layered Photoshop image that shows how the colors are used. Might not be 100% accurate tho but pretty close.

SHadoph
10-20-2004, 05:54 AM
Here's the real HDLoader psd's...

Zer0-X
10-20-2004, 08:03 AM
What you posted is just the old mockery of the layout <G> did some months ago when the skinning was in it's beginnings.

SHadoph
10-20-2004, 08:40 AM
Well, it's exactly right on the spot. I've tried it several times and the menus appear exactly where the layer is.

Zer0-X
10-20-2004, 08:57 AM
Still, I was more composing an example of how the colours are used, transparent frame backgrounds, etc. for people who wonder how to change them.

ivc
10-20-2004, 09:56 PM
Do you have change the buttons of HDL succesfully?
when I launch HDL the buttons are missing (I can see the letters but not the image of the button).


if you havent already found out, i can show you how i changed the button gfx. the problem, as zero-x mentioned, is that bmpintoelf clears the alpha channel. my workaround was to just export the image as raw (thats the data without the image header) and insert it just under the 16bytes iif header in the elf file.

read my original post here (http://www.ps2-scene.org/forums/showthread.php?p=178358#post178358).

-ivc

blake_zero
10-20-2004, 11:22 PM
Thanks for the info ivc, I haven't read the entire skin thread so I miss your post. Anyway have found a way to change the button gfx by replacing some bytes after injecting the bitmap with bmpintoelf, maybe you can try my GUI to see if it work for you too. I have updated it to include the fonts patch and make the buttons patch more visible.

islanderj
10-21-2004, 01:57 AM
Ok, I'm using blake_zero's awesome little app to change the colors of my hd loader. I'm wondering about the Toolbar background (The one where, at least on my version of hd loader says "Toolbar") will not become transparent for the life of me. When the toolbar is active its not there, but when its inactive the blue background for that piece is still there. Kinda annoying. I've looked through the toolbar color list I've double, and even triple checked to make sure only the text for play, instal, remove, rename and the other text are left normal while the rest I set the alpha channel to 0. For the life of me I can't figure out what i'm doing wrong.

Oh, i am using an unpacked HDLoader with the correct byte size. That has not yet been patched, yet.
Already have a sweet splash and menu background for it. Just waiting to fix up the looks, it looks whack with the boxes and the blue background.

Any ideas?

SHadoph
10-21-2004, 07:43 AM
Change "Inactive TitleBox". that should be the one.

islanderj
10-21-2004, 11:53 AM
Thx, for the reply SHadolph but I had pretty much figured that out before you posted.

OK, after :banghead: multiple times last night, I gave up on the Inactive Tiitle Box. I made sure that it was set to alpha value of 0. I reloaded the elf, many times, and made sure of it.

I woke up this morning a reread the entire thread from front to back to make sure I didn't miss anything. And I noticed in message #6 by Zer0-X he states:

Inactive titlebox:
000040C4 b_a_023C
000040E0 b_a_023C
000040E8 r_g_4234

Wait a minute two alpha values? hmmm. This got me thinking I wonder, if for some reason the program isn't changing both of them. So I dragged out Hex Workshop and made sure myself. And sure enough one of the two alpha channels was not the value I expected, which was 0.

I hand edited it and viola I got what I wanted.

So here's a bug report for blake_zero:
check to see if both alpha values are correctly being set by your program (btw, I tried both 1.0 and 1.1) for me the first one @ 000040C4 was not being set while the one at 000040E0 was.

blake_zero
10-21-2004, 01:00 PM
Thx, for the reply SHadolph but I had pretty much figured that out before you posted.

OK, after :banghead: multiple times last night, I gave up on the Inactive Tiitle Box. I made sure that it was set to alpha value of 0. I reloaded the elf, many times, and made sure of it.

I woke up this morning a reread the entire thread from front to back to make sure I didn't miss anything. And I noticed in message #6 by Zer0-X he states:

Inactive titlebox:
000040C4 b_a_023C
000040E0 b_a_023C
000040E8 r_g_4234

Wait a minute two alpha values? hmmm. This got me thinking I wonder, if for some reason the program isn't changing both of them. So I dragged out Hex Workshop and made sure myself. And sure enough one of the two alpha channels was not the value I expected, which was 0.

I hand edited it and viola I got what I wanted.

So here's a bug report for blake_zero:
check to see if both alpha values are correctly being set by your program (btw, I tried both 1.0 and 1.1) for me the first one @ 000040C4 was not being set while the one at 000040E0 was.

Your right islanderj, I miss one of the alpha values. I have updated my tool to fixed this bug, so if you test it, let me know if it works right. If you find any other bug or have any ideas of how to improve my GUI let me know. THANKS

SHadoph
10-21-2004, 01:54 PM
I noticed that the "End" choice when you write a name for a game is a different color when there's no letters selected, I mean before you write anything, but as soon as you've started writing it becomes normal.

Could anyone confirm this?

blake_zero
10-21-2004, 02:35 PM
SHadoph:

Your right about the "End" choice, maybe there are two instance of the color of the "End" choice, one when option is enable and one when it is disable, because it made the same thing to me when trying to rename a game using a unpatched elf.

SHadoph
10-21-2004, 03:53 PM
I dont' know hex that good, but it should be as simple to fix as the toolbar problem was, right?

Zer0-X
10-21-2004, 05:04 PM
Seems "End" doesn't have any own colorsettings but it's manipulated on the fly when there's no name written.

ivc
10-22-2004, 12:38 AM
black_zero:
you might want to check out the game compatibility selection bar, if you copied the list zer0-x posted earlier in this thread you are probably missing a second "b_a_" value. without this only the first selection bar will have the correct color, the two others will be off color.

Game compatibility settings:
------------------------------------
Selection:
00004F84 b_a_093C *ADDED*
00004E78 b_a_093C
00004E9C r_g_2935


zer0-x, i know you are aware of this, why not update the list so new applications wont include this fault? =)

-ivc

blake_zero
10-22-2004, 01:19 AM
black_zero:
you might want to check out the game compatibility selection bar, if you copied the list zer0-x posted earlier in this thread you are probably missing a second "b_a_" value. without this only the first selection bar will have the correct color, the two others will be off color.

Yes ivc, I use the list posted by Zer0-X, so as you might guess I didn't patch that value. I have notice the bug but I didn't have time to check where was the value. Thanks a lot for your help.

Zer0-X
10-22-2004, 01:46 AM
zer0-x, i know you are aware of this, why not update the list so new applications wont include this fault? =)

-ivc

D'oh, I was sure I had updated the post but seems it wasn't so. :)