http://bugs.winehq.org/show_bug.cgi?id=14545
Summary: Baldur's Gate Trilogy: installation fails Product: Wine Version: unspecified Platform: PC-x86-64 URL: http://www.shsforums.net/index.php?autocom=downloads&sho wfile=54 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: janukato@hotmail.com
Installation fails with wine and wineconsole, nothing else can be done.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #1 from Juan Hernández janukato@hotmail.com 2008-07-17 20:29:39 --- Created an attachment (id=14885) --> (http://bugs.winehq.org/attachment.cgi?id=14885) Installation failure log
wineconsole outputs the same
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #2 from Lei Zhang thestig@google.com 2008-07-18 12:32:19 --- Please be more specific - what version of Wine are you using?
How do you install this game mod? Do you need both Baldur's Gate 1 and Baldur's Gate 2?
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #3 from Juan Hernández janukato@hotmail.com 2008-07-18 14:30:32 --- Happens in wine 0.9.5x, 0.9.6x, 1.0 and all RC, 1.1.0 and 1.1.1 so far.
You need both baldur's gate and baldur's gate 2, expansions and patches to last version, unrar in BG2 folder and execute Setup-BGT.exe, lets you select the language and after that fails.
Don't know if that's enough, just ask whatever is needed.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #4 from Juan Hernández janukato@hotmail.com 2008-07-20 13:38:20 --- Created an attachment (id=14943) --> (http://bugs.winehq.org/attachment.cgi?id=14943) Installer log
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #5 from Juan Hernández janukato@hotmail.com 2008-07-20 13:39:17 --- Created an attachment (id=14944) --> (http://bugs.winehq.org/attachment.cgi?id=14944) Workaround to first step installer log
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #6 from Juan Hernández janukato@hotmail.com 2008-07-20 13:40:24 --- (From update of attachment 14943) Log of the installer itself, not wine
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #7 from Juan Hernández janukato@hotmail.com 2008-07-20 13:42:38 --- (From update of attachment 14944) Workaround to the language issue by copying bgt/Language/Castilian to bgt/Language, it still fails, don't know if it's related
http://bugs.winehq.org/show_bug.cgi?id=14545
Dawid Hanak nugrud@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nugrud@gmail.com
--- Comment #8 from Dawid Hanak nugrud@gmail.com 2008-10-05 15:27:50 --- The problem is that wine isn't quite good in running .bat shell scripts.
Someone on the spellhold studios forum reported that he did manage to install it after modifying .bat scripts into linux bash scripts and than modifying tp2 instructions to not trigger it anymore.
http://bugs.winehq.org/show_bug.cgi?id=14545
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer
http://bugs.winehq.org/show_bug.cgi?id=14545
knan-wine@anduin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |knan-wine@anduin.net
--- Comment #9 from knan-wine@anduin.net 2009-02-05 18:28:55 --- I can confirm this one.
There's a bat file that depends on the VER command giving windows version specific output (and wine's output doesn't match any of them), and a FOR command in there that gives syntax errors. At least.
http://bugs.winehq.org/show_bug.cgi?id=14545
knan-wine@anduin.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #10 from knan-wine@anduin.net 2009-02-05 18:29:40 --- *** This bug has been confirmed by popular vote. ***
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #11 from Dawid Hanak nugrud@gmail.com 2009-03-18 13:23:36 --- (In reply to comment #9)
I can confirm this one.
There's a bat file that depends on the VER command giving windows version specific output (and wine's output doesn't match any of them), and a FOR command in there that gives syntax errors. At least.
There are six .bat scripts in the BGT/Install directory: PreInit.bat, EndInit.bat, PreSetup.bat, EndSetup.bat, Uninstall.bat and deldir.bat. The first fired from Setup-BGT.tp2 is PreInit.bat, and there are those VER commands, for example:
VER | find "XP" > nul IF %errorlevel% EQU 0 GOTO NEW1
Could there be added a line that fits wine's output? How would it look like? The syntax error from this FOR command: :NEW1 FOR /F "delims=" %%v IN (BGT\Language.txt) DO SET LANGUAGE1=%%v is "fixme:cmd:WCMD_for /F needs to handle options"
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #12 from Dawid Hanak nugrud@gmail.com 2009-03-22 09:55:48 --- Now I know "VER" command in wine's cmd.exe returns "CMD Version 1.1.17" as of 1.1.17, but shouldn't this return the same what winxp returns, as it is winxp chosen to being emulated in winecfg?
And about syntax error in 'for' command, as I read here: http://www.ss64.com/nt/for_f.html the parameter "/F" is correct, so it seems it's not implemented in wine yet, right?
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #13 from knan-wine@anduin.net 2009-03-22 21:36:06 --- Dawid: agreed on both counts. Patches welcomed!
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #14 from knan-wine@anduin.net 2009-03-22 21:39:54 --- "find" is also missing as a builtin command in wine's cmd.exe.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #15 from Jeff Zaroyko jeffz@jeffz.name 2009-03-22 21:53:25 --- (In reply to comment #14)
"find" is also missing as a builtin command in wine's cmd.exe.
are you sure find is a builtin command? I see find.exe on Windows 2008, probably the same for earlier versions of windows.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #16 from Dawid Hanak nugrud@gmail.com 2009-03-28 16:31:13 --- (In reply to comment #13)
Dawid: agreed on both counts. Patches welcomed!
Wiki states Win32 Console is 85% complete, what else left? I see there used to be a regular wave of commits to cmd's source, so there are people far more into it. Maybe this bug could now have a specified component, dos?
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #17 from Dawid Hanak nugrud@gmail.com 2009-04-27 09:40:18 --- (In reply to comment #14)
"find" is also missing as a builtin command in wine's cmd.exe.
New version of ReactOS (0.3.9) was released today, and they're changelog states:
"A great deal of work has been put into the command prompt to make it much more compatible. It's now able to run very complex scripts, including our own Build Environment"
And I read their cmd.exe was forked from wine's one years ago, but it still can be used in wine! Their cmd.exe binary is 1.1MB compared to 250KB in wine, and they have also find.exe :D I downloaded it just for that two files and placed them in ~/.drive_c/windows/system32 but unfortunately BGT didn't install with very similar syntax errors (for f/, "path not found" and even "access denied").
From pure curiosity could it be "backported" to wine?
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #18 from Austin English austinenglish@gmail.com 2009-04-27 11:09:33 --- (In reply to comment #17)
(In reply to comment #14)
"find" is also missing as a builtin command in wine's cmd.exe.
New version of ReactOS (0.3.9) was released today, and they're changelog states:
"A great deal of work has been put into the command prompt to make it much more compatible. It's now able to run very complex scripts, including our own Build Environment"
And I read their cmd.exe was forked from wine's one years ago, but it still can be used in wine! Their cmd.exe binary is 1.1MB compared to 250KB in wine, and they have also find.exe :D I downloaded it just for that two files and placed them in ~/.drive_c/windows/system32 but unfortunately BGT didn't install with very similar syntax errors (for f/, "path not found" and even "access denied"). From pure curiosity could it be "backported" to wine?
Wine doesn't accept ReactOS code.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #19 from Dawid Hanak nugrud@gmail.com 2009-05-04 16:08:25 --- But it's still free software so we, players, may try their cmd.exe as a better replacement, right? :P Sadly many bigger bg2 mods use .bat scripts and BiG World Project installer is actually a .bat script too, which seems even more complicated.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #20 from Austin English austinenglish@gmail.com 2009-05-04 17:07:28 --- (In reply to comment #19)
But it's still free software so we, players, may try their cmd.exe as a better replacement, right?
Sure, you're free to do as you please. We just can't take it directly into Wine and distribute that.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #21 from Dawid Hanak nugrud@gmail.com 2009-05-05 05:41:09 --- The PreInit.bat script has a line:
call BGT\Install\PreSetup.bat 2>&1|BGT\Install\mtee Setup-BGTDOS.DEBUG
The bug #15194 entry claims that "2>&1" does not work in wine's cmd.exe, so it might be another issue here.
http://bugs.winehq.org/show_bug.cgi?id=14545
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |15359
http://bugs.winehq.org/show_bug.cgi?id=14545
NickNill dmbohdan@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmbohdan@gmail.com
--- Comment #22 from NickNill dmbohdan@gmail.com 2010-04-09 23:53:28 --- Today I`ve installed Baldur`s Gate Trilogy v1.0.8 succesfully with wine version 1.1.42. Maybe this bug is out of date?
http://bugs.winehq.org/show_bug.cgi?id=14545
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #23 from Jeff Zaroyko jeffz@jeffz.name 2010-04-10 00:12:48 --- (In reply to comment #22)
Today I`ve installed Baldur`s Gate Trilogy v1.0.8 succesfully with wine version 1.1.42. Maybe this bug is out of date?
Great! Let's mark this fixed then.
http://bugs.winehq.org/show_bug.cgi?id=14545
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org 2010-04-16 13:02:25 --- Closing bugs fixed in 1.1.43.
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #25 from Dawid Hanak nugrud@gmail.com 2010-04-18 09:39:25 --- (In reply to comment #22)
Today I`ve installed Baldur`s Gate Trilogy v1.0.8 succesfully with wine version 1.1.42. Maybe this bug is out of date?
From where did you take find.exe/sort.exe and so on? I have just tried to
install BGT with wine 1.1.43 and all i get is a loop of errors: wine: cannot find L"C:\windows\system32\find.exe" file not found wine: cannot find L"C:\windows\system32\sort.exe" path not found and so on
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #26 from NickNill dmbohdan@gmail.com 2010-04-19 11:48:43 --- maybe you have BGT-WeiDU ? Because Baldur's Gate Trilogy installs fine as Baldurs Gate II. I talked about Baldur's Gate Trilogy v1.08 DVD - last version of Baldur's Gate Trilogy. Maybe someones reopen bug and change summary to Baldurs Gate Trilogy - WeiDU installation fails?
http://bugs.winehq.org/show_bug.cgi?id=14545
--- Comment #27 from Dawid Hanak nugrud@gmail.com 2010-04-19 16:35:48 --- (In reply to comment #26)
maybe you have BGT-WeiDU ? Because Baldur's Gate Trilogy installs fine as Baldurs Gate II. I talked about Baldur's Gate Trilogy v1.08 DVD - last version of Baldur's Gate Trilogy. Maybe someones reopen bug and change summary to Baldurs Gate Trilogy - WeiDU installation fails?
http://www.shsforums.net/index.php?app=downloads&showfile=54
Actually, I never heard of different (legal) way to install BGT than with weidu. But here the problem is not with weidu but with external %win32% exe-s and .bat scripts triggered from tp2, anyway here's a work around: http://www.shsforums.net/topic/41200-bgt-in-linux-successfully-i-think/
http://bugs.winehq.org/show_bug.cgi?id=14545
aniruddha ozymandius@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ozymandius@gmail.com
--- Comment #28 from aniruddha ozymandius@gmail.com 2010-06-03 05:19:25 --- I can confirm that this bug exists even with 1.2rc2. Installation of BG Trilogy fails both using the linux option at SHS forums (http://www.shsforums.net/topic/41200-bgt-in-linux-successfully-i-think/) and using windows exe under wineconsole-cmd.
http://bugs.winehq.org/show_bug.cgi?id=14545
Bug 14545 depends on bug 15359, which changed state.
Bug 15359 Summary: cmd's "for" command doesn't handle /F. Breaks msysgit, firefox build. http://bugs.winehq.org/show_bug.cgi?id=15359
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED