subtledoctor Posted October 9, 2014 Author Share Posted October 9, 2014 I don't have time to play-test at the moment but I'll take a look at the installation scripts later tonight. Link to comment
StefanO Posted October 23, 2014 Share Posted October 23, 2014 You asked for feedback from OS X users. I'm running OS X 10.10 (Yosemite) on my MacBook. sox (from sarahtob) runs fine. tisunpack (from bg2_tweks) failed. Error message: ./bg2_tweaks/tiz/osx/tisunpack dyld: Library not loaded: /usr/local/lib/libjpeg.8.dylib Referenced from: /Applications/Baldur's Gate II - Enhanced Edition/Game Data/00782/BaldursGateIIEnhancedEdition.app/Contents/Resources/./bg2_tweaks/tiz/osx/tisunpack Reason: image not found Trace/BPT trap: 5 tisunpack misses a libjpeg installed in /usr/local/lib. After installing libjpeg via "brew", tisunpack runs fine. Perhaps tisunpack can be linked with a static libjpeg. I don't know. I'd like to say "Thank you very much" to everyone who puts so much effort in providing mods for native OS X users. Cheers, Stefan Link to comment
Mike1072 Posted October 23, 2014 Share Posted October 23, 2014 I grabbed this version of tisunpack from the WeiDU archive. If anyone can compile a better version for OS X, please do! The source code can be found here. Link to comment
StefanO Posted October 24, 2014 Share Posted October 24, 2014 I grabbed this version of tisunpack from the WeiDU archive. If anyone can compile a better version for OS X, please do! The source code can be found here. After reading a bit: In order to link tisunpack with a static (included) jpeg-Library one first has to make a static libjpeg. I've done so with the current jpeg-9a-Version. After that I compiled tisunpack with the compiler options "-O3 -arch i386 -arch x86_64" and linked it with the static libjpeg.a. tisunpack runs on my system (x86_64, OS X 10.10 Yosemite). It should on 32- and 64-bit systems. Because I'm new to this game I do not know how to provide the binaries to the community in a propper way. Please enlighten me. Cheers, Stefan Link to comment
Mike1072 Posted October 24, 2014 Share Posted October 24, 2014 Cool. You should probably give the tisunpack binary to Wisp so he can include it in the WeiDU package. You can also send it my way and I'll make sure future G3 mod releases use it rather than the old one. Link to comment
subtledoctor Posted October 24, 2014 Author Share Posted October 24, 2014 I'm running Mountain Lion, so if you first want me to test it out and make sure something compiled on Yosemite will run on earlier versions of OSX just PM me. Link to comment
subtledoctor Posted October 28, 2014 Author Share Posted October 28, 2014 Both the tisunpack bundled with BG2Tweaks v16 and StefanO's run fine on my 10.8 system. (Well, I mean the mod installed fine with either one in the /tiz folder. I assume that means tisunpack was working fine.) Link to comment
Jarno Mikkola Posted October 28, 2014 Share Posted October 28, 2014 This was (the third post) never answered ? Posted this cause it could be kinda important. Link to comment
StefanO Posted October 28, 2014 Share Posted October 28, 2014 Because my tisunpack failed on a Lion (10.7) MacBook with a segmentation fault I compiled a new one on 10.7. The binary runs now on 10.7 and 10.10. Hopefully on 10.8 and 10.9 too. If somebody with a 10.8 or 10.9 can please verify this. Here's the public dropbox link to the new compiled tisunpack: https://www.dropbox.com/s/8fv71bo3tkyyyfw/tisunpack?dl=0 Cheers, Stefan Link to comment
StefanO Posted October 28, 2014 Share Posted October 28, 2014 This was (the third post) never answered ? Posted this cause it could be kinda important. Both weidu and weinstall failed on my 10.10 (Yosemite) MacBook. Error message for both: Illegal instruction: 4 Cheers, Stefan Link to comment
subtledoctor Posted October 28, 2014 Author Share Posted October 28, 2014 The binary runs now on 10.7 and 10.10. Hopefully on 10.8 and 10.9 too. If somebody with a 10.8 or 10.9 can please verify this. To make sure I'm helping, is there a preferred method to check this? I can drop it into the BG2Tweaks /tiz folder and install a bunch of components, but that gives me no feedback about tisunpack. Can I assume it is properly working in the background if 10 or 20 components install without complaint? Is there a better/more precise way to test? Link to comment
StefanO Posted October 28, 2014 Share Posted October 28, 2014 The binary runs now on 10.7 and 10.10. Hopefully on 10.8 and 10.9 too. If somebody with a 10.8 or 10.9 can please verify this. To make sure I'm helping, is there a preferred method to check this? I can drop it into the BG2Tweaks /tiz folder and install a bunch of components, but that gives me no feedback about tisunpack. Can I assume it is properly working in the background if 10 or 20 components install without complaint? Is there a better/more precise way to test? 1. Ensure tisunpack runs at all: Run ./tisunpack without arguments and it should display the usage message: ./tisunpack Usage: tisunpack [-s] [-f] [-o outfile.tis] infile.tiz args: -s Be silent. Supply twice for really silent. -h Don't write the 24-byte tis header. -f Force overwrite of existing output file. -d Dither 24-bit tiles. -o outfile.tis Select output file. The default is <infile>.tis. -e Do not halt on errors. -V Print version number and exit 2. Replace tisunpack in the unpacked mods, e.g. assuming the new tisunpack is stored as /tmp/tisunpack. Then cd ...BG resource directory... find . -name tisunpack -exec cp -a /tmp/tisunpack {} \; finds all tisunpack binaries in all unpacked mods. They are being replaced by the new binary /tmp/tisunpack. 3. Now install the mod. If tisunpack is used at all, you'll see messages like this (from my questpack install): Processing QUESTPACK/LICH/TIZ/D0AR01.TIZ... Unpacking 1189 tiles in QUESTPACK/LICH/TIZ/D0AR01.TIZ to questpack/lich/tiz/D0AR01.tis unpacked 626 tiles with method 0, 0 tiles with method 1, 563 tiles with method 2 or from Amber Processing AMBER/TIZ/M#AR01.TIZ... Unpacking 300 tiles in AMBER/TIZ/M#AR01.TIZ to amber/tiz/M#AR01.tis unpacked 0 tiles with method 0, 0 tiles with method 1, 300 tiles with method 2 Copying 1 file ... Processing AMBER/TIZ/M#AR02.TIZ... Unpacking 564 tiles in AMBER/TIZ/M#AR02.TIZ to amber/tiz/M#AR02.tis unpacked 311 tiles with method 0, 0 tiles with method 1, 253 tiles with method 2 Copying 1 file ... Processing AMBER/TIZ/M#AR03.TIZ... Unpacking 482 tiles in AMBER/TIZ/M#AR03.TIZ to amber/tiz/M#AR03.tis unpacked 244 tiles with method 0, 0 tiles with method 1, 238 tiles with method 2 Copying 1 file ... Processing AMBER/TIZ/M#AR04.TIZ... Unpacking 360 tiles in AMBER/TIZ/M#AR04.TIZ to amber/tiz/M#AR04.tis unpacked 205 tiles with method 0, 0 tiles with method 1, 155 tiles with method 2 Copying 1 file ... Processing AMBER/TIZ/M#AR05.TIZ... Unpacking 130 tiles in AMBER/TIZ/M#AR05.TIZ to amber/tiz/M#AR05.tis unpacked 82 tiles with method 0, 0 tiles with method 1, 48 tiles with method 2 Copying 1 file ... Processing AMBER/TIZ/M#AR06.TIZ... Unpacking 479 tiles in AMBER/TIZ/M#AR06.TIZ to amber/tiz/M#AR06.tis unpacked 229 tiles with method 0, 0 tiles with method 1, 250 tiles with method 2 Unfortunately I never saw tisunpack messages while installing bg2_tweaks. I don't know which tweak-option triggers the use of tisunpack. Cheers, Stefan Link to comment
CamDawg Posted October 29, 2014 Share Posted October 29, 2014 Unfortunately I never saw tisunpack messages while installing bg2_tweaks. I don't know which tweak-option triggers the use of tisunpack.tisunpack is only used by Tweaks in one place--the new NORH map for Sensible Entrance Points, and only for BG2/BGT (not BGIIEE) games. A quicker check might be G3 Anniversary. It's got both sox and tisunpack going for it, though I can't remember if it's using HANDLE_ macros or not. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.