| | To Do Show the reader how to save pictures with the SRB2 palette. The wad editor method is done, but we still need the graphics editor way. |
The SRB2 Palette is the total set of 256 colors used by the game engine. Every graphic used in the game must adhere to these 256 colors, and each must also be saved in this palette, as well. Otherwise, the game will SIGSEGV upon trying to display the graphic. This doesn't apply to MD2 model textures, being OpenGL-exclusive.
Note that index 247 is understood as "transparent". This is shown as cyan because when a graphic with cyan pixels is imported into XWE, cyan pixels will be given index 247 when the graphic is converted. Those pixels will be invisible in SRB2 itself.
Contents |
Regular images can't be uploaded right off the bat into a wad file as they are, or else their colors won't be displayed properly, thanks to SRB2's new palette. Luckily, the wad editors can change the image's palette for us, and here's how:
Whenever you open XWE, it uses whatever palette that is used in its config. So, what you need to do is tell XWE to use SRB2 V2's palette, and from there on, every image you upload/see in a wad file will be correctly displayed. You can do this in three ways. The first way is to simply open srb2.srb and use that. The advantage is that you don't have to save anything, but the disadvantage is the time it takes to load srb2.srb. The second way is to save srb2's palette file in the XWE folder so that we can use it. The advantage of this is that you can easily convert v1.09.4's images to v2.0.x quite easily. The disadvantage is that you have to set the palette everytime you open XWE if you want to use the v2.0.x palette. The second way is to simply change XWE's IWAD so that it will load the v2.0.x palette automatically. You can also combine the last two options so you can have the srb2 palette in the XWE folder AND have it load the srb2 palette every time.
Preform Clean Up on Exit is unchecked. This is important if you don't want to corrupt SRB2's IWAD.
Preform Clean Up on Exit is unchecked. This is important if you don't want to corrupt SRB2's IWAD.
MainWAD,C:\Folder\Folder with spaces\SRB2\,srb2.srb. Make sure you put the commas in the correct places.
There are fewer options to setting up the palette with SlumpED. The only way to change the palette is to set it to v2.0.x's IWAD. All files will show with the v2.0.x palette after setting that up.
You first must have the srb2 palette in your XWE folder. (See Saving the SRB2 palette in the XWE folder). After you done that follow these steps.