New 14 Mar 10 17:28
Category: util
Description: Game data library and tools for several data formats used by old Westwood games

This library is developed mainly with support for Dune 2 data to use by the Doon Lunacy (http://launchpad.net/doonlunacy) project in mind.

The library is none the less written in a generic manner to make it flexible and useful enough for others as well, providing SDL classes, python bindings and a command line tool based on the bindings to handle these data formats.

    The library currently supports the following:
    • Archiving:
    • reading and writing of PAK format
    • Graphics:
    • reading of ICN + MAP format
    • reading of CPS format
    • reading of SHP format (for both formats used by Dune 2 demo & other versions)
    • reading of WSA format (for both formats used by Dune 2 demo & other versions and also (untested) WSA 2 format used by later Westwood games)
    • reading and writing of PAL palette format
    • writing to BMP format
    • pixel art scaling using scale2x, scale2x3, scale2x4, scale3x & scale4x algorithms
    • Audio:
    • reading of VOC format
    • reading of ADL format (XMI, C55 & PCS in the works...)
    • several different OPL emulators, hardware OPL & disk writer plugin for midi playback
    • writing to WAV format
    • sample rate conversion using Secret Rabbit Code (aka libsamplerate)
    • Other:
    • reading of text string format used by Dune 2 (ie. CREDITS.ENG, TEXT.ENG etc.)
    • assembly & disassembly of EMC "script" format
    • reading of FNT format for font rendering
    • reading of DOS MZ format & various data structures used in DUNE2.EXE
    • reading and writing of Dune 2 INI format

Log in or register to post a comment.