SCS Mod on OSX
mr_nameless
Member Posts: 37
Trying to install on OS X 10.8, at some point during the Initialise Mod stage I get this error, "resource [bolt02\n.ITM] not found for 'COPY'," and the installation aborts.
Due to some missing/cannot locate ITM files the Initialize stage cannot complete.
I get this from the Weidu log:
SFO: Applying patch(es) to ITM file(s) arow02 ax1h02 ax1h07 blun03 blun05 blun07 bolt02
dagg02 dart02 halb02 hamm02 staf02 sw1h02 sw1h05
sw1h08 sw1h14 sw1h22 sw1h24 sw1h98 sw2h02...
ERROR Installing [Initialise mod (all other components require this)], rolling back to previous state
Will uninstall 2127 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
Uninstalled 2127 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
ERROR: Failure("resource [bolt02\n.ITM] not found for 'COPY'")
PLEASE email the file SETUP-STRATAGEMS.DEBUG to davidw, Gibberlings3 forums
Can anyone run SCS V.23 without this problem on OSX (10.8) ?
Due to some missing/cannot locate ITM files the Initialize stage cannot complete.
I get this from the Weidu log:
SFO: Applying patch(es) to ITM file(s) arow02 ax1h02 ax1h07 blun03 blun05 blun07 bolt02
dagg02 dart02 halb02 hamm02 staf02 sw1h02 sw1h05
sw1h08 sw1h14 sw1h22 sw1h24 sw1h98 sw2h02...
ERROR Installing [Initialise mod (all other components require this)], rolling back to previous state
Will uninstall 2127 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
Uninstalled 2127 files for [STRATAGEMS/SETUP-STRATAGEMS.TP2] component 1000.
ERROR: Failure("resource [bolt02\n.ITM] not found for 'COPY'")
PLEASE email the file SETUP-STRATAGEMS.DEBUG to davidw, Gibberlings3 forums
Can anyone run SCS V.23 without this problem on OSX (10.8) ?
0
Comments
Basically, the SCS files use DOS line endings, and split some lists across multiple lines. Either alone would work, but together they screw up WeiDU.
Let me see if I can fix it...
Here's a magic incantation -- use at your own risk, no warranty provided or implied, following these instructions may kill your dog, do not taunt the happy fun ball, etc. -- which got most of the mod to install for me: Copy & paste that into Terminal.app and see if your install gets farther. If the parts you want don't show any errors, your game may even run! (Mine doesn't until I remove the mod.)
Cheers, -- N
perl -V
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:
Platform:
osname=darwin, osvers=12.0, archname=darwin-thread-multi-2level
uname='darwin b1026.apple.com 12.0 darwin kernel version 12.0.0: tue may 15 23:31:29 pdt 2012; root:xnu-2050.6.70~1release_x86_64 x86_64 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=clang'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='clang', ccflags ='-arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='clang -mmacosx-version-min=10.8', ldflags ='-arch i386 -arch x86_64 -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch i386 -arch x86_64 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Locally applied patches:
/Library/Perl/Updates/ comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jun 20 2012 13:55:28
@INC:
/Library/Perl/5.12/darwin-thread-multi-2level
/Library/Perl/5.12
/Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12
/Library/Perl/Updates/5.12.4
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12
.
(It's really a pity I can't have multiple Override folders... would make testing this kind of stuff much easier.)
If it does print a bunch of file names, then try this: This will find all the 'tph' and 'tpa' files, instead of me trying to remember where the files were. :-)
EDIT: Almost all of SCS installed and it seems to be running fine! BG boots up at least.
I installed PERL (see above link) and had a copy of Weidu in my resources folder.
Then, via Terminal:
cd '/Applications/Baldur'\''s Gate - Enhanced Edition/Game Data/00777/Baldur'\''s Gate - Enhanced Edition.app/Contents/Resources/'
find stratagems -name '*.tp[ha]' -exec perl -pi -e 's/\r\n/\n/g' \{} \;
Subsequently "BG Mac mod installer v2" allowed for installation of SCS.
Have to check wether the game actually runs, but based on the information given in Terminal, it seems to be doing fine...
EDIT: yup, the game still runs. Didn't encounter many mages yet, but they will probably be much harder now!