Jump to content

SR V4 Beta 15


Recommended Posts

Both ferret and cat can detect and AND disarm traps in SR, but rabbit can only detect (he can disarm AND detect in vanilla EE )

Is this a bug or intentional? If a bug, is there a line that can be changed to allow disarming?

I don't know anything about how familiars work. For me, it's a thing taking space in backpack and giving HP....sorry.

Link to comment

321 effects are supposed to be there - that's not a bug. If they are not there things will be buggy.

 

The only thing is, the 321 effect must be the *first* effect in each header.

 

kreso I know it's a PITA but if I were makingbthis mod, and wanted to arrange compatibility with both engines, I would do something like this for each spell where you need to control stacking: remove all 321/206 effects from the spell files and paste this into the .tp2 as spells get copied in

COPY ~spell_rev/spwi201.spl~ ~override~
  PATCH_IF GAME_IS ~bgee bg2ee iwdee eet~ BEGIN
    LPF ADD_SPELL_EFFECT INT_VAR insert_point = 0 opcode = 321 target = 1 timing = 9 STR_VAR resource = EVAL ~%SOURCE_RES%~ END
  END
  PATCH_IF ENGINE_IS ~tob bgt~ BEGIN
    LPF CLONE_EFFECT INT_VAR silent = 1 multi_match = 1 opcode = 206 target = 1 parameter1 = 0 parameter2 = 0 STR_VAR resource = EVAL ~%SOURCE_RES%~ END
(And just change the "target" value for spells targeting others.

 

 

I already did that actually, it's in spell_rev/lib/kreso_ee.tph or similary named file.

The problem with Divine power is much simpler, targeting on 321 is set to "preset target" instead "self" (btw, what's the difference anyway if the spell is cast on self anyway?! I'd assume it would stack, not that the entire spell would get blocked), that's what happens when you copy paste code parts.... How this mistake manages to crap out the entire spell with about 10 different opcodes used on it is beyond me, since 321 is applied as first. Bleh, at least fixing it is easy.

 

@Hicuty

 

To explain what happens - 321 opcode (I assume you use NI) makes the spell refresh itself w/o stacking with itself. On old engine, this could me somewhat mimicked, but was rather limited in how. Hence, SR on old engine would use opcode 206 (Protection from spell) to prevent stacking of certain spells. Since I prefer, and I guess most people do as well, refreshing rather than seeing "you cannot cast this spell until the current casting runs out" message, on EEs, you're able to refresh most of the buffs without worrying about stacking their effects.

Thx for the report, I'd never catch that one.

Link to comment

On above- there are a few more spells with this problem; at least in the code; can't vouch if they'll also fail when cast in game - Mesthil, Moment and a few more. All fixed locally.

Link to comment

I was trying to install the latest version of this on a fresh BG1 installation, but was unable to. Using the newest weidu didn't change anything either.

 

I have put the debug log in the spoiler. It's very long though so I have cut out the middle part, where there are no problems and kept in the start and the end, where the problem appears.. Is anyone else having the same issue?

 

 

 

WeiDU v 24500 Log
C:\Games\Black Isle\Baldur's Gate Enhanced Edition\Data\00766\setup-spell_rev.exe
[.\CHITIN.KEY] loaded, 517684 bytes
[.\CHITIN.KEY] 79 BIFFs, 36814 resources
[.\engine.lua] loaded, 101 bytes
[.\weidu.conf] loaded, 17 bytes
[.\lang\en_us\dialog.tlk] loaded, 5007787 bytes
[.\lang\en_us\dialog.tlk] 34510 string entries
Choose your language:
0 [English]
1 [French]
Using Language [English]
[English] has 3 top-level TRA files
[spell_rev\languages\english\arcane.tra] has 454 translation strings
[spell_rev\languages\english\divine.tra] has 336 translation strings
[spell_rev\languages\english\setup.tra] has 21 translation strings
Using .\lang\en_us\dialog.tlk
Would you like to display the readme? [Y]es [N]o
Install Component [spell Revisions]?
nstall, or [N]ot Install or [Q]uit?
Installing [spell Revisions] [v4 Beta 15]
Copying 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA] loaded, 179054 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA]
Copying and patching 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA] loaded, 179117 bytes
SPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA copied to spell_rev\backup/0/ARCANE.TRA, 179054 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA]
Copying 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA] loaded, 120100 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA]
Copying and patching 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA] loaded, 120120 bytes
SPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA copied to spell_rev\backup/0/DIVINE.TRA, 120100 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA]
loading 1 tra file
[spell_rev/languages/english/arcane.tra] has 454 translation strings
loading 1 tra file
[spell_rev/languages/english/divine.tra] has 336 translation strings
Copying 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\ITEMS.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\ITEMS.BIF]
[.\DATA\ITEMS.BIF] 518844 bytes, 1283 files, 0 tilesets
Copied [bolt01.itm] to [spell_rev/languages/english/fl#utf8.mrk]
Copying and patching 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\PATCH20.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\PATCH20.BIF]
[.\DATA\PATCH20.BIF] 46423404 bytes, 1108 files, 31 tilesets
Copied [concentr.2da] to [override/concentr.2da]
Copying and patching 1 file ...
[spell_rev\shared\adscroll.itm] loaded, 938 bytes
Copied [spell_rev\shared\adscroll.itm] to [override/adscroll.itm]
Copying 1 file ...
[spell_rev\shared\adscroll.bam] loaded, 1991 bytes
Copied [spell_rev\shared\adscroll.bam] to [override/adscroll.bam]
Copying 1 file ...
[spell_rev\shared\dvimhere.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvimhere.mrk] to [override/dvimhere.mrk]
Copying 1 file ...
[spell_rev\shared\dvsrv3.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvsrv3.mrk] to [override/dvsrv3.mrk]
Copying 1 file ...
[spell_rev\shared\dvsrv4here.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvsrv4here.mrk] to [override/dvsrv4here.mrk]
Copying and patching 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\DEFAULT.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\DEFAULT.BIF]
[.\DATA\DEFAULT.BIF] 6265612 bytes, 522 files, 0 tilesets
Copied [intmod.2da] to [override/intmod.2da]
Copying 1 file ...
[spell_rev\shared\contingx.2da] loaded, 610 bytes
Copied [spell_rev\shared\contingx.2da] to [override/contingx.2da]
Copying 1 file ...
[spell_rev\shared\dvwinded.spl] loaded, 394 bytes
Copied [spell_rev\shared\dvwinded.spl] to [override/dvwinded.spl]
Copying 1 file ...
[spell_rev\shared\dvbanish.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvbanish.eff] to [override/dvbanish.eff]
Copying 1 file ...
[spell_rev\shared\dvbanish.spl] loaded, 250 bytes
Copied [spell_rev\shared\dvbanish.spl] to [override/dvbanish.spl]
Copying 1 file ...
[spell_rev\shared\dvpowerw.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvpowerw.eff] to [override/dvpowerw.eff]
Copying 1 file ...
[spell_rev\shared\dvelair.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvelair.vvc] to [override/dvelair.vvc]
Copying 1 file ...
[spell_rev\shared\dvelair.bam] loaded, 95984 bytes
Copied [spell_rev\shared\dvelair.bam] to [override/dvelair.bam]
Copying 1 file ...
[spell_rev\shared\dveleart.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dveleart.vvc] to [override/dveleart.vvc]
Copying 1 file ...
[spell_rev\shared\dveleart.bam] loaded, 124853 bytes
Copied [spell_rev\shared\dveleart.bam] to [override/dveleart.bam]
Copying 1 file ...
[spell_rev\shared\dvelfire.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvelfire.vvc] to [override/dvelfire.vvc]
Copying 1 file ...
[spell_rev\shared\dvelfire.bam] loaded, 117536 bytes
Copied [spell_rev\shared\dvelfire.bam] to [override/dvelfire.bam]
Copying 1 file ...
[spell_rev\shared\illush.wav] loaded, 76099 bytes
Copied [spell_rev\shared\illush.wav] to [override/illush.wav]
Copying 1 file ...
[spell_rev\shared\illush.bam] loaded, 82513 bytes
Copied [spell_rev\shared\illush.bam] to [override/illush.bam]
Copying 1 file ...
[spell_rev\shared\illushvc.vvc] loaded, 492 bytes
Copied [spell_rev\shared\illushvc.vvc] to [override/illushvc.vvc]
Copying 1 file ...
[spell_rev\shared\spmagglo.vvc] loaded, 492 bytes
Copied [spell_rev\shared\spmagglo.vvc] to [override/spmagglo.vvc]
Copying 1 file ...
[spell_rev\shared\spmagglo.bam] loaded, 206333 bytes
Copied [spell_rev\shared\spmagglo.bam] to [override/spmagglo.bam]
Copying 1 file ...
[spell_rev\shared\dvsun1.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvsun1.vvc] to [override/dvsun1.vvc]
Copying 1 file ...
[spell_rev\shared\dvsun2.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvsun2.vvc] to [override/dvsun2.vvc]
Copying 1 file ...
[spell_rev\shared\dvsun.bam] loaded, 141576 bytes
Copied [spell_rev\shared\dvsun.bam] to [override/dvsun.bam]
Copying 1 file ...
[spell_rev\shared\dvinvis.spl] loaded, 202 bytes
Copied [spell_rev\shared\dvinvis.spl] to [override/dvinvis.spl]
Copying 1 file ...
[spell_rev\shared\spwi977.spl] loaded, 970 bytes
Copied [spell_rev\shared\spwi977.spl] to [override/spwi977.spl]
Copying 1 file ...
[spell_rev\shared\spwi978.spl] loaded, 1066 bytes
Copied [spell_rev\shared\spwi978.spl] to [override/spwi978.spl]
Copying 1 file ...
[spell_rev\shared\wings/cwings01.bam] loaded, 14375 bytes
Copied [spell_rev\shared\wings/cwings01.bam] to [override/cwings01.bam]
[spell_rev\shared\wings/dvwings.itm] loaded, 114 bytes
Copied [spell_rev\shared\wings/dvwings.itm] to [override/dvwings.itm]
[spell_rev\shared\wings/gwings01.bam] loaded, 1707 bytes
Copied [spell_rev\shared\wings/gwings01.bam] to [override/gwings01.bam]
[spell_rev\shared\wings/wpmzwinv.bam] loaded, 3013 bytes
Copied [spell_rev\shared\wings/wpmzwinv.bam] to [override/wpmzwinv.bam]
[spell_rev\shared\wings/wqmzwa1.bam] loaded, 37365 bytes
Copied [spell_rev\shared\wings/wqmzwa1.bam] to [override/wqmzwa1.bam]
[spell_rev\shared\wings/wqmzwa2.bam] loaded, 41254 bytes
Copied [spell_rev\shared\wings/wqmzwa2.bam] to [override/wqmzwa2.bam]
[spell_rev\shared\wings/wqmzwa3.bam] loaded, 43698 bytes
Copied [spell_rev\shared\wings/wqmzwa3.bam] to [override/wqmzwa3.bam]
[spell_rev\shared\wings/wqmzwa4.bam] loaded, 42457 bytes
Copied [spell_rev\shared\wings/wqmzwa4.bam] to [override/wqmzwa4.bam]
[spell_rev\shared\wings/wqmzwa5.bam] loaded, 44477 bytes
Copied [spell_rev\shared\wings/wqmzwa5.bam] to [override/wqmzwa5.bam]
[spell_rev\shared\wings/wqmzwa6.bam] loaded, 34843 bytes
Copied [spell_rev\shared\wings/wqmzwa6.bam] to [override/wqmzwa6.bam]
[spell_rev\shared\wings/wqmzwa7.bam] loaded, 35102 bytes
Copied [spell_rev\shared\wings/wqmzwa7.bam] to [override/wqmzwa7.bam]
[spell_rev\shared\wings/wqmzwa8.bam] loaded, 42819 bytes
Copied [spell_rev\shared\wings/wqmzwa8.bam] to [override/wqmzwa8.bam]
[spell_rev\shared\wings/wqmzwa9.bam] loaded, 42325 bytes
Copied [spell_rev\shared\wings/wqmzwa9.bam] to [override/wqmzwa9.bam]
[spell_rev\shared\wings/wqmzwca.bam] loaded, 72365 bytes
Copied [spell_rev\shared\wings/wqmzwca.bam] to [override/wqmzwca.bam]
[spell_rev\shared\wings/wqmzwg1.bam] loaded, 201312 bytes
Copied [spell_rev\shared\wings/wqmzwg1.bam] to [override/wqmzwg1.bam]
[spell_rev\shared\wings/wqmzwsa.bam] loaded, 34303 bytes
Copied [spell_rev\shared\wings/wqmzwsa.bam] to [override/wqmzwsa.bam]
[spell_rev\shared\wings/wqmzwss.bam] loaded, 37365 bytes
Copied [spell_rev\shared\wings/wqmzwss.bam] to [override/wqmzwss.bam]
[spell_rev\shared\wings/wqmzwsx.bam] loaded, 32723 bytes
Copied [spell_rev\shared\wings/wqmzwsx.bam] to [override/wqmzwsx.bam]
Copying 1 file ...
[spell_rev\shared\unddeath.eff] loaded, 272 bytes
Copied [spell_rev\shared\unddeath.eff] to [override/unddeath.eff]
Copying 1 file ...
[spell_rev\shared\dvtsight.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvtsight.eff] to [override/dvtsight.eff]
Copying 1 file ...
[spell_rev\shared\dvtsight.spl] loaded, 490 bytes
Copied [spell_rev\shared\dvtsight.spl] to [override/dvtsight.spl]
Copying 1 file ...

 

 

. . . . .

 

Copying and patching 1 file ...
[./override/spwi898.spl] loaded, 1754 bytes
Copied [spwi898.spl] to [override/spwi898.spl]
Copying and patching 1 file ...
[./override/sppr325.spl] loaded, 970 bytes
Copied [sppr325.spl] to [override/sppr325.spl]
Copying and patching 1 file ...
ERROR locating resource for 'COPY'
Resource [spin203.spl] not found in KEY file:
[./chitin.key]
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 [spell Revisions], rolling back to previous state
Unable to Unlink [spell_rev\backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "spell_rev\\backup/0/OTHER.0")
Will uninstall 3615 files for [sPELL_REV/SETUP-SPELL_REV.TP2] component 0.
Restoring backed-up [spell_rev\backup/0/ARCANE.TRA]
spell_rev\backup/0/ARCANE.TRA copied to SPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA, 179054 bytes
Restoring backed-up [spell_rev\backup/0/DIVINE.TRA]
spell_rev\backup/0/DIVINE.TRA copied to SPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA, 120100 bytes
Restoring backed-up [spell_rev\backup/0/ds_sr_extra.2da]
spell_rev\backup/0/ds_sr_extra.2da copied to spell_rev/lib/ds_sr_extra.2da, 78 bytes
Uninstalled 3615 files for [sPELL_REV/SETUP-SPELL_REV.TP2] component 0.
Unable to Unlink [spell_rev\backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "spell_rev\\backup/0/READLN.0")
Unable to Unlink [spell_rev\backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "spell_rev\\backup/0/READLN.0.TEXT")
ERROR: Failure("resource [spin203.spl] not found for 'COPY'")
Please make a backup of the file: SETUP-SPELL_REV.DEBUG and look for support at: marco.montagnoli83@hotmail.it
Using Language [English]
[English] has 3 top-level TRA files
[spell_rev\languages\english\arcane.tra] has 454 translation strings
[spell_rev\languages\english\divine.tra] has 336 translation strings
[spell_rev\languages\english\setup.tra] has 21 translation strings
Install Component [spell Revisions]?
nstall, or [N]ot Install or [Q]uit? Saving This Log:
[.\lang\en_us\dialog.tlk] created, 34510 string entries
NOT INSTALLED DUE TO ERRORS Spell Revisions
WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
parsing .tra files 0.000
<<<<<<<< 0.000
OUTER_WHILE 0.000
ACTION_FOR_EACH 0.000
unmarshal BIFF 0.000
ACTION_MATCH 0.000
adding translation strings 0.000
ACTION_BASH_FOR 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
ACTION_DEFINE_ARRAY 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SPRINT 0.000
STRING_SET 0.000
OUTER_SET 0.000
INCLUDE 0.000
ACTION_TRY 0.000
ACTION_DEFINE_ASSOCIATIVE_ARRAY 0.000
parsing tlk-path files 0.000
ADD_PROJECTILE 0.000
ACTION_PHP_EACH 0.000
find local string 0.000
LOAD_TRA 0.000
parsing .log files 0.000
AT_NOW 0.000
DEFINE_ACTION_MACRO 0.000
APPEND 0.000
OUTER_INNER_PATCH 0.000
GET_DIRECTORY_ARRAY 0.000
Parsing TPP files 0.000
ACTION_CLEAR_ARRAY 0.000
ADD_SECTYPE 0.000
LAUNCH_ACTION_FUNCTION 0.000
DEFINE_PATCH_MACRO 0.000
stuff not covered elsewhere 0.000
unmarshal KEY 0.016
marshal and save TLK 0.016
Parsing TP2 files 0.016
ACTION_IF 0.016
unmarshal TLK 0.016
BUT_ONLY 0.031
tp2 uninstall 0.047
Parsing TPA files 0.094
loading files 0.125
saving files 0.266
COPY 1.250
READ_* 4.078
process_patch2 5.125
eval_pe 6.500
TOTAL 17.594

 

 

 

Link to comment

I was trying to install the latest version of this on a fresh BG1 installation, but was unable to. Using the newest weidu didn't change anything either.

 

I have put the debug log in the spoiler. It's very long though so I have cut out the middle part, where there are no problems and kept in the start and the end, where the problem appears.. Is anyone else having the same issue?

 

 

 

WeiDU v 24500 Log
C:\Games\Black Isle\Baldur's Gate Enhanced Edition\Data\00766\setup-spell_rev.exe
[.\CHITIN.KEY] loaded, 517684 bytes
[.\CHITIN.KEY] 79 BIFFs, 36814 resources
[.\engine.lua] loaded, 101 bytes
[.\weidu.conf] loaded, 17 bytes
[.\lang\en_us\dialog.tlk] loaded, 5007787 bytes
[.\lang\en_us\dialog.tlk] 34510 string entries
Choose your language:
0 [English]
1 [French]
Using Language [English]
[English] has 3 top-level TRA files
[spell_rev\languages\english\arcane.tra] has 454 translation strings
[spell_rev\languages\english\divine.tra] has 336 translation strings
[spell_rev\languages\english\setup.tra] has 21 translation strings
Using .\lang\en_us\dialog.tlk
Would you like to display the readme? [Y]es [N]o
Install Component [spell Revisions]?
nstall, or [N]ot Install or [Q]uit?
Installing [spell Revisions] [v4 Beta 15]
Copying 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA] loaded, 179054 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA]
Copying and patching 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA] loaded, 179117 bytes
SPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA copied to spell_rev\backup/0/ARCANE.TRA, 179054 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_ARCANE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA]
Copying 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA] loaded, 120100 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA]
Copying and patching 1 file ...
[sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA] loaded, 120120 bytes
SPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA copied to spell_rev\backup/0/DIVINE.TRA, 120100 bytes
Copied [sPELL_REV/LANGUAGES/ENGLISH/fl#utf8_DIVINE.TRA] to [sPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA]
loading 1 tra file
[spell_rev/languages/english/arcane.tra] has 454 translation strings
loading 1 tra file
[spell_rev/languages/english/divine.tra] has 336 translation strings
Copying 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\ITEMS.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\ITEMS.BIF]
[.\DATA\ITEMS.BIF] 518844 bytes, 1283 files, 0 tilesets
Copied [bolt01.itm] to [spell_rev/languages/english/fl#utf8.mrk]
Copying and patching 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\PATCH20.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\PATCH20.BIF]
[.\DATA\PATCH20.BIF] 46423404 bytes, 1108 files, 31 tilesets
Copied [concentr.2da] to [override/concentr.2da]
Copying and patching 1 file ...
[spell_rev\shared\adscroll.itm] loaded, 938 bytes
Copied [spell_rev\shared\adscroll.itm] to [override/adscroll.itm]
Copying 1 file ...
[spell_rev\shared\adscroll.bam] loaded, 1991 bytes
Copied [spell_rev\shared\adscroll.bam] to [override/adscroll.bam]
Copying 1 file ...
[spell_rev\shared\dvimhere.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvimhere.mrk] to [override/dvimhere.mrk]
Copying 1 file ...
[spell_rev\shared\dvsrv3.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvsrv3.mrk] to [override/dvsrv3.mrk]
Copying 1 file ...
[spell_rev\shared\dvsrv4here.mrk] loaded, 202 bytes
Copied [spell_rev\shared\dvsrv4here.mrk] to [override/dvsrv4here.mrk]
Copying and patching 1 file ...
BIFF may be in hard-drive CD-path [.\lang\en_us\DATA\DEFAULT.BIF]
BIFF may be in hard-drive CD-path [.\cache\DATA\DEFAULT.BIF]
[.\DATA\DEFAULT.BIF] 6265612 bytes, 522 files, 0 tilesets
Copied [intmod.2da] to [override/intmod.2da]
Copying 1 file ...
[spell_rev\shared\contingx.2da] loaded, 610 bytes
Copied [spell_rev\shared\contingx.2da] to [override/contingx.2da]
Copying 1 file ...
[spell_rev\shared\dvwinded.spl] loaded, 394 bytes
Copied [spell_rev\shared\dvwinded.spl] to [override/dvwinded.spl]
Copying 1 file ...
[spell_rev\shared\dvbanish.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvbanish.eff] to [override/dvbanish.eff]
Copying 1 file ...
[spell_rev\shared\dvbanish.spl] loaded, 250 bytes
Copied [spell_rev\shared\dvbanish.spl] to [override/dvbanish.spl]
Copying 1 file ...
[spell_rev\shared\dvpowerw.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvpowerw.eff] to [override/dvpowerw.eff]
Copying 1 file ...
[spell_rev\shared\dvelair.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvelair.vvc] to [override/dvelair.vvc]
Copying 1 file ...
[spell_rev\shared\dvelair.bam] loaded, 95984 bytes
Copied [spell_rev\shared\dvelair.bam] to [override/dvelair.bam]
Copying 1 file ...
[spell_rev\shared\dveleart.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dveleart.vvc] to [override/dveleart.vvc]
Copying 1 file ...
[spell_rev\shared\dveleart.bam] loaded, 124853 bytes
Copied [spell_rev\shared\dveleart.bam] to [override/dveleart.bam]
Copying 1 file ...
[spell_rev\shared\dvelfire.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvelfire.vvc] to [override/dvelfire.vvc]
Copying 1 file ...
[spell_rev\shared\dvelfire.bam] loaded, 117536 bytes
Copied [spell_rev\shared\dvelfire.bam] to [override/dvelfire.bam]
Copying 1 file ...
[spell_rev\shared\illush.wav] loaded, 76099 bytes
Copied [spell_rev\shared\illush.wav] to [override/illush.wav]
Copying 1 file ...
[spell_rev\shared\illush.bam] loaded, 82513 bytes
Copied [spell_rev\shared\illush.bam] to [override/illush.bam]
Copying 1 file ...
[spell_rev\shared\illushvc.vvc] loaded, 492 bytes
Copied [spell_rev\shared\illushvc.vvc] to [override/illushvc.vvc]
Copying 1 file ...
[spell_rev\shared\spmagglo.vvc] loaded, 492 bytes
Copied [spell_rev\shared\spmagglo.vvc] to [override/spmagglo.vvc]
Copying 1 file ...
[spell_rev\shared\spmagglo.bam] loaded, 206333 bytes
Copied [spell_rev\shared\spmagglo.bam] to [override/spmagglo.bam]
Copying 1 file ...
[spell_rev\shared\dvsun1.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvsun1.vvc] to [override/dvsun1.vvc]
Copying 1 file ...
[spell_rev\shared\dvsun2.vvc] loaded, 492 bytes
Copied [spell_rev\shared\dvsun2.vvc] to [override/dvsun2.vvc]
Copying 1 file ...
[spell_rev\shared\dvsun.bam] loaded, 141576 bytes
Copied [spell_rev\shared\dvsun.bam] to [override/dvsun.bam]
Copying 1 file ...
[spell_rev\shared\dvinvis.spl] loaded, 202 bytes
Copied [spell_rev\shared\dvinvis.spl] to [override/dvinvis.spl]
Copying 1 file ...
[spell_rev\shared\spwi977.spl] loaded, 970 bytes
Copied [spell_rev\shared\spwi977.spl] to [override/spwi977.spl]
Copying 1 file ...
[spell_rev\shared\spwi978.spl] loaded, 1066 bytes
Copied [spell_rev\shared\spwi978.spl] to [override/spwi978.spl]
Copying 1 file ...
[spell_rev\shared\wings/cwings01.bam] loaded, 14375 bytes
Copied [spell_rev\shared\wings/cwings01.bam] to [override/cwings01.bam]
[spell_rev\shared\wings/dvwings.itm] loaded, 114 bytes
Copied [spell_rev\shared\wings/dvwings.itm] to [override/dvwings.itm]
[spell_rev\shared\wings/gwings01.bam] loaded, 1707 bytes
Copied [spell_rev\shared\wings/gwings01.bam] to [override/gwings01.bam]
[spell_rev\shared\wings/wpmzwinv.bam] loaded, 3013 bytes
Copied [spell_rev\shared\wings/wpmzwinv.bam] to [override/wpmzwinv.bam]
[spell_rev\shared\wings/wqmzwa1.bam] loaded, 37365 bytes
Copied [spell_rev\shared\wings/wqmzwa1.bam] to [override/wqmzwa1.bam]
[spell_rev\shared\wings/wqmzwa2.bam] loaded, 41254 bytes
Copied [spell_rev\shared\wings/wqmzwa2.bam] to [override/wqmzwa2.bam]
[spell_rev\shared\wings/wqmzwa3.bam] loaded, 43698 bytes
Copied [spell_rev\shared\wings/wqmzwa3.bam] to [override/wqmzwa3.bam]
[spell_rev\shared\wings/wqmzwa4.bam] loaded, 42457 bytes
Copied [spell_rev\shared\wings/wqmzwa4.bam] to [override/wqmzwa4.bam]
[spell_rev\shared\wings/wqmzwa5.bam] loaded, 44477 bytes
Copied [spell_rev\shared\wings/wqmzwa5.bam] to [override/wqmzwa5.bam]
[spell_rev\shared\wings/wqmzwa6.bam] loaded, 34843 bytes
Copied [spell_rev\shared\wings/wqmzwa6.bam] to [override/wqmzwa6.bam]
[spell_rev\shared\wings/wqmzwa7.bam] loaded, 35102 bytes
Copied [spell_rev\shared\wings/wqmzwa7.bam] to [override/wqmzwa7.bam]
[spell_rev\shared\wings/wqmzwa8.bam] loaded, 42819 bytes
Copied [spell_rev\shared\wings/wqmzwa8.bam] to [override/wqmzwa8.bam]
[spell_rev\shared\wings/wqmzwa9.bam] loaded, 42325 bytes
Copied [spell_rev\shared\wings/wqmzwa9.bam] to [override/wqmzwa9.bam]
[spell_rev\shared\wings/wqmzwca.bam] loaded, 72365 bytes
Copied [spell_rev\shared\wings/wqmzwca.bam] to [override/wqmzwca.bam]
[spell_rev\shared\wings/wqmzwg1.bam] loaded, 201312 bytes
Copied [spell_rev\shared\wings/wqmzwg1.bam] to [override/wqmzwg1.bam]
[spell_rev\shared\wings/wqmzwsa.bam] loaded, 34303 bytes
Copied [spell_rev\shared\wings/wqmzwsa.bam] to [override/wqmzwsa.bam]
[spell_rev\shared\wings/wqmzwss.bam] loaded, 37365 bytes
Copied [spell_rev\shared\wings/wqmzwss.bam] to [override/wqmzwss.bam]
[spell_rev\shared\wings/wqmzwsx.bam] loaded, 32723 bytes
Copied [spell_rev\shared\wings/wqmzwsx.bam] to [override/wqmzwsx.bam]
Copying 1 file ...
[spell_rev\shared\unddeath.eff] loaded, 272 bytes
Copied [spell_rev\shared\unddeath.eff] to [override/unddeath.eff]
Copying 1 file ...
[spell_rev\shared\dvtsight.eff] loaded, 272 bytes
Copied [spell_rev\shared\dvtsight.eff] to [override/dvtsight.eff]
Copying 1 file ...
[spell_rev\shared\dvtsight.spl] loaded, 490 bytes
Copied [spell_rev\shared\dvtsight.spl] to [override/dvtsight.spl]
Copying 1 file ...

 

 

. . . . .

 

Copying and patching 1 file ...
[./override/spwi898.spl] loaded, 1754 bytes
Copied [spwi898.spl] to [override/spwi898.spl]
Copying and patching 1 file ...
[./override/sppr325.spl] loaded, 970 bytes
Copied [sppr325.spl] to [override/sppr325.spl]
Copying and patching 1 file ...
ERROR locating resource for 'COPY'
Resource [spin203.spl] not found in KEY file:
[./chitin.key]
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 [spell Revisions], rolling back to previous state
Unable to Unlink [spell_rev\backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "spell_rev\\backup/0/OTHER.0")
Will uninstall 3615 files for [sPELL_REV/SETUP-SPELL_REV.TP2] component 0.
Restoring backed-up [spell_rev\backup/0/ARCANE.TRA]
spell_rev\backup/0/ARCANE.TRA copied to SPELL_REV/LANGUAGES/ENGLISH/ARCANE.TRA, 179054 bytes
Restoring backed-up [spell_rev\backup/0/DIVINE.TRA]
spell_rev\backup/0/DIVINE.TRA copied to SPELL_REV/LANGUAGES/ENGLISH/DIVINE.TRA, 120100 bytes
Restoring backed-up [spell_rev\backup/0/ds_sr_extra.2da]
spell_rev\backup/0/ds_sr_extra.2da copied to spell_rev/lib/ds_sr_extra.2da, 78 bytes
Uninstalled 3615 files for [sPELL_REV/SETUP-SPELL_REV.TP2] component 0.
Unable to Unlink [spell_rev\backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "spell_rev\\backup/0/READLN.0")
Unable to Unlink [spell_rev\backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "spell_rev\\backup/0/READLN.0.TEXT")
ERROR: Failure("resource [spin203.spl] not found for 'COPY'")
Please make a backup of the file: SETUP-SPELL_REV.DEBUG and look for support at: marco.montagnoli83@hotmail.it
Using Language [English]
[English] has 3 top-level TRA files
[spell_rev\languages\english\arcane.tra] has 454 translation strings
[spell_rev\languages\english\divine.tra] has 336 translation strings
[spell_rev\languages\english\setup.tra] has 21 translation strings
Install Component [spell Revisions]?
nstall, or [N]ot Install or [Q]uit? Saving This Log:
[.\lang\en_us\dialog.tlk] created, 34510 string entries
NOT INSTALLED DUE TO ERRORS Spell Revisions
WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
parsing .tra files 0.000
<<<<<<<< 0.000
OUTER_WHILE 0.000
ACTION_FOR_EACH 0.000
unmarshal BIFF 0.000
ACTION_MATCH 0.000
adding translation strings 0.000
ACTION_BASH_FOR 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
ACTION_DEFINE_ARRAY 0.000
DEFINE_ACTION_FUNCTION 0.000
OUTER_SPRINT 0.000
STRING_SET 0.000
OUTER_SET 0.000
INCLUDE 0.000
ACTION_TRY 0.000
ACTION_DEFINE_ASSOCIATIVE_ARRAY 0.000
parsing tlk-path files 0.000
ADD_PROJECTILE 0.000
ACTION_PHP_EACH 0.000
find local string 0.000
LOAD_TRA 0.000
parsing .log files 0.000
AT_NOW 0.000
DEFINE_ACTION_MACRO 0.000
APPEND 0.000
OUTER_INNER_PATCH 0.000
GET_DIRECTORY_ARRAY 0.000
Parsing TPP files 0.000
ACTION_CLEAR_ARRAY 0.000
ADD_SECTYPE 0.000
LAUNCH_ACTION_FUNCTION 0.000
DEFINE_PATCH_MACRO 0.000
stuff not covered elsewhere 0.000
unmarshal KEY 0.016
marshal and save TLK 0.016
Parsing TP2 files 0.016
ACTION_IF 0.016
unmarshal TLK 0.016
BUT_ONLY 0.031
tp2 uninstall 0.047
Parsing TPA files 0.094
loading files 0.125
saving files 0.266
COPY 1.250
READ_* 4.078
process_patch2 5.125
eval_pe 6.500
TOTAL 17.594

 

 

 

 

Make this change in the lib file and save before installing. It will fix the problem I'm pretty sure.

 

"The spin203.spl issue is on line 2924 of /spell_rev/lib/kreso_eestatSR.tph:

ACTION_IF FILE_EXISTS_IN_GAME ~spin105.spl~ THEN BEGIN // innate bhalpower
COPY_EXISTING ~spin203.spl~ ~override~
LPF ADD_SPELL_EFFECT

It should COPY spin105, not spin203."

Edited by Luke
Link to comment

That worked. Thank you!

 

edit: did not work for bg2 though. It fails with this error:

 

ERROR: illegal 2-byte read from offset 1380995155 of 538-byte file SPIN920.SPL
ERROR: [sPIN920.SPL] -> [override/SPIN920.SPL] Patching Failed (COPY) (Failure("SPIN920.SPL: read out of bounds"))
Stopping installation because of error.
Edited by janoha
Link to comment

edit: did not work for bg2 though. It fails with this error:

 

ERROR: illegal 2-byte read from offset 1380995155 of 538-byte file SPIN920.SPL
ERROR: [sPIN920.SPL] -> [override/SPIN920.SPL] Patching Failed (COPY) (Failure("SPIN920.SPL: read out of bounds"))
Stopping installation because of error.

 

That's because this mod needs to be updated in order to take into account the recent engine changes to "spell deflection, turning and trap spells" (the same holds for SCS.....)

 

Please follow the instructions provided in the first post of this page ---> https://forums.beamdog.com/discussion/61886/sword-coast-stratagems-scs-threads/p2

They should work for both this mod and SCS......

Link to comment

Oh, it seems the latest version(s) of Weidu is busted or something - on version 24500 on a clean non-EE install, I have BG2 Fixpack failing to install with the same sort of "illegal 2-byte read" error. Downgrading weidu seemed to have fixed it.

 

(e): If you install SR first, and you use the Big World Fixpack's fixes, seems like everything installs fine and the spells in question are okay (although no doubt missing whatever latest changes the EEs have made). But installing SCS first corrupts those spells, and it's difficult to decipher why. So...if you use both mods, just install SR first (like you're supposed to anyways).

Edited by Bartimaeus
Link to comment

Oh, it seems the latest version(s) of Weidu is busted or something - on version 24500 on a clean non-EE install, I have BG2 Fixpack failing to install with the same sort of "illegal 2-byte read" error. Downgrading weidu seemed to have fixed it.

 

(e): If you install SR first, and you use the Big World Fixpack's fixes, seems like everything installs fine and the spells in question are okay (although no doubt missing whatever latest changes the EEs have made). But installing SCS first corrupts those spells, and it's difficult to decipher why. So...if you use both mods, just install SR first (like you're supposed to anyways).

Oh wow, Wisp should be informed of this...

Link to comment

.....(although no doubt missing whatever latest changes the EEs have made)......

From the Beamdog forums:

 

"If we are talking about SPWI618.spl then it's only the first effect in each header that was changed, the reason being is that SPWI618B.spl is cast when the spell deflection is exhausted which dispels the parent spell (SPWI618.spl). I cannot comment any further since I don't know exactly what is broken by the mentioned mod. This change btw applies to all other spell deflection, turning, and trap spells.

 

The reason those spells were changed is due to the hardcoded nature of the exhaust spell deflection/turning/trap spells. Once those spells are exhaused any remaining effects in the parent spell need to be removed (i.e. if a splstate is set). Otherwise, those extra effects will still remain when the spell becomes inactive.

 

In other words, opcodes 200, 201, 223, 226, 227, 228, and 259 now apply '(Resource).SPL' when they terminate. ----> Yes. Usually only one instance per header is enough if you've got more than one decrement opcode in the same header (i.e. for different spell levels)."

Link to comment

 

Oh, it seems the latest version(s) of Weidu is busted or something - on version 24500 on a clean non-EE install, I have BG2 Fixpack failing to install with the same sort of "illegal 2-byte read" error. Downgrading weidu seemed to have fixed it.

 

(e): If you install SR first, and you use the Big World Fixpack's fixes, seems like everything installs fine and the spells in question are okay (although no doubt missing whatever latest changes the EEs have made). But installing SCS first corrupts those spells, and it's difficult to decipher why. So...if you use both mods, just install SR first (like you're supposed to anyways).

Oh wow, Wisp should be informed of this...

 

If that's RE: weidu, I actually went to the weidu website and learned that 24600 is the latest version, and that seems to work fine (whereas 24500 consistently made BG2 Fixpack fail), so that problem seems to have already been solved.

 

@Luke: I see. SR reverts that change, since it hasn't been updated to take advantage of it, so that's why SCS suddenly works again. I checked all of the listed spells and items (for BG2) after installing, and none of them seem to be corrupted when installing SR first and then SCS second...but of course, the spell-state doesn't dispel itself when the spell deflection is exhausted, either.

Edited by Bartimaeus
Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...