Giter Site home page Giter Site logo

wadcode's Introduction

wadcode

wadcode is a WAD Compiler/Decompiler. It is supposed to disassemble WAD files that provide all the resources for games like Doom into individual files that can then be edited. Ideally it should be able to recompile those files back into a WAD to use.

Usage

To decompile a WAD file into the internal resources:

usage: ./wadcode decompile [--no-unpack] [--verbose] [--help]
                           wadfile directory

Decompile a WAD file into its resources

positional arguments:
  wadfile      Input WAD file that is decompiled.
  directory    Input directory in which WAD resources are written.

optional arguments:
  --no-unpack  Do not unpack any inner blobs (e.g., convert images to PNG
               files), extract everything as stored internally.
  --verbose    Increase verbosity. Can be specified multiple times.
  --help       Show this help page.

For example:

$ ./wadcode decompile DOOM.WAD /tmp/my-doom-wad

Then you can easily edit all files in that directory (/tmp/my-doom-wad), and recompile them afterwards:

usage: ./wadcode compile [--verbose] [--help] directory wadfile

Compile a WAD file from resources

positional arguments:
  directory  Input directory that should be compiled to a WAD.
  wadfile    Output WAD file that is created after compilation.

optional arguments:
  --verbose  Increase verbosity. Can be specified multiple times.
  --help     Show this help page.

For example:

$ ./wadcode compile /tmp/my-doom-wad MODIFIED_DOOM.WAD

Dependencies

wadcode requires the pypng package to be installed.

License

GNU-GPL 3.

wadcode's People

Contributors

johndoe31415 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.