Coder Social home page Coder Social logo

wonderswan-tools's Introduction

Dekadence Console Tools

A Rust rewrite is in progress. The Python versions will be removed once the rewrite is complete.

Various tools and code for WonderSwan related things. The tools have been used in the following demos:

Requirements

  • Install pipenv
  • Install dependencies: pipenv install

wschecksum

Generates a checksum for a WonderSwan ROM. No real validation is performed, so be careful.

pipenv run python3 wschecksum.py INPUT_FILE

Note that this will overwrite the original file.

convert_mod

Converts an Amiga MOD to a format compatible with Dekadence's WonderSwan player. More to come.

pipenv run python3 convert_mod.py [--debug] INPUT_MOD OUTPUT_FILE

Use --debug to print the converter's interpretation of the MOD.

convert_tiles

Converts a PNG file to a tile map. Two files are created: a file containing the tileset, and a file containing the tile map. Images with up to four colors are supported, and both width and height must be divisible by 8.

pipenv run python3 convert_tiles.py INPUT_PNG

wonderswan-tools's People

Contributors

britelite78 avatar phalin-p avatar superjohan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wonderswan-tools's Issues

TODO: convert_mod

  • Implement optional interpolation for waveforms
  • Include necessary data in header
  • Output bitmask to signal which effects are used
  • Output padded 64k binary with player and songdata
  • s3m support

TODO: convert_tiles

  • make minimizing optional
  • implement flipped tiles
  • support for multiple palettes
  • support for splitting image into two layers, for more unique colors per tile
  • support for PNGs with indexed palettes (either mandatory or optional)
  • support for linear non-tiled output

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.