Jump to content

[v35.19] [BGT] Error installing 'Smarter general AI'


Recommended Posts

Posted (edited)

The component does not install on a BGT game.
Debug:

Spoiler

Applying kit/proficiency/script features to SWORD68
Copying and patching 1 file ...
[./override/SW1H68A.itm] loaded, 410 bytes
Copying and patching 1 file ...
[STRATAGEMS/lib/data/difficulty_controls.2da] loaded, 3168 bytes
override/SWORD68.CRE copied to weidu_external/backup/stratagems/6000/SWORD68.CRE, 8488 bytes
Copied [SWORD68.CRE] to [override/SWORD68.CRE]
[./override/SWORD69.CRE] loaded, 8488 bytes

Applying kit/proficiency/script features to SWORD69

SFO warning: Tried to identify nonexistent weapon SW1H69A.itm
[weidu_external/data/STRATAGEMS/sfo_warnings.txt] loaded, 1560 bytes
Appending to files ...
[weidu_external/data/STRATAGEMS/sfo_warnings.txt] loaded, 1560 bytes
Appended text to [weidu_external/data/STRATAGEMS/sfo_warnings.txt]
Copying and patching 1 file ...
[STRATAGEMS/lib/data/difficulty_controls.2da] loaded, 3168 bytes
ERROR: cannot convert PROFICIENCYCLUB or %PROFICIENCYCLUB% to an integer

SCS's 'apply_genai_changes' function has encountered a file it doesn't know how to patch, SWORD69.CRE (probably the file was broken by a previous mod). The error message was 'Not_found'. SCS has skipped it and continued with installation, but this may cause instabilities.

SFO warning: SCS's 'apply_genai_changes' function has encountered a file it doesn't know how to patch, SWORD69.CRE (probably the file was broken by a previous mod). The error message was 'Not_found'. SCS has skipped it and continued with installation, but this may cause instabilities.
[weidu_external/data/STRATAGEMS/sfo_warnings.txt] loaded, 1637 bytes
Appending to files ...
[weidu_external/data/STRATAGEMS/sfo_warnings.txt] loaded, 1637 bytes
Appended text to [weidu_external/data/STRATAGEMS/sfo_warnings.txt]
ERROR: [SWORD69.CRE] -> [override/SWORD69.CRE] Patching Failed (COPY) (Not_found)
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.

ERROR Installing [Smarter general AI], rolling back to previous state

 

Edited by MikeX
Posted

'sword69.cre' is introduced by IR(R) and should have 'sw1h69a.itm' equipped, which is not available/copied into the game.

Copying it manually from .\item_rev\itm to .\override solved the installation error for this component...

Posted (edited)

Download near infinity and replace or remove the weapons flagged as "none" where the general ai errors. Some of the none weapons have to do with the iwdification high quality items.  Have to check where the other none weapons are appearing. 

Edited by bearcattony00
Posted

So, just to check: this is an IR(R)/SCS compatibility issue?

(I did an install check of SCS v35 on BGT when I released it and it installs fine, though I haven't checked it on any of the 35.x bugfixes.)

Posted (edited)
6 hours ago, DavidW said:

So, just to check: this is an IR(R)/SCS compatibility issue?

(I did an install check of SCS v35 on BGT when I released it and it installs fine, though I haven't checked it on any of the 35.x bugfixes.)

No, technically it‘s not a compatility issue. It‘s a fault within IRR.

In general it looks like it is caused by a creature which has a non-existing weapon equipped.

SFO already detected this (see debug), but the component as a whole fails to install anyway.

Edited by MikeX
Posted

I am encountering this issue too, but I do not have IR or IR(R) in this installation I am working on.

I do have IWDification's #140 (Randomised Enemy Equipment - Add High Quality Items) which Bearcattony00 mentions could be related.

In about half of the cases in which SCS's "apply_genai_changes" function doesn't know how to patch a .cre, it is because an .itm is not found, which is corrected by manually adding the .itm (in those cases, I am not sure why the item wasn't present), but in about half of the cases, there is no .itm missing but it includes, "ERROR: cannot convert PROFICIENCYCLUB or %PROFICIENCYCLUB% to an integer".

I "resolved" a dozen of these issues by manually adding the missing .itm, or removing the .cre (just to see if SCS completes), but SCS is still patching "B" .cre files, so there is clearly a compatibility issue that has broad impact.

WeiDU-BGEE.log WeiDU.log

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