K4thos Posted August 18, 2019 Share Posted August 18, 2019 (edited) 3 hours ago, jastey said: Same SYSTEM_ARCH error message: System is Windows 10 32bit, BG 1EE, SoD and BG 2EE from Beamdog, EET 1.0 RC12 Link to error message: https://www.baldurs-gate.de/index.php?threads/erstellung-einer-faq.44724/page-5#post-1077458 please run this bat file and post here what text is present in "arch_var.txt" file (created by arch_var.bat in the same directory) arch_var.bat Edited August 18, 2019 by K4thos Quote Link to comment
argent77 Posted August 18, 2019 Share Posted August 18, 2019 @K4thos This EET function may fail on non-64-bit Windows systems: Spoiler DEFINE_ACTION_FUNCTION GET_SYSTEM_ARCH RET SYSTEM_ARCH BEGIN ACTION_MATCH "%WEIDU_OS%" WITH win32 BEGIN <<<<<<<< .../arch_var.bat @echo off if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64 if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64 SET arch_var=x86 goto OUT :AMD64 SET arch_var=amd64 :OUT echo %arch_var% >arch_var.txt >>>>>>>> COPY ~.../arch_var.bat~ ~arch_var.bat~ AT_NOW ~call arch_var.bat~ ACTION_IF (FILE_CONTAINS_EVALUATED (~arch_var.txt~ ~amd64~)) BEGIN OUTER_SPRINT SYSTEM_ARCH ~amd64~ END DELETE + ~arch_var.txt~ END osx unix BEGIN OUTER_SPRINT SYSTEM_ARCH ~x86~ AT_NOW ~echo $(uname -m) >arch_var.txt~ ACTION_IF (FILE_CONTAINS_EVALUATED (~arch_var.txt~ ~x86_64~)) BEGIN OUTER_SPRINT SYSTEM_ARCH ~amd64~ END DELETE + ~arch_var.txt~ END DEFAULT END ACTION_IF (~%SYSTEM_ARCH%~ STRING_EQUAL ~~) BEGIN OUTER_SPRINT SYSTEM_ARCH ~%WEIDU_ARCH%~ END END Within the "win32" branch SYSTEM_ARCH is only set if an AMD64 system is detected. After the switch-case operation you're testing content of SYSTEM_ARCH for empty string, but that'll work only for initialized variables. Uninitialized variables will be treated as literal string content by WeiDU - %SYSTEM_ARCH% in this case. Use this code to check whether SYSTEM_ARCH is still uninitialized: ACTION_IF (NOT VARIABLE_IS_SET ~SYSTEM_ARCH~) BEGIN Btw, I'd suggest to delete arch_var.bat after the function call as well. Quote Link to comment
K4thos Posted August 18, 2019 Share Posted August 18, 2019 thanks, will be fixed in the next version. Quote Link to comment
guinesser Posted August 31, 2019 Share Posted August 31, 2019 (edited) Hey, I've got this problem with EET installation. BGEE BGSoD and BG2EE all gog ver. 2.5. What to do? Spoiler Patching NEERA.BCS: 5 => Global("chapter","GLOBAL",17) Patching NEERA.BCS: 5 => Global("chapter","GLOBAL",17) Patching NEERA.BCS: 5 => GlobalGT("chapter","GLOBAL",17) ERROR: BIFF [.\DATA\RASAAD.BIF] cannot be loaded: Failure("BIFF file signature unsupported: \003\000\000\000\000\000\000\000") ERROR locating resource for 'COPY' Resource [OH4000.BCS] not found in KEY file: [./chitin.key] Stopping installation because of error. Stopping installation because of error. BLAD podczas instalacji [EET core (import zasobow)], powrot do poprzedniego stanu Will uninstall 265 files for [EET/EET.TP2] component 0. Uninstalled 265 files for [EET/EET.TP2] component 0. ERROR: Failure("resource [OH4000.BCS] not found for 'COPY'") PROSZE, wyslij plik SETUP-EET.DEBUG do K4thos (swit) Using Language [Polski (Polish)] Edited August 31, 2019 by Mike1072 fixed formatting 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.