I have not tested this patch.
Icons are stored in textures/misc/mpi000
, a square texture that is used as follows:
- The first 0.390625% from the top and left are ignored.
For the original size 256 this amounts to exactly one pixel. - There is a twelve by twelve grid using 8.204125% per tile.
For ths original size 256 this amounts to exactly 21 pixels. - The last original tile 143 is reserved for the selection rectangle
To extend this, the easiest way would be to increase the texture size to 512x512. Then one can use a 12x24 grid (minus the reserved tile) amounting to 287 usable tiles (still 21x21 pixels each). For this to work one has to shift all content by one pixel to the right and down (so two blank lines and columns) and modify the per-tile constant to 4.1015625%.
For the steam executable these are the bytes to modify:
File offset | Expected | Replace with |
---|---|---|
0x1A7440 | 0000A83D | 0000283D |
TODO