Coder Social home page Coder Social logo

pgm2xm's Introduction

pgm2xm

pgm2xm is a tool to extact music from games released for the IGS PGM arcade hardware. The sound driver used by most games for the system is in a tracker-based format, which makes it possible to repackage them into tracker modules that can be played on a computer.

Usage

This tool requires a few things:

  • A MAME RAM dump produced from a game while a song is playing. For more details, see the "Producing RAM dumps" section.
  • The game's sample ROM. For most games, this is the file with the .u5 extension in the MAME ROMs.
  • The BIOS, which contains additional sound samples. This is usually the file with the .u42 extension in the MAME ROMs. (Not required for CAVE games.)

Call the tool like this:

pgm2xm -b z80prg.bin m1300.u5 02 02.xm

Where z80prg.bin is the filename of your RAM dump, m1300.u5 is the name of the game's sample ROM, 02 is the ID of the song to dump, and 02.xm is the output filename.

The -b flag specifies whether to load samples from the PGM's BIOS ROM. This isn't required for CAVE games, but is required for games developed by IGS.

Note that some early games for the hardware use a different sound driver and aren't compatible with this tool.

Producing RAM dumps

Getting RAM dumps requires loading a game in MAME with the debugger enabled. For more information about launching it, see the MAME debugger documentation.

When the game is running a song you'd like to dump, open the debugger window and run the following commands:

focus soundcpu
save z80prg.bin,0,10000

This will produce a file called z80prg.bin that you can use with this tool.

pgm2xm's People

Contributors

mistydemeo avatar eziochiu 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.