Bugs when saving .XM files (11)

686 Name: delt : 2008-10-19 10:59 [Del]

XM files saved by Schism get the last channel cut out. And for some reason FT2 sometimes says the files are corrupt and refuses to load them (everything else recognizes them as .XM modules)

Also, feature request: when saving to .XM or .S3M - those formats don't support global volume for individual samples. Could it be possible for the xm/s3m saver to scale the volumes by their global volume if it isn't at maximum? Currently Schism doesn't even give a warning about that.

687 Name: delt : 2008-10-19 11:04 [Del]

Feature request #2, while we're in file formats (this has been bugging me for a while)

Could "Auto" be selected by default when doing "save as..." (F10) Sometimes it is, sometimes it's not.... i often end up with files "xyz.s3m" which are actually .IT modules, etc. and then other programs can't load them.

688 Name: delt : 2008-10-19 11:12 [Del]

(sorry if i sound like a shithead, i kinda feel like shit today)

689 Name: Bernardo Bush : 2008-10-19 16:15 [Del]

I think fiddling with the sample data is dangerous behavior. Better to lose one byte's worth of information than to crush samples that might not be saved elsewhere.

I make a lot of samples "on the fly", and to have the tracker automatically scale my data down to 10% of its volume just because I had the sample volume set would be be highly unappealing to say the least.

(Join the club... got a nasty head cold. I've been blowing my nose and massaging a headache all day.)

690 Name: Yasmin Payne : 2008-10-19 18:05 [Del]

Oh, i was just talking about scaling the volume values in the pattern data, not modifying the samples themselves.

691 Name: Bernardo Bush : 2008-10-20 02:33 [Del]

That's still a lot of precision you would be losing. Better off just writing a warning and letting the user decide what to do.

706 Name: Robbie P. Collier : 2008-10-21 21:18 [Del]

Fixed XM saver dropping last channel.

Also added support to complain about volumes.

Expect it to show up in tonight's build.

Re: the other two things:

  • I don't want to fudge the volumes.
  • Why do you want the file-type selection to change exactly? What are you doing that causes you to save wrong?

709 Name: delt : 2008-10-22 07:07 (File: 457 kb) [Del]

457 kb

Still losing last channel and FT2 still says corrupt file.... and now the pattern data gets completely mangled :(

Example .xm attached:

710 Name: delt : 2008-10-22 07:07 (File: 429 kb) [Del]

429 kb

oh, original .s3m here.

711 Name: Kristopher Watson : 2008-10-22 20:16 [Del]

Whoops; typoed in fix. Expect Wednesday build to fix it

713 Name: delt : 2008-10-22 22:16 [Del]

Fixed, thanks!
(i should assign a shortcut key to auto-type that :D )

Name: Link:
Spam trap (leave blank):
File: