Subject: EmotionalStorm.MOD gets rejected by UADE

From: Joker
Date: Sat Apr 22 23:26:52 2006

To: Kohina-UADE-Forum
Mod: http://www.netswarm.net/EmotionalStorm.MOD

~ $ uade123 /home/files/Muzak/EmotionalStorm.MOD
Song: /home/files/Muzak/EmotionalStorm.MOD (407848 bytes)
Playing time position 0.0s in subsong 0                
Song end (module check failed)

Song end (score died)
Playing time position 0.0s in subsong 0                

~ $ file  /home/files/Muzak/EmotionalStorm.MOD
/home/files/Muzak/EmotionalStorm.MOD: 4-channel Protracker module sound data Title: &quot;emotional_storm&quot;

Mikmod plays it just fine and i cannot detect any compression. At least
no whole file compression like .gz .zip etc

---

From: mld/uade team
Date: Sun Apr 23 12:53:41 2006

To: Kohina-UADE-Forum
Just a wild guess ... the file could be truncated... Could you check with uade -v and something like calculated length and file length don't match or something.

I changed accepting policy towards file integration some while ago. Truncated files get rejected as bad rips, too long files get accepted as long there's just 4 kb trailing garbage. :-)

can't check myself, writing not from home...

---

From: Joker
Date: Sun Apr 23 13:52:52 2006

To: Kohina-UADE-Forum
A more or less original and really old source of the file:

http://wuarchive.wustl.edu/aminet/mods/ctp/EmotionalStorm.lha

It behaves exactly the same. If it's truncated then it wasn't by me.

~ $ uade123 -v mod.Emotional_Storm

Player candidate: PTK-Prowiz
Player: /usr/share/uade2/players/PTK-Prowiz (55112 bytes)
Song: mod.Emotional_Storm (407848 bytes)
Playing time position 0.0s in subsong 0                
Message: filesize: file ENV:EaglePlayer/EP-PTK-Prowiz.cfg res 0xb5

Message: read ENV:EaglePlayer/EP-PTK-Prowiz.cfg dst 0x1a31e off 0x0 len 0x100 res 0xb5

Message: open library uade.library

Song end (score died)
Killing child (5096).

---

From: Joker
Date: Sun Apr 23 14:38:55 2006

To: Kohina-UADE-Forum
-rw-r--r-- 1 root root 407848 Oct 14  2005 /home/files/Muzak/EmotionalStorm.MOD

(Forgot that, but it's the same as as from uade123 &quot;Song:&quot;)

---

From: Joker
Date: Sun Apr 23 14:45:49 2006

To: Kohina-UADE-Forum
Just found another one which behaves the same:

http://www.netswarm.net/ImpiousMiles.MOD
 ( Also a great tune btw. :) )

~ $ uade123 -v /home/files/Muzak/ImpiousMiles.MOD

Song: /home/files/Muzak/ImpiousMiles.MOD (248736 bytes)

Song end (score died)
Killing child (5318).

~ $ ls -l /home/files/Muzak/ImpiousMiles.MOD
-rw-r--r-- 1 root root 248736 Oct 14  2005 /home/files/Muzak/ImpiousMiles.MOD

Mikmod spits this out:

File: ImpiousMiles.MOD
Name: impious miles
Type: Protracker, Periods: mod type, log

  0 composed &amp; arranged
  1 by contrast/adict in
  2 1992. contact me for
  3 business/pleasure at:
  4 49-(0)911-793459
  5 used in adict sound-
  6 series vol. viii...
  7 c ya l8er...

---

From: mld/uade team
Date: Mon Apr 24 11:08:43 2006

To: Kohina-UADE-Forum
both mods are kind of broken (either by design or by a bad rip)

Impious Miles is truncated:
[code:1:e0dac335bf]
FILE SIZE ............. &#58; 248736
CALCULATED SIZE ....... &#58; 248740
[/code:1:e0dac335bf]

EmotionalStorm uses an illegal volume value:
valid volumes for Amiga Protracker Mods are between 0 and 64 this one sets volume for an empty instrument to 98.
[code:1:e0dac335bf]
&#91;19&#93; -                         27482  64   0  20894   6480         &#40;2&#41;
&#91;20&#93; - Any comments?           11522  64   0      0      2         &#40;314&#41;
&#91;...&#93;
&#91;29&#93; - at 22khz with               0   0  98      0      2         &#40;0&#41;
[/code:1:e0dac335bf]

Question is... Is it really sensible to support such broken mods like these ?

---

From: mld/uade team
Date: Mon Apr 24 12:00:18 2006

To: Kohina-UADE-Forum
stupid me... fine tune was our of range for Emotional storm... Nevertheless this value of 98 for finetune is invalid.

Michael

---

From: Joker
Date: Mon Apr 24 15:48:21 2006

To: Kohina-UADE-Forum
uade123 - v did not tell me about the different filesizes.
How do i check that in future? I'm sure i have some more MODs
which don't work.

Especially when you don't care about such MODs i'll need a way
to find out the cause, so i don't report them anymore.

Is there a way to hexedit the volume and append dummy data
to the truncated one? When done right it should still get accepted
by all the other playsers out there. Don't want to fix a problem
by creating another ;)

the Emotional Storm one is the weird one since the original one
is broke already. Impious Miles could be a rip from a SoundDisk.

---

From: Guest
Date: Mon Apr 24 15:57:07 2006

To: Kohina-UADE-Forum
This makes it playable. Don't know if it's a sane solution to fix
such MODs. A bit odd that it's always 4 bytes since that tells
me that some known app made this mistake all the time.

echo -ne &quot;\0\0\0\0&quot; &gt;&gt;ImpiousMiles.MOD

---

From: mld/uade team
Date: Mon Apr 24 16:36:02 2006

To: Kohina-UADE-Forum
we are working on it... 

A good tool to check modules is modinfo 2 by Sylvain &quot;Asle&quot; Chipaux of amp.dascene.net:

-&gt; http://amp.dascene.net/downcount.php?idx=9

---

From: mld/uade team
Date: Mon Apr 24 18:01:02 2006

To: Kohina-UADE-Forum
you can fix emotional storm by:

changing the 0x72 to zero with a hexeditor
[code:1:f801d80dc2]
0000370 0000 0000 00&#91;u&#93;72&#91;/u&#93; 0000 0100 6564 696c 7274
[/code:1:f801d80dc2]