Jump to content


Photo

TobEx AfterLife


  • Please log in to reply
151 replies to this topic

#1 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 17 June 2021 - 09:42 AM

Posted Image

File Name: TobEx AfterLife
File Submitter: Insomniator
File Submitted: 14 Jun 2021
File Category: ToBEx

TobEx AfterLife

AfterLife is TobEx fork with more bugfixes/tweaks for original Baldur's Gate II engine. It is part of BG2 Improved GUI project, but only TobEx options are enabled.

Codebase was changed to custom one, this is no more "original" TobEx v26 by Ascension64, use it at your own risk. Includes v28 patch by Magus. Share same C++ sources with main BG2 Improved GUI, src files available at "bg2improvedgui\src" folder.

Selectable fixes:

  • Support all options of original TobEx
  • Disarm Trap Distance [F]
  • Character Behind Polygon [F]
  • Continuous Battle Music [F]
  • Set BG1 Animation during Character Generation [T]
  • Flickering Cursor [F]
  • Cpu Idle [T]
  • Over Target Visual Effect [T]
  • Skip OpenGL Fullscreen Display Modes with Fixed Interpolation [T]
  • OpenGL VSync On [T]
  • Protection From Spell for Contingency [F]
  • Run In Background [T]
  • Stop Animation/Sound of Interrupted Casting [F]
  • Mixed Soundset for BGT [M]
  • External Crashdump Saving Utility [D]
  • Externalise Animation Sound Reference Override [M]
  • Externalise Animation Config Override [M]
  • Mute Generic Animation Attack Sound [T]
  • Disable Hardcoded BG1 Item Sounds [T]
  • Self-Patched Effect Removing [F]
  • Sequence Sound Override [F]
  • Ankheg Range Weapon Animation [F]
  • Creature Embedded Sound overrides 2DA Entry [T]
  • Restore Creature Attack Sounds #1 [T]
  • Restore Creature Attack Sounds #2 [T]
  • Path Search Party Bumpable When Moving [T]
  • Enable Off Hand Weapon BG1 Animation [T]
  • Enable Robe Armor Sound [T]
  • Reset Idle Timer After Weapon Equipped [T]
  • Weapon Speed [F]
  • Saving Throw Improved Invisible Bonus [C]
  • Disable Hidden TobEx Patches [D]
  • Added: Small Purple Elemental Palette Fix
  • Added: 44Khz Sound Mixer Frequency

Documentation

Github


Click here to download this file

#2 Salk

Salk
  • Modder
  • 1411 posts

Donator

Posted 17 June 2021 - 11:07 PM

My antivirus (BitDefender Free) object to the TobEx.dll file in both version 29 and 29.1. 

 

It doesn't complain with version 28 (Magus).



#3 Andrea C.

Andrea C.
  • Modder
  • 457 posts

Posted 18 June 2021 - 12:51 AM

Can you add an exception to it?

 

It works well with mine (I've got a paid subscription to AVG.)



#4 Salk

Salk
  • Modder
  • 1411 posts

Donator

Posted 18 June 2021 - 01:03 AM

I have added an exception and submitted the file as non positive to BitDefender.

 

I just wanted to inform Insomniator that for some reason his version of ToBEx.dll is being detected by my own antivirus (and four others) as malware while v28 did not have this kind of issue.

 

Insomniator,

 

it seems that the .tp2 version for 29.1 is still 29. The Read Me is also only updated to version 29.



#5 ALIEN

ALIEN
  • Modder
  • 983 posts

Posted 18 June 2021 - 01:57 AM

Renaming the tp2 will prevent all mods that require TobEx to detect this version. You have all credits for this new version but can you please revert name change?


Project Infinity public BETA - mod manager for Infinity Engine games

Infinity Auto Packager - automatically generate and adds mod packages to GitHub release

Modder's Guide to GitHub - you cannot have progress without committing changes


#6 Salk

Salk
  • Modder
  • 1411 posts

Donator

Posted 18 June 2021 - 07:23 AM

ALIEN is very correct about that.



#7 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5148 posts

Posted 18 June 2021 - 12:53 PM

My antivirus (BitDefender Free) object to the TobEx.dll file in both version 29 and 29.1.

You might want to switch, as it bases it's desition on file name, and the corporation sponsors that bought up it's services. Aka, corruption. The skill to do this is called craft.


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#8 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 19 June 2021 - 04:53 AM

Hi Alien

Renaming the tp2 will prevent all mods that require TobEx to detect this version. You have all credits for this new version but can you please revert name change?

Project is not original TobEx anymore, it is FORK with many changes in codestyle/formatting/etc, so it got own name to avoid mislead. You are right, many mods check existing TobEx installation by checking MOD_IS_INSTALLED or directly TobEx_ini folder, it is problem if original TobEx was not installed and mod use only MOD_IS_INSTALLED way
 
I want to fix issue as create dummy directory/files/... to pass MOD_IS_INSTALLED (if it will work). Temporary solution is install orig TobEx package before, i already updated description.


Edited by Insomniator, 19 June 2021 - 05:24 AM.


#9 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 19 June 2021 - 05:20 AM

Hi Salk

I have added an exception and submitted the file as non positive to BitDefender.
 
I just wanted to inform Insomniator that for some reason his version of ToBEx.dll is being detected by my own antivirus (and four others) as malware while v28 did not have this kind of issue.

I can do nothing with this, main .DLL and TobExLoader.exe produced by Microsoft Visual Studio 2010 compiler with all optimizations enabled, TobEx itself is injector/hooker of bgmain.exe, probably BitDefender explore it deeper and make positive, AsmJit.dll taken from TobEx v26 package.


Edited by Insomniator, 19 June 2021 - 05:23 AM.


#10 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 19 June 2021 - 05:31 AM

it seems that the .tp2 version for 29.1 is still 29. The Read Me is also only updated to version 29.


29.1 is name of zip, inside .tp2 and other files version will be still 29. You cannot install new version above previous, this is as i understand weidu installer, it uninstall prev changes and write new changes from scratch



#11 ALIEN

ALIEN
  • Modder
  • 983 posts

Posted 19 June 2021 - 09:06 AM

it seems that the .tp2 version for 29.1 is still 29. The Read Me is also only updated to version 29.


29.1 is name of zip, inside .tp2 and other files version will be still 29. You cannot install new version above previous, this is as i understand weidu installer, it uninstall prev changes and write new changes from scratch

WeiDU won't allow to have two the same Mod ID (tp2 filename) inside weidu.log twice, correct. But keeping the correct VERSION keyword inside tp2 is to inform players which exact version they use. Otherwise, how the player would know if he install the version that contains 'Continuous Battle Music Fix' if the tp2 VERSION (and weidu.log) still has '29' in it?


Project Infinity public BETA - mod manager for Infinity Engine games

Infinity Auto Packager - automatically generate and adds mod packages to GitHub release

Modder's Guide to GitHub - you cannot have progress without committing changes


#12 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 21 June 2021 - 09:55 AM

updated to 29.2:

Removed standalone installer mode, now require original TobEx installed



#13 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 21 June 2021 - 10:30 AM

Hi Alien,

WeiDU won't allow to have two the same Mod ID (tp2 filename) inside weidu.log twice, correct. But keeping the correct VERSION keyword inside tp2 is to inform players which exact version they use. Otherwise, how the player would know if he install the version that contains 'Continuous Battle Music Fix' if the tp2 VERSION (and weidu.log) still has '29' in it?

fixed, tp2 has correct version 29.x, TobExVer.txt is still "29" because some mods try do math with this value as integer
 



#14 ALIEN

ALIEN
  • Modder
  • 983 posts

Posted 21 June 2021 - 10:58 AM

Hi Alien,
WeiDU won't allow to have two the same Mod ID (tp2 filename) inside weidu.log twice, correct. But keeping the correct VERSION keyword inside tp2 is to inform players which exact version they use. Otherwise, how the player would know if he install the version that contains 'Continuous Battle Music Fix' if the tp2 VERSION (and weidu.log) still has '29' in it?

fixed, tp2 has correct version 29.x, TobExVer.txt is still "29" because some mods try do math with this value as integer
 

Thanks. I know it's a PITA to keep things synchronized. Automate those  :shifty:

 

BTW: Which mods are checking "TobExVer.txt" ?


Project Infinity public BETA - mod manager for Infinity Engine games

Infinity Auto Packager - automatically generate and adds mod packages to GitHub release

Modder's Guide to GitHub - you cannot have progress without committing changes


#15 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 21 June 2021 - 11:40 AM

BTW: Which mods are checking "TobExVer.txt" ?


Mod directly dont open TobExVer.txt, instead it include embedded TobEx Redistributable

For example stratagems v31, it includes "tobex_redist" subfolder, as i see setup.tp2 may load tobex.tpa, then tobex.tpa try to detect version from "TobExVer.txt"

  COPY "TobEx_ini/TobExVer.txt" "TobEx_ini/TobExVer.txt"
    READ_2DA_ENTRY 0 0 1 tobex_installed_version
  BUT_ONLY

  ACTION_IF (%tobex_redist_version% > %tobex_installed_version%) BEGIN

last line fails on "29.1" or "29,1"

 



#16 Salk

Salk
  • Modder
  • 1411 posts

Donator

Posted 21 June 2021 - 08:26 PM

BTW: Which mods are checking "TobExVer.txt" ?


Mod directly dont open TobExVer.txt, instead it include embedded TobEx Redistributable

For example stratagems v31, it includes "tobex_redist" subfolder, as i see setup.tp2 may load tobex.tpa, then tobex.tpa try to detect version from "TobExVer.txt"

  COPY "TobEx_ini/TobExVer.txt" "TobEx_ini/TobExVer.txt"
    READ_2DA_ENTRY 0 0 1 tobex_installed_version
  BUT_ONLY

  ACTION_IF (%tobex_redist_version% > %tobex_installed_version%) BEGIN

last line fails on "29.1" or "29,1"

 

 

But couldn't you have simply changed from v29 to v30 then?



#17 Gwendolyne

Gwendolyne
  • Administrator
  • 1016 posts

Posted 21 June 2021 - 09:38 PM

I usually use the following code, unless I check a special Tobex feature. ;)

 

        OUTER_SET is_tobex = (FILE_EXISTS ~tobex_ini/tobexcore.ini~) ? 1 : 0 // ToBEx is installed


 


CARPE DIEM ....
 

In progress : Menace sur le Royaume de Diamant Éternel there.


#18 skellytz

skellytz
  • Staff
  • 474 posts

Posted 25 June 2021 - 04:26 AM

Thank you. Just like everybody else here I think it should be the new version of TobEx. A GitHub repo forked off the original would be a great way to show that. If we all renamed mods because of forks the collaborative process would get needlessly complicated. Think about it; I'm sure Ascension64 would approve all the updates but wouldn't like to see the mod renamed every time the maintainer changes. Maybe I'll just rename BGT to BGT Back from the Grave Pt. II Special Edition and require the installation of v1.18 prior to v1.22 ;)



#19 Insomniator

Insomniator
  • Modder
  • 358 posts

Posted 25 June 2021 - 07:38 AM

Hi skellytz

Thank you. Just like everybody else here I think it should be the new version of TobEx. A GitHub repo forked off the original would be a great way to show that. If we all renamed mods because of forks the collaborative process would get needlessly complicated.

And again - this is not TobEx anymore , it is fan fork with all code from my parent project with many hacks/fixes/new bugs/etc

Please leave orig TobEx alone ! (fingers crossed :doh:)



#20 -Arthas-

-Arthas-
  • Guest

Posted 25 June 2021 - 11:45 AM

Hi skellytz
Thank you. Just like everybody else here I think it should be the new version of TobEx. A GitHub repo forked off the original would be a great way to show that. If we all renamed mods because of forks the collaborative process would get needlessly complicated.

And again - this is not TobEx anymore , it is fan fork with all code from my parent project with many hacks/fixes/new bugs/etc

Please leave orig TobEx alone ! (fingers crossed :doh:)

Why are you requiring to install Tobex as a prerequisite? 


Edited by Arthas, 25 June 2021 - 11:53 AM.