SRB2Kart/Encore Remap
This article or section contains a spoiler, an unlockable, or a secret. Please leave the page if you do not wish to view spoilers. |
This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article. |
An Encore Remap is a specific palette swap which, when combined with a mirrored course, forms an Encore Mode version of a map.
Encore Remaps are stored in lumps named MAPxxE
– xx
being the extended map number of the map in question. If no Encore Remap is provided, no remapping takes place and the original colours are used instead. A sample no-effect remap is available in the maps.kart
file under the name MAP00E
.
Setting up an Encore Remap
Setting up SLADE
While this is not strictly necessary in order to add an Encore Remap, doing the following will allow you to see the Remap files in SLADE:
- Locate your installation's
slade.pk3
. It should be in the same folder asSLADE.exe
(instructions may vary for Linux/Mac). - Create an exact copy of
slade.pk3
under whatever name is most convenient to you. If SLADE is in a protected folder like Program Files, move the duplicate to a non-protected location. - Open this new PK3 file using SLADE, and navigate through
config
toconfig/entry_types
; selecttypes_gfx_doom.txt
. - Insert the following block between the
gfx_flat : gfx_raw
andgfx_autopage : gfx_raw
blocks oftypes_gfx_doom.txt
.
gfx_encore : gfx_raw { name = "Graphic (Encore)"; size = 256; extra = image; image_format = "raw_flat"; }
- Close SLADE and replace
slade.pk3
with your modified copy. This will enable you to view and modify existing Encore colormap lumps, like inmaps.kart
. - Re-open SLADE. In the top menu bar, navigate to Edit → Preferences. Select Graphics on the left bar of the new popup window. Then, check the checkbox for "Offer additional conversion options".
- Click OK and restart the program. This will enable you to convert all graphic types to Encore colormap lumps, if you choose to import them.
Making the Remap
As soon as everything is set up in SLADE, you are now set to start editing colour remaps. To start getting the resources necessary to start editing the encore palettes require going into maps.kart to get the base palette.
- Open up SLADE and click "Open Archive", navigate to your SRB2Kart installation and type in
maps.kart
in the bottom text box and hit enter. You should now be in SRB2Kart's map wad, provided you've setup SLADE and did everything right, you should start to see "Graphic (Encore)" lumps. - Right-click on the first Encore lumps that reads
MAP00E
and go to Graphic > Export as PNG. Save the PNG to anywhere you would like and then exit SLADE. You should now have a small 256x256 image, this image is the base palette for SRB2, and it is the base in which all Encore remaps are built off of. - Open up the image in an image editing software of your choice and start replacing colors and remapping images. Each pixel corresponds to a color on the palette and the exact place where it is. Say, the sky is a flat blue color within the palette and you want to make it orange. Simply take the pixel on the palette where said blue color would be and make it orange by drawing over it. Keep in mind you cannot replace a color with any other color. It has to be within SRB2Kart's palette.
- After you've made all of the edits you want to make, save it as
MAPXXE.png
(make sure you keep a backup ofMAP00E
just in case you want to make a new palette) , open up SLADE again and go to File > New Archive. In the new WAD you've created, on the top part of the program, go to Archive > New Entry; Name this entryGX_START
. After the new entry is created, do the exact same thing, except this time, name itGX_END
. - After you've made your two new entries, go to Archive > Import Files and double-click on your edited remap. Put your remap in between
GX_START
andGX_END
using the "Move Up" and "Move Down" buttons. Now right-click your palette, go to Graphic > Convert to... and a new window should pop up. On the new window, click on the top drop-down and hit "Doom Flat". On top of that, click the drop-down on the furthest right and hit "Sonic (SRB2)" and click "Convert" and save the wad, your map should have an encore palette now.