Tob Extender (Beta 007)
#1
Posted 12 August 2010 - 12:12 PM
I've installed BGT - Recommended version and it runs ALMOST flawlessly. The only problem is the Tob Extender.
I am running a Windows 7 64-bit. The first version I've installed was Beta 006. It simply randomly crashed (sometimes it even worked) and when it worked it was possible to create a spellcaster character.
The new version, 007, is not as unstable as 006 but the crashes is now at fixed points: It is not possible anymore to create spellcaster characters (it crashes just before going to the screen to select the spells). It still works with other characters though. Oh, also, it always crash when executed as Administrator.
In the documentation, it says that you just have to create the character using the extender and the rest of the game can be played using BGMain only. My question is, without the ToB Extender, will I have access to more than one spellbook page per level (the arrows up-down to scroll the page)? If not, what is the best workaround this ?
Thanks again,
Amid
#2
Posted 12 August 2010 - 09:13 PM
In short, no.My question is, without the ToB Extender, will I have access to more than one spellbook page per level (the arrows up-down to scroll the page)? If not, what is the best workaround this ?
However, the best way to help you really is to try and fix what problems you are having. To do that, I would need more information.
1. Your textual contents of your WeiDU.log
2. Please indicate any manual changes you made to TobEx.ini
3. Now that you can reproduce the error, add the text 'Logging On=1' (do not include the quotes) in your baldur.ini file under the [Program Options] section. Also, changed the Enabled=0 to Enabled=1 under [ExternLog] section in TobEx.ini. Reproduce the crash and see if any crash text appears in your TobEx.log. If so, post the text.
4. When you crash, you may get an exception error. Post its details, particularly the address and the module. If the game hanged, plase mention so.
5. Open up TobEx.ini and start disabling components. Let us know which hack you need to disable to allow the game to work again.
Things you can try:
1. Turn off User Account Control completely (Windows Vista and 7)
2. Close and/or disable all background problems before running the game
--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.
Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)
Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)
#3
Posted 13 August 2010 - 10:25 AM
Now, let's follow you requests, one by one:
I've attached the file to the thread. Too big and messy to be show directly in this thread.1. Your textual contents of your WeiDU.log
As spoken before,2. Please indicate any manual changes you made to TobEx.ini
[RaceStrRef]
Changed Enabled from 1 to 0
Both were already set to 13. Now that you can reproduce the error, add the text 'Logging On=1' (do not include the quotes) in your baldur.ini file under the [Program Options] section. Also, changed the Enabled=0 to Enabled=1 under [ExternLog] section in TobEx.ini. Reproduce the crash and see if any crash text appears in your TobEx.log. If so, post the text.
Here is the log:
TobEx: Throne of Bhaal Extender (Fri 13 Aug 2010 15:10:01)
Log initialised...
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
[Fri 13 Aug 2010 15:11:38] ExcludeSpell(): HIDESPL.2DA not found
Description4. When you crash, you may get an exception error. Post its details, particularly the address and the module. If the game hanged, plase mention so.
Faulting Application Path: F:\BGII - Soa\BGMain.exe
Problem signature
Problem Event Name: APPCRASH
Application Name: BGMain.exe
Application Version: 2.5.0.2
Application Timestamp: 3b71b6f4
Fault Module Name: BGMain.exe
Fault Module Version: 2.5.0.2
Fault Module Timestamp: 3b71b6f4
Exception Code: c0000005
Exception Offset: 001a203e
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 5a5a
Additional Information 2: 5a5ac0ac09a83b7d6ba54412932970f3
Additional Information 3: f10c
Additional Information 4: f10c58359aa8baced44e6d99470acd32
Extra information about the problem
Bucket ID: 1990856754
Based on the logs, I changed [ExternSpellHide] from 1 to 0, as I did previously with the Races. The messages on the log disapperared but it still crashed without no further information (the log was now blank). I will keep trying changing other modules to see if I find which one is crashing.5. Open up TobEx.ini and start disabling components. Let us know which hack you need to disable to allow the game to work again.
Attached Files
#4
Posted 13 August 2010 - 10:37 AM
Now I am in the process of disabling all TobEx modules to find the one that is crashing... I may have news soon.
Later,
Amid
#5
Posted 13 August 2010 - 11:34 AM
Following new log with the other two logging options enables.
-----
TobEx: Throne of Bhaal Extender (Fri 13 Aug 2010 16:35:34)
Log initialised...
[Fri 13 Aug 2010 16:35:36] AREA-TRANSITION: CInfGame::SetVisibleArea
[Fri 13 Aug 2010 16:35:36] ---------------------Start Logging Session---------------------
[Fri 13 Aug 2010 16:35:36] ---------------------Start Logging Session---------------------
[Fri 13 Aug 2010 16:35:37] Assertion warning. Return Addr: 0x796F6E File: InfScreenStart.cpp Line: 2014 Expression: FALSE Message: (null)
[Fri 13 Aug 2010 16:35:42] NewGame
[Fri 13 Aug 2010 16:35:42] AREA-INVENTORY: Init Game Called
-----
TobEx: Throne of Bhaal Extender (Fri 13 Aug 2010 16:38:06)
Log initialised...
[Fri 13 Aug 2010 16:38:07] AREA-TRANSITION: CInfGame::SetVisibleArea
[Fri 13 Aug 2010 16:38:07] ---------------------Start Logging Session---------------------
[Fri 13 Aug 2010 16:38:07] ---------------------Start Logging Session---------------------
[Fri 13 Aug 2010 16:38:08] Assertion warning. Return Addr: 0x796F6E File: InfScreenStart.cpp Line: 2014 Expression: FALSE Message: (null)
[Fri 13 Aug 2010 16:38:12] NewGame
[Fri 13 Aug 2010 16:38:12] AREA-INVENTORY: Init Game Called
[Fri 13 Aug 2010 16:38:12] Assertion warning. Return Addr: 0x9712B3 File: UIControlButtons.cpp Line: 4621 Expression: FALSE Message: (null)
[Fri 13 Aug 2010 16:38:12] Assertion warning. Return Addr: 0x9712B3 File: UIControlButtons.cpp Line: 4621 Expression: FALSE Message: (null)
Please tell me if you need anything more from me.
Thank you,
Amid
Edited by amidsal, 13 August 2010 - 11:44 AM.
#6
Posted 14 August 2010 - 02:03 AM
--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.
Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)
Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)
#7
Posted 24 August 2010 - 11:58 AM
You might notice that soft upgrade does not work for this new version of TobEx. Make sure you have installed the new components. I suppose BWP does not automate this. So run Setup-TobEx.exe manually, and select Yes to all options.
Sorry for my delayed answer, Ascension64; I was on a trip and just returned.
I did as you told me, to uninstall and reinstall TobExtender (by the way, Big World Install.bat has a lot of bugs, A LOT). The character creation was totally fixed but another problem appeared. There was an specific region added by some MOD (I don't know which one), to the east of Gullykin (not sure if that is the name) that if I rest, the game crashed again. I've tried to travel to other regions and rest and the only problem was in that place. The error line was something like: something;something;something && pcCreature > 0 on the log (classic C segmentation fault).
I suspect that some variable that was consistent with all the original baldur's gate regions was not in the custom made region.
Currently, I uninstalled the entire game and I am redoing it piece by piece, manually. As soon as I finish it, I will be able to correctly paste the error log here.
Thank you,
Amid
Edited by amidsal, 24 August 2010 - 11:59 AM.
#8
Posted 24 August 2010 - 12:44 PM
What is not written down in a correct manner?
And could you please be more precise with that assumption?
Is it really an error in the batch or just some piece of mod that went nuts under certain circumstances?
After reading your post, I assume it's the last case.
And pleaaase make sure you also "read" what the batch does since some files are copied or moved during the installation. Those actions are not documented in the PDF. Leaving those out may result in oddities and errors...
Edited by dabus, 24 August 2010 - 12:44 PM.
#9
Posted 24 August 2010 - 01:20 PM
TobEx helps in the sense that it tells a debugger at what memory address the segfault occurred, but that's about all that it does. The bug may have something to do with a mucked up BWP install, which unfortunately I can't help that much with. However, you are in the right forums, so I'll leave it up to the BWP experts.
You might notice that soft upgrade does not work for this new version of TobEx. Make sure you have installed the new components. I suppose BWP does not automate this. So run Setup-TobEx.exe manually, and select Yes to all options.
Sorry for my delayed answer, Ascension64; I was on a trip and just returned.
I did as you told me, to uninstall and reinstall TobExtender (by the way, Big World Install.bat has a lot of bugs, A LOT). The character creation was totally fixed but another problem appeared. There was an specific region added by some MOD (I don't know which one), to the east of Gullykin (not sure if that is the name) that if I rest, the game crashed again. I've tried to travel to other regions and rest and the only problem was in that place. The error line was something like: something;something;something && pcCreature > 0 on the log (classic C segmentation fault).
I suspect that some variable that was consistent with all the original baldur's gate regions was not in the custom made region.
Currently, I uninstalled the entire game and I am redoing it piece by piece, manually. As soon as I finish it, I will be able to correctly paste the error log here.
Thank you,
Amid
--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.
Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)
Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)
#10
Posted 24 August 2010 - 09:10 PM
Does TobEx log crash data to a different file than baldur.err? Not sure if anyone more expert than you exists or can help with random crashes without intelligible details, particularly not if it seems to involve TobEx.TobEx helps in the sense that it tells a debugger at what memory address the segfault occurred, but that's about all that it does. The bug may have something to do with a mucked up BWP install, which unfortunately I can't help that much with. However, you are in the right forums, so I'll leave it up to the BWP experts.
Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle
#11
Posted 25 August 2010 - 10:31 AM
Does TobEx log crash data to a different file than baldur.err? Not sure if anyone more expert than you exists or can help with random crashes without intelligible details, particularly not if it seems to involve TobEx.TobEx helps in the sense that it tells a debugger at what memory address the segfault occurred, but that's about all that it does. The bug may have something to do with a mucked up BWP install, which unfortunately I can't help that much with. However, you are in the right forums, so I'll leave it up to the BWP experts.
Guys, I will give very detailed information as soon as I finish reinstalling everything (recommended-pack) manually.
That line I've previously sent you was in the TobEx.log; I don't know the mechanics behind the engine BUT I suspect the bug occurs by using a ">" operator in a null variable. Ascension64, if I understood well the docs about the Extender, you are doing dll inject, right ?(changing the invoked methods/function the game calls by changing the memory address to your own code). Things will be clearer when I finish the fresh manual install. Only then we should continue this discussion; no use speculating;
Dabus: One thing is to compare a fresh manual installation using the documentation with the Big World Install.bat installation. Another thing is to systematically look for differences between both installations. I won't do the later; would take a unbelievable amount of time. What I can do is to report the bugs and inconsistencies between the Guide and the Big World Install that I find installing/playing; I will do this when I finish the fresh installation. I will also send text updates for the Guide; some of them are outdated and couple missing; Again, let's continue this discussion when I finish the install (that may happen today or tomorrow, assuming no obscure pack scraps the entire installation).
Later guys,
Amid
#12
Posted 26 August 2010 - 11:11 AM
See you in the next topic,
Amid
#13
Posted 26 August 2010 - 05:49 PM
Does TobEx log crash data to a different file than baldur.err? Not sure if anyone more expert than you exists or can help with random crashes without intelligible details, particularly not if it seems to involve TobEx.TobEx helps in the sense that it tells a debugger at what memory address the segfault occurred, but that's about all that it does. The bug may have something to do with a mucked up BWP install, which unfortunately I can't help that much with. However, you are in the right forums, so I'll leave it up to the BWP experts.
If [ExternLog] is enabled in TobEx, BGMain.exe crashes are logged to TobEx.log as well as Baldur.err/Baldur.log.
TobEx-specific crashes won't be logged to anything unless I have specifically coded the program to log to TobEx.log.
For me to be able to debug anything properly, I need for a crash:
1. Module name (usually BGMain.exe, but can also be TobEx.dll or mfc42.dll)
2. Address offset of the crash. If TobEx.log has logged the crash (ExternLog enabled), the log contains a 'Return Addr' (this will not be present in Baldur.err. This actually helps the debugger immensely.
3. Any assertion messages. This appears in TobEx.log (if ExternLog enabled) as well as Baldur.err/Baldur.log provided that the Logging On option is enabled in baldur.ini.
Note that sometimes this doesn't occur, because a corrupted pointer points to some bad address in memory not allocated to any module. They are a bit harder to debug unless I can re-produce the problem locally.
--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.
Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)
Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)