Little Fighter Empire - Forums
[solved]How to modify the blue box on the left of Championship - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: [solved]How to modify the blue box on the left of Championship (/showthread.php?tid=7370)



[solved]How to modify the blue box on the left of Championship - rewlf2 - 12-31-2011

As shown on title, I would like to have a way to change its color, or entirely remove it but I cannot find the color code. I'm pretty sure it is installed inside the exe code.

That box normally can't be observed in original lf2, but can be seen once you use some mod which doesn't have a blue theme, like mine. The box is indicated by the yellow arrow.

[Image: buffk.png]


RE: How to modify the blue box on the left of Championship - empirefantasy - 12-31-2011

http://www.lf-empire.de/en/lf2-empire/exe-editing/programs

Download the first package and use ResHacker program,to change LF2.exe images.


Off topic:
Can you tell me which is this lf2? And a download like please?


RE: How to modify the blue box on the left of Championship - rewlf2 - 12-31-2011

the Resource Hacker does NOT work with the blue box. In other words, no matter how I change the pictures the box stays, in 1v1 and 2v2 championships (this is somehow annoying)

And the mod link:
Wretch blog
Direct download:
Mediafire

The newest version is v199C official (no beta)


RE: How to modify the blue box on the left of Championship - Surik - 12-31-2011

Use OllyDbg
00432C31 . 68 9A4D3200 PUSH 324D9A ; 324D9A based color, change to your color 261606
00434C6F |. 68 9A4D3200 PUSH 324D9A ; 324D9A based color, change to your color 261606


RE: How to modify the blue box on the left of Championship - rewlf2 - 01-01-2012

Thanks very much and it worked.
I'm going to give credit for this tweak as well in my mod.


RE: How to modify the blue box on the left of Championship - Dominate - 01-01-2012

is there ant tuts for hex for begginers:)


RE: How to modify the blue box on the left of Championship - rewlf2 - 01-01-2012

As something worthy to return to fellows, a simple tutorial is made here:

Firstly, since the color function is installed inside the exe file, there should be some code storing its color, if fortunate it shouldn't be encrypted badly and in form of its color, say #324D9A.

The good news is the code can be found by OllgDbg, in the form of PUSH command, that is "PUSH 324D9A". (This means in XVI32, the command is 68 9A4D32, as of assembly code format.)

(Important) The unmodified LF2 uses two of "PUSH 324D9A" to control colors for each of the boxes, one at 00432C31, another at 00434C6F.
To change the color simply change each command from "PUSH 324D9A" to "PUSH XXXXXX", where XXXXXX is the desired color code.

-----

New update: In v2.0a exe file, it is found 3 of "PUSH 324D9A" are found. The third PUSH command (located at the last) controls the four blue blocks in 2V2 championship.
In v1.9c exe file there are 4 of them, and the extra one controls the color of two main menus.

*If you cannot find it in your mod, download newest version of OllyDbg, it has better searching methods for your sake. However it doesn't store changes so use another hex program like XVI32 to edit it.
Be careful mixing up with codes for backgrounds in v1.9c exe.