Jump to content


Photo

Music Tutorial


  • Please log in to reply
4 replies to this topic

#1 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 04 June 2010 - 01:33 PM

Did anyone ever create an updated version of this tutorial?

#2 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 07 June 2010 - 11:23 AM

I'll take the lack of responses as a resounding 'no.'

Did anyone ever create an updated version of this tutorial?


^This tutorial is bad. Especially for these days. The oggdec and most of the.tp2 portion is still relevant I suppose, but not when you reach this part:

COPY ~mymod/j#blank.mus~ ~music~
COPY_EXISTING ~songlist.2da~ ~override~
SET_2DA_ENTRY 0 2 3 ~J#BLANK.MUS~

As has been explained to me, there is only a limited amount of space within songlist.2da, and while the 0 entry is for no music, as far as I know you don't have to override the file to get it to work. And, some of the older mods like Saerlith will take up enough slots that if another mod with sound would be installed using the same method, the songlist.2da would be copied over yet again, losing all the sound info from the first installed mod. Not a big deal if modders keep the 0 entry as no music and always use the same J# for the name, but the tutorial doesn't go into what else was done back then.

Especially when older mods then add something like this:

REPLACE_TEXTUALLY 123456 ~%MYMUSIC%~
COPY_EXISTING ~J#KlsyD.bcs~ ~override/J#KlsyD.bcs~
REPLACE_TEXTUALLY 123456 ~%MYMUSIC%~

Adding more than a blank music file, and potentially screwing up the sound between mods even more. Unlike with custom animations and whathaveyou, there isn't a list of which mods are using what slot in regards to sound, raising the chance of incompatibility.

So! Very bad idea. Or I could be completely wrong, you never know. If in that case then this really does need to be updated, preferably by someone with a better understanding with the way certain things are coded nowdays, especially for the newer folks to cause less confusion.

Edited by Amazor'dra, 07 June 2010 - 11:28 AM.


#3 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 June 2010 - 11:54 AM

As has been explained to me, there is only a limited amount of space within songlist.2da

But there is a couple of .exe hack that can sort that one right up, one can for example make the limit becomes from 100 to be 500, see the problem was that the game wouldn't start with too large songlist.2da, but this fixes that, and there is surely not so many songs to the BG2 that that's ever reached.

Edited by Jarno Mikkola, 07 June 2010 - 11:56 AM.

Deactivated account. The user today is known as The Imp.


#4 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 07 June 2010 - 11:59 AM

Aha, so something had been made in the past couple years to fix that. I wonder how many modders/downloaders know to use it, though.

Edited by Amazor'dra, 07 June 2010 - 12:01 PM.


#5 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 June 2010 - 02:06 PM

I wonder how many modders/downloaders know to use it, though.

Well, it has been downloaded 8000+ times, there's been 5 versions of it, etc. etc. it's part of the BWS, so about a 1000 is a good number... and it's not the only mod for the purpose, there the Taimon's Tob Hacks that had similar, and now should be exact same... kinda at least.
So 1000 people should be a reasonable figure.

Deactivated account. The user today is known as The Imp.