1.9.5x: Error reading .sunvox file

Found a bug? Post it here.
Post Reply
iaon
Posts: 236
Joined: Mon Jun 02, 2014 7:56 am

1.9.5x: Error reading .sunvox file

Post by iaon »

Hi,

The attached file opens as it should in version 1.9.4c: some chords played by module 01.


In versions 1.9.5c and 1.9.5 BETA1 it opens as shown in the image:

A bunch of loose FF module numbers are added.

The note commands (except the first chord) turn white and don't play (but still have 01 as module number).

Windows 7.

Image
Attachments
FileReadBug.sunvox
(3.39 KiB) Downloaded 100 times
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: 1.9.5x: Error reading .sunvox file

Post by NightRadio »

Here is the fixed version :)
The width of the module number field is 2 bytes in SunVox 1.9.5.
In 1.9.4 it was 1 bytes + one empty (zero) byte.
But in rare cases (because of some bug in older SunVox versions), this empty byte it not always empty. So, for example, instead of module 0001 we will get FF01.
You can fix the numbers in MM column manually: just delete the old value and replace it with correct value.
I will try to add some auto-fix in the next minor update.
Attachments
FileReadBug.sunvox
(3.3 KiB) Downloaded 118 times
Post Reply