Help: BGT 1.14 on Mac OS X 10.6
#41
Posted 25 February 2012 - 08:31 AM
I was able to start up the game and create a character with your first TP2 (although I started in the Duchal Palace LOL!).
setup-bgt-1-results.7z 164.02K 266 downloads
With you second TP2 I got the same assertions as before.
setup-bgt-2-results.7z 156.41K 274 downloads
The zip files above contain the .DEBUG files as well as my baldur.ini and the binaries and scripts in my bgt/install/osx folder
#42
Posted 25 February 2012 - 09:08 AM
Next test: setup-bgt.tp2 366.11K 405 downloads
Be aware that what I'm doing is to cut off vital parts of the installation, so that's why you won't be able to play a BGT game with that... But so, I have enormously reduced the range of commands which could cause your issue.
Another thing which could be useful: install with the original .tp2, and post the resulting chitin.key, as well as the chitin.key from your wine installation
If you get assertions, another thing you could try is to uninstall the tests and install the bigg's Generalized biffing instead, and see if you can launch the game after that.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#43
Posted 25 February 2012 - 10:22 AM
The new test .tp2 you gave me also loaded and I made a character (which started in the Duchal Palace again)
setup-bgt-3-results.7z 204.51K 339 downloads
I've also attached results from the "beta" setup-bgt.tp2 you gave me installed with Weidu for Mac and Weidu for PC via Wine's command shell
setup-bgt-beta-results.7z 281.93K 347 downloads
setup-bgt-wine-results.7z 282.97K 341 downloads
EDIT: Note that all of these 7z's contain the CHITIN.KEY file.
Edited by GammaLeak, 25 February 2012 - 10:28 AM.
#44
Posted 25 February 2012 - 10:38 AM
See the attached results:
genbiff-all-files.7z 103.64K 272 downloads
genbiff-only-wav-tis-bam.7z 95.37K 281 downloads
#45
Posted 25 February 2012 - 10:58 AM
The new files I gave you had different BIFF commands commented out. When only area files, tilesets etc were biffed, you did not have assertions. If wav files were biffed, you got them.
This test on generalized biffing should definitely decide whether it's only wavs who create problems, or not.
Edit: no need. I think I've figured out. Inside the chitin.key, all new biffs are listed as DATA:[BIFFNAME].BIF, whereas the original ones are listed as DATA\[BIFFNAME].BIF
That's probably the error.
It would be interesting to know how the chitin.key of the original OSX game looks like, IE, if the : is correct for mac, or if it's wrong. In the first case, I'll need to devise a patch; that should be quite easy, though.
In the second case, I'll report it on the WeiDU forum (actually, I'll probably report it anyway).
I'll build an OSX version of BGT and a patch for the .KEY in some days...
Edited by Turambar, 25 February 2012 - 11:08 AM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#46
Posted 25 February 2012 - 11:47 AM
I opened the CHITIN.KEY and replaced every instance of "BIFDATA:" with "BIFDATA\" and now the full BGT install using the Mac version of WeiDU works; no assertions!
OK, so here's what I think is going on. The PC version uses '\' as the separator, as you noticed. The Mac version of BG2:SoA/ToB appears to have used ':' as the separator.
However, in my case (and probably for most people these days), I'm installing the PC version with Wine(skin) and then modifying it with the Mac version of WeiDU. The "problem" in the WeiDU code is in arch_osx.ml.
arch_osx.ml, line 43
let biff_path_separator = ":"
Yet, for those who are still actually installing and using the Mac version of BG2, that's probably correct.
So, somehow the WeiDU code needs to be changed to identify whether or not it's dealing with a PC version of BG2 or a Mac version of BG2 and use the appropriate separator based on that. Right now it assumes WeiDU assumes that if it's running on a Mac it's going to be modifying a Mac version of BG2, but it shouldn't make that assumption.
I'd make the change myself and send it to whoever maintains WeiDU, but I don't know much about the ml programming language or about WeiDU's code base.
Edited by GammaLeak, 25 February 2012 - 11:47 AM.
#47
Posted 25 February 2012 - 01:20 PM
The mac version, AFAIK, is maintained by DevSin, but I don't know how the work is shared between him and the bigg.
IMO, WeiDU for Mac should somehow detect what version has been installed, and use the correct separator. In fact, not all games have a Mac version; PST must be run on Mac through wine AFAIK (even though it keeps the biffs in the game folder, so there's no need for separators), and I don't know if BG1 and IWD1 for Mac exist...
in the meantime, I could write a patch for Chitin.key, to be installed after all other mods, which makes biffs created with Weidu for Mac wine-compatible.
Something like
COPY ~chitin.key~ ~chitin.key~ REPLACE_TEXTUALLY CASE_INSENSITIVE EXACT_MATCH ~\(data\):~ ~\1\\~ BUT_ONLYpreceded by the necessary flags and stuff, could work, but it should be tested to check that it doesn't corrupt anything (working on the .key is a bit dangerous...).
Edit: here is the fix, to be installed after any other mod.
I'll still need to edit BGT for Mac, so please test it with generalized biffing: biff first, then install this, then try to play: Tu-Mac-Wine fix.7z 608.81K 341 downloads
Edited by Turambar, 25 February 2012 - 01:58 PM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#48
Posted 25 February 2012 - 04:05 PM
setup-tu-mac-wine-results.7z 92.89K 271 downloads
An examination of the CHITIN.KEY reveals why that might be. The generalized biffing mod has different casing. Instead of "BIFDATA:" it leaves behind "BIFdata:". I changed the ':' to a '\' and then the game loaded up.
Also, the WeiDU executable (which you had renamed as "setup-tu-mac-wine") didn't want to run right away.
- The .tp2 was not named correctly. It needs to be named "setup-tu-mac-wine.tp2" and not just "tu-mac-wine.tp2"
- For some reason it didn't find the tp2 in the subfolder. When I moved the tp2 up to the main bg2 folder than it worked.
Thanks for all your help with this! It's exciting that we've found the problem. A fix to WeiDU would solve the problem for good, I think.
#49
Posted 26 February 2012 - 12:57 AM
No, that was not the problem, I had already taken case into account. I just realized... if you look at the .tp2, it says (IIRC) CASE_INSENSITIVE EXACT_MATCH, but then I used a regexp.I tried your fix and unfortunately it didn't work.
setup-tu-mac-wine-results.7z 92.89K 271 downloads
An examination of the CHITIN.KEY reveals why that might be. The generalized biffing mod has different casing. Instead of "BIFDATA:" it leaves behind "BIFdata:". I changed the ':' to a '\' and then the game loaded up.
So, it should be CASE_INSENSITIVE EVALUATE_REGEXP.
Please try like that
Weidu usually allows a setup-test executable to look for setup-test.tp2, test.tp2, test/test.tp2 and test/setup-test.tp2. Perhaps, if you call the executable setup-test.command, does anything change?Also, the WeiDU executable (which you had renamed as "setup-tu-mac-wine") didn't want to run right away.
- The .tp2 was not named correctly. It needs to be named "setup-tu-mac-wine.tp2" and not just "tu-mac-wine.tp2"
- For some reason it didn't find the tp2 in the subfolder. When I moved the tp2 up to the main bg2 folder than it worked.
Thanks for all your help with this! It's exciting that we've found the problem. A fix to WeiDU would solve the problem for good, I think.
Edited by Turambar, 26 February 2012 - 01:00 AM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#50
Posted 26 February 2012 - 05:00 AM
As for running the mod, it appears that the Mac version of WeiDU (at the very least) is somewhat finnicky about the naming of the mod.
You have:
setup-tu-mac-wine tu-mac-wine -> tu-mac-wine.tp2
It refuses to run that. However, if you change all but one of the '-' to '_' then it works. So for instance, this will run:
setup-tu_mac_wine tu_mac_wine -> tu_mac_wine.tp2
#51
Posted 26 February 2012 - 05:42 AM
If it does, I'll upload it inside "IE modding tools", or some-place like that; I'll build the Mac version of BGT sometimes next week
Edited by Turambar, 26 February 2012 - 05:44 AM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#52
Posted 26 February 2012 - 01:34 PM
#53
Posted 14 March 2012 - 07:54 AM
I'm editing BGT for better compatibility on all platforms, and I'd like to include them in the package, if it's possible.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#54
Posted 14 March 2012 - 02:31 PM
Binaries (tis2bg2, tis/mosunpack): put them into bgt/install/osx/mac/ : the .tp2 will now look for the files inside .../%WEIDU_OS%/%WEIDU_ARCH%, to prepare support for 64-bit binaries (eg, for OSx Lion+).
BGT115-beta.7z 13.64MB 339 downloads
Another new feature in this beta: you can (in all OSs) pass system-path as last argument (in --args-list); in that case, weidu will look for the required binaries in the system path instead of %WEIDU_OS%/%WEIDU_ARCH% folder; that could be useful in case you have compiled the files yourself (eg, because your architecture is different from the one of the binaries provided).
Installed correctly on Linux and wine (even though the latter lasted an awful lot of time); does it work on mac too? You'll still need the fix for the key file I posted some time ago
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#55
Posted 15 March 2012 - 07:44 AM
I thought I had already asked you, but I can't find it; can you please upload the ppc version of the mac binaries for tis2bg2 and mosunpack?
I'm editing BGT for better compatibility on all platforms, and I'd like to include them in the package, if it's possible.
Hi Turambar!
Were you able to find these? Your follow up post after this would seem to indicate you did.
Thanks!
#56
Posted 15 March 2012 - 02:51 PM
besides, the archive contains a lot of crap; it's only for testing purpose, if it works, I'll clean it up
edit: I've found tis2bg2 and tisunpack; could you please upload mosunpack again? is it PPC compatible?
Edited by Turambar, 15 March 2012 - 02:57 PM.
Turambar
Currently supporting: DSotSC for BGT, NTotSC - forum
Turambar's fixes and tweaks for BG2, BGT, DSotSC, NTotSC, SoBH and more!
Before posting questions (even regarding posts written by myself), please look at Jarno Mikkola's FAQs for the Megamods!
(how to correctly report CTDs)
#57
Posted 15 March 2012 - 04:45 PM
edit: I've found tis2bg2 and tisunpack; could you please upload mosunpack again? is it PPC compatible?
If I remember correctly, you gave me the Mac/PPC versions of tis2bg2 and tisunpack earlier in this thread.
As for mosunpack... I had to find and build the source myself from Wisp's upload here. It doesn't have any PPC binaries in that package, unfortunately.
Maybe devSin has a PPC-compiled version up somewhere...?
#58
Posted 15 March 2012 - 06:17 PM
#59
Posted 15 March 2012 - 07:21 PM
Semi-OT: I wish there were Linux binaries of tizpack/tisunpack/tis2bg2/mospack - mainly for Linux support in mods, but whatever.
Download Turambar's BGT115-beta.7z file (see the link a few posts above). It's got the "unpack" versions and tis2bg2 compiled for *nix machines. Look under:
bgt/install/unix/x86
It doesn't have the "pack" executables though....
Edited by GammaLeak, 15 March 2012 - 07:21 PM.
#60
Posted 16 March 2012 - 02:11 AM
Also tagged with one or more of these keywords: BGT-Weidu, Mac, OS X, 1.14, Install, Troubleshoot
Modding →
Mega Modifications →
Mega Mod Help →
Project Infinity Mass Mod Install for EET on Windows 10 Help Sought: WStarted by Endarire, 23 Feb 2020 project infinity, PI, mod, mods and 1 more... |
|
|||
Modding →
Visual and Audio Mods →
1PP →
EET Support and Project infinity Installation Instructions/Load Order?Started by Endarire, 02 Jan 2020 EET, project, infinity, install and 2 more... |
|
|||
Modding →
IE Modding →
IE Help →
Question about BiG World FixpackStarted by ilgatto, 21 Nov 2018 BWP, BGT-WeiDU, BiG World Fixpack |
|
|||
Modding →
Mega Modifications →
Mega Mod Help →
Baldurs Gate Trilogy Install problem?Started by -Guts- , 22 Mar 2017 trilogy, install, bws, bgt |
|
|
||
Modding →
Mega Modifications →
BGT-WeiDU →
BGT Archive →
Need help with Weidu on mac/installing BGTStarted by -Hereward- , 16 Jan 2015 mac |
|