Assertion failed
#1 -Deadlok-
Posted 03 October 2005 - 09:29 AM
BG1 + TotSC + official patch
BG2 + ToB + official patch
Baldurdash Weidu 1.5
Baldur's Gate Trilogy Weidu Beta4
SoS 1.04 + Anim patch 1.04
TDD 1.04 + Anim patch 1.04
DSotC Weidu latest version
NSotC Weidu latest version
Secret of Bonehill latest
Ascension latest
The Longer Road 1.5
After i installed TLR 1.5, when i start the game i receive an error popup saying :
"Assertion failed in ChSound.cpp at line number 4905"; i click OK, and the game exits back to desktop. Any ideas ?
Thank you.
#2
Posted 03 October 2005 - 09:39 AM
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#3 -Deadlok-
Posted 03 October 2005 - 10:35 AM
I am really new to the BG/BG2 mods, so that's why i am asking all this stuff.
#4
Posted 03 October 2005 - 10:41 AM
And yeah, MUS files are the ones.
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#5 -Guest-
Posted 03 October 2005 - 10:47 AM
Everything works fine until i install The Longer Road.
I also moved some music files, just to see if the game starts, but it still doesn't.
Also, if i uninstall The Longest Road, everything goes fine again.
Can you please tell me from what file/script/config the game engine enumerates the music tracks when the game is first started ?
#6
Posted 03 October 2005 - 10:54 AM
I asked about ToB as if you wanted to mix and match mods to get around the music issue I've got a dlk and override to save you a complete reinstall.
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#7 -Deadlok-
Posted 03 October 2005 - 11:06 AM
I didn't know there is a music tracks limit, and although i searched all around this forum, i couldn't find anyone else with the same problem.
Also, if i uninstall DSotSC, NSotSC and Bonehill, but leave The Longer Road and the other mods, i still get the error. Only if i uninstall TLR, i can play again.
#8
Posted 03 October 2005 - 11:11 AM
Send me the TP2 files for those mods and I'll see if they add any music.
olryx2@yahoo.co.uk
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#9 -Deadlok-
Posted 03 October 2005 - 11:19 AM
#10 -Deadlok-
Posted 03 October 2005 - 11:21 AM
#11
Posted 03 October 2005 - 11:32 AM
And looks like Bonehill may add a few music files. Am checking the rest now.
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#12 -Guest-
Posted 03 October 2005 - 12:55 PM
#13
Posted 03 October 2005 - 11:18 PM
#14
Posted 03 October 2005 - 11:24 PM
This is the music code in TLR TP2, and it seems to check if I have already 99 tracks in the songlist ; any ideas ?
//add music <<<<<<<< .../LR/bogus/LrBogus.mus >>>>>>>> COPY ~.../LR/bogus/LrBogus.mus~ ~Music/LrBogus.mus~ ADD_MUSIC ~LrBogus~ ~Music/LrBogus.mus~ COPY_EXISTING ~SongList.2da~ ~override~ SET ~row~ = 0 WHILE NOT (~LrBogus~ STR_CMP ~%string%~ = 0) BEGIN SET ~row~ = (~%row%~ + 1) READ_2DA_ENTRY ~%row%~ 1 3 ~string~ END COPY_EXISTING ~SongList.2da~ ~override~ REPLACE_TEXTUALLY ~[0-9]* LrBogus LrBogus.mus~ ~~ SET ~MxAbys~ = 0 SET ~MxElle~ = 0 SET ~MxIren~ = 0 SET ~MxTroll~ = 0 SET ~MxHeal~ = 0 SET ~warning~ = 0 ACTION_IF (~%row%~ < 100) THEN BEGIN COPY ~LR/sound/MxIren.mus~ ~music/MxIren.mus~ ADD_MUSIC ~MxIren~ ~LR/sound/MxIren.mus~ END ACTION_IF (~%row%~ < 99) THEN BEGIN COPY ~LR/sound/MxElle.mus~ ~music/MxElle.mus~ ADD_MUSIC ~MxElle~ ~LR/sound/MxElle.mus~ END ACTION_IF (~%row%~ < 98) THEN BEGIN COPY ~LR/sound/MxAbys.mus~ ~Music/MxAbys.mus~ ADD_MUSIC ~MxAbys~ ~LR/sound/MxAbys.mus~ END ACTION_IF (~%row%~ < 97) THEN BEGIN COPY ~LR/sound/MxTroll.mus~ ~music/MxTroll.mus~ ADD_MUSIC ~MxTroll~ ~LR/sound/MxTroll.mus~ END ACTION_IF (~%row%~ < 96) //Presuming that 99 is the largest possible entry number in SongList.2da THEN BEGIN COPY ~LR/sound/MxHeal.mus~ ~music/MxHeal.mus~ SET ~warning~ = 1 ADD_MUSIC ~MxHeal~ ~LR/sound/MxHeal.mus~ END
Edited by Deadlok, 03 October 2005 - 11:27 PM.
#15
Posted 04 October 2005 - 12:45 AM
ACTION_IF (~%row%~ < 100)
THEN
BEGIN
COPY ~LR/sound/MxIren.mus~ ~music/MxIren.mus~
ADD_MUSIC ~MxIren~ ~LR/sound/MxIren.mus~
END
1) That is a mistake: (~%row%~ < 100)
It should check for 99, not 100.
2) Game engine IGNORES lines numbers from 2DA. It counts them physically. So you can put all line indexes = 1 or 2, but if you'll have 101 strings there it'll be a CTD.
(last update: 02-12-2008)
----------------------------------------------
SoS, v1.13
TDD, v1.12
TS-BP, v6.10
CtB, v1.11
RoT, v2.1
----------------------------------------------
BP Animations Scheme
#16
Posted 12 October 2005 - 08:25 PM
Edited by dorotea, 12 October 2005 - 08:25 PM.
Freedom cannot be equated with goodness, virtue, or perfection. Freedom has its own unique self-contained nature; freedom is freedom ? not universal goodness. Any confusion or deliberate equalization of freedom with goodness and excellence is in itself negation of freedom, and acceptance of the path of restraint and enforcement.
Nikolai Berdyaev - Christian Existentialist, Philosopher of Freedom.
The Longer Road mod
Redemption mod
Bitter Grey Ashes
#17 -Guest-
Posted 06 November 2005 - 03:29 PM
#18
Posted 06 November 2005 - 03:32 PM
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu
#19 -Guest-
Posted 06 November 2005 - 03:37 PM
#20
Posted 06 November 2005 - 04:26 PM
how come you always look so damn cool in every photo I see you in?!?
Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.
Still a cyberjock, still hacking the matrix, still unsure of what that means.
TeamBG member - http://www.teambg.eu