Developer's Blog
Register Low Fi Mark Forums Read

Notices

Rating: 18 votes, 4.89 average.

How to colour name in DotA 2 with Hex Editor

Posted 05-19-2012 at 12:31 PM by Uncle_Zhuge
Updated 05-20-2012 at 10:49 AM by Uncle_Zhuge

You will need a Hex Editor, Notepad and to enable your console.

1. Enable your console:
1a) Open your steam
1b) Go to Games-> View Games Library
1c) Right click DotA 2, then click properties
1d) Click on set launch options
1e) Type in -console and click OK
1f) Start DotA 2, and press `.

2. Download any Hex Editor. I recommend HxD Hex Editor:
http://mh-nexus.de/en/downloads.php?product=HxD

3. Install the program and run it.

4. Go to File, then New


5. You should see two columns. The left side will be the hex codes:


The right side will be where your name will appear.


6. Click on the right column and type the following:
Code:
setinfo name "



7. Now you can start with colouring your name. All colouring will be done in the left column. Select the empty space after the last 2-digits.


8. Now that you have highlighted it, type in a 2-digit number that corresponds to the colour that you want. Below are the colours and their corresponding colour codes:

For this example, I am going to get something like this:
Testname
I will first type the colour code for red, which is 12 on the left column:

Some symbol or a dot will appear on the right column.

9. Now, it is time to type the words you want of the colour. For this example, I want the letters "Te" to be red, so I will select the right column, then I will type Te.


10. Now I want the letters "st" to be the colour lime green. So I will select the left column, and type the colour code 0C:

I will then select the right column, and type the letters "st".


11. Repeat the same thing for other colours. For this example, I will want the letters "name" to be pink, which has the colour code 11. The end result will be this:


12. After you are done, select the right column and type "


13. Now save the file as any file name.


14. Exit HxD editor, and open the file that you just save. Your system should prompt you on what program you want to use to open the file:

Select Notepad.

15. When you opened the file, this is what you will see:

Highlight the entire line and copy it.

16. Go to DotA 2, and enter into any game. This method will not work if you just typed it without spectating or playing any game.

17. Enable your console (By pressing `), then paste the line that you just copied. Press enter after that.

It is ok if the symbols disappeared.

18. Go back to the game, and you will be able to see your result:


Enjoy your coloured name in DotA 2!

NOTE: You have to do this for every game you spectate or play. It will disappear when you start a new game or spectate a new game.
NOTE 2: This will also work with typing in chat. Copy the weird symbol as shown in notepad that corresponds to the colour that you want, and paste it before every line you want of that colour.

Credits go to xpforever for the Hex editor and Wolbachia for providing the idea
Attached Thumbnails
Click image for larger version

Name:	Colour codes.jpg
Views:	16055
Size:	64.5 KB
ID:	694   Click image for larger version

Name:	Guide 1.jpg
Views:	15297
Size:	28.5 KB
ID:	695   Click image for larger version

Name:	Guide 2.jpg
Views:	15033
Size:	35.7 KB
ID:	696   Click image for larger version

Name:	Guide 3.jpg
Views:	15632
Size:	34.5 KB
ID:	697   Click image for larger version

Name:	Guide 4.jpg
Views:	14918
Size:	39.7 KB
ID:	698  

Click image for larger version

Name:	Guide 5.jpg
Views:	15590
Size:	42.1 KB
ID:	699   Click image for larger version

Name:	Guide 6.jpg
Views:	15469
Size:	40.3 KB
ID:	700   Click image for larger version

Name:	Guide 7.jpg
Views:	15456
Size:	41.7 KB
ID:	701   Click image for larger version

Name:	Guide 8.jpg
Views:	14751
Size:	42.5 KB
ID:	702   Click image for larger version

Name:	Guide 9.jpg
Views:	14793
Size:	42.7 KB
ID:	703  

Click image for larger version

Name:	Guide 10.jpg
Views:	14787
Size:	44.9 KB
ID:	704   Click image for larger version

Name:	Guide 11.jpg
Views:	14692
Size:	45.5 KB
ID:	705   Click image for larger version

Name:	Guide 12.jpg
Views:	14685
Size:	53.5 KB
ID:	706   Click image for larger version

Name:	Guide 13.jpg
Views:	14662
Size:	63.8 KB
ID:	707   Click image for larger version

Name:	Guide 15.jpg
Views:	15467
Size:	235.7 KB
ID:	709  

Click image for larger version

Name:	Guide 16.jpg
Views:	15948
Size:	643.2 KB
ID:	710   Click image for larger version

Name:	Guide 14.jpg
Views:	15591
Size:	9.3 KB
ID:	711  
Posted in Uncategorized
Views 25587 Comments 23 Email Blog Entry
Total Comments 23

Comments

  1. Old Comment
    DMR_Chane's Avatar
    interesting.

    I will look into this further.
    Posted 05-20-2012 at 09:05 AM by DMR_Chane DMR_Chane is offline
  2. Old Comment
    s[h]an's Avatar
    RAINBOW DASH!
    Posted 05-21-2012 at 10:22 AM by s[h]an s[h]an is offline
  3. Old Comment
    akire101's Avatar
    white colour 0B not working for me...
    Posted 05-23-2012 at 01:57 PM by akire101 akire101 is offline
  4. Old Comment
    white colour dont working...
    Posted 06-11-2012 at 09:16 AM by yativ yativ is offline
  5. Old Comment
    I can't seem to get the console open ingame, any help?
    Posted 06-14-2012 at 08:43 PM by wdnc.Diamond wdnc.Diamond is offline
  6. Old Comment
    Mentalcheez's Avatar
    Thank you for this! Just to confirm, other players will see your name with the new colour, or is it only visible to the person who changed it?
    Posted 06-17-2012 at 11:30 AM by Mentalcheez Mentalcheez is offline
  7. Old Comment
    Uncle_Zhuge's Avatar
    Sorry my blog doesn't show new comments coming in, so I didn't noticed people actually replied to this. I was not able to post to my blog for a period of time due to some timeout error.

    White colour works just fine. I just tested it. You should get the following symbol when you open up the file in Notepad:


    If your console is not working, go inside game and go to the Options settings. Click on the Metagame tab and see what Hotkey is set to your console button. The default should be `, but if it is not set, then set it to whichever hotkey you please.

    This method will allow other people to see the colour change, not only yourself.
    Posted 06-20-2012 at 02:35 PM by Uncle_Zhuge Uncle_Zhuge is offline
  8. Old Comment
    Mentalcheez's Avatar
    Alright, thank you very much!

    PS: A tip for simplifying the "you have to do this every game" is to just paste the code string into your autoexec.cfg, then bind "any_key_you_want" "exec autoexec.cfg". After this you just need to press the binded key to set your name!

    Is there a site/program/method that would enable me to see codes of more (different) colours?
    Posted 06-21-2012 at 10:38 PM by Mentalcheez Mentalcheez is offline
    Updated 06-22-2012 at 01:38 AM by Mentalcheez
  9. Old Comment
    Uncle_Zhuge's Avatar
    Quote:
    Originally Posted by Mentalcheez View Comment
    Alright, thank you very much!

    PS: A tip for simplifying the "you have to do this every game" is to just paste the code string into your autoexec.cfg, then bind "any_key_you_want" "exec autoexec.cfg". After this you just need to press the binded key to set your name!

    Is there a site/program/method that would enable me to see codes of more (different) colours?
    You are correct, you just need the symbol of the colour you want to show on notepad and change the name in the notepad accordingly, without a need for using Hex Editor every time you want to change your name. The steps are rather common sense, and you should be able to figure out easily. If there are people who do not know how to do it, I will add in additional steps to show how to do this.

    All the colours possible in DotA 2 are already shown here. I have tested all the possible combination with the Hex editor and the ones that are possible are already there.
    Posted 06-22-2012 at 11:27 AM by Uncle_Zhuge Uncle_Zhuge is offline
  10. Old Comment
    Nice tutorial, thanks.

    Just 0B = white is not working for me either, I get the same symbol in Notepad as you do but in the game it's brown.
    Posted 06-27-2012 at 04:39 PM by tehdarkz tehdarkz is offline
  11. Old Comment
    Uncle_Zhuge's Avatar
    Quote:
    Originally Posted by tehdarkz View Comment
    Nice tutorial, thanks.

    Just 0B = white is not working for me either, I get the same symbol in Notepad as you do but in the game it's brown.
    That is most strange. Maybe it is the graphics settings.

    Does anybody gets white colour with 0B? I will try again to see whether it is something wrong on my side.
    Posted 06-28-2012 at 12:49 PM by Uncle_Zhuge Uncle_Zhuge is offline
  12. Old Comment
    Why is it that I only get the boxes and not the symbols?
    Posted 07-08-2012 at 09:16 AM by rshacker13 rshacker13 is offline
  13. Old Comment
    Uncle_Zhuge's Avatar
    Quote:
    Originally Posted by rshacker13 View Comment
    Why is it that I only get the boxes and not the symbols?
    Your notepad looks a little different from mine. May I know what Windows you are using?

    Did you tried copying into the console and see whether the colour will change? As far as I know, you will need to have the basic character encoding in your computer.
    Posted 07-17-2012 at 03:48 PM by Uncle_Zhuge Uncle_Zhuge is offline
  14. Old Comment
    RoTnDJR's Avatar
    I have an issue tho ... This is what I get :
    ] setinfo name "CubiC
    Browser Message: [cycle] 1 - img slide not loaded, requeuing slideshow: http://media.steampowered.com/apps/d...tidehunter.jpg 0 0 - http://www.dota2.com/public/javascri...1&l=english:29


    PLEASE HELP!
    Posted 08-07-2012 at 09:05 AM by RoTnDJR RoTnDJR is offline
  15. Old Comment
    JeffLeong51's Avatar
    Quote:
    Originally Posted by RoTnDJR View Comment
    I have an issue tho ... This is what I get :
    ] setinfo name "CubiC
    Browser Message: [cycle] 1 - img slide not loaded, requeuing slideshow: http://media.steampowered.com/apps/d...tidehunter.jpg 0 0 - http://www.dota2.com/public/javascri...1&l=english:29


    PLEASE HELP!
    If any of you guys don understand it watch this vid
    https://www.youtube.com/watch?v=LkJD...yer_detailpage
    Posted 09-07-2012 at 11:39 AM by JeffLeong51 JeffLeong51 is offline
  16. Old Comment
    nice this helped alot!
    Posted 10-22-2012 at 10:53 AM by PCE69 PCE69 is offline
  17. Old Comment
    Demky's Avatar
    hi, is it allowed to use "name color" ?
    Posted 11-09-2012 at 06:27 PM by Demky Demky is offline
  18. Old Comment
    Demky's Avatar
    Quote:
    Originally Posted by Mentalcheez View Comment
    then bind "any_key_you_want" "exec autoexec.cfg".

    you should add "how to bind a key"
    Posted 11-10-2012 at 08:57 AM by Demky Demky is offline
  19. Old Comment
    jamesayala's Avatar
    Quote:
    Originally Posted by rshacker13 View Comment
    Why is it that I only get the boxes and not the symbols?
    i got this problem also OS windows xp sp3
    Posted 11-10-2012 at 12:01 PM by jamesayala jamesayala is offline
  20. Old Comment
    Is there a number for the colour black?
    Posted 01-27-2013 at 07:55 AM by [A0D]-Morbid [A0D]-Morbid is offline
 
forum staff