Jump to content

Tried to install EET on a clean EE games, CULTIST_NEUTRAL popped up. Bug.


Recommended Posts

Was installing the "Installing [EET core (resource importation)] [V13.4]" And It gave me this in the setup-eet.debug:

...
[EET\temp\patch\bcs/BDNORES2.BCS] created from [C:\Users\Jarno\Pelit\BG1EE/SOD-DLC/SCRIPTS.BIF]

[EET\temp\patch\bcs/BDNOREST.BCS] created from [C:\Users\Jarno\Pelit\BG1EE/SOD-DLC/SCRIPTS.BIF]

[EET\temp\patch\bcs/BDNUBER.BCS] created from [C:\Users\Jarno\Pelit\BG1EE/SOD-DLC/SCRIPTS.BIF]
...

And later:

override/BDNEREID.bcs copied to EET/backup/0/BDNEREID.bcs, 44702 bytes
override/BDNONIN.bcs copied to EET/backup/0/BDNONIN.bcs, 9242 bytes
override/BDNORES2.bcs copied to EET/backup/0/BDNORES2.bcs, 1954 bytes

[EET/temp/patch/baf/BDNOREST.baf] PARSE ERROR at line 44 column 1-57
Near Text: )
	unknown object SPECIFIC specifier [CULTIST_NEUTRAL]

[EET/temp/patch/baf/BDNOREST.baf]  ERROR at line 44 column 1-57
Near Text: )
	Parsing.Parse_error
ERROR: parsing [EET/temp/patch/baf/BDNOREST.baf]: Parsing.Parse_error
ERROR: error compiling [EET/temp/patch/baf/BDNOREST.baf]: Parsing.Parse_error
ERROR: compiling [EET/temp/patch/baf/BDNOREST.baf]!
Stopping installation because of error.

ERROR Installing [EET core (resource importation)], rolling back to previous state
Unable to Unlink [EET/backup/0/OTHER.0]: Unix.Unix_error(1, "unlink", "EET/backup/0/OTHER.0")
WARNING: Cannot uninstall STRING_SET #215999, out of range 0 -- 103611

... which fails the install.
So how do I fix this ?

Link to comment

This error seems to come up occasionally (e.g. here or there). I've seen it mentioned several times on Discord as well. Unfortunately nobody made the effort yet to identify the cause and just tried with a clean BGEE installation instead.

The SPECIFIC.IDS value "CULTIST_NEUTRAL" does not exist in the base game (BGEE or BG2EE), so it's most likely some kind of conflict with another mod.

Link to comment

Well, here's my BG1EE weidu.log's content...

Quote

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
~DLCMERGER/DLCMERGER.TP2~ #0 #1 // Merge DLC into game -> Merge "Siege of Dragonspear" DLC: 1.5

Ouh, and the source is from GoG, and it is the laters version, install files being:

Quote

setup_baldurs_gate_enhanced_edition_2.6.6.0_(64bit)_(46870).exe
setup_baldurs_gate_enhanced_edition_2.6.6.0_(64bit)_(46870)-1.bin
setup_baldurs_gate_siege_of_dragonspear_2.6.6.0_(64bit)_(46870).exe
setup_baldurs_gate_siege_of_dragonspear_2.6.6.0_(64bit)_(46870)-1.bin

 

Link to comment

BG1EE(+SoD) specifics.ids (coming from the SoDIDS.dif, knowing this thanks to NearInfinity 😛 😞

IDS V1.0
0 NONE
1 NORMAL
5 UNDERDARK
9 THIEF
10 ALLIES
11 ALLIES2
12 ALLIES3
15 ALLIES_NEUTRAL
16 ALLIES_NEUTRAL2
17 FIEND
18 ORC
19 NEUTRALS
20 HOSTILES
20 CRUSADERS
21 HOSTILES2
22 HOSTILES3
23 HOSTILES4
24 IRON_THRONE
30 SPAWN
40 DARK_MOON
50 SLAYER
60 FIEND_SUMMONED
64 SORCERER
77 CULT2
101 MAGIC
102 NO_MAGIC
127 PRIEST
150 UNDEAD
160 BEETLE
161 SACRIFICE
183 DROW
201 AUTINN_CREW
202 LUCILLA_CREW
203 GOOD_DRUID
204 DARK_DRUID
205 PETRIFIED
250 SPIRIT
251 SPECTACLES_QUEST

BG2EE's specific.ids:
It's in the override folder, but I onlyu installed the EET on it, which failed... but it's stiull in the override.

5
1 NORMAL  
101 MAGIC
102 NO_MAGIC
12 SHARRAN
64 SHOU_MONK
65 SHOU_FLAYER
66 QUADIM_SPIDER
10 CULTIST
67 CULAK_SPIDER
250 SPIRIT
150 WATER_DWELLING
0 NONE
5 UNDERDARK
9 THIEF
2 ALLIES
11 ALLIES2
3 ALLIES3
15 ALLIES_NEUTRAL
16 ALLIES_NEUTRAL2
17 FIEND
18 ORC
19 NEUTRALS
20 HOSTILES
4 CRUSADERS
21 HOSTILES2
22 HOSTILES3
23 HOSTILES4
24 IRON_THRONE
30 SPAWN
40 DARK_MOON
50 SLAYER
60 FIEND_SUMMONED
6 SORCERER
77 CULT2
127 PRIEST
7 UNDEAD
160 BEETLE
161 SACRIFICE
183 DROW
201 AUTINN_CREW
202 LUCILLA_CREW
203 GOOD_DRUID
204 DARK_DRUID
205 PETRIFIED
251 SPECTACLES_QUEST

.. will reinstall the BG2EE later and give the clean spacific.ids, later.
As the what I saw from the debug, it the weidu doesn't revert the interrupted installs file back to clean format, for I don't know why.

Link to comment
Posted (edited)

Here's a clean BG2EE's (from GOG, from setup_baldurs_gate_ii_enhanced_edition_2.6.6.0_(64bit)_(46870) & setup_baldurs_gate_ii_enhanced_edition_2.6.6.0_(64bit)_(46870)-1.bin -files)
Specific.ids:

5
1 NORMAL  
101 MAGIC
102 NO_MAGIC
12 SHARRAN
64 SHOU_MONK
65 SHOU_FLAYER
66 QUADIM_SPIDER
10 CULTIST
67 CULAK_SPIDER
250 SPIRIT

Ouh, and the likely reason that the files don't revert is that the weidu needs to jump folders to retreave the data. Which has ugly results...

Edited by Jarno Mikkola
Link to comment

These files are identical with the files from the Beamdog and Steam version.

The only hint I could find in the EET code is an array with replacement strings, which also includes a "CULTIST => ALLIES" entry. Since there is an ALLIES_NEUTRAL entry in SPECIFIC.IDS (and that very entry is used by BDNOREST.BCS) it is possible that a bad replacement operation changes ALLIES_NEUTRAL into CULTIST_NEUTRAL under certain conditions and causes the compiler error afterwards. But that's only a guess for now.

Link to comment
10 minutes ago, argent77 said:

These files are identical with the files from the Beamdog and Steam version.

The only hint I could find in the EET code is an array with replacement strings, which also includes a "CULTIST => ALLIES" entry. Since there is an ALLIES_NEUTRAL entry in SPECIFIC.IDS (and that very entry is used by BDNOREST.BCS) it is possible that a bad replacement operation changes ALLIES_NEUTRAL into CULTIST_NEUTRAL under certain conditions and causes the compiler error afterwards. But that's only a guess for now.

Yeah, I can see that and it happens.
Erhm, so how do we fix this ? I would expect that the "cultist => allies" 'replacement' would need to check the string lenght... but I don't know how that's done. Or just replace the whole thing in some better way, so the compiler doesn't choke on it(self).

Link to comment

I was able to reproduce this error by manually adding the entry "2 ALLIES" to SPECIFIC.IDS in BG2EE, so you can avoid this issue locally by installing EET on a clean BG2EE game.

Fixing it in EET itself is probably more complicated. The relevant code portion seems to be generated dynamically during the EET core installation. The whole "code generation" part looks a bit too messy to me to mess with it.

Link to comment
Posted (edited)
2 hours ago, argent77 said:

... so you can avoid this issue locally by installing EET on a clean BG2EE game.

Erhm, but the thing you don't get is that I tried to install iot to a CLEAN BG2EE game, with no mod, nothing.
So my next move is to override the BG2EE's own specific.ids with a cleaned up version of the combination of both games... so it look like:

IDS V1.0
0 NONE
1 NORMAL
5 UNDERDARK
9 THIEF
10 ALLIES
10 CULTIST
11 ALLIES2
12 ALLIES3
12 SHARRAN
15 ALLIES_NEUTRAL
16 ALLIES_NEUTRAL2
17 FIEND
18 ORC
19 NEUTRALS
20 HOSTILES
20 CRUSADERS
21 HOSTILES2
22 HOSTILES3
23 HOSTILES4
24 IRON_THRONE
30 SPAWN
40 DARK_MOON
50 SLAYER
60 FIEND_SUMMONED
64 SHOU_MONK
64 SORCERER
65 SHOU_FLAYER
66 QUADIM_SPIDER
67 CULAK_SPIDER
77 CULT2
101 MAGIC
102 NO_MAGIC
127 PRIEST
150 UNDEAD
160 BEETLE
161 SACRIFICE
183 DROW
201 AUTINN_CREW
202 LUCILLA_CREW
203 GOOD_DRUID
204 DARK_DRUID
205 PETRIFIED
250 SPIRIT
251 SPECTACLES_QUEST

Which should allow the EET's code to skip the patching rutine. And now I get:
 

Quote

...
SUCCESSFULLY INSTALLED  EET core (resource importation)

        WeiDU Timings
OUTER_INNER_PATCH_SAVE           0.000
EXTEND_TOP                       0.000
...

So it worked.
And now, trying to recreate the error with the same clean installs, it installs fine. ??? .. for some reason.

Edited by Jarno Mikkola
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...