Skip to content

Commit 599bab2

Browse files
authored
Merge pull request #169 from CamDawg/master
fix: EEFP compatibility, modernized readmes
2 parents 1d8b1ca + 356576d commit 599bab2

File tree

11 files changed

+2652
-2870
lines changed

11 files changed

+2652
-2870
lines changed

EET/EET.tp2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BACKUP ~EET/backup~
22
AUTHOR ~K4thos (swit)~
3-
VERSION ~V13.4~
3+
VERSION ~v14.0~
44
README ~EET/lang/%LANGUAGE%/readme-EET.html~ ~EET/readme-EET.html~
55

66
LANGUAGE ~English~
@@ -219,8 +219,10 @@ END
219219
///// Detect mods installed on BG:EE \\\\\
220220
///// \\\\\
221221

222+
OUTER_SET cd_eefp_bgee = 0
222223
ACTION_IF FILE_EXISTS ~%bgee_dir%/WeiDU.log~ BEGIN
223224
COPY + ~%bgee_dir%/WeiDU.log~ ~%MOD_FOLDER%/temp~
225+
COUNT_REGEXP_INSTANCES "^~EEFIXPACK/SETUP-EEFIXPACK\.TP2~ #[0-9]+ #0" cd_eefp_bgee
224226
REPLACE_TEXTUALLY ~^//.*~ ~~ //removes "Recently uninstalled" lines
225227
COUNT_REGEXP_INSTANCES "^~SOA/SETUP-SOA\.TP2~ #[0-9]+ #1 " num_matches
226228
PATCH_IF (num_matches > 0) BEGIN

EET/docs/Modder's Notes.html

Lines changed: 2025 additions & 2242 deletions
Large diffs are not rendered by default.
580 KB
Loading

EET/lib/bg1_BCS.tph

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,10 @@ COPY_EXISTING ~BD6100.BCS~ ~override~
13461346
REPLACE_TEXTUALLY ~%textToReplace%~ ~~
13471347
PATCH_PRINT ~Patching: %num_matches% matches found in %SOURCE_FILESPEC% for REPLACE_TEXTUALLY: %textToReplace%~
13481348
END ELSE BEGIN
1349-
PATCH_WARN ~WARNING: could not find %textToReplace% in %SOURCE_FILESPEC%~
1349+
// camdawg: OK if not a match since we don't want it here (EEFP removes it anyway)
1350+
PATCH_IF !cd_eefp_bgee BEGIN
1351+
PATCH_WARN ~WARNING: could not find %textToReplace% in %SOURCE_FILESPEC%~
1352+
END
13501353
END
13511354
SPRINT textToReplace ~\(ApplySpellRES("bdremove",Player1)\)~
13521355
COUNT_REGEXP_INSTANCES ~%textToReplace%~ num_matches
@@ -1391,7 +1394,8 @@ EXTEND_TOP ~BD6100.BCS~ ~.../BD6100-et.baf~
13911394
//BD6200.BCS
13921395
COPY_EXISTING ~BD6200.BCS~ ~override~
13931396
DECOMPILE_AND_PATCH BEGIN
1394-
SPRINT textToReplace ~CreateCreature("bdimoen",\[775\.705\],E)[%newline%]*ActionOverride("bdimoen",MakeGlobalOverride())~
1397+
// camdawg: matching bdimoen (bgee 2.6 and incorrect) and imoen (eefp and correct) -- imoen converted to imoen2 by earlier work
1398+
SPRINT textToReplace ~CreateCreature("bdimoen",\[775\.705\],E)[%newline%]*ActionOverride("\(bdimoen\|imoen2\)",MakeGlobalOverride())~
13951399
COUNT_REGEXP_INSTANCES ~%textToReplace%~ num_matches
13961400
PATCH_IF (num_matches > 0) BEGIN
13971401
REPLACE_TEXTUALLY ~%textToReplace%~ ~ActionOverride("IMOEN2",SetGlobal("K#PartySoD","LOCALS",1))

EET/lib/bgee_fixpack.tph

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ COPY_EXISTING ~PRINCESS.ITM~ ~override~
4848
LPF EET_PCU_core END
4949
BUT_ONLY
5050

51+
ACTION_IF !cd_eefp_bgee BEGIN // if eefp was installed on bgee prior to merge, none of this should be necessary
52+
5153
//http://gibberlings3.net/forums/index.php?showtopic=28161&page=19#entry246196
5254
COPY_EXISTING ~BDPETR01.CRE~ ~override~
5355
~BDPETR02.CRE~ ~override~
@@ -58,7 +60,7 @@ COPY_EXISTING ~BDPETR01.CRE~ ~override~
5860
PATCH_IF (~%default%~ STR_EQ ~DPLAYER3~) BEGIN
5961
WRITE_ASCII 0x268 ~~ #8
6062
END ELSE BEGIN
61-
PATCH_WARN ~WARNING: %BASH_FOR_FILE% no longer needs fixing~
63+
PATCH_WARN ~WARNING: %SOURCE_FILE% no longer needs fixing~
6264
END
6365
BUT_ONLY
6466

@@ -286,7 +288,9 @@ BUT_ONLY
286288
LPF REPLACE_AREA_ITEM STR_VAR old_item = SLNG03 new_item = SLNG05 END
287289
BUT_ONLY*/
288290

291+
END // eefp check
292+
289293
COPY_EXISTING ~IMPORT02.2DA~ ~override~
290294
PRETTY_PRINT_2DA
291295
REPLACE_TEXTUALLY ~ SLNG03$~ ~ SLNG05~
292-
BUT_ONLY
296+
BUT_ONLY

EET/readme-EET.html

Lines changed: 367 additions & 482 deletions
Large diffs are not rendered by default.

EET/style/g3_logo_2018.gif

6.08 KB
Loading

EET/style/g3banner.bmp

0 Bytes
Binary file not shown.

EET/style/g3readme.css

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)