Contents

Dungeon conversion (Little / Big endian) and decompression tools

As explained on the Technical Documentation - File Formats - Dungeon File (DUNGEON.DAT) page, some versions of Dungeon Master and Chaos Strikes Back use dungeon files with little endian data while other versions use big endian data. The dungeon file may also be compressed.
Here are some tools that can convert between the two formats. For example, these converters will allow you to use a PC dungeon with Chaos Strikes Back for Windows (which is based on the Atari ST version). This applies many of the custom dungeons.

Tool-BigLittle.rar Tool-BigLittle.rar: Little To Big Endian Dungeon Converter by Sphenx
This tool by Sphenx can convert a Dungeon Master for PC dungeon (Little Endian) to the Atari ST format compatible with CSBwin (Big Endian).
Tool-CVTcpp.rar Tool-CVTcpp.rar: Dungeon Converter C++ (Source code included)
This tool by Kentaro.k-21 is a rewrite of my DungeonConverter.vbs script in C++ language (Visual Studio 6 project). If required, checksum is automatically generated. It doesn't rely on checksum of original dungeon.dat.
This archive contains 4 executable files:
  • Win32/CVTbe.exe: converts dungeon.dat to big endian without checksum.
  • Win32/CVTbe_c.exe: converts dungeon.dat to big endian with checksum.
  • Win32/CVTle.exe: converts dungeon.dat to little endian without checksum.
  • Win32/CVTle_c.exe: converts dungeon.dat to little endian with checksum.
Tool-DungeonConverter.7z Tool-DungeonConverter.7z: Dungeon Converter VBScript
This Visual Basic script can convert Dungeon Master, Chaos Strikes Back and Dungeon Master II dungeon files between little endian (least significant byte first, used in PC, Apple IIGS, PC-9801, FM-Towns, Super NES and IBM PS/V) or big endian (most significant byte first, used in Atari ST, Amiga, X68000, Macintosh and SegaCD) formats.
The program automatically detects the input file format (little or big endian) and creates an output file in the other format.
Current limitations:
  • It does not manage compressed dungeons (used for the Chaos Strikes Back Prison on both Atari ST and Amiga, as well as in Dungeon Master for Amiga and Apple II GS). Use the other Dungeon Decompress script before conversion.
  • It only works with dungeons, not with saved games. New dungeons that were supplied as dmsave.dat files will not be converted.
Tool-DungeonConverter_csharp.rar Tool-DungeonConverter_csharp.rar: Dungeon Converter C# (Source code included)
This tool by Kentaro.k-21 is rewrite of my DungeonConverter.vbs script in C# language, because my script does not work on Japanese windows. This program requires the Microsoft .NET Framework Version 1.1 Redistributable Package.
Tool-DungeonDecompress.7z Tool-DungeonDecompress.7z: Dungeon Decompress VBScript
This Visual Basic script can decompress compressed dungeons (like the dungeon.dat prison in Chaos Strikes Back).
Although feasible, a compression tool is not necessary because the games can handle both compressed and decompressed dungeons.

Powered by Drupal   Valid XHTML 1.0 Strict