haze Posted July 8, 2017 Share Posted July 8, 2017 Anybody have any success using EET with OSX? I have tried 4 times now. I cross posted on the SCS bugs forum, too. Not sure if it is an SCS or EET issue.I have been trying a new install of the BG Series using BGEE, BGEE SoD, BG2EE and EET on OSX. I have installed BGEE and BG2EE, but wanted to do a fresh install with SoD and EET. There are a couple of workarounds to make the various mods work with EET, but I kept getting error with SCS. First time was during the the Smarter General AI component. Then when I tried to install SCS again it would hiccup on the first component. So, I uninstalled all of the games and mods, reinstalled, started the process again got to SCS and it had an error again. So, I uninstalled again .... reinstalled and this time just tried SCS on clean BG2EE. Worked fine using subltedoctor's hot fix and NOT the BiG World Fixpack. So, once again I went through the whole process. This time unpacking SCS after I ran the BiG World Fixpack, included subtle doctor's hotfix and SCS crashed again. This time on the Ease of Use component. Grrrr. Here is my install order based off forum posts for EET and the BWP PDF: BGEE BGEE SoD BGIIEE BGEE Mods (1) BG1NPC BG1NPC Music BG1NPCs BG1 Unfinished Business *all EET Ascension BGE Mini Quests and Encounters *all Lure of the Siren’s Call Assassinations Back to Brynnlaw Amber Kivan Angelo Isra Kelsey/Tashia Keto de’Arnise Romance Imoen Romance Crossmod Banter Unfinished Business Alternatives The Wheels of Prophecy Dungeon Be Gone IWDification Divine Remix Song & Silence Rogue Rebalancing WSR Refinements CDTweaks SCS I unpacked SCS after running BiG Fixpack like I did in my previous test installing SCS into BG2EE by itself (which was successful). This time it had an error when installing Ease of Use AI. 2nd time it acted up at this step. Including and running function(s) ease_of_use_ai Copying and patching 1 file ... [stratagems/ease/ease_of_use_ai.tpa] loaded, 500 bytes Copied [stratagems/ease/ease_of_use_ai.tpa] to [stratagems_external/workspace/ease_of_use_ai.tpa] Compiling 1 script ... ERROR: error loading [stratagems_external/workspace/ssl_out/0dw#gen.baf] ERROR: compiling [stratagems_external/workspace/ssl_out/0dw#gen.baf]! 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. 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 [Ease-of-use party AI], rolling back to previous state Quote Link to comment
subtledoctor Posted July 8, 2017 Share Posted July 8, 2017 Can't help - never done amodder EET install. But I feel like the heart of SCS is the General AI, Smarter Mages/Priests, and Better Calls for Help. If any of the other components fail, I can live with it. Quote Link to comment
haze Posted July 8, 2017 Author Share Posted July 8, 2017 Exactly. And two of those are the ones giving me fits. Quote Link to comment
K4thos Posted July 8, 2017 Share Posted July 8, 2017 (edited) answered in this topic: http://gibberlings3.net/forums/index.php?showtopic=27035&page=30&do=findComment&comment=254586 Unreleted to EET. Based on previous reports from 2014 (vanilla GOG BG2 installation) the solution to this problem was installing on different 32-bit system. That sounds odd. Not sure how to deal with it on MAC but if this was on windows I would suggest enabling full administrator control for user (UAC settings), moving the game out of Program Files and disabling all antivirus/other background programs. Maybe try running this mac code in terminal: chmod +x path_to_the_weidu_installator Edited July 8, 2017 by K4thos Quote Link to comment
StefanO Posted August 13, 2017 Share Posted August 13, 2017 answered in this topic: http://gibberlings3.net/forums/index.php?showtopic=27035&page=30&do=findComment&comment=254586 Unreleted to EET. Based on previous reports from 2014 (vanilla GOG BG2 installation) the solution to this problem was installing on different 32-bit system. That sounds odd. Not sure how to deal with it on MAC but if this was on windows I would suggest enabling full administrator control for user (UAC settings), moving the game out of Program Files and disabling all antivirus/other background programs. Maybe try running this mac code in terminal: chmod +x path_to_the_weidu_installator In the directory with the osx weidu executable yon will find a folder bin/osx with 4 executables without execution flags. They have to be changed too: chmod +x ffmpeg lua tile2ee tileconv If you are using the latest MacOS version Sierra both "tile2ee" and "tileconv" will not run because they are packed with a binary packer named "upx" unsupported in Sierra. They have to be unpacked first. upx -d tile2ee upx -d tileconv The upx tool itself can be installed via a package manager like "brew" (https://brew.sh/) Quote Link to comment
K4thos Posted August 13, 2017 Share Posted August 13, 2017 (edited) If you are using the latest MacOS version Sierra both "tile2ee" and "tileconv" will not run because they are packed with a binary packer named "upx" unsupported in Sierra. They have to be unpacked first. is it normal that apps stop working after normal operating system update? Like damn, what about backward compatibility. In the directory with the osx weidu executable yon will find a folder bin/osx with 4 executables without execution flags. They have to be changed too: chmod +x ffmpeg lua tile2ee tileconv It's already in the code: AT_NOW ~chmod +x %MOD_FOLDER%/bin/%WEIDU_OS%/%arch_var%lua~ EXACT AT_NOW ~chmod +x %MOD_FOLDER%/bin/%WEIDU_OS%/ffmpeg~ EXACT AT_NOW ~chmod +x %MOD_FOLDER%/bin/%WEIDU_OS%/%arch_var%tileconv~ EXACT AT_NOW ~chmod +x %MOD_FOLDER%/bin/%WEIDU_OS%/%arch_var%tile2ee~ EXACT The upx tool itself can be installed via a package manager like "brew" (https://brew.sh/) Any chance for pull request directly on Github? Can't say I know what exactly I should add to the code. All Mac related code in EET comes from external contributions. I never used MAC OS in my life (or even seen this OS to be more precise) . Edited August 13, 2017 by K4thos Quote Link to comment
argent77 Posted August 13, 2017 Share Posted August 13, 2017 If you are using the latest MacOS version Sierra both "tile2ee" and "tileconv" will not run because they are packed with a binary packer named "upx" unsupported in Sierra. They have to be unpacked first. Latest tileconv and tile2ee should be compatible with macOS Sierra. Quote Link to comment
K4thos Posted August 13, 2017 Share Posted August 13, 2017 Thanks, updated tools are now available on Github. Quote Link to comment
StefanO Posted August 14, 2017 Share Posted August 14, 2017 (edited) I found another OSX related problem. The relative path to the bg2ee executable is wrong (line 2430 in EET.tp2). I changed line 2430 to OUTER_SPRINT exec ~./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition~ and setup-EET installs without warning. In the setup-EET.debug file following lines are found: Copying and patching 1 file ... [./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition] loaded, 15079584 bytes ./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition copied to EET/backup/0/BaldursGateIIEnhancedEdition, 15079584 bytes Copied [./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition] to [./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition] Hopefully this is intended. Another problem with setup-END: /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file /bin/sh: ./setup-EET: No such file or directory Copying 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Appending to files ... Copying and patching 1 file ... SUCCESSFULLY INSTALLED EET end - last mod in install order Press ENTER to exit. No idea what causes this. EET can be played anyway. Edited August 14, 2017 by StefanO Quote Link to comment
K4thos Posted August 14, 2017 Share Posted August 14, 2017 (edited) I found another OSX related problem. The relative path to the bg2ee executable is wrong (line 2430 in EET.tp2). I changed line 2430 to it looks like on different digital distribution platforms the path can be different. I've changed it to: ACTION_IF ~%WEIDU_OS%~ STR_EQ ~win32~ BEGIN OUTER_SPRINT exec ~Baldur.exe~ END ELSE ACTION_IF ~%WEIDU_OS%~ STR_EQ ~osx~ BEGIN ACTION_IF FILE_EXISTS ~BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition~ BEGIN OUTER_SPRINT exec ~./BaldursGateIIEnhancedEdition.app/Contents/MacOS/BaldursGateIIEnhancedEdition~ END ELSE ACTION_IF FILE_EXISTS ~../MacOS/BaldursGateIIEnhancedEdition~ BEGIN OUTER_SPRINT exec ~../MacOS/BaldursGateIIEnhancedEdition~ END ELSE BEGIN FAIL ~Baldur's Gate II executable not found~ END END ELSE BEGIN //unix ACTION_IF FILE_EXISTS ~./BaldursGateII~ BEGIN OUTER_SPRINT exec ~./BaldursGateII~ END ELSE BEGIN FAIL ~Baldur's Gate II executable not found~ END END Another problem with setup-END: Please upload whole SETUP-EET_END.DEBUG file. I suspect Baldur's Gate - Enhanced Edition Trilogy/Baldur.lua file located in your local directory hasn't been patched. If that's the case external GUI mods won't be able to detect that it's EET installation (they do it from within LUA code by checking 'Program Options','EET Installation State','2' baldur.lua value presence). Edited August 14, 2017 by K4thos Quote Link to comment
StefanO Posted August 14, 2017 Share Posted August 14, 2017 Sure. setup-eet_end.debug.zip Quote Link to comment
K4thos Posted August 14, 2017 Share Posted August 14, 2017 (edited) This line: AT_NOW ~./setup-EET --noautoupdate --no-auto-tp2 --traify-tlk --min %str_min% --out "%USER_DIRECTORY%/save/saves.tra"~ should be changed to: AT_NOW ~./EET/weidu_%WEIDU_OS% --noautoupdate --no-auto-tp2 --traify-tlk --min %str_min% --out "%USER_DIRECTORY%/save/saves.tra"~ If you will be able to re-install the component without the message after making this change I will push new version on Github. Edited August 14, 2017 by K4thos Quote Link to comment
StefanO Posted August 14, 2017 Share Posted August 14, 2017 Partly successful. 2 error messages remain: Extending game scripts ... /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file [./EET/weidu_osx] WeiDU version 24200 [./chitin.key] 275 BIFFs, 81753 resources [./lang/en_us/dialog.tlk] 271402 string entries Copying 1 file ... Copying and patching 1 file ... Copying and patching 1 file ... Appending to files ... Copying and patching 1 file ... SUCCESSFULLY INSTALLED EET end - last mod in install order Press ENTER to exit. setup-eet_end.debug.zip Quote Link to comment
StefanO Posted August 14, 2017 Share Posted August 14, 2017 The engine.lua file is patched: eet> diff engine.lua ../00782/engine.lua 1c1 < engine_name = "Baldur's Gate - Enhanced Edition Trilogy" --- > engine_name = "Baldur's Gate II - Enhanced Edition" Quote Link to comment
K4thos Posted August 14, 2017 Share Posted August 14, 2017 eet> diff engine.lua ../00782/engine.lua 1c1 < engine_name = "Baldur's Gate - Enhanced Edition Trilogy" --- > engine_name = "Baldur's Gate II - Enhanced Edition" I don't understand this syntax. If you mean that engine.lua has "Baldur's Gate - Enhanced Edition Trilogy" in it than that's how it's supposed to be. Quote Link to comment
Recommended Posts
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.