whut 9b0c060bcc | 1 vuosi sitten | |
---|---|---|
.gitignore | 5 vuotta sitten | |
README.md | 1 vuosi sitten | |
hootvopm.py | 1 vuosi sitten |
This script was initially made to convert a Hoot memory dump into an .opm instrument pack, suitable for the VOPM VST plugin. It's an extremely rudimentary way of extracting FM instruments from games, but it works.
Over time, though, I've found myself slowly turning this into a general Yamaha 4op rip-o-tron.
./hootvopm.py [-b] -t format input_file
Input file can also be -
to read from stdin.
Output is dumped straight to stdout; redirect it to a file if you want to save it.
Pass -b to instead read straight binary data instead of comma-separated values.
ID | Description |
---|---|
raw (Default) |
Raw data in 32-byte groups; see table below |
opm |
OPM register area |
opn |
OPN register area |
opna |
OPNA register area (similar to OPN but has 3 more instruments) |
solfeace |
Format used in Sol-Feace for X68000 (“SOL.VCE”) |
Offset | Value |
---|---|
0x00 | DT/MUL* |
0x04 | TL* |
0x08 | KS/AR* |
0x0C | AMS-EN/D1R* |
0x10 | DT2/D2R* |
0x14 | D1L/RR* |
0x18 | FL/CON |
0x19 | AMS/PMS |
Rows marked with * are groups of 4 bytes, one per operator.
If you're curious, this is the format found in the PC-88VA version of Sorcerian, plus some padding bytes.
-b
.