Jump to content


Photo

[BG2:ToB] TobEx Release Thread


  • Please log in to reply
578 replies to this topic

#201 Lollorian

Lollorian

    smiley addict

  • Member
  • 4150 posts

Posted 11 September 2010 - 06:21 PM

Well, whatever CtDs the others are having ... I don't :unsure:

Tried out a new install with just the fixpack, all the megamods, widescreen and W_GUI with ToBEx 0008 (cause I saw this thread after the install :lol:) and the game starts up fine ... kit/race screens and all :P

My WeiDU.log:
Spoiler


More specifically, I'll point out that I have comp. #1300 installed (which methinks the install.bat doesn't install) cause there are many threads saying it's needed :D

"I am the smiley addict, yellow and round, this is my grin :D when I'm usually around :P.
When there's trouble brewing, see me post, cuz it's usually a wall o' yellow and your eyes are toast!!!"

BWP GUIDE - BWP FIXES - impFAQ - NPC LIST - KIT LIST - AREA LIST

GitHub Links : BWP Fixpack | Lolfixer | BWP Trimpack | RezMod


#202 -ashp-

-ashp-
  • Guest

Posted 12 September 2010 - 09:56 AM

With a fully clean install of BG2+TOB with the patch, I install tobex and it starts up fine. When I click on a class in the selection screen though, the game just crashes. No errors in the log.

Is this because of 64bit windows?


I fixed this by removing the scrolling kit option from 008 if you just want an easy way to get it going!

#203 Shaitan

Shaitan
  • Member
  • 800 posts

Posted 14 September 2010 - 06:23 AM

Ok I've been following this topic for a while, but I'm not sure wether I understand the implications of this EXE altering program or not. My questions are
1) Should this be regarded as a mod or should it be applied after the patch as a "program"?
2) Spell Revision is mentioned in the documentation as a problem, but it is also stated that the program itself will circumvene this potentiel problem. Will I have troubles installing Spell Revision (or SCS2 which also alters Mirror Image)?
3) Is this a recommended install of at best a risk to run?

Cheers and thanks for the hard work A64 and others.

Shaitan

#204 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 14 September 2010 - 02:26 PM

1) Should this be regarded as a mod or should it be applied after the patch as a "program"?

Yes and no, really. There is a WeiDU component to TobEx, which essentially makes it a mod because it modifies some game content (like user interface, game effects, etc.). The approach to 'mod' is very different, because TobEx focuses primarily on altering the .exe, more of a 'hack' than a 'mod.'
The advantage of TobEx is that you can decide whether you want to use it or not, either by running the game through TobExLoader.exe instead of BGMain.exe, or by choosing what hacks you want to disable/enable in TobEx.ini
I advise installing TobEx near the end, primarily because it gets updated frequently. In some updates, you can simply replace the TobEx.ini and TobEx.dll files because the WeiDU side of TobEx has not changed.

2) Spell Revision is mentioned in the documentation as a problem, but it is also stated that the program itself will circumvene this potentiel problem. Will I have troubles installing Spell Revision (or SCS2 which also alters Mirror Image)?

Just make sure you use the tob-hacks-safe INI option on install. The INI settings circumvene the potential problem, not the program itself.

3) Is this a recommended install of at best a risk to run?

This depends on your definition of risk. The risk of crashing is clearly stated in the readme. Perhaps I may sometimes be tinkering with things I don't know fully about in the .exe, TobEx will always be a beta and carries the risk of instability.

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


#205 Shaitan

Shaitan
  • Member
  • 800 posts

Posted 14 September 2010 - 08:49 PM

Thanks for the thorough answer.

#206 Eric P.

Eric P.

    Journeyman Modder

  • Member
  • 1178 posts

Donator

Posted 17 September 2010 - 08:39 AM

Hello,

As reported in this thread, with TobEx 0007 installed, I get a CTD after selecting skills during character creation. This happens every time, whether the scrollable spells component is installed or not. Perhaps a file has been changed in a way that makes it unusable? I don't know.

I'm 99.99999% sure that the scrollable kit selection worked for me in a previous installation (I should have taken screenshots), but I'm not sure what I've done with my current installation that made the difference. Just to be fair, I'll try creating a character whose class doesn't include spellcasting, to see if the crash happens with all characters, or only with the casters. Posting about this here at Miloch's suggestion.

If there's an unconventional way around this error, I'll do whatever is needed to get the scrollable kit selection to work, as this is the only TobEx component I wanted to use.

Thanks,
Eric

Working and playing on a Mac Pro 6,1 running Mac OS X 10.13.6 High Sierra, and a Mac Pro 3,1 running Mac OS X 10.11.6 El Capitan.

~Buion na 'ell! I serve with joy! Your eyes and ears I shall be. Let us hunt together!~
- Erysseril Gwaethorien: a joinable, romanceable NPC mod for BGII - SoA/ToB, in sporadic development.

A female elf warrior of nature and a Bhaalspawn cross paths during their quests, joining forces to share adventure and companionship. Will they find more?


#207 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 18 September 2010 - 01:27 AM

I'm not sure if users are allowed, but you could go all the way back to TobEx beta 0003.
I am not in the position to do any quick fixing because I am in the process of overhauling most of the code. This means that all the 'old problems' probably won't exist and there may be 'new problems' based on the new code. Fingers crossed beta 0009 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)


#208 Steve

Steve
  • Member
  • 142 posts

Posted 18 September 2010 - 07:47 AM

... I'm 99.99999% sure that the scrollable kit selection worked for me in a previous installation (I should have taken screenshots), ...

Unless you're running the Windows version of BG2 through Wine on an Intel Mac, there's no way that TobEx will work on MacOSX. If there's a BGMain.exe in the BG2 directory (needed to use some mods) TobEx will run but does nothing.

#209 Eric P.

Eric P.

    Journeyman Modder

  • Member
  • 1178 posts

Donator

Posted 18 September 2010 - 07:36 PM

... I'm 99.99999% sure that the scrollable kit selection worked for me in a previous installation (I should have taken screenshots), ...

Unless you're running the Windows version of BG2 through Wine on an Intel Mac, there's no way that TobEx will work on MacOSX. If there's a BGMain.exe in the BG2 directory (needed to use some mods) TobEx will run but does nothing.


So noted. I suppose the only thing to do is uninstall and delete the mod, then. I hope a way can be discovered, at some point, to make this sort of thing work on a Mac.

Thanks,
Eric

Working and playing on a Mac Pro 6,1 running Mac OS X 10.13.6 High Sierra, and a Mac Pro 3,1 running Mac OS X 10.11.6 El Capitan.

~Buion na 'ell! I serve with joy! Your eyes and ears I shall be. Let us hunt together!~
- Erysseril Gwaethorien: a joinable, romanceable NPC mod for BGII - SoA/ToB, in sporadic development.

A female elf warrior of nature and a Bhaalspawn cross paths during their quests, joining forces to share adventure and companionship. Will they find more?


#210 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 20 September 2010 - 05:50 AM

TobEx beta 0009 released. Changes:
-Class/structure updates
-Completed major revision of code
-Updated to Visual C++ 2010
-Added fail safes for a few cases where required WeiDU components are not installed
-Added component: Critical Error Message Box Fix
-Added some troubleshooting information to readme
-Recommended files for Soundset Subtitles: Fixed a CSound.2da patching bug if custom subtitles were installed prior to TobEx

NOTE: this version cannot be compared to the previous version due to a major change to program architecture

Hmm, hopefully this release will be significantly more stable than the previous releases. If it can be said, the code is much less 'hack-ish', easier to read, and easier to compile. File dependencies are only detoured.dll (provided) and system DLLs, so hopefully the issues with incorrect system configuration should be fixed too.

Please give feedback of whether it works as well as does not work...

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


#211 Marvin

Marvin

    Sirius

  • Member
  • 197 posts

Posted 20 September 2010 - 11:32 AM

I've just installed it within a BWP installtion and have a problem.
When I start the game with tob loader, then nobody will die. When someone should be dead, they just continue defending themselves. The tooltip sais something like "(insert creaturename) dead". The only way to actually "kill" someone is to splatter them.

This does not happen when I start the game with BGmain.exe. What could cause this bug?

Spoiler


Spoiler


Marvin


Edit:
I gave it a shot myself and found out that when I deactivate "Awaken Fix=1" and "Awaken On Damage=1", the creatures die just like they should ;). Is this a bug within tobEx?

Edited by Marvin, 20 September 2010 - 11:51 AM.


#212 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 20 September 2010 - 10:16 PM

TobEx beta 0010 released.

Fixed the issue above - my poor bitfield knowledge meant that STATE_DEAD was cleared every time a creature was hit. Very buggy...
Also fixed the VERSION in the tp2, which I always seem to stuff up.

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


#213 redrover72

redrover72
  • Member
  • 3 posts

Posted 21 September 2010 - 03:58 PM

Thanks for the quick update. Just did a fresh install with b9 a couple days ago and b10 fixed all the no kill problems. No ctd's on anything either. Not sure what changed, but I could never use any of the hacks related to pickpocketing before (from b7), now they all work fine with b10.

edit:
OK, found a few things I forgot to change in the bwp install.bat, so I'm going to install again (I hate those faster bears :doh: ).
Anyway, was thinking I could completely exclude Taimon's Tobhacks now. BWP 9.4 only includes three of the tob_hacks components on a recommended or standard install :
1) Non-cumulative blindness.
2) profsmax restrictions on character creation (which I don't care about anyway)
3) Fix cure drunkeness effect #164

1 & 3 seem to be covered by tobex b10, so I'm wondering why I would even need tob_hacks anymore??

Oh, and thanks again for the awesomeness that is Tobex. :Bow:

Edited by redrover72, 21 September 2010 - 06:38 PM.


#214 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 22 September 2010 - 04:31 AM

There is a conflict of interest in that question.
With that noted, I have suggested in another topic to not use tob_hacks at all because BWP only recommends the use of components that TobEx also implements. This can actually cause problems if used together. It would be otherwise OK to use tob_hacks components not implemented by TobEx, but this currently is not the case.

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


#215 redrover72

redrover72
  • Member
  • 3 posts

Posted 22 September 2010 - 08:08 AM

There is a conflict of interest in that question.
With that noted, I have suggested in another topic to not use tob_hacks at all because BWP only recommends the use of components that TobEx also implements. This can actually cause problems if used together. It would be otherwise OK to use tob_hacks components not implemented by TobEx, but this currently is not the case.



Understood.

I went ahead and re-installed without tobhacks last night. As you said, everything is implemented in tobex.

I like the idea of not needing to patch bgmain anyway, just seems like a ctd risk every time it's done.

Thanks,
Red

#216 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 September 2010 - 01:23 AM

I like the idea of not needing to patch bgmain anyway, just seems like a ctd risk every time it's done.

I actually argue the opposite. It is safer to properly patch a file statically than to work in a dynamic environment where anything could change. This is the reason why TobEx has gone through about 10 revisions before getting it sort-of right...
The upside of the dynamic approach is that it is more powerful and versatile.

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


#217 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 September 2010 - 05:38 AM

TobEx beta 0011 released. Changes:
-Class/structure updates
-Fixed memory leaks and reduced some overhead associated with loading 2DA files
-Added components: Externalise Animation Walking Sounds, Externalise Class-Race Restrictions
-Externalise Race Selection StrRef: Fixed a bug where the dwarf and gnome race texts were mixed up

Yeah, there is a component in there that allows you to play any class with any race.
There are new WeiDU components, so BWP users may get complaints from using this version unless you install the required components of TobEx.

As always, use at your own risk.

Edited by Ascension64, 23 September 2010 - 05:39 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)


#218 the bigg

the bigg

    2083 is a prime number.

  • Modder
  • 3331 posts

Posted 23 September 2010 - 06:28 AM

Yeah, there is a component in there that allows you to play any class with any race.

Interesting. How should modders make sure that a new kit is/isn't available to races that previously couldn't choose the class?

This should speed up the install time for the soundset component (don't know why I didn't think of it earlier):
--- tobex_old.tp2    2010-09-23 16:22:03.481447600 +0200
+++ TobEx.tp2    2010-09-23 16:25:40.796877300 +0200
@@ -358,26 +358,16 @@
       SET_2DA_ENTRY 0 nCurrCol nColumns "%name%"
   END
 
-  OUTER_FOR (j = %start%; j < (%start% + 73); j+=1) BEGIN
-    //put string in dialog.tlk
-    COPY "A6string.baf" "TobEx/A6string.baf"
-      REPLACE_TEXTUALLY "number" "%j%"
-
-    COMPILE "TobEx/A6string.baf"
-
-    //retrieve strref
-    COPY_EXISTING "A6string.bcs" "override/A6string.bcs"
-      READ_2DA_ENTRY 13 0 1 strref
-      GET_STRREF strref string
-
+COPY_EXISTING "csound.2da" "override/csound.2da"
+  FOR (j = %start%; j < (%start% + 73); j+=1) BEGIN
     //write strref into 2da
-    COPY_EXISTING "csound.2da" "override/csound.2da"
-      PATCH_IF ("%string%" STRING_EQUAL "") BEGIN
-        SET_2DA_ENTRY (j - start) nCurrCol nColumns "*"-      END ELSE-        SET_2DA_ENTRY (j - start) nCurrCol nColumns %strref%+    PATCH_IF ("%string%" STRING_EQUAL "") BEGIN+      SET_2DA_ENTRY (j - start) nCurrCol nColumns "*"+    END ELSE+      SET_2DA_ENTRY (j - start) nCurrCol nColumns ___temp_strref___+      REPLACE ___temp_strref___ ( AT j )+    END   END-END  //////////////////////////////////////////////////////////////

Italian users: help test the Stivan NPC!

Author or Co-Author: WeiDU - Widescreen - Generalized Biffing - Refinements - TB#Tweaks - IWD2Tweaks - TB#Characters - Traify Tool - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics - Nalia Mod - Nvidia Fix
Code dumps: Detect custom secondary types - Stutter Investigator

If possible, send diffs, translations and other contributions using Git.


#219 Kalindor

Kalindor

    Nerd of Lordly Calibur

  • Member
  • 142 posts

Posted 23 September 2010 - 06:34 AM

Interesting. How should modders make sure that a new kit is/isn't available to races that previously couldn't choose the class?

And could this affect the intrinsic multi/dual-classing differences between humans and other races?

#220 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 23 September 2010 - 06:47 AM

Yeah, there is a component in there that allows you to play any class with any race.

Interesting. How should modders make sure that a new kit is/isn't available to races that previously couldn't choose the class?

As usual, just put the proper letters to the place of the x and y are on the weidu's ADD_KIT bit, where the letters represent themselves in K_x_y.2da (as the ADD_KIT extends the set .2da's). I confirmed that I can do this... by trying the Moon Knight Paladin with Half-Orc.

And could this affect the intrinsic multi/dual-classing differences between humans and other races?

Everyone can select all the multi-classes there's in the game.

Edited by Jarno Mikkola, 23 September 2010 - 06:50 AM.

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