Code: Select all
030h (0048), 16 bytes, Unknown
Values: 0 0 0 0 0 0 0 0 0 0 0 0 40 0 0 0
MissingMissing: An explanation of the role of these bytes
If you can help, please E-mail me!
These are 16 bytes representing usual DM palette:
colour 0 (#000000) (black)
colour 1 (#6D6D6D) (grey3)
colour 2 (#919191) (grey2)
colour 3 (#6D2400) (brown)
colour 4 (#00DADA) (pale blue)
colour 5 (#914800) (pale brown)
colour 6 (#009100) (green)
colour 7 (#00DA00) (pale green)
colour 8 (#FF0000) (red)
colour 9 (#FFB600) (orange)
colour 10 (#DA916D) (skin)
colour 11 (#FFFF00) (yellow)
colour 12 (#484848) (grey4)
colour 13 (#B6B6B6) (grey1)
colour 14 (#0000FF) (blue)
colour 15 (#FFFFFF) (white)
These bytes shows, which colour should be swapped in the "use weapon" section (when a character holds a weapon, it is showed on a blue background instead of a hand bitmap). As you can see, the 13th byte is changed to 28.
It`s originally set to "00 00 00 00 00 00 00 00 00 00 00 00 28 00 00 00".
It means that colour nr 12 (grey4 colour) is replaced by the pale blue (values from 28 to 31). All other colours are set to black (values 00 to 0f). So all colours of the weapons, originally used in a game are replaced with black. The grey4 background is replaced with pale blue. That`s why when you hold a weapon, it is showed all black on a pale blue background. But it can all be changed as you wish.
Take a look at the graphics.dat parts from "0042: item graphics0 (32 items)" to "0047: items and body parts graphics6 (32 items)".
Background of every item is grey4; if it was red, for example (colour nr 8 ), then you should change the 9th byte (representing red) to 28 (representing pale blue) and all other like this: "00 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00".
If you want all items to be shown in yellow, instead of black, on a pale blue background, you should change all other colours like this: "6e 6e 6e 6e 6e 6e 6e 6e 6e 6e 6e 6e 28 6e 6e 6e"
I`ll write a description in hexes:
00-09: black
0a-13: grey3
14-1d: grey2
1e-27: brown
28-31: pale blue
32-3b: pale brown
3c-45: green
46-4f: pale green
50-59: red
5a-63: orange
64-6d: skin
6e-77: yellow
78-81: grey4
82-8b: grey1
8c-95: blue
96-9f: white