Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Bug Reports => Topic started by: Svetlana on December 06, 2013, 16:58:22

Title: Sample offsets broken when saving .MOD
Post by: Svetlana on December 06, 2013, 16:58:22
Hi, I've noticed a problem when saving .MODs under MilkyTracker .86 (I haven't noticed it in the last update, .85, so I assume it could be new.)

The samples have their offsets (data pointers?) shifted around, and a sample might have the first few bytes be the last few bytes of the previous samples. Like so:

Original file (MOD):
(http://puu.sh/5DXpP.png)

Milky-resaved file (MOD):
(http://puu.sh/5DXry.png)

These images both show the same sample, and the bit added at the start is the end of the previous sample in the module.

Here are a couple of files, this is a song I've composed for a game using Lotus 3 samples. The song was composed in Milky by opening the original MOD and zapping the entire song to leave only the samples, I've saved it as a XM (fully abiding MOD limitations) then re-saved as MOD in OpenMPT. The second file is the song composed in Milky then saved straight to MOD. The difference is quite blatant from the first few seconds.

https://dl.dropboxusercontent.com/u/9435923/music/turbo/CD4-Cadmium.mod
https://dl.dropboxusercontent.com/u/9435923/music/turbo/CD4-Cadmium_milky.mod

Let me know if there's any more info I can provide.
Title: Re: Sample offsets broken when saving .MOD
Post by: Deltafire on December 07, 2013, 00:41:06
Fixed (github (https://github.com/Deltafire/MilkyTracker/commit/2dca0cee34d49a34c4c162fdc076272622b569f7)).

Thanks for the detailed bug report :)
Title: Re: Sample offsets broken when saving .MOD
Post by: Svetlana on December 19, 2013, 18:13:11
Is there anywhere to download the fixed version as a binary?
Title: Re: Sample offsets broken when saving .MOD
Post by: Deltafire on December 20, 2013, 20:55:19
For which platform?
Title: Re: Sample offsets broken when saving .MOD
Post by: Svetlana on December 24, 2013, 00:14:52
Windows. I'm currently using 7 x64. Would be nice to get an Mac OS X (G3) build as well, if that's at all possible. (I'm still using the old version available in the website)