Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Saga Musix

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 14
41
Bug Report Archive / Loading IT samples... the correct way
« on: July 13, 2013, 22:16:11 »
MilkyPlay / MilkyTracker makes assumptions on the sample format in IT files solely based on the "made with" version found in the file header. This is not correct. The sample format flags should be used for this, so here's a fix for LoaderIT.cpp to pick the correct format, starting from line 622:

Code: [Select]
if (!(smp[i].type&16)) {

smp[i].sample = (mp_sbyte*)module->allocSampleMem(smp[i].samplen);

if (smp[i].sample == NULL)
{
return -7;
}

if (itSmp.Flg & 8)
{
if (!module->loadSample(f, smp[i].sample, smp[i].samplen, smp[i].samplen, (itSmp.Cvt & 4) ? XModule::ST_PACKING_IT215 : XModule::ST_PACKING_IT))
{
return -7;
}
}
else if (!module->loadSample(f,smp[i].sample,smp[i].samplen,smp[i].samplen, (itSmp.Cvt & 1) ? XModule::ST_DEFAULT : XModule::ST_UNSIGNED))
{
return -7;
}
}
else {

smp[i].sample = (mp_sbyte*)module->allocSampleMem(smp[i].samplen*2);

if (smp[i].sample == NULL)
{
return -7;
}

if (itSmp.Flg & 8)
{
if (!module->loadSample(f, smp[i].sample, smp[i].samplen, smp[i].samplen, (itSmp.Cvt & 4) ? (XModule::ST_PACKING_IT215 | XModule::ST_16BIT) : (XModule::ST_PACKING_IT | XModule::ST_16BIT)))
{
return -7;
}
}
else if (!module->loadSample(f,smp[i].sample,smp[i].samplen<<1,smp[i].samplen, XModule::ST_16BIT | ((itSmp.Cvt & 1) ? XModule::ST_DEFAULT : XModule::ST_UNSIGNED)))
{
return -7;
}
}

Notice the usage of itSmp.Cvt instead of cwt/cwtv variables.

Edit: applied by deltafire in svn, thanks!

44
Website News Archive / Evoke 2012
« on: August 06, 2012, 02:56:25 »
:breakpage:
:breakhead:
Meet the ModArchive crew once again at Evoke this weekend (august 10-12). Evoke is one of the longest-running demoparties. Prepare for a weekend full of fun and meet trackers, demo producers and of course the guys behind this website!
:breakhead:
:breakpage:

45
The Lobby / Your favourite website...
« on: July 25, 2012, 00:44:51 »
...is now available under a completely new, extravagant and indeed very awesome URL:
http://mod.xm.s3m.it/

Try it! ;D

46
MilkyTracker Community / My collection of tracker test cases
« on: July 09, 2012, 03:07:46 »
I've finally found the time to put my collection of tracker test cases online. Most of these test cases originate from bugs found in OpenMPT, but they might be useful to other tracker developers as well (Milky fails quite a few of them, actually). Test cases are as simple as possible and it is easy to figure out if a tracker plays them correctly simple by listening to them.
http://wiki.openmpt.org/Development:_Test_Cases/XM
If you need help with any of the test cases, please let me know. Some of them are up to three years old and I didn't manage recall the purpose of some modules.

47
The Lobby / MOVED: Unable to create an account
« on: April 23, 2012, 21:56:21 »

48
Tracking / MOVED: Pattern Loop or Play once?
« on: March 29, 2012, 15:27:26 »

50
Website News Archive / Revision 2012
« on: March 27, 2012, 01:27:44 »
:breakpage:
:breakhead:
Meet the ModArchive crew once again at Revision 2012, the biggest pure demoscene party on earth! Prepare for a weekend full of fun and meet trackers, demo producers and of course the guys behind this website!
:breakhead:
:breakpage:

Pages: 1 2 3 4 [5] 6 7 8 9 10 ... 14