Jump to content


Photo

Tob Extender (Beta 007)


  • Please log in to reply
12 replies to this topic

#1 amidsal

amidsal
  • Member
  • 14 posts

Posted 12 August 2010 - 12:12 PM

Here I am again with another topic.
    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 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 12 August 2010 - 09:13 PM

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 ?

In short, no.

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 amidsal

amidsal
  • Member
  • 14 posts

Posted 13 August 2010 - 10:25 AM

Okay, let's start it them. I didn't mention that during the character creation the Races names are blank. For what I undestand, this happens because the the Tob Extender is trying to get external races names but there is no one. So this is the only change I manually made to the TobEx.ini.
Now, let's follow you requests, one by one:


1. Your textual contents of your WeiDU.log

I've attached the file to the thread. Too big and messy to be show directly in this thread.

2. Please indicate any manual changes you made to TobEx.ini

As spoken before,
[RaceStrRef]
Changed Enabled from 1 to 0

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.

Both were already set to 1

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

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.

Description
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

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.

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.

Attached Files



#4 amidsal

amidsal
  • Member
  • 14 posts

Posted 13 August 2010 - 10:37 AM

Just complementing my previous reply, I've already disabled UAC and re-enabled it; no changes. Also, as it crashes always exactly at the same point, I don't believe that another running program is interfering with it (although I killed all non-essential processes before running TobEx; same happened).
    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 amidsal

amidsal
  • Member
  • 14 posts

Posted 13 August 2010 - 11:34 AM

I can't seem to find one specific module that crashes the game; looks like there are some dependencies between them. I first thought that the module [MageBookScroll] was the problem because with it alone, the game crashes even before starting the character creation. But when I turned everything on again disabling only this one, the previous mentioned problem still happened.

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 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 August 2010 - 02:03 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.

--------------
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 amidsal

amidsal
  • Member
  • 14 posts

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 dabus

dabus
  • Member
  • 1982 posts

Posted 24 August 2010 - 12:44 PM

Uhm, sorry but geez -- if there are A LOT of bugs, why not share it with Leonardo so he can fix them?
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.

THINK! - It's not illegal.

#9 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 24 August 2010 - 01:20 PM


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

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.

--------------
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 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 24 August 2010 - 09:10 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.

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.

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 amidsal

amidsal
  • Member
  • 14 posts

Posted 25 August 2010 - 10:31 AM

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.

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.


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 amidsal

amidsal
  • Member
  • 14 posts

Posted 26 August 2010 - 11:11 AM

Okay, I finished installing it but I am going to create another topic because it deviated from the Tob Extender problem (that in fact, I think TobEx is not the problem but the Big World Install).

See you in the next topic,
Amid

#13 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 26 August 2010 - 05:49 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.

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.


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)