Search the Community
Showing results for tags 'colours.bin'.
Found 1 result
I did a good amount of research about the file "colours.bin", which decide the colours from all the eight factions. This post is to show to you all I know about this: the meaning of the valors, what to do, etc... First. To open this file, is needed a hex editor. In my case (I am someone who barely never used a hex editor) I found the webpage "hexed.it" which contains an online version of a hex editor; so if you don't want to install another program but just mess around a bit, this is a good choice. After entering that web-page, and using the "open file" in the menu to open "colours.bin" (in the data/bin folder), this will appears. The first thing about this, is how the first two lines (selected with cyan) refers to Atreides, the next two are Harkonnen, Ordos, Emperor, Fremen, Smugglers, Mercenaries and Sandworm, respectively. (the same order that in the Dune 2000 editor). Now, the colours are defined by 4 values. So, "84 04" (the very first line) will refer to a specific colour in a specific part of the Atreides. I don't know exactly what will change, although not all affect to units (some seems to affect a very small in the refinery but not the factories (is recommended to use a map editor and place all the buildings and units to see what changes). At least I know for sure that the four group "2D D2" (first 4 numbers in the second line) refers from the colour in the radar. Change this four valours and the colour in the radar (minimap) will change. Now, the biggest problem I found, is how to know what number means what thing. In the colour code from HTML they are a total of six numbers. Two referring for Red, Green and Blue respectively. so 00-00-00 is black, 127-0-0 is a mid Red-bright, and 0-0-255 is the brightest Blue possible. HOWEVER. Here this not work this way, thus making it a bit confusing: "00 00" is black; FF FF is white, but 88 88 is not gray. In fact, don't even have red. To know exactly what the values are, I changed the values from the "minimap" and then check in the minimap (with photoshop) during the game and created an Excel to have it well documented. Here the table I did. So, taking my previous example, using 88 88 it means this: 1º 8 = 32 of Green 2º 8 = 66 of Blue 3º 8 = 0 of Red 4º 8 = 16 of Red So, 88 88 gives this colour <-- Just for adding more examples. The brightest of the three colours will be this way: For Red: 00 FC --> 0 + 231 + 0 + 24 = 255 (and zero of Green/Blue) For Green: E0 03 --> 48 + 0 + 0 + 195 = 243 (and zero of Red/Blue) For Blue: 1F 00 --> 132 + 0 + 123 + 0 = 255 (and zero of Red/Green) Note: I didn't found a way to make the green goes 255. Here I upload the excel, so people can have access to it. Feel free to download it and changing the spanish words to english (Or any other language you understand better). I hope this will help people to create intereseting colours, like a cyan or a magenta or... for houses or enemies. colores y hexadecimal.xls Just remember that this will change the original colours forever. Create a back_up first, so you can revert the changes. Finally, to show how it looks, Look at this original campaign levels, affected by a simple palette spaw done by me. For now is just a swap pallete bewteen the Houses, but Maybe is possible to make a new color that is not confused with the other players (like happens now with Atreides and Fremen tanks and quads).