MOD Audio: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "{{GRAFPageHeader}} == MOD == * ''' Format Type ''': Audio <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature ''':...")
 
imported>Ikskoks
 
(16 intermediate revisions by the same user not shown)
Line 4: Line 4:
* ''' Format Type ''':    Audio <br>  
* ''' Format Type ''':    Audio <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' Signature ''':    M.K. (at offset 0x438) <br>  
* ''' Signature ''':    M.K. (always at offset 0x438) <br>  




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 ===  


None.
* It is the first module file format introduced in 1987. It was later replaced by [[XM Audio]].


=== Games ===  
=== Games ===  
Line 30: Line 47:


* Winamp
* Winamp
=== See Also ===
* [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>




[[Category:Complete Complete|MOD Audio]]
[[Category:Complete WIP|MOD Audio]]
[[Category:Platform PC|MOD Audio]]
[[Category:Platform PC|MOD Audio]]
[[Category:CE None|MOD Audio]]
[[Category:CE None|MOD Audio]]

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