MrFlibble Posted August 30, 2008 Share Posted August 30, 2008 For the convenience of all people interested in giving the good old Dune 2 a new twist, I've decided to compile a list of useful tools for editing and modding the game. PAK Viewing and Editing This section covers various tools that allow to view and/or edit the contents of PAK pseudo-archive files used by Westwood to store game data in Dune 2. XCC Mixer The number one tool for editing many of Westwood Studios' games, XCC Mixer allows you to view and extract the contents of PAK archives, as well as convert graphics and sounds to Windows-recognized formats. Quick reference: How to set up XCC Mixer for viewing Dune II graphics. WestPak2 This utility is solely designed to handle PAK files from various Westwood games like Dune 2, Legend of Kyrandia or Lands of Lore. Views contents and extracts files. Supports most, if not all, media formats used by the game. WWPAK This is a very handy, simple, easy-to-use command line program that can unpack the contents of a PAK file into a folder of the same name, and pack such a folder into a PAK file back. NOTE: WWPak is known to incorrectly extract WSA animations from INTRO.PAK. Use alternate tools, like XCC Mixer, to extract WSA files from INTRO.PAK. Otherwise, PAK files created with WWPak contain no errors. Dune 2 PAK A Windows-based PAK editor written by TCH. Text & Font Editing Most text in Dune 2 is stored in ENG (GER and FRE for German and French versions respectively) files, which come in several types: a) uncompressed text table (example: DUNE.ENG), b) compressed text table (example: TEXTA.ENG) and c) structured compressed text table (example: MENTATA.ENG). Siberian String Table Editor Designed with the aim to be the ultimate text editing utility for Westwood games, the Siberian String Table Editor fully supports all types of ENG files used in Dune 2. It is advised that you turn off the "Auto Decompression" option though, and (de)compress files manually, since the code is not perfect yet and will incorrectly interpret the "end of paragraph" sign in some files. Also, XCC Mixer can convert uncompressed text tables into plain TXT files, but it's generally not very useful. Nyerguds' Westwood Font Editor This is a graphical font editor that supports font file formats used in Westwood Studios' games. More details can be found here. Graphics Editing Dune 2 uses several formats for in-game graphics. CPS: This is a single 320x200 image used for screen backgrounds. There are two types of CPS files: unpaletted and paletted. Dune 2 uses the first type, but the paletted variant is also recognized and used by the game. SHP: This is a series of frames compressed into a single file. It is used for unit, smudge and menu button graphics. Unlike the later versions of SHP format (used in Command & Conquer for example), each frame can have different shape. WSA: All animations like the intro sequence or animated unit and building images from menus and Mentat databases are in this format. It is different from the SHP that all frames are of the same shape, and there are additional parameters defining the frame rate at which the animation is played, and whether it is played once or loops endlessly. The WSA file format used in v1.0 is different from v1.07. There is yet another format used for terrain tiles and buildings, which includes two files: ICON.ICN and ICON.MAP (located in DUNE.PAK). You can read more about it here, and also some bits are in this thread. Dune 2 Tile Editor (Beta) by ArrakisResearchCo. It will read ICON.ICN and ICON.MAP directly from DUNE.PAK. Read the explanation here (link not working, sorry!). Some more info in this thread. NOTE: Since the main site is down, you can get the editor here (thanks to Nyerguds for hosting the file!). C&C64 File Converter by Nyerguds. This is a multifarious graphics editor/converter that supports a wide array of file formats from different games, and recently the Dune 2 SHP format was added to the list. Read the extensive description here. Red Horizon Utilities This tool pack developed by Ultraq was actually designed for the purposes of modding Red Alert, but it supports editing of Dune 2 graphical formats as well. Among other things, it allows to convert single or multiple PNG files into Dune 2 SHP and WSA, and PCX files into unpaletted CPS files. NOTE: The latest version of Red Horizon Utilities is 0.28a, but you might also need v0.24 to create Dune 2 SHPs with varying frame dimensions (for some reason SHPs of this kind created with v0.28a may crash the game). Earlier versions of Red Horizon Utilities can be downloaded here: http://www.ultraq.ne...izon/Downloads/ (this link is down, kept for historical purposes) Nyeruds has been very kind to create a mirror at his Open Directory: http://nyerguds.arsa...ols/redhorizon/ XCC Mixer can convert Dune 2 CPS, SHP and WSA into PCX files, and will also convert PCX files into paletted CPS. IMPORTANT NOTE: XCC Mixer only supports WSA files from Dune 2 v1.07. Scenario Editing Probably the most widely edited part of the game, the missions! Here are the various scenario editors. DuneMaps A brand new scenario editor for Dune 2 by Segra with lots of nice features. First off, it implements the correct map generation algorithm, meaning that the maps displayed are 100% accurate. Moreover, the editor uses in-game graphics to draw the map and the units, allowing to view the map as it would look in the game. It also supports editing scenario files directly from SCENARIO.PAK. Learn more about DuneMaps in this thread. Dunedit The popular editor by Stefan Hendriks has almost everything a Dune 2 mapper could ever need. It allows to view the map terrain (via the auxiliary seed map files), a feature that most other editors lacked. More Dunedit-related stuff can be found here. Dune 2 Scenario Editor The most recent, Windows-based editor by TCH is an improvement over Dunedit in that it adds mouse support (which is more than handy) and a few other things. The seed map database can be easily expanded. Recommended. Dune II Savegame & Scenario Editor Allows to edit both Dune 2 savegames and scenarios. Doesn't display terrain, and has other limitations. With the two editors above, this one is pretty obsolete. Dune II Scenario Editor This one is important in that its author discovered the Dune 2 team bug (a syntax error that did not allow the AI to form attack teams of vehicles - read more here). The editor is Windows-based and could be useful if it were not for a nasty bug: somehow it doesn't display about 1/4 of the map. Also, the terrain cannot be viewed too. Dune II: The Building of A Scenario A neat-looking, albeit outdated editor that uses in-game graphics for objects on the map. Does not display actual map terrain. Loads mission files directly from SCENARIO.PAK. Download link. Unit and Structure Editing Dune II Editor An all-out game executable editor by Nyerguds. Supports all known versions of Dune 2, and allows to edit all unit and structure parameters in the game, as well as file types, House profiles and units orders. A definite must have for all Dune 2 modders! ;D DUNE 2 CHEAT The Ultimate Cheat Program v1.0 by Jens Defendorf An old unit and structure editor compatible only with Dune 2 v1.0. Mostly of historical value. Miscellaneous Tools Eastwood A multi-purpose tool based on the "libeastwood" game data library that provides support for handling WSA, SHP, ICN, CPS, PAL, ADL, VOC, PAK data files used in Dune 2. Created by Proyvind of the Dune Legacy/Doon Lunacy team. For more info about libeastwood, go here. IDA Pro Database for DUNE2.EXE Now this is a very useful resource for all kinds of Dune 2 EXE hacking. Segra did an excellent job thoroughly analysing the code of the game, great thanks man! Note that the offsets are different in the different versions of DUNE2.EXE depending on the release. EMC Editor [download directory] EMC files contain additional code that governs different aspects of the game like structure animation sequences. So far, out of the three EMC files Dune 2 utilizes (BUILD.EMC, UNIT.EMC and TEAM.EMC) only one - BUILD.EMC - has been fully decoded. This utility pack created by Minniatian allows to convert EMC files into easily editable text format and back, and contains a guide to EMC editing basics. More info on EMC files can be found here and here. Dune 2 Script Tools Another utility to handle EMC files, written by Segra. Download link. Dune II Scenario Editing Pack (attached to this post; you must register in the forum to download the attachment) This is a small package that contains an improved seed pack for TCH's editor (all seed maps verified to be 100% accurate) and a set of original Dune 2 scenario files with all errors and mistypes fixed (this concerns the team bug in the first place). Dune II Seed Map Revealer The latest version of the tool to create seed maps for use with Dune 2 scenario editors or "clones" like Stefan Hendrik's Dune 2 The Maker or old versions of Dune Legacy. The original code for this tool was written by Olaf van der Spek and Stefan Hendriks. This tool is pretty much obsolete now that the map generator code had been deciphered. D2ScenarioPack.zip 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.