I am still missing a step.
It looks like this checks to see if the songlist is patched, based on Taimon's work.
I don't need to check for Ascension64's stuff, as if it is installed the .exe won't match and the patching will fail or report it has already been accomplished.
ACTION_IF count_of_musics < 500 BEGIN sets me up to patch in .acm references if the .2da has less than 500 (0-499) rows. Which woruld return true on the original resource, as 99 < 500.
ADD_MUSIC checks for already existing entries before adding - so it will add those entries no problem - but I am stuck on how to check if there are enough *blank* rows. Unless...
ACTION_IF ( count_of_musics < 500 ) AND ( count_of_musics > 100 ) BEGIN would work?
(Actually, to be really fancy, it would be ranges, wouldn't it. The lower boundary check would be the original songlist.2da, then a check to see if there were between that and 4 below the limit, and the ADD_MUSIC could fit for my mod; if the full 99 were used and there was no patch available, then default to .wav, and if the patch was installed then add between the boundaries... this is getting too complicated. Belh. Overthinking, probably. Might be better to try it out and deal with the occasional assertion error report. It would be tough to fill up all 500 rows.)
Edited by cmorgan, 18 May 2010 - 08:00 AM.