Jump to content

EET & v32 RC8: AI initialization fails when IWD spells component is installed.


Recommended Posts


Hi,

AI initialization works when installed just by itself but it fails with the following message when components 1500 (and also 1510?) are installed before:

Quote

ERROR: Failure("You are trying to edit %WIZARD_MORDENKAINENS_FORCE_MISSILES_SCROLL%.ITM, which does not exist in the game")
Please make a backup of the file: SETUP-STRATAGEMS.DEBUG and look for support at: For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.

Editing the lines corresponding to the detection of EE in the initial.tpa seems to bypass this error and AI initialization appears to be successful afterwards. I don't know about the side effects:

from:

Quote

   ACTION_IF enhanced_edition BEGIN
      OUTER_SPRINT $skip_component("nerf_greater_restoration") ""
   END ELSE BEGIN
      OUTER_SPRINT $skip_component("rebalance_force_missiles") ""
   END

to:

Quote

    ACTION_IF enhanced_edition BEGIN
        OUTER_SPRINT $skip_component("nerf_greater_restoration") ""
        OUTER_SPRINT $skip_component("rebalance_force_missiles") ""
   END

   
Please also see the attached files.

PS: It would be much more convenient if you allow opening issue threads over github. I just wanted to assist this project with a bug report and it wasn't possible without signing up for this forum. No offense to this one in particular but hate the online forum culture.

Best

 

 

Edited by nekahat
attachments removed
Link to comment

Looking at your WEIDU log, you are installing SCS's version of Icewind Dale spells having already installed (what looks like) another version, from TOTLM-in-BG2. Don't do this: use one or the other. (If you check TOTLM-in-BG2's project page or readme, you'll see that it recommends that you don't do this.) 

That said, I can still see some edge-case situations where this could cause problems, so I appreciate you bringing it to my attention!

Link to comment

OK, I think I see what's causing this. (Though I haven't run a test.) 

- TOTLM-in-BG2 installs its copies of the spells

- SCS detects them, and doesn't install its own

- but TOTLM-in-BG2 uses a scroll-naming convention that SCS doesn't know about.

My local scroll-finding code probably handles this, but the version in RC8 doesn't. At your own risk, you could try downloading the latest version of stratagems/sfo/general/lib_macro.tpa, putting it in your local folder, and reinstalling. The advantage of doing that over uninstalling the SCS versions of IWD spells is that if you don't have them installed, SCS won't know that the IWD spellsystem is available and its spellcasters won't use it.

Link to comment

Thanks for the fast response! Yes lib_macro.tpa fixed the issue and I'll use that until the next release but it might still worth mentioning to say that without lib_macro.tpa, file the problem persists even without the spells component of TOTLM.

Using a copy of my installation folder with the unaltered initial.tpa, I uninstalled every weidu mod in reverse order up to and including TOTLM-in-BG2. With that, stratagems installation worked fine.

But then I uninstalled stratagems, reinstalled just the main component of TOTLM (without the spells), reinstalled stratagams 1500 & 1510 so that my weidu.log looked like this:

Quote

~A7-TOTLM-BG2EE/SETUP-A7-TOTLM-BG2EE.TP2~ #0 #0 // Trials of the Luremaster for BG2:EE: 1.0
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #1500 // Include arcane spells from Icewind Dale: Enhanced Edition: v32 RC8
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #1510 // Include divine spells from Icewind Dale: Enhanced Edition: v32 RC8

Then the AI component failed again:

Quote

ERROR: Failure("You are trying to edit %WIZARD_MORDENKAINENS_FORCE_MISSILES_SCROLL%.ITM, which does not exist in the game")
Please make a backup of the file: SETUP-STRATAGEMS.DEBUG and look for support at: For help troubleshooting installation problems, go to the Sword Coast Stratagems forum at forums.gibberlings3.net.

As I said, copying over lib_macro.tpa works fine but there might be something else than just an incompatibility with TOTLM's spells component. Maybe this is an issue with the TOTLM mod itself and not with stratagems; I don't know enough to speculate further.

As for why I was trying to install spells from both mods, it's because the developer commented on beamdog forums that SCS' spells would likely complement TOTLM so I missed the part in the readme and assumed I would have a more exhaustive setup by installing both. Looks like this isn't the case then.

I hope this info was helpful. It's exciting that BG mods of this quality are still being developed after two decades. Thanks!

Edited by nekahat
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...