Author Topic: .MPTM module signature written backwards  (Read 2905 times)

Offline pelya

  • Workaholic artist
  • ***
  • Posts: 108
.MPTM module signature written backwards
« on: May 09, 2007, 17:17:44 »
Full Version:
OpenMPT v1.17.02.46

Description of the bug:
.mptm files contain 4-byte signature at the beginning that reads ".mpt". It written as DWORD in 4-th line of "soundlib/MPT_module.cpp". But since PC is little-endian machine the saved module contains string "tpm." at the beginning. Just bad-looking.

How often does it happen?:
Until someone fixes it :) . This should be done as soon as possible until there's not much .mptm modules around   :wink: .

How to reproduce (step by step description):
View .mptm file with binary file viewer

--- I'm freak that uses binary file viewer alot :nuts:

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
.MPTM module signature written backwards
« Reply #1 on: May 09, 2007, 23:50:20 »
Nothing wrong with a binary file viewer
0.618033988