Jump to content


Photo

BGT on Linux


  • Please log in to reply
14 replies to this topic

#1 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 15 June 2008 - 06:04 PM

I've tried installing BGT on Mandriva 2008.1. Running Setup-BGT.exe via Wine was unsuccessful, nothing happened. Then I used this guide - Linux WeiDU works fine, but running Setup-BGT causes errors (the debug log attached).
Any hints welcome :)

Attached Files


Edited by Itarilde, 15 June 2008 - 06:07 PM.


#2 Taimon

Taimon
  • Member
  • 387 posts

Posted 15 June 2008 - 09:54 PM

BGT checks for the files BGT/Input.txt, BGT/bg1.tra and BG1CRE/D2ISL.CRE (all relative to the BG2 install) and fails in your case.
The error message was discussed before.

By the way, I suggest upgrading to the current version (1.05b) instead of 1.04.

#3 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 16 June 2008 - 05:07 AM

Thanks for reply!

BGT checks for the files BGT/Input.txt, BGT/bg1.tra and BG1CRE/D2ISL.CRE

I've got only bg1.tra, the rest is missing. How can I get them?

#4 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 16 June 2008 - 09:59 AM

Nevermind, all files were put in appropiate directories. However, BGT returns an error when it tries to unpack creature.bif (at least I think so). Here it is:

Attached Files



#5 Taimon

Taimon
  • Member
  • 387 posts

Posted 16 June 2008 - 10:41 AM

Is addy.cre in the bg1cre directory?
It might be a case issue. On Linux, WeiDU converts all filenames to lowercase internally.

#6 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 16 June 2008 - 12:17 PM

Well, addy.cre is not here. I tried to extract this from creature.bif using NI - although addy.cre is listed here, clicking the file causes an error, something like "creature.bif was not found". Oddly enough, it does exist.

#7 Taimon

Taimon
  • Member
  • 387 posts

Posted 16 June 2008 - 12:57 PM

No idea. Must be something with your BG1 install. Try copying weidu to the BG1 directory and run a --biff-get addy.cre there.

#8 Psykotik

Psykotik
  • Member
  • 74 posts

Posted 17 June 2008 - 05:18 AM

In my experience, due to the lack of support (and lack of linux knowledge - and will) of modders, you're better installing on Windows, and then copy-paste on linux. It works really like a charm, but you have to own still a windows partition; I keep it ONLY for BG :)

#9 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 17 June 2008 - 05:32 AM

In my experience, due to the lack of support (and lack of linux knowledge - and will) of modders, you're better installing on Windows, and then copy-paste on linux. It works really like a charm, but you have to own still a windows partition; I keep it ONLY for BG :)

Alternatively, isn't there some Windows emulation you can use via Linux?

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#10 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 17 June 2008 - 10:23 AM

you're better installing on Windows, and then copy-paste on linux

I don't have any Windows partitions. My HDD isn't too big and I'm sick of M$ right now.

Try copying weidu to the BG1 directory and run a --biff-get addy.cre there.

That's what I got:
[magda@localhost Baldur]$ WeiDU --biff-get addy.cre
[WeiDU] WeiDU version 20700

ERROR: Unable to find CHITIN.KEY in:
		.
		/BGII - SoA

FATAL ERROR: Failure("Unable to find CHITIN.KEY: run me in an Infinity Engine game directory")
Yes, I've checked thrice, WeiDU is in the right directory and chitin.key exists here.

Alternatively, isn't there some Windows emulation you can use via Linux?

As far as I know, Wine is the only free software. However, both BG and BG2 are listed as supported apps.

I think I'll try to reinstall both games, maybe this time everything will work... Or I'll download an older version of Wine.

#11 Taimon

Taimon
  • Member
  • 387 posts

Posted 17 June 2008 - 10:40 AM

This is most likely the case issue I mentioned above.

#12 Psykotik

Psykotik
  • Member
  • 74 posts

Posted 18 June 2008 - 04:37 PM

Alternatively, isn't there some Windows emulation you can use via Linux?


As Itarilde pointed out, generally speaking, Wine does perfectly its job. It is not exactly an emulator (more a windows rewriting), but can run most (when not all) of my apps.

HOWEVER... it can't not yet manage .bat files. I'm not sure even this function is planned. If I've been able to install BGI or BGII, I've never reached the BGT step. Since then, I install the whole bunch on a little WinXP partition, and copy-paste the weidu'ised BG to a linux partition. Thereafter, it runs flawlessly!

Itarilde: perhaps you may have a look to http://linux.prinas....=start&do=index A bit tricky, though.

#13 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 07 September 2008 - 12:34 PM

I've installed BGT :D

The problem was, as Psykotik stated, that all .bat files didn't work as expected. I opened them and did some things manually, some parts I just rewrote and saved as Linux scripts (like mass copying/deleting/moving and so on).

I'm able to start a new game (and play as well), however, the game crashes when I enter ANY shop (inn, smithy, tent...). I've tried some tricks in Candlekeep to make the inn work:

- MoveToArea command causes a CTD
- summoning Puffguts works, I can talk with him, sell items and everything
- all other interior locations work fine

I opened the .are file in NI, seems to be OK. No other mods installed.
Oh, and BGT crashes when the loading bar is full.

#14 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 08 September 2008 - 01:05 AM

Probably means that the installation wasn't really successful after all. If very few areas load up properly, it is likely to be a problem with area conversion. Try CLUAConsole to random BGT areas to see if they load up at all.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#15 Itarilde

Itarilde
  • Member
  • 55 posts

Posted 09 September 2008 - 06:18 AM

Everything loads (including Beregost), only taverns and shops seem to be corrupted. Even if I enter a shop without any NPC inside (at night), the game crashes. I'll try to reinstall BGT and check for any error messages.