Custom skins help
Posted: Mon Sep 12, 2005 10:17 pm
1) Put all the wallsets graphics into one single bmp. (example)
2) Define the zones corresponding to the 21 possible views of the dungeon (you may want to take notes or copy and paste them as new bmp) (zones)
3) Create the masks as bitmap, considering the SourceX must be a multiple of 16, so you may have to add some transparent strips to the left. Note the source coordinates, calculate the destination coordinates.
4) Transform you big bmp into a bin file with the picture header, as defined in the docs
5) Transform the masks bmp in .msk files, with the format specified in the docs
6) put all the msk files into a single one, with the index structure
7) add the bigpic.bin and the allmasks.msk (or whichever names you gave them) into the CSBgraphics.dat, using CSBgraphics.exe
8 Put the skincode, , using CSBgraphics.exe(example)
9) update your skin.bin file containing the skin definitions: add a new line with your new skins, referrencing the bigpic index and the allmasks index, the skincode, etc. Use an hex editor for that. (Or any future tool)
9) Put the skin.bin in the CSBgraphics.dat using CSBgraphics.exe
11) Put some skin layout in the dungeon with CSBuild (Menu->Edit->Skin Map)
12) Test
Note: for steps 3 to 6, Kentaro is developping new tools.
2) Define the zones corresponding to the 21 possible views of the dungeon (you may want to take notes or copy and paste them as new bmp) (zones)
3) Create the masks as bitmap, considering the SourceX must be a multiple of 16, so you may have to add some transparent strips to the left. Note the source coordinates, calculate the destination coordinates.
4) Transform you big bmp into a bin file with the picture header, as defined in the docs
5) Transform the masks bmp in .msk files, with the format specified in the docs
6) put all the msk files into a single one, with the index structure
7) add the bigpic.bin and the allmasks.msk (or whichever names you gave them) into the CSBgraphics.dat, using CSBgraphics.exe
8 Put the skincode, , using CSBgraphics.exe(example)
9) update your skin.bin file containing the skin definitions: add a new line with your new skins, referrencing the bigpic index and the allmasks index, the skincode, etc. Use an hex editor for that. (Or any future tool)
9) Put the skin.bin in the CSBgraphics.dat using CSBgraphics.exe
11) Put some skin layout in the dungeon with CSBuild (Menu->Edit->Skin Map)
12) Test
Note: for steps 3 to 6, Kentaro is developping new tools.