MOD Audio: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// MOD file format | |||
20 bytes (char) - song name // e.g. "Mod.Fantasy" or can be empty | |||
num_of_samples * | |||
{ | |||
20 bytes (char) - sample name | |||
2 bytes (uint16) - sample length | |||
1 byte (uint8) - finetune value // 0 = 0 | |||
// 1 = +1 | |||
// 2 = +2 | |||
// etc. | |||
1 byte (uint8) - volume // in range 0x00 - 0x40 | |||
2 bytes (uint16) - repeat point | |||
2 bytes (uint16) - repeat length | |||
} | |||
// TODO | // TODO | ||
</pre> | </pre> | ||
| Line 17: | Line 34: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* It is the first module file format introduced in 1987. It was later replaced by [[XM Audio]]. | |||
=== Games === | === Games === | ||
| Line 34: | Line 51: | ||
* [https://en.wikipedia.org/wiki/MOD_(file_format) MOD file format (Wikipedia)] | * [https://en.wikipedia.org/wiki/MOD_(file_format) MOD file format (Wikipedia)] | ||
* [https://www.ocf.berkeley.edu/~eek/index.html/tiny_examples/ptmod/ap12.html MOD file format (berkley.edu)] | |||
* [[XM Audio|XM Audio (xentax wiki)]] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 12:42, 9 July 2022
Back to index | Edit this page
MOD
- Format Type : Audio
- Endian Order : Little Endian
- Signature : M.K. (always at offset 0x438)
Format Specifications
// MOD file format
20 bytes (char) - song name // e.g. "Mod.Fantasy" or can be empty
num_of_samples *
{
20 bytes (char) - sample name
2 bytes (uint16) - sample length
1 byte (uint8) - finetune value // 0 = 0
// 1 = +1
// 2 = +2
// etc.
1 byte (uint8) - volume // in range 0x00 - 0x40
2 bytes (uint16) - repeat point
2 bytes (uint16) - repeat length
}
// TODO
Notes and Comments
- It is the first module file format introduced in 1987. It was later replaced by XM Audio.
Games
List of games using this file format:
- WarHeads SE (PC) (*.MOD)
QuickBMS Script
Not written yet.
Compatible Programs
- Winamp
See Also