IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> EXE hex Editing - Text Colours. A possible discoverey..., Might have allready been discovered, but worth a read.
Creagor
post Dec 3 2006, 08:49 PM
Post #1


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



No, not a tutorial, nothing "new", just some interesting findings. Its In the "advanced" area because I think exe editing is more "advanced" than general modding.
I will write it into a hex editing tutorial once I've messed around with it a bit more, and seen if anything else can come of this....

Okay, so while looking through the exe for references to the text colour in the map secection area/select campaign area/version text box/music select area (as you do!) I stumbled across a reference to "LightGrey". Well I thought, what has that got to do with anything. Then it hit me. Memories of a topic TShyper made ages ago on PPM (THIS one to be exact) swam into view.

The bit we are interested in:

QUOTE
"Green=" will universaly control the loading screens text for all sides, IE. GDI, NOD, 3rd & 4th sides tongue.gif

"LightGrey=" will control the colour of the text that is on the side bar, IE. "ready" or "on hold" also! the test that shows up in the tool tips.


So remembering this, I searched the exe for "green", and sure enough, there it was.
It occured to me there and then that this was obviously the part that stated which colour tags controled the things mentioned above, and that this could be changed, so that the tags "Green=" and "LightGrey=" could be freed up for other use, without disturbing the text colours.

(In the exe) I changed "Green" to "TextCol" and "LightGrey" to "TextCol2". Then I added theese "new colours" to rules.ini, in the appropriate section:

TextCol=###,###,###
TextCol2=###,###,###

Obviously the #'s were numbers, this is just an example remember. tongue.gif
"TextCol" was the code for Orange and "TextCol2" was the colour for Red. It worked! And works with any valid colour code.

You can also change the thing in the exe to "Orange" or "Red", to read off the ini "Orange" and "Red", but adding "new" tags is more fun, and looks more impressive :biggrin:

Attached Images:
One shows the results of the "TextCol" things I did. The others show the replaced "Green" and "LightGrey" in the exe, so that the more knowlageable ones here can use the offset to find its locaition in the exe, and try it yourselves.

As I said, it isnt "new" and I'm not sure if it has been found before, but it's interesting nonetheless.

This post has been edited by Creagor: Dec 3 2006, 08:54 PM
Attached image(s)
Attached Image Attached Image Attached Image
 


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
ORCACommander
post Dec 3 2006, 09:01 PM
Post #2


SSM Launcher
Group Icon

Group: Members
Posts: 763
Joined: 5-October 06
From: GDI Command Base, Southern Cross
Member No.: 14
Alliance: GDI
Favorite game: Tiberian Sun



w00t! th orange is awesome but the red doesn't go good with the cameos.


--------------------
Go to the top of the page
 
: | +Quote Post
Tobiasboon46
post Dec 3 2006, 09:25 PM
Post #3


Flamethrower Infantry
Group Icon

Group: Members
Posts: 143
Joined: 21-October 06
From: Argentina
Member No.: 20
Alliance: Nod
Favorite game: Tiberian Sun



Ottimo!!
Gonna try with ice theme!!!



EDIT:Where did you got Hex Ed?

This post has been edited by Tobiasboon46: Dec 3 2006, 09:27 PM


--------------------
IPB Image

IPB Image

IPB Image
Credits go to Vertigo,THANKS!!!
Big sig by Huntmen


Go to the top of the page
 
: | +Quote Post
Creagor
post Dec 4 2006, 08:51 AM
Post #4


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



You can get free hex editors from various sources ( I use HHD hex editor, which can be found HERE. I use anb older version though, the newer version is annoying as hell. I'll upload the installer for the older (better) version when I have more time). Just use google.

If its your first time hex editing I suggest you take a look at THIS too.

Does anyone know if this is somthing new (ish)? Or am I just re-inventing the wheel here?. Iv'e never seen it before anywhere, but not evereything known is written down.


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
Scald
post Dec 12 2006, 08:07 PM
Post #5


Grenadier
Group Icon

Group: Members
Posts: 34
Joined: 12-December 06
From: Azeroth
Member No.: 422
Alliance: Nod
Favorite game: Tiberian Sun



I never saw anything of the like on the old forums
congrats on giving us one more thing to error TS with!
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Dec 13 2006, 11:00 AM
Post #6

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



TSD uses this tongue.gif not realy new, but not realy known... IDA the exe and look at the strings, there is another one or two i think. plus a few Hex RGB, but i forgot what they do.


--------------------
Go to the top of the page
 
: | +Quote Post
Creagor
post Dec 13 2006, 06:26 PM
Post #7


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



Does TSD use the exe edit? I thought it just replaced the colours through rules. Ah well.

BTW, Thanks for your help with evereything too TShyper.


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Dec 14 2006, 09:24 AM
Post #8

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



ah yes, i think he decided to chnage the colour other than the flag... not sure. no problem mate, btw... could you send me the old version of HDD, i lost in whne my harddrive crashed


--------------------
Go to the top of the page
 
: | +Quote Post
Roani52
post Dec 14 2006, 02:59 PM
Post #9


Artillery
Group Icon

Group: Members
Posts: 987
Joined: 22-October 06
From: Netherlands
Member No.: 90
Alliance: GDI
Favorite game: Tiberian Sun



I use This HEX editor. It's good. If the trial expires, send me a pm.


--------------------

/\ TY Bittah! /\

If you've X-Fire... Just add me If you join 'WhatPulse', also join 'Alpha Squad'!!! (My Profile: 'Here')


"Computers crash, people die and relationships fall apart. The only thing you can do is taking a deep breath and reboot"
Go to the top of the page
 
: | +Quote Post
Creagor
post Dec 14 2006, 05:08 PM
Post #10


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



Uploaded the old version of HHD. No trial to expire, just simple joy smile.gif . I dont know why the new version is worse. They should have stayed simple. Much better that way.


And just in case anyone has doubts about that being legal:
QUOTE
This program is freeware. This means that you are free to distribute it anywhere you like in case you do not modify the executables, dynamic-link libraries or any data files within this program and if all rights of HHD Software are not broken.


Quoted from the hex editor's readme/about file.
Attached File(s)
Attached File  hexeditor.zip ( 818K ) Number of downloads: 243
 


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Dec 15 2006, 09:21 AM
Post #11

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



cheers dude! atm i am using Hex Workshop... you should try it out atleast, PD recommends it biggrin.gif


--------------------
Go to the top of the page
 
: | +Quote Post
ORCACommander
post Dec 15 2006, 08:21 PM
Post #12


SSM Launcher
Group Icon

Group: Members
Posts: 763
Joined: 5-October 06
From: GDI Command Base, Southern Cross
Member No.: 14
Alliance: GDI
Favorite game: Tiberian Sun



could we have a screenie of the gui?


--------------------
Go to the top of the page
 
: | +Quote Post
Creagor
post Dec 15 2006, 08:47 PM
Post #13


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



For hex workshop?
Check the screenie. Note that I am using a custom coloursceme, its not always that nasty smile.gif .

Hex workshop is a good program, but I will still use HHD for tutorials/things like this, as it is easier to understand for those who know less about hex editing.
Attached image(s)
Attached Image
 


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Dec 20 2006, 10:57 AM
Post #14

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



ah yes, another person converted to the bad EXe ways muuhaaaa! tongue.gif HW rules, though i do like HDD for quick and easy edits. ah and i will tell you that offset trick when i see you online next XD


--------------------
Go to the top of the page
 
: | +Quote Post
Slender Mang
post Dec 21 2006, 02:22 AM
Post #15


Commando
Group Icon

Group: Members
Posts: 503
Joined: 24-October 06
Member No.: 142
Alliance: GDI
Favorite game: Tiberian Dawn



is hex easy to understand for retards like me lol?


--------------------
Go to the top of the page
 
: | +Quote Post
Creagor
post Dec 21 2006, 10:46 AM
Post #16


Flame Tank
Group Icon

Group: Global Moderators
Posts: 568
Joined: 21-October 06
From: Look over there! *runs*
Member No.: 40
Alliance: GDI
Favorite game: Tiberian Sun



In what way?
For finding "new" things, probably not, but for editing it's allright once you know the basics. Look in tutorials section, there is a tutorial on basic hex editing there.

QUOTE
ah and i will tell you that offset trick when i see you online next XD

:biggrin: . I look forward to it... *signs into MSN and waits...*


--------------------

Fluent in |3375p3k, 68 65 78 65 64 65 63 69 6d 61 6c, ebg13, -- --- .-. ... . -.-. --- -.. . --..-- and 01100010 01101001 01101110 01100001 01110010 0111100100101110
(Whoever translates that gets nothing, just +1 on thier geek score)
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 01:21 PM


XGhozt.com