SLADE

From SRB2 Wiki
Jump to: navigation, search
SLADE
"SLADE3.png"
Author SlayeR
Latest version 3.1.1.5
Release date January 18, 2017
Operating system Cross-platform
Website slade.mancubus.net

SLADE is an open-source WAD editor capable of managing the lumps of WAD files and of editing maps. It allows the user to view and edit sprites, textures, flats, sounds, SOCs, Lua scripts, level headers, and any other type of lump. In previous versions, SLADE was a map editor only, while a lump editor called SLumpEd was developed by the same author. The current version, SLADE3, is a merger of the two with many additional features. While no configuration file for SRB2 currently exists for the map editor, the lump editor is widely used in the SRB2 community because it is more stable than other editors and supports several SRB2-specific features.

Setup

SLADE requires the 32-bit Microsoft Visual C++ 2015 Runtime (choose VC_redist.x86.exe at the download page) to be installed. If you use the SLADE installer, it will automatically download and install the runtime for you, otherwise you will have to install it yourself. After installing and opening SLADE, select Editor → Preferences in the menu bar and uncheck the "Force uppercase entry names in Wad Archives" option in the Editing tab. This is important for creating lowercase lumps, which are required for custom characters. In the same tab, check the "Use percent encoding if needed outside of Wad Archives" option. This is necessary to create lumps with the ^ character in their names, which is also required for custom characters.

Now you have to point SLADE to SRB2's IWAD, or Base Resource as the program calls it. In the menu bar, select "Editor → Select Base Resource Archive". Click on "Add Archive" and navigate to your SRB2 directory. The filename of the IWAD is srb2.srb. Because the window only shows supported file types (to which .srb doesn't belong), you have to type in the filename manually. Then click OK and the program should be configured. You can select your IWAD in the "Base Resource" dropdown box in the toolbar. Next to it, there's a box where you can choose your palette. The "Sonic (SRB2)" option is SRB2's palette. While srb2.srb is loaded as the Base Resource, "Existing/Global" will also make the program use the SRB2 palette.

Features

General

  • Tabbed browsing for multiple WADs loaded at the same time. This allows for viewing and editing multiple lumps in multiple WADs and easy copying from one WAD to another.
  • Archive manager that lists all opened WADs and the maps they include. Also features a file browser, a list of recently opened files and the ability to bookmark specific lumps for easy reference.
  • Palette and IWAD quick-change.
  • Filter function that filters lumps by type and/or name (including wildcards).
  • Batch edit functions for most features (for example, mass conversion of graphics or mass exporting of lumps).
  • Creation and editing of compressed WAD archives.
  • Checking for lumps with identical content.

Lumps

  • Creation of new lumps.
  • Importing files into lumps and exporting lumps into files.
  • Renaming and deleting lumps.
  • Cut/copy/paste lumps, including between different WADs.
  • Reverting of unsaved changes.
  • Moving lumps up and down in the entry list.
  • Loading and saving of lowercase lump names. This defaults to off, but can be toggled by the user.

Graphics

  • Display, including zooming and panning.
  • Basic graphic editing, including mirroring, flipping and rotating in 90° steps.
  • Color remapping inside the chosen palette.
  • Colorizing and tinting.
  • Modifying offsets, including automatic addition of offsets.
  • Preserving offsets upon importing a graphic.
  • Conversion of images between formats and palettes, including conversion of a specific color to transparency.
  • Exporting graphic lumps as PNG.
  • Palette editing features, including automatic generation of the COLORMAP lump.

Textures

  • Graphical texture editor for TEXTURES and TEXTUREx/PNAMES formats.
  • Editing of individual textures to modify their size and scale and to manage the included patches.
  • Saving composite textures as a single graphic.
  • Removing unused textures and patches.
  • Automatic conversion from TEXTUREx/PNAMES to TEXTURES.
  • Automatic addition of lumps to TEXTUREx and PNAMES (only relevant for SRB2 v2.0 and earlier).
  • Built-in editor for ANIMATED lumps and automatic conversion from and to SWANTBLS input format (only relevant for SRB2 v2.0 and earlier).
  • Automatic conversion from ANIMATED to ANIMDEFS.

Audio

  • Playback of many different music file formats, including MIDI and Ogg Vorbis.
  • Conversion between Doom Sound Format and WAV.

Text

  • Ability to view and edit miscellaneous lumps in text or hexadecimal.
  • Find and Replace feature for text editing.
  • Syntax highlighting for several scripting languages, including SRB2's Lua implementation.

Maps

  • Map preview images which can be saved into a PNG file.

Differences to XWE

  • SLADE doesn't automatically convert images to the palette upon importing them like XWE does. Instead, they must be converted to Doom Graphics Format by selecting all imported entries, right-clicking on one and selecting Gfx → Convert to.... Then select "Doom Gfx (Paletted)", set both palettes to "Sonic (SRB2)" or "Existing/Global" and click "Convert All".
  • When importing a new sprite, SLADE doesn't automatically set image offsets like XWE. This can be done by right-clicking on the lump and selecting Gfx → Modify GFX Offsets. This menu allows to specify the type of sprite and automatically calculates the offsets based on that.
  • SLADE does not correctly view flats that are not between F_START and F_END tags. This is intentional behavior to prevent non-flat lumps from being read as flats.

Issues

  • Some text lumps may be shown as "Unknown". To view their contents, right-click and select View As → Text or click the Edit as Text button above the lump display.

See also

External links

  WAD editors [view]
Lump editors LumpModSLADESLumpEdXWE
Map editors Doom BuilderSRB2 Doom BuilderSRB2 WorkbenchZone Builder
Nodebuilders ZenNodeZDBSP