Jump to content


Photo

[BG2:ToB] TobEx Release Thread


  • Please log in to reply
578 replies to this topic

#161 Bartimaeus

Bartimaeus

    Drama Queen

  • Member
  • 132 posts

Posted 15 July 2010 - 10:41 AM

I don't know what's going on, but I was looking at Kwiat_W's GUI, and installed it without even thinking about not having my game working, and ToBEx ran fine the first time.

:huh:

Some sort of fluke or something.

#162 Bartimaeus

Bartimaeus

    Drama Queen

  • Member
  • 132 posts

Posted 15 July 2010 - 02:23 PM

Nope, it's doing it again after a reboot. I disabled all the components via the .ini, and it can boot up every time fine even after a reboot, so now I'm just looking to see which component(s) is causing the problem.

O.K., I enabled Externalized Logging and Enable More Logging Messages, and received the error messages on my first TobExLoader start up, and tried starting it up a few more times to make sure that was it. Disabled Externalized Logging, but it still crashed, so I disabled Enable More Logging Messages, and it started up fine. Tried enabling Externalize but having More Logging disabled, but it still crashed. Enabled everything else I wanted and everything is good.

Don't know what's wrong with those two components, but they weren't very important for a non-modder, anyways, so that's fine, ^_^

#163 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 16 July 2010 - 03:18 AM

Can you test the following?
Have both Externalized Logging and Enable More Logging Messages on, but disable Externalise Hard-Coded Race STRREF. Then see if works.

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


#164 Bartimaeus

Bartimaeus

    Drama Queen

  • Member
  • 132 posts

Posted 16 July 2010 - 09:58 AM

With both enabled and Externalized Hard-Coded Race STRREF disabled...

(TobExLoader DOS prompt)

Assertion: warning.
Return Addr: 0x796F6E
File: InfScreenStart.cpp
Line: 2014
Expression: FALSE
Message: (NULL)

(Baldur's Gate crash)

Baldur's Gate II - Shadows of Amn - Throne of Bhaal has stopped working...

No failure to inject .dll message. I was also able to load it up the first time, but I quit to make sure it kept working, (which it didn't), but the quit button had a problem - it just caused it to freeze up instead of actually closing the program, and I had to use task manager to close it. With both components disabled, it doesn't do that. Having both Externalized logging and Externalized Hard-Coded Race STRREF disabled but Extra Logging enabled still causes it to crash. Interestingly enough, with both Externalized components disabled, but having Extra Logging enabled, I was able to start Baldur's Gate up and have that freezing quit button glitch, but was unable to start it up again for a second time until I disabled Extra Logging.

(edit) Now what in the world? I re-enabled Externalize Hard-Coded Race STRREF, and now that crashes Baldur's Gate II on start up, as well. :huh:

(EDIT) What is going on!? Now I can't create a new Baldur's Gate II character without it crashing when I get to either the skills tab or the appearance tab, (crashed on skills for a new character, crashed on appearance for imported). Using the default BGMain.exe allows me to create a character with no problems. lol

(edit again) Alright, I disabled scrollable mage/priest spellbooks, also have externalized logging and extra logging disabled, but was able to re-enable externalized hard-coded race STRREF, and make a BG2 character perfectly fine. I don't know what in the world has suddenly gone wrong, :P

Edited by Bartimaeus, 16 July 2010 - 10:26 AM.


#165 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 10 August 2010 - 01:47 AM

TobEx Beta 0007 released. Changelog:
-Class/structure updates
-Added components: ChargenMageSpellScroll, RecMageSpellScroll, FourWeaponSlots, OpcodeCutScene2, ExternSpellHide
-Renamed components: MageScroll->MageBookScroll, PriestScroll->PriestBookScroll
-Fixed crash when ExternLog, MoreLog, and RaceStrRef are enabled together
-RandomTreasure99: Fixed some bad patching issues
-ExternLog: Fixed a patching issue that caused crashes and problems with detecting saved games
-Added TobEx.def to source

Notes:
-Re-arranged the .ini and renamed some components, so need to use new .ini
-ChargenMageSpellScroll, RecMageSpellScroll: scrollbar mania, adding them to mage spell selection at chargen and at sorcerer level-up
-FourWeaponSlots: only gives four weapon slots in the inventory, does not change the quickbar at bottom of screen (so you can equip items by picking up an item and dropping it in slot 3/4 for those classes who don't normally have these slots)
-ExternSpellHide: based on Taimon's hack, but also allows you to continue to the next spell level even if you haven't picked your quota of mage spells (no change to sorcerer level-up - you still have to pick your quota of spells, although you can Esc out of it). Be careful that if you exclude all spells of a level via HIDESPL.2DA, the sorcerer cannot level-up their spells properly due to this quota, while specialist mages cannot continue chargen because they require at least one valid spell of their school
-Issues with ExternLog and crashes should be fixed now

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


#166 -Sorderon-

-Sorderon-
  • Guest

Posted 10 August 2010 - 10:59 AM

Hi Ascension, first of all thanks for your great tool!

But... I have a problem. BG always crashes if I try to open the spell selection panel. This happens, if I create a mage or if I try to level up a sorcerer. BGMain crashes (c0000005) in the Character creation situation with no comment in the BG- and TOBEX-Log-Files. In the Level-Up-Situation TobEx sais the following: ASSERTION FAILED! Return Addr: 0x6E1260 File: InfScreenCharacter.cpp Line: 3703 Expression: pButton != NULL Message: (null)

Any ideas?

Thanks!
Sorderon

#167 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 11 August 2010 - 01:03 AM

Perhaps I should have mentioned that you cannot do a soft upgrade because there are new WeiDU components. That would be causing your problem.

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


#168 Kalindor

Kalindor

    Nerd of Lordly Calibur

  • Member
  • 142 posts

Posted 11 August 2010 - 06:13 PM

-ChargenMageSpellScroll, RecMageSpellScroll: scrollbar mania, adding them to mage spell selection at chargen and at sorcerer level-up


Thank you! You're the best.

#169 10th

10th
  • Member
  • 621 posts

Posted 13 August 2010 - 11:52 AM

Version in tp2 still 004 instead of 007, could cause some confusion with bug-reports.

10th
Avast! You cannot defeat our titan-mounted submarine staffed by cannibal vikings! - Nodwick

"I grab his deceased spirit and piledrive it back into his body, duplicating raise dead." - Psyren Oots board

#170 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 26 August 2010 - 09:01 AM

Hi Ascension, first of all thanks for your great tool!

But... I have a problem. BG always crashes if I try to open the spell selection panel. This happens, if I create a mage or if I try to level up a sorcerer. BGMain crashes (c0000005) in the Character creation situation with no comment in the BG- and TOBEX-Log-Files. In the Level-Up-Situation TobEx sais the following: ASSERTION FAILED! Return Addr: 0x6E1260 File: InfScreenCharacter.cpp Line: 3703 Expression: pButton != NULL Message: (null)

Any ideas?

It could be that the racetext.2da didn't get to be put into the override folder in the install, like in here, so it might be needed to be copied there by hand(warning, this might cause a few other issues)... from the TobEx/racestrref -folder.

Edited by Jarno Mikkola, 26 August 2010 - 09:10 AM.

Deactivated account. The user today is known as The Imp.


#171 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 26 August 2010 - 05:45 PM

I don't fully understand why. I suspect it has something to do with BWP automating the install of specific components, but I am not sure, since I do not know exactly how BWP installs.

If TobEx is installed fully, this component should also be installed, which should not cause any problems with racetext.2da.
BEGIN @5999
DESIGNATED 1300
REQUIRE_COMPONENT ~TobEx.tp2~ 100 @0

COPY ~TobEx/racestrref/racetext.2da~ ~override~
  REPLACE ~basilisk~ @5000
  REPLACE ~bear~     @5001
  REPLACE ~fairy~    @5002
  REPLACE ~mist~     @5003
  REPLACE ~mimic~    @5004
  REPLACE ~giant~    @5005
The question is: if BWP does install this component, does biffing this file cause a problem? I don't actually think so, since the same functions used to load 2DA files as BGMain.exe is used in TobEx, but it could be a possibility.

Edited by Ascension64, 26 August 2010 - 05:50 PM.

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


#172 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 27 August 2010 - 07:21 AM

TobEx Beta 0008 released. Changelog:
-Class/structure updates
-Major revision of code (phase 1)
-Added components: Allow 99 Priest Known Spells Per Level
-Removed TobEx.def
-Renamed all components
-Extended Songlist: Now completely removes the row limit in SONGLIST.2DA

Notes:
-There isn't much change from a functional perspective; just a large overhaul from a coding perspective that should make the code a little easier to read and should be easier to compile now
-The code revision isn't finished, so it's a bit hybrid
-Because of this, some components may be broken. It would be good to know what doesn't work anymore. However, I don't recommend use in any mega-mod yet except for the adventurous.
-Important! TobEx.ini has had a big makover. The explanatory text is now in TobEx_ini.txt found in the installation directory once installed or in .\TobEx\core\. This should make the ini easier to manipulate

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


#173 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 27 August 2010 - 07:42 AM

As for the BWS and v7...

I don't fully understand why. I suspect it has something to do with BWP automating the install of specific components, but I am not sure...

BEGIN @5999
DESIGNATED 1300
REQUIRE_COMPONENT ~TobEx.tp2~ 100 @0
The question is: if BWP does install this component, does biffing this file cause a problem? I don't actually think so, since the same functions used to load 2DA files as BGMain.exe is used in TobEx, but it could be a possibility.

The problem with this is that as the component "~TobEx.tp2~ 100" is required for the install process to install that file, the players probably don't use the right install option between the:

@1000 = ~Tob_hacks-safe INI (components clashing with tob_hacks, Spell Revisions, etc. are disabled)~
@1001 = ~Default INI (components clashing with tob_hacks, Spell Revisions, etc. are enabled)~

Because they have both tob_hacks & Spell Revision...

Deactivated account. The user today is known as The Imp.


#174 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 27 August 2010 - 05:03 PM

You have confused me. Component designated 100 is the core EXE and DLLs only. The choice of INI resides in components designated 200 and 201. Nevertheless, this should not prevent users from installing all the other components, because there are no choices associated with them except for Yes and No.

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


#175 -Bgg-

-Bgg-
  • Guest

Posted 29 August 2010 - 10:16 AM

I don't know if you know about this bug, but it seems that everytime I try to pickpocket someone and fail, the game crashes. This only happens when I use the tobex loader so I figure it has something to do with this mod. I am using beta 8 right now, and I have been playing around with the installation and ini file changing the enable pickpockets failed trigger, but it doesn't seem to make a difference. I am also using tobhacks which has something similar and I tried having it installed/not installed and it doesn't seem to make a difference either. Its not a huge deal because it works without the loader, but just letting youall know to see if you can replicate the bug.

#176 marty

marty
  • Member
  • 42 posts

Posted 29 August 2010 - 01:13 PM

Hi Ascension, just wanted to post a small, but potentially very annoying bug:

For people that have enabled multi-class fighters more than 2 weapon proficiency points (eg. through BG2Tweaks: 'Multi-class Grand Mastery' or Level1NPCs: 'Allow grandmastery for fighter multiclasses' or simply manually editing WeapProf.2da) they will not be able to place more than 2 stars in any weapon while using TobEx. However, if they launch via BGMain.exe they will again be able to place more than 2 stars in weapons.

One large benefit of this mod is to make character creation/leveling easier (ie. via scrollable kits and spells) so some people might be disappointed by this limitation.

Thanks and great work, Ascension!

Edit: I have tested both version 7 and 8 and the bug is present in both

Edited by marty, 29 August 2010 - 01:14 PM.


#177 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 29 August 2010 - 11:12 PM

Hi Ascension, just wanted to post a small, but potentially very annoying bug:

For people that have enabled multi-class fighters more than 2 weapon proficiency points (eg. through BG2Tweaks: 'Multi-class Grand Mastery' or Level1NPCs: 'Allow grandmastery for fighter multiclasses' or simply manually editing WeapProf.2da) they will not be able to place more than 2 stars in any weapon while using TobEx. However, if they launch via BGMain.exe they will again be able to place more than 2 stars in weapons.

The bug you describe is a fix that's working as described in the install... as it sets the level 1 proficiency maximum to 1. At level 2, that maximum is removed, and the classes own max is set.

And yes, the BWS install doesn't install the 1300 component :doh: , my bad.

Deactivated account. The user today is known as The Imp.


#178 masterdisorder

masterdisorder
  • Member
  • 109 posts

Posted 30 August 2010 - 02:30 AM

Hi Ascension,
thanks for your great TobEx

I have some problems with my installation of BWP, as you can see here,

I have BWP-Tactic installation, with Tobex version 004 installed.
I want to install Tobex008

I can install it now while I'm playing?
Or I risk to ruin the installation and having to start over?

Thanks

Attached Files



#179 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 30 August 2010 - 03:05 AM

I can install it now while I'm playing?
Or I risk to ruin the installation and having to start over?

You should uninstall the TobEx and then reinstall it... as the BWS'es install doesn't install all the needed components, and as the TobEx is the last mod to be installed, it's easy to uninstall as you just have to run the setup-tobex.exe(or what ever it's name is..).

Yes, you need to restart the game, but you do not need to restart the BWS install(as it would go off then too).

Edited by Jarno Mikkola, 30 August 2010 - 03:07 AM.

Deactivated account. The user today is known as The Imp.


#180 masterdisorder

masterdisorder
  • Member
  • 109 posts

Posted 30 August 2010 - 04:37 AM

I can install it now while I'm playing?
Or I risk to ruin the installation and having to start over?

You should uninstall the TobEx and then reinstall it... as the BWS'es install doesn't install all the needed components, and as the TobEx is the last mod to be installed, it's easy to uninstall as you just have to run the setup-tobex.exe(or what ever it's name is..).

Yes, you need to restart the game, but you do not need to restart the BWS install(as it would go off then too).


:Bow:
Thank you Jarno, i'll try