Giter Site home page Giter Site logo

cps1-oki-scripts's Introduction

Python Scripts designed to Extract/compile Samples to and from CPS1 games. Simply add the unzipped game to roms, generate resources if ya haven't already and have fun! Scripts made with Python 3.10.6

  • GENERATE RESOURCES The script reads capcom-cps1.cpp and isolates every game, outputting a resource file for every compatible game containing the names of every OKI ROM as well as their sizes

  • OKI_EXTRACTOR The first 0x400 bytes of OKI data are reserved for pointers to each sample, the first 8 bytes always being 0x00. Pointers are laid out like this xxxyyy00 xxx - Start Point of Sample data (24-bit) yyy - Start Point of Sample data (24-bit) This data is included in the names of each sample. Resource files are required to read the names of each OKI ROM in roms/(game)

  • GENERATE_OKI_ROM Takes every Sample in COMPILED_OKI/input_wav/(game), compresses them to 4-bit VOX ADPCM, and generates OKI ROMs with it. These files can simply be inserted into a given CPS1 game, and the script outputs these compressed version individually in COMPILED_OKI/compressed_wav/(game). Resource files are required for when compiling ROMs in the case there are none in roms

cps1-oki-scripts's People

Contributors

yoshin2222 avatar

Stargazers

carlos avatar

Watchers

 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.