When trying to install a Jini mod (version 2.7), the following message appears and the installation is interrupted:
CODE
ERROR locating resource for 'CHAIN3'
Resource [RH#ISRAJ.DLG] not found in KEY file:
[./chitin.key]
ERROR: preprocessing APPEND_EARLY [tb#_compile_eval_buffer/Jini/Dialogue/RJBFAY1.d]: Failure("resource [RH#ISRAJ.DLG] not found for 'CHAIN3'")
Stopping installation because of error.
This is due to the fact that I do not have Isra mod installed, and RJBFAY1.d is trying to process the file from this mod.
The same is with the Sirene mod - the file RJBFAY1.d uses the C0SIREN file, which may not be present if the Sirene mod is not installed, and this will lead to an installation error.
tipun from our Russian Arcanecoast Team's forum suggested the following solutions:
1) either transfer dialogs with Isra and Sirenу from RJBFAY1.d into separate d.-files and compile them depending on the availability of these mods
2) either make it so that the dialog does not start:
QUOTE
// Sirene #1 - To Fight or not to Fight
CHAIN IF WEIGHT #-10 ~%sirene_false%G("RJFayBanter",1)
Global("RJFASIB1","LOCALS",0)
InParty("C0Sirene")
See("C0Sirene")
!StateCheck("C0Sirene",CD_STATE_NOTVALID)~ THEN RJFAY1 RJFASIB1
@350 DO ~SetGlobal("RJFayBanter","GLOBAL",0) SetGlobal("RJFASIB1","LOCALS",1)~
== RJFAY1 @351
== IF_FILE_EXISTS C0SIRENJ @352
== RJFAY1 @353 = @354 = @355
== IF_FILE_EXISTS C0SIRENJ @356
== RJFAY1 @357
== IF_FILE_EXISTS C0SIRENJ @358
== RJFAY1 @359
== IF_FILE_EXISTS C0SIRENJ @360
== RJFAY1 @361 = @362
== IF_FILE_EXISTS C0SIRENJ @363
== RJFAY1 @364 = @365
END
IF ~~ THEN EXIT
// Isra #1 - To Sack or not to Sack
CHAIN IF WEIGHT #-10 ~%isra_false%G("RJFayBanter",1)
Global("RJFASIB1","LOCALS",0)
InParty("rh#isra")
See("rh#isra")
!StateCheck("rh#isra",CD_STATE_NOTVALID)~ THEN RJFAY1 RJFAISB1
@400 DO ~SetGlobal("RJFayBanter","GLOBAL",0) SetGlobal("RJFAISB1","LOCALS",1)~
== RJFAY1 @401 = @402
== IF_FILE_EXISTS RH#ISRAJ @403
== RJFAY1 @404
== IF_FILE_EXISTS RH#ISRAJ @405
== RJFAY1 @406
== IF_FILE_EXISTS RH#ISRAJ @407 = @408
== RJFAY1 @409 = @410
== IF_FILE_EXISTS RH#ISRAJ @411 = @412
== RJFAY1 @413
== IF_FILE_EXISTS RH#ISRAJ @414
== RJFAY1 @415
END
IF ~~ THEN EXIT
And add the following code to the tp2-file (in ALWAYS block):
Sirene:
CODE
ACTION_IF FILE_EXISTS_IN_GAME ~C02SIREJ.dlg~ BEGIN
OUTER_SPRINT ~sirene_false~ ~~
END ELSE BEGIN
OUTER_SPRINT ~sirene_false~ ~False()~
END
Isra:
CODE
ACTION_IF FILE_EXISTS_IN_GAME ~RH#ISRAJ.dlg~ BEGIN
OUTER_SPRINT ~isra_false~ ~~
END ELSE BEGIN
OUTER_SPRINT ~isra_false~ ~False()~
END
tipun said that if you do not add the
% isra_false% variable and simply remove the replicas via IF_FILE_EXIST, then there may be problems if Isra mod was installed AFTER Jini mod. In this case, the dialog will start, but there will be no Isra's replicas. Therefore, either this option 2 or option 1 can solve the problem.