Search found 13 matches
- Sat Aug 20, 2011 3:53 pm
- Forum: Music
- Topic: PT file with NSMS id
- Replies: 1
- Views: 6573
PT file with NSMS id
Once in a while an anomalous mod file falls into my hands, and this time it was an otherwise perfectly normal PT mod file with the very odd "NSMS" id where M.K. should be. The file is Bee Hunter's "kingdom of pleasure" with ST- instrument names. Any ideas where this NSMS id comes from? M.K. kingdom ...
- Sat Jan 02, 2010 4:44 pm
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
The format description: http://xmp.git.sourceforge.net/git/gitw ... format.txt
- Sat Jan 02, 2010 1:34 pm
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
And it worked! Implemented in xmp using the triple indirection pattern decode, code at http://xmp.git.sourceforge.net/git/gitw ... mfp_load.c. I'll write a proper format description to document it.
- Sat Jan 02, 2010 12:56 pm
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
Ok, I was wrong, it was not double indirection. It was triple indirection, and the first four bytes are also pointers. Clever system, but not obvious to reverse-engineer. To decode the pattern you can use the following C-like pseudocode: for (pattern = 0; pattern < num_patterns; pattern++) { for (vo...
- Sat Jan 02, 2010 2:25 am
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
Ok, I think I decoded it. It's a double-indirection system where a table points to another table that points to the note data. I still don't know what are the first four bytes. The following bytes are indexes to the second table. The second table starts when bit 1 is set, and ends when the low four ...
- Sat Jan 02, 2010 12:08 am
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
I too suspect that the numbers in the "control data" are indexes to the events in protracker format located after this table. Most numbers (but not all!) are multiples of 4. The first four may have special meaning, since the values there don't appear elsewhere. There's also no hint on the size of th...
- Fri Jan 01, 2010 10:52 pm
- Forum: Music
- Topic: Novotrade pattern format (fix for Asle's PW)
- Replies: 7
- Views: 3345
Re: Novotrade pattern format (fix for Asle's PW)
Thanks! Fixing voice order here as well.
- Fri Jan 01, 2010 1:04 pm
- Forum: Music
- Topic: Novotrade pattern format (fix for Asle's PW)
- Replies: 7
- Views: 3345
Re: Novotrade pattern format (fix for Asle's PW)
ok, Novotrade Packer is _NOT_ active, whatever the version you have. I'm fairly confident the depacker doesn't work. I agree the source is there, but it's not used at all. Hm, it not being active explains why it didn't work in the first place! But it will work if you use the voice mask byte. Thanks...
- Thu Dec 31, 2009 10:41 am
- Forum: Music
- Topic: Novotrade pattern format (fix for Asle's PW)
- Replies: 7
- Views: 3345
Re: Novotrade pattern format (fix for Asle's PW)
One more fix, this time in the Titanics Player code: 273 if ((in_data[Where]&0x7f) != 0x00) 274 k += (in_data[Where]&0x7f); 275 if (k > 1024) 276 { 277 /*printf ("pat %ld too big\n",i);*/ 278 break; 279 } In line 275 variable k is the row number and should be tested against 64 and not 1024.
- Thu Dec 31, 2009 3:29 am
- Forum: Music
- Topic: Novotrade pattern format (fix for Asle's PW)
- Replies: 7
- Views: 3345
Novotrade pattern format (fix for Asle's PW)
Hi, Anyone who tried to use Asle's Prowizard 1.62 to play ntp files must have noticed that it doesn't work. I just noticed that the pattern converter is wrong: it assumes that there's a control word to mark the end of a pattern or to skip empty lines. if (in_data[Where+1] == 0x80) { /*fprintf(DEBUG,...
- Mon Dec 28, 2009 12:25 pm
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
No, it's not. It's meaningful track unpacking data. But still no idea on how exactly it works. 01E6 - control data OFFSET 0000 04 04 04 04 08 08 08 08 06 06 06 06 01F2 - note 00 00 00 00 --- -- --- 01F6 - control data OFFSET 0010 04 08 0C 0C 10 14 18 1C 20 24 28 2C 30 30 30 30 1A 1C 1C 1C 1E 1C 1C 1...
- Mon Dec 28, 2009 9:49 am
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Re: Magnetic Fields Packer pattern format?
Ok, I looked at it a bit more and figured out the general structure: number of patterns stored, the same value again (?), and then the offset of track data for each pattern four tracks per pattern. The 04040404 08080808 06060606 0000000 seems to be meaningless filler. 00000170 00 0D 00 0D 00 10 .......
- Sun Dec 27, 2009 12:22 pm
- Forum: Music
- Topic: Magnetic Fields Packer pattern format?
- Replies: 11
- Views: 8290
Magnetic Fields Packer pattern format?
Hello, I've been staring for a while at some hex dumps of Jeff Rourke's Crystal Dragon mfp patterns and, well, they're not making much sense to me (especially those 04040404 08080808 06060606 0000000 byte sequences). Has anyone (Asle?) taken some time to properly decode that, or does anyone have the...