1
MilkyTracker Bug Reports / Re: Crash when loading .s3m
« on: July 24, 2015, 12:08:35 »
Thanks! Interesting description of what the problem ended up being.
Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.
8287 would be the default for PAL machines. [...] Which calculations is the exactly correct one can of course only be figured out by having the original tracker, or by directly comparing the game's audio output with a render from e.g. ST3.
Well, as said, concepts are all but standardized between trackers, so it's possible that PCM middle-C doesn't match up but OPL interpretation is the same? I'm not really familiar with OPL instruments in ST3 so I don't even know if they have a concept of a variable middle-C pitch.
Would the original ASM mixer code be of help?
Yeah, it's probably yet another thing that could only be confirmed with the original tracker. Or maybe you could create a test music file to replace the original music file and see how it translates things in-game?
Thanks for doing this! I've wanted to poke around with these tunes in module form for ages as well. Really cool to see how they're made; definitely post some updates here when you've got them!
They seem to play fine on my setup, no apparent timing problems... [...] Foreign Shores (z66ep1v3.s3m) has an FM snare layered with a sampled snare - they should (and do) hit at exactly the same time. Best test I could think of.
I can record the output from my machine for you if it helps. Let me know.
Well, the fact that the low octaves make up for the high sampling rate pretty much tells you already that your assumption of 33075 being the middle-C frquency is wrong. The original tracker that was used to create the songs (and thus, the CDFM format) may have had a completely different idea of what middle-C is than ST3 had - this is not a rare thing, e.g. C-2 in ProTracker is C-4 in ScreamTracker/Fasttracker, which in return is C-5 in Impulse Tracker.
Incidentally, 33075 is exactly two octaves above ProTracker's middle-C frequency, so you can safely assume that the octaves found in those files are ProTracker octaves and need to be transposed upwards by two octaves (and the sample frequency needs to be divided by 4) to map the CDFM middle-C to ScreamTracker's middle-C.
I'm not sure about that one, but you may know that the CDFM format is somewhat related to 669 (made by the same person), which also has some magic numbers regarding tempo and speed which are different (tempo 78, speed 4) from those usually found in ProTracker-like formats (tempo 125, speed 6). It may simply be an idiosyncrasy he came up with while developing his player routines. One thing that could also come into play are PAL vs NTSC timing differences here.
I wouldn't be surprised if that's a DOSBox issue. I can probably confirm this on a real machine if you really want it, though.Oh thanks for the offer, you could be right there. I do have a few DOS machines around so I'll save you the effort and try it next time one is plugged in.
In the intro tune I'd even say that some of them are too loud in ScreamTracker, not too quiet. I'm sure this can depend on factors such as if ScreamTracker uses stereo or mono output.
BTW: Your updated conversions seem to lack the "pattern jump" command in the last patterns to jump to the correct restart position.
Thanks for the conversions, btw. I've been searching for this soundtrack in a "normal" mod format for years, I even asked CCCatch if he still has the files, and while he said that he'd have to look at his parents' place, I haven't heard back from him since then.