Zyjacya
-
Posts
14 -
Joined
-
Last visited
Content Type
Forums
Events
Downloads
Gallery
Mods
News
Store
Posts posted by Zyjacya
-
-
Heya, so one of the cruxes of my gameplay is spending excessive amounts of time looking through my containers for scrolls/potions/items that i have saved up for certain situations. One of the things that I have always loved about Minecraft is the inventory sorting mod, and wanted to try and make something similar for BG. I have looked a little into modding tutorials (many of the links are broken from the collections i found), and also have some coding background to work with.
I have primarily only looked at scripting thus far, but it looks possible? There are a few things I was having trouble figuring out and wanted to ask directly.
1) Is there a way to access a player's inventory items, and their properties? I.e. I want to check if the user has any inventory items whose in-game name contain the string "holding", or for items with the item flag "short sword". This will be important for both checking what containers are in the inventory as well as whatever sorting algorithms I settle on using.
2) Is there a way to access a container in a player's inventory such that I can add or remove items directly to/from it? Relating to the sorting idea, I basically just want to save all the contents of my bags as a csv or something so i can then sort it with bubble or whatever and then put it back in in the new ordering.
3) Is there a better way to go about doing this? Scripting seems like the most viable avenue, but perhaps there's something that will be better to use than the DLTCEP script editor? Any recommendations in this area are appreciated.
And of course, it is possible that this already exists and I'm being a moron and am just not able to find it. In that case I would greatly appreciate direction towards it, though would also like answers to the questions above for my own curiosity and education.
Thanks!
Bard
-
1 hour ago, Jarno Mikkola said:
Gwendolyne was likely refering to the fact that the Steam BG2EE has a beta patch(v2.6) that is optional, but highly unlikely to be completely compatible with most mods, so backing back to v2.5.what-ever-the-latest-official version is, is the most likely your best bet.
I definitely have not opted into any beta stuff. I will double check to confirm and will let you know if I actually did somehow.
EDIT: No betas are opted into.
-
Yes, Modmerge.exe was placed in the BGEE folder where the dlc/sod-dlc.zip was located.
Likely the most recent version of the EE games, I might try to figure out how to roll back the games through steam to the previous patch.
-
Yes, I used the 12.2 download on K4thos' github page, and the zip is called "EET-1.0RC12.2.zip", and the extracted folder is "EET-1.0RC12.2". I tried it again with a new copy of the modmerged game files and a fresh download of the EET zip from the github and got the same result. Based on what I wrote in my step-by-step, is there somewhere I likely made a mistake? Or is this a new/unsolved bug?
Attmept 2, abridged log
SpoilerWeiDU v 24600 Log
C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate II Enhanced Edition\setup-EET.exe
[.\chitin.key] loaded, 877618 bytes
[.\chitin.key] 189 BIFFs, 62285 resources
[.\engine.lua] loaded, 104 bytes
WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")Choose your language:
0 [English]
1 [Polski (Polish)]
2 [Spanish]
3 [French]
4 [Czech]
5 [Russian]
Using Language [English]
[English] has 6 top-level TRA files
[EET/lang/en_US/prompts.tra] has 56 translation strings
[EET/lang/en_US/setup.tra] has 18 translation strings
[EET/lang/en_US/chapters.tra] has 95 translation strings
[EET/lang/en_US/dialog.tra] has 37 translation strings
[EET/lang/en_US/2da.tra] has 55 translation strings
[EET/lang/en_US/compatibility.tra] has 11 translation stringsPlease choose the language in which you wish to play the game.
If you later wish to play the game in a different language you will need to edit the file weidu.conf and reinstall your mods.
0 [German]
1 [English]
2 [Spanish]
3 [Italian]
4 [Korean]
5 [Polish]
6 [Russian]
7 [Simplified Chinese]
[.\lang\en_us\dialog.tlk] loaded, 11630279 bytes
[.\lang\en_us\dialog.tlk] 103241 string entriesUsing .\lang\en_us\dialog.tlk
Would you like to display the readme? [Y]es [N]o
Install Component [EET core (resource importation)]?
nstall, or [N]ot Install or [Q]uit?
Installing [EET core (resource importation)] [1.0 RC12]INTERACTIVE = 1
LANGUAGE = en_US
argv[0] = %argv[0]%
argv[1] = %argv[1]%
Copying and patching 1 file ...
[weidu.conf] loaded, 17 bytesLANGUAGE_BG2 = en_US
Creating 1 directory
Copying 1 file ...
Copying and patching 2 files ...
[EET/other/cpmvars/eet_cpmvars.tpa] loaded, 59981 bytes
[EET/other/EET_functions.tph] loaded, 43945 bytes
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 24 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 24 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 18 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)Enter the full path to your BG:EE+SoD installation then press Enter.
Example: C:\Program Files (x86)\BeamDog\Games\00806
User answer: "C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition"BG:EE directory used for this installation:
C:/Games/BGEE/BG - Modmerged - Copy (2)/Baldur's Gate Enhanced Edition
Copying and patching 1 file ...
Copied [.../bgee_dir.txt] to [EET/bgee_dir.txt] (NO BACKUP MADE!)LANGUAGE_BG1 = en_US
Copying 1 file ...
Copied [.../blank.txt] to [WeiDU-BGEE.log]
Copying 1 file ...
Copied [.../arch_var.bat] to [arch_var.bat]
[arch_var.txt] loaded, 8 bytesarch_var = x86_64\
lua assigned to EET\bin\win32\x86_64\lua.exe
ffmpeg assigned to EET\bin\win32\ffmpeg.exe
weidu assigned to EET\bin\win32\x86_64\weidu.exe
TLK merging...
Copying 1 file ...
Copied [.../append.tra] to [EET/temp/append.tra] (NO BACKUP MADE!)
Appending to files ...
[EET/temp/append.tra] loaded, 0 bytes
Appended text to [EET/temp/append.tra]
Copying and patching 1 file ...
[EET/temp/tlk_cnt.txt] loaded, 14 bytes
Copied [EET/temp/tlk_cnt.txt] to [EET/temp/tlk_cnt.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../string_set.tph] to [EET/temp/string_set.tph] (NO BACKUP MADE!)tlk_start = 103240; tlk_end = 271374
[EET/temp/string_set.tra] has 168135 translation stringsExtracting BG:EE resources...
Preparing are files...
Creating 1 directory
Copying and patching 1 file ...
[EET/temp/bash.debug] loaded, 91684 bytesWeiDU v 24600 Log
EET\bin\win32\x86_64\weidu.exe --noautoupdate --no-auto-tp2 --logapp --log EET\temp\bash.debug --game C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition --use-lang en_US --traify# 200000 --traify-tlk --out EET\temp\bgee.tra
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\chitin.key] loaded, 776685 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\chitin.key] 118 BIFFs, 55226 resources
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\engine.lua] loaded, 101 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] loaded, 8686163 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] 71375 string entries
WeiDU Timings
load TLK 0.000
loading files 0.000
unmarshal KEY 0.031
unmarshal TLK 0.031
stuff not covered elsewhere 0.078
TOTAL 0.141
WeiDU v 24600 Log
EET\bin\win32\x86_64\weidu.exe --noautoupdate --no-auto-tp2 --logapp --log EET\temp\bash.debug --game C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition --use-lang en_US --out EET\temp\patch\are --biff-get-rest ^.*\.are$
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\chitin.key] loaded, 776685 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\chitin.key] 118 BIFFs, 55226 resources
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\engine.lua] loaded, 101 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] loaded, 8686163 bytes
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] 71375 string entries
BIFF may be in hard-drive CD-path [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\DATA\AR02XX.BIF]
BIFF may be in hard-drive CD-path [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\cache\DATA\AR02XX.BIF]
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\DATA\AR02XX.BIF] 18872640 bytes, 109 files, 5 tilesets
[EET\temp\patch\are/AR0200.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR02XX.BIF]
[EET\temp\patch\are/AR0224.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR02XX.BIF]
[EET\temp\patch\are/AR0225.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR02XX.BIF]
[EET\temp\patch\are/AR0226.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR02XX.BIF]
BIFF may be in hard-drive CD-path [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\lang\en_us\DATA\AR1XXX.BIF]
BIFF may be in hard-drive CD-path [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\cache\DATA\AR1XXX.BIF]
[C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition\DATA\AR1XXX.BIF] 118910400 bytes, 792 files, 52 tilesets
[EET\temp\patch\are/AR1000.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR1XXX.BIF]
[EET\temp\patch\are/AR1001.ARE] created from [C:\Games\BGEE\BG - Modmerged - Copy (2)\Baldur's Gate Enhanced Edition/DATA/AR1XXX.BIF]
~~a ton more of this stuff~~
[data/eetWAV4.bif] incorporating [EET/TEMP/BIFF/EETWAV4/DN78.WAV]
[data/eetWAV4.bif] incorporating [EET/TEMP/BIFF/EETWAV4/DN77B.WAV]
[data/eetWAV4.bif] incorporating [EET/TEMP/BIFF/EETWAV4/DN77.WAV]
[data/eetWAV4.bif] incorporating [EET/TEMP/BIFF/EETWAV4/DN76.WAV]
[data/eetWAV4.bif] incorporating [EET/TEMP/BIFF/EETWAV4/DN75.WAV]
KEY saved (276 biffs, 81590 resources)
[chitin.key] loaded, 1150396 bytes
[chitin.key] 276 BIFFs, 81590 resources
Copying 1 file ...
Copied [.../blank.txt] to [override/EET.flag]
Appending to files ...
[./override/EET.FLAG] loaded, 0 bytes
Appended text to [EET.flag]'EET.flag' file is used by WeiDU to recognize the installation as EET
Copying 1 file ...
[EET\bin\win32\x86_64\weidu.exe] loaded, 1057792 bytes
Copied [EET\bin\win32\x86_64\weidu.exe] to [setup-EET_end.exe]
Copying 1 file ...
[EET\bin\win32\x86_64\weidu.exe] loaded, 1057792 bytes
Copied [EET\bin\win32\x86_64\weidu.exe] to [setup-EET_gui.exe]
Copying 1 file ...
Copied [.../userprofile.bat] to [EET/temp/userprofile.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/path.txt] loaded, 6 bytes
Copied [EET/temp/path.txt] to [EET/temp/path.txt] (NO BACKUP MADE!)
Copying 1 file ...
Copied [.../shortcut.bat] to [shortcut.bat] (NO BACKUP MADE!)
Copying 1 file ...
ERROR: error loading [EET/temp/EET.lnk]
Stopping installation because of error.
Stopping installation because of error.
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 #199057, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199056, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199055, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199054, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199053, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199052, out of range 0 -- 103241~~ more of this ~~
WARNING: Cannot uninstall STRING_SET #203967, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #203966, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #203965, out of range 0 -- 103241
Will uninstall 14405 files for [EET/EET.TP2] component 0.
Restoring backed-up [EET/backup/0/CHITIN.KEY]
EET/backup/0/CHITIN.KEY copied to CHITIN.KEY, 877618 bytes
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPPR100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPPR100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI200.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI200.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI966.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI966.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN204.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN204.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN400.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN400.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN401.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN401.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN500.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN500.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN501.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN501.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN502.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN502.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN503.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN503.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN504.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN504.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN505.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN505.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPCL100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPCL100.SPL")
Restoring backed-up [EET/backup/0/engine.lua]
EET/backup/0/engine.lua copied to engine.lua, 104 bytes
Restoring backed-up [EET/backup/0/pcu_dict.tph]
EET/backup/0/pcu_dict.tph copied to EET/lib/pcu_dict.tph, 89933 bytes
Restoring backed-up [EET/backup/0/Baldur.exe]
EET/backup/0/Baldur.exe copied to Baldur.exe, 5718016 bytes
Uninstalled 14405 files for [EET/EET.TP2] component 0.
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources~~more of this~~
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
Unable to Unlink [EET/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "EET/backup/0/READLN.0")
Unable to Unlink [EET/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "EET/backup/0/READLN.0.TEXT")
ERROR: Unix.Unix_error(20, "stat", "EET/temp/EET.lnk")
PLEASE email the file SETUP-EET.DEBUG to K4thos (swit)
Using Language [English]
[English] has 6 top-level TRA files
[EET/lang/en_US/prompts.tra] has 56 translation strings
[EET/lang/en_US/setup.tra] has 18 translation strings
[EET/lang/en_US/chapters.tra] has 95 translation strings
[EET/lang/en_US/dialog.tra] has 37 translation strings
[EET/lang/en_US/2da.tra] has 55 translation strings
[EET/lang/en_US/compatibility.tra] has 11 translation stringsInstall Component [EET core (resource importation)]?
nstall, or [N]ot Install or [Q]uit? Saving This Log:
6840602 characters, 168213 entries added to DIALOG.TLK
[.\lang\en_us\dialog.tlk] created, 271454 string entriesNOT INSTALLED DUE TO ERRORS EET core (resource importation)
WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
EXTEND_TOP 0.000
<<<<<<<< 0.000
OUTER_WHILE 0.000
unmarshal BIFF 0.000
ACTION_MATCH 0.000
ACTION_BASH_FOR 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
resolve labels 0.000
ACTION_DEFINE_ARRAY 0.000
ACTION_READLN 0.000
LAUNCH_ACTION_MACRO 0.000
DEFINE_ACTION_FUNCTION 0.000
INCLUDE 0.000
MKDIR 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
ADD_AREA_TYPE 0.000
strings to add 0.000
AT_NOW 0.000
APPEND_COL 0.000
AT_EXIT 0.000
OUTER_FOR 0.000
DEFINE_ACTION_MACRO 0.000
OUTER_INNER_PATCH 0.000
WITH_TRA 0.000
GET_DIRECTORY_ARRAY 0.000
Parsing TPP files 0.000
LAUNCH_ACTION_FUNCTION 0.000
DEFINE_PATCH_MACRO 0.000
OUTER_TEXT_SPRINT 0.000
Parsing TP2 files 0.016
STRING_SET_EVALUATE 0.016
ACTION_TO_UPPER 0.016
PRINT 0.016
ACTION_CLEAR_ARRAY 0.016
resolve strings 0.016
stuff not covered elsewhere 0.016
parsing .ids files 0.031
APPEND 0.031
EXTEND_BOTTOM 0.047
adding translation strings 0.063
process .D files 0.063
BUT_ONLY 0.063
unmarshal TLK 0.063
DISABLE_FROM_KEY 0.094
marshal and save TLK 0.094
ACTION_FOR_EACH 0.125
OUTER_SET 0.156
add strings to TLK 0.156
TP_ALTER_TLK_* 0.219
Parsing TPA files 0.266
marshal DLG 0.297
unmarshal DLG 0.297
COPY_LARGE 0.328
OUTER_SPRINT 0.344
ACTION_IF 0.359
parsing .tra files 0.391
ACTION_GET_STRREF 0.438
tp2 uninstall 0.578
STRING_SET_RANGE 0.703
MOVE 0.766
DELETE 0.906
marshal KEY 1.391
emit D 1.516
COMPILE 1.719
parsing .d files 1.969
loading files 2.141
COPY 2.969
parsing .baf files 3.609
BIFF 4.250
unmarshal KEY 6.531
STRING_SET 7.484
marshal BCS 7.828
saving files 8.297
parsing .bcs files 9.328
eval_pe 14.297
READ_* 34.703
process_patch2 41.453
function overhead 57.484
TOTAL 213.953
Executing: [rmdir /s /q EET\temp] -
I am clearly doing something wrong, as other people haven't had trouble, but I'm not sure what it is exactly that I'm messing up. Any help appreciated!
My order of operations:
1. Download BGEE+SOD and BGEE2 from steam, and start the games and make saves for BGEE, SOD, BG2EE and TOB
2. Copy both folders from common and paste them into a brand new folder on my hard drive (C://Games)
3. Make two copies of the unmodified games.
4. Modmerge one of the copies by putting Modmerge.exe inside the BGEE folder and running it.
5. Make a copy of the modmerged version
6. Extract the EET zip and copying its contents to the BG2 inside the copy of the modmerged version
7. Run the setup-EET.exe
SpoilerWeiDU v 24600 Log
C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate II Enhanced Edition\setup-EET.exe
[.\chitin.key] loaded, 877618 bytes
[.\chitin.key] 189 BIFFs, 62285 resources
[.\engine.lua] loaded, 104 bytes
WARNING: parsing log [WeiDU.log]: Sys_error("WeiDU.log: No such file or directory")Choose your language:
0 [English]
1 [Polski (Polish)]
2 [Spanish]
3 [French]
4 [Czech]
5 [Russian]
Using Language [English]
[English] has 6 top-level TRA files
[EET/lang/en_US/prompts.tra] has 56 translation strings
[EET/lang/en_US/setup.tra] has 18 translation strings
[EET/lang/en_US/chapters.tra] has 95 translation strings
[EET/lang/en_US/dialog.tra] has 37 translation strings
[EET/lang/en_US/2da.tra] has 55 translation strings
[EET/lang/en_US/compatibility.tra] has 11 translation stringsPlease choose the language in which you wish to play the game.
If you later wish to play the game in a different language you will need to edit the file weidu.conf and reinstall your mods.
0 [German]
1 [English]
2 [Spanish]
3 [Italian]
4 [Korean]
5 [Polish]
6 [Russian]
7 [Simplified Chinese]
[.\lang\en_us\dialog.tlk] loaded, 11630279 bytes
[.\lang\en_us\dialog.tlk] 103241 string entriesUsing .\lang\en_us\dialog.tlk
Would you like to display the readme? [Y]es [N]o
Install Component [EET core (resource importation)]?
nstall, or [N]ot Install or [Q]uit?
Installing [EET core (resource importation)] [1.0 RC12]INTERACTIVE = 1
LANGUAGE = en_US
argv[0] = %argv[0]%
argv[1] = %argv[1]%
Copying and patching 1 file ...
[weidu.conf] loaded, 17 bytesLANGUAGE_BG2 = en_US
Creating 1 directory
Copying 1 file ...
Copying and patching 2 files ...
[EET/other/cpmvars/eet_cpmvars.tpa] loaded, 59981 bytes
[EET/other/EET_functions.tph] loaded, 43945 bytes
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 24 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 24 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../programfiles.bat] to [EET/temp/programfiles.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/programfiles.txt] loaded, 18 bytes
Copied [EET/temp/programfiles.txt] to [EET/temp/programfiles.txt] (NO BACKUP MADE!)Enter the full path to your BG:EE+SoD installation then press Enter.
Example: C:\Program Files (x86)\BeamDog\Games\00806
User answer: "C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\chitin.key"Invalid directory, or incorrect BG:EE+SoD installation.
It is safe to abort this installation by closing this window or pressing Ctrl+C.Enter the full path to your BG:EE+SoD installation then press Enter.
Example: C:\Program Files (x86)\BeamDog\Games\00806
User answer: "C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition"BG:EE directory used for this installation:
C:/Games/BGEE/BG - Modmerged - Copy/Baldur's Gate Enhanced Edition
Copying and patching 1 file ...
Copied [.../bgee_dir.txt] to [EET/bgee_dir.txt] (NO BACKUP MADE!)LANGUAGE_BG1 = en_US
Copying 1 file ...
Copied [.../blank.txt] to [WeiDU-BGEE.log]
Copying 1 file ...
Copied [.../arch_var.bat] to [arch_var.bat]
[arch_var.txt] loaded, 8 bytesarch_var = x86_64\
lua assigned to EET\bin\win32\x86_64\lua.exe
ffmpeg assigned to EET\bin\win32\ffmpeg.exe
weidu assigned to EET\bin\win32\x86_64\weidu.exe
TLK merging...
Copying 1 file ...
Copied [.../append.tra] to [EET/temp/append.tra] (NO BACKUP MADE!)
Appending to files ...
[EET/temp/append.tra] loaded, 0 bytes
Appended text to [EET/temp/append.tra]
Copying and patching 1 file ...
[EET/temp/tlk_cnt.txt] loaded, 14 bytes
Copied [EET/temp/tlk_cnt.txt] to [EET/temp/tlk_cnt.txt] (NO BACKUP MADE!)
Copying and patching 1 file ...
Copied [.../string_set.tph] to [EET/temp/string_set.tph] (NO BACKUP MADE!)tlk_start = 103240; tlk_end = 271374
[EET/temp/string_set.tra] has 168135 translation stringsExtracting BG:EE resources...
Preparing are files...
Creating 1 directory
Copying and patching 1 file ...
[EET/temp/bash.debug] loaded, 88988 bytesWeiDU v 24600 Log
EET\bin\win32\x86_64\weidu.exe --noautoupdate --no-auto-tp2 --logapp --log EET\temp\bash.debug --game C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition --use-lang en_US --traify# 200000 --traify-tlk --out EET\temp\bgee.tra
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\chitin.key] loaded, 776685 bytes
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\chitin.key] 118 BIFFs, 55226 resources
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\engine.lua] loaded, 101 bytes
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] loaded, 8686163 bytes
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\lang\en_us\dialog.tlk] 71375 string entries
WeiDU Timings
load TLK 0.000
loading files 0.000
unmarshal KEY 0.016
unmarshal TLK 0.031
stuff not covered elsewhere 0.078
TOTAL 0.125
WeiDU v 24600 Log
EET\bin\win32\x86_64\weidu.exe --noautoupdate --no-auto-tp2 --logapp --log EET\temp\bash.debug --game C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition --use-lang en_US --out EET\temp\patch\are --biff-get-rest ^.*\.are$
[C:\Games\BGEE\BG - Modmerged - Copy\Baldur's Gate Enhanced Edition\chitin.key] loaded, 776685 bytes
....~~ A bunch of stuff that is repetitive and probably not relevant?~~
'EET.flag' file is used by WeiDU to recognize the installation as EET
Copying 1 file ...
[EET\bin\win32\x86_64\weidu.exe] loaded, 1057792 bytes
Copied [EET\bin\win32\x86_64\weidu.exe] to [setup-EET_end.exe]
Copying 1 file ...
[EET\bin\win32\x86_64\weidu.exe] loaded, 1057792 bytes
Copied [EET\bin\win32\x86_64\weidu.exe] to [setup-EET_gui.exe]
Copying 1 file ...
Copied [.../userprofile.bat] to [EET/temp/userprofile.bat] (NO BACKUP MADE!)
Copying and patching 1 file ...
[EET/temp/path.txt] loaded, 6 bytes
Copied [EET/temp/path.txt] to [EET/temp/path.txt] (NO BACKUP MADE!)
Copying 1 file ...
Copied [.../shortcut.bat] to [shortcut.bat] (NO BACKUP MADE!)
Copying 1 file ...
ERROR: error loading [EET/temp/EET.lnk]
Stopping installation because of error.
Stopping installation because of error.
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 #199057, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199056, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #199053, out of range 0 -- 103241
~~ a bunch of these ~~
WARNING: Cannot uninstall STRING_SET #203968, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #203967, out of range 0 -- 103241
WARNING: Cannot uninstall STRING_SET #203965, out of range 0 -- 103241
Will uninstall 14405 files for [EET/EET.TP2] component 0.
Restoring backed-up [EET/backup/0/CHITIN.KEY]
EET/backup/0/CHITIN.KEY copied to CHITIN.KEY, 877618 bytes
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPPR100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPPR100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI200.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI200.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPWI966.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPWI966.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN100.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN204.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN204.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN400.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN400.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN401.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN401.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN500.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN500.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN501.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN501.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN502.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN502.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN503.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN503.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN504.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN504.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPIN505.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPIN505.SPL")
Unable to Unlink [EET/temp/patch/spl/ADD_SPELL/SPCL100.SPL]: Unix.Unix_error(20, "unlink", "EET/temp/patch/spl/ADD_SPELL/SPCL100.SPL")
Restoring backed-up [EET/backup/0/engine.lua]
EET/backup/0/engine.lua copied to engine.lua, 104 bytes
Restoring backed-up [EET/backup/0/pcu_dict.tph]
EET/backup/0/pcu_dict.tph copied to EET/lib/pcu_dict.tph, 89933 bytes
Restoring backed-up [EET/backup/0/Baldur.exe]
EET/backup/0/Baldur.exe copied to Baldur.exe, 5718016 bytes
Uninstalled 14405 files for [EET/EET.TP2] component 0.
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
[.\CHITIN.KEY] loaded, 877618 bytes
~~ This repeates about 30 times ~~
[.\CHITIN.KEY] loaded, 877618 bytes
[.\CHITIN.KEY] 189 BIFFs, 62285 resources
Unable to Unlink [EET/backup/0/READLN.0]: Unix.Unix_error(20, "unlink", "EET/backup/0/READLN.0")
Unable to Unlink [EET/backup/0/READLN.0.TEXT]: Unix.Unix_error(20, "unlink", "EET/backup/0/READLN.0.TEXT")
ERROR: Unix.Unix_error(20, "stat", "EET/temp/EET.lnk")
PLEASE email the file SETUP-EET.DEBUG to K4thos (swit)
Using Language [English]
[English] has 6 top-level TRA files
[EET/lang/en_US/prompts.tra] has 56 translation strings
[EET/lang/en_US/setup.tra] has 18 translation strings
[EET/lang/en_US/chapters.tra] has 95 translation strings
[EET/lang/en_US/dialog.tra] has 37 translation strings
[EET/lang/en_US/2da.tra] has 55 translation strings
[EET/lang/en_US/compatibility.tra] has 11 translation stringsInstall Component [EET core (resource importation)]?
nstall, or [N]ot Install or [Q]uit? Saving This Log:
6840602 characters, 168213 entries added to DIALOG.TLK
[.\lang\en_us\dialog.tlk] created, 271454 string entriesNOT INSTALLED DUE TO ERRORS EET core (resource importation)
WeiDU Timings
OUTER_INNER_PATCH_SAVE 0.000
<<<<<<<< 0.000
OUTER_WHILE 0.000
unmarshal BIFF 0.000
ACTION_MATCH 0.000
ACTION_BASH_FOR 0.000
load TLK 0.000
DEFINE_PATCH_FUNCTION 0.000
resolve labels 0.000
ACTION_DEFINE_ARRAY 0.000
ACTION_READLN 0.000
LAUNCH_ACTION_MACRO 0.000
DEFINE_ACTION_FUNCTION 0.000
INCLUDE 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
ADD_AREA_TYPE 0.000
strings to add 0.000
AT_NOW 0.000
APPEND_COL 0.000
AT_EXIT 0.000
OUTER_FOR 0.000
STRING_SET_EVALUATE 0.000
DEFINE_ACTION_MACRO 0.000
ACTION_TO_UPPER 0.000
OUTER_INNER_PATCH 0.000
WITH_TRA 0.000
GET_DIRECTORY_ARRAY 0.000
ACTION_CLEAR_ARRAY 0.000
LAUNCH_ACTION_FUNCTION 0.000
resolve strings 0.000
DEFINE_PATCH_MACRO 0.000
EXTEND_TOP 0.016
parsing .ids files 0.016
BUT_ONLY 0.016
MKDIR 0.016
Parsing TP2 files 0.016
PRINT 0.016
Parsing TPP files 0.016
OUTER_TEXT_SPRINT 0.016
EXTEND_BOTTOM 0.031
adding translation strings 0.047
process .D files 0.047
DISABLE_FROM_KEY 0.047
APPEND 0.047
stuff not covered elsewhere 0.063
unmarshal TLK 0.063
ACTION_FOR_EACH 0.078
marshal and save TLK 0.094
OUTER_SPRINT 0.125
add strings to TLK 0.125
unmarshal DLG 0.125
OUTER_SET 0.141
marshal DLG 0.156
TP_ALTER_TLK_* 0.172
Parsing TPA files 0.203
ACTION_IF 0.250
COPY_LARGE 0.281
parsing .tra files 0.359
MOVE 0.391
tp2 uninstall 0.422
ACTION_GET_STRREF 0.453
STRING_SET_RANGE 0.609
DELETE 0.688
marshal KEY 1.047
emit D 1.141
COMPILE 1.297
parsing .d files 1.641
loading files 1.844
COPY 1.953
parsing .baf files 2.422
BIFF 3.609
unmarshal KEY 5.078
STRING_SET 5.469
marshal BCS 6.250
saving files 7.063
parsing .bcs files 7.641
eval_pe 11.250
READ_* 25.828
process_patch2 31.922
function overhead 43.344
TOTAL 163.938
Executing: [rmdir /s /q EET\temp]
Bags of Holding and Inventory Scripting
in Modding Q&A
Posted
Ah that is unfortunate, if the answer I expected. I would actually be plenty satisfied with an external tool, that I could just periodically run out-of-game, and it would just sort the bags it find in the save game, if that would make it any more possible. I don't really have the skills or motivation to reverse-engineer the raw memory, but if weidu can let me work at level of programming closer to the surface I'd be interested in learning more about it. I did take a look at weidu but didn't go too far since I'm not super experienced with command-line scripting, just conventional programming.
Thanks for the response, even if it's not what I was hoping to hear! The more I delve into the code of the game the more I feel like it could benefit from a complete re-working of the engine as a whole, made with good programming technique and some foresight. Probably never gonna happen, but a guy can dream.