This fixes the "Bad Strref" in toolset.
The problem was that the "ambientmusic.2da" needed a reference from a tlk file. Since there's none, it was returning "Bad Strref" in toolset, even though the musics were working fine.
I just created a new custom tlk and manually added all CMP musics into it and properly referenced them in the .2da file (I also did for the vanilla Tyrants of the Moonsea and Darkness Over Daggerford musics aswell since they too were showing as Bad Strrefs)
Infos:
TLK
The tlk uses the lines 220144 (16997360) - 220420 (16997636) which should be 100% compatible with all custom content out there.
2DA
CHANGED:
The NWNEE's Vanilla lines are still the same (0-137) but I've changed "Description" column of the lines 96-137 to reference the corresponding tlk entries
ADDED:
Lines 138-149 were populated with generic "bio_reserved" stuff just in case
Lines 150-384 were populated with CMP's musics and the "Description" column already referencing to the corresponding tlk entries
All credits goes for the creators of the musics and the ones responsibles for CMP
Attachment | Size |
---|---|
cmp.rar (191) | 10.66 KB |
The problem is not that there is no reference to a tlk-line but that it should use "Diplay Name" from the 2da file which it doesn't.
If Description is **** in the 2da-file, then the name displayed should be whatever Display Name in the 2da says. If EE broke that, all your fix does is making the CMP work for new modules that add your tlk (plus they'll have to merge it with their own if they have one which will mean a lot of re-numbering). It won't fix anything for modules already using CMP or any other haks with an ambientmusic.2da in it. So it really is up to Beamdog to fix what they broke and I think I saw somewhere that they did fix it now.
@Stefano can you explain how to reproduce the problem? In the latest stable release EE 8193.16, the music track names display correctly in the area properties.
Well, I'm using alot of custom content and they're not all compatible with each other, so I'm merging and fixing conflicts. I'm also using my own custom tlk. I don't know how to exactly reproduce it since all other stuff doesn't need to have their names on a .tlk file to show their names correctly. I just made this fix be cause it was happening to me and made it available for people that might be having the same issues.