Code Monkey home page Code Monkey logo

3ct's Introduction

3ct: 3DO Compression Tool

A port of the 3DO SDK's compression library to modern platforms with a command line tool.

Usage

$ 3ct --help-all
3ct: 3DO Compression Tool (v1.0.0)
Usage: 3ct [OPTIONS] SUBCOMMAND

Options:
  -h,--help                   Print this help message and exit
  --help-all                  List help for all subcommands

Subcommands:
compress
  Compress input file
  Positionals:
    input-filepath PATH:FILE REQUIRED
                                Path to input file
    output-filepath PATH:FILE   Path to output file (default: input + '.compressed')

decompress
  Decompress input file
  Positionals:
    input-filepath PATH:FILE REQUIRED
                                Path to input file
    output-filepath PATH:FILE   Path to output file (default: input + '.decompressed')

check
  Checks the compressor and decompressor against data generated by the 3DO SDK compression library


$ 3ct compress example.txt
- input:
  - filepath: example.txt
  - size_in_bytes: 1024
  - size_in_words: 256
- output:
  - filepath: example.txt.compressed
  - size_in_bytes: 144
  - size_in_words: 36

$ 3ct check
* output of 3ct compressor matches SDK
* output of 3ct decompressor matches SDK

TODOs

  • Reverse engineer Game Guru compression format and add to 3ct
  • Rework and modernize compression code

Documentation

Donations / Sponsorship

If you find 3ct useful please consider supporting its ongoing development.

https://github.com/trapexit/support

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.