Jump to content


Photo

BGT112 Installation Problem


  • Please log in to reply
18 replies to this topic

#1 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 07:44 AM

Morning all, new to Spellhold Studios and I've a question.

I'm trying to install the BGT-WeiDU mod and I'm immediately having problems with the first step in the process. It's obvious it's a PEBKAC, so could I please get a little help.

Baldurs Gate & Baldurs Gate II are already installed from GOG.com and I'm using Windows 7. I downloaded the free trial of WinZip to unzip the BGT112-Instal.rar. I've opened the BGT112 file and am trying to extract it into my Baldurs Gate II directory. The first error I'm getting is...

Error: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"

This is the first file listed on the extraction, so I'm doing something wrong, already. Do ALL of the language files need to be extracted? The extracted files total 2494 files, and they all need to go into the BGII folder?

I appreciate your help in advance, I'm normally good at following installation instructions but when things hang up, I find myself at a loss for what to do.

Thank you!

#2 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 09:56 AM

lol, and I'm not smart enough to spell 'apparently' or 'instructions' correctly, in the title of all places. :P

Edited by justicepie, 26 September 2011 - 09:57 AM.


#3 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 10:08 AM

Alright, so I did a fresh install of BG & BGII.

I unzipped the BGT-WeiDU folder and C/P the files into the BGII folder.

I clicked the Setup-BGT.exe file and began installation.

I'm not getting past step 2 of installation. What am I not getting?

[C:\Program Files (x86)\GOG.com\Baldurs Gate II\Setup-BGT.exe] WeiDU version 229
00
[C:\Program Files (x86)\GOG.com\Baldurs Gate II\Setup-BGT.exe] Using scripting s
tyle "BG2"

Choose your language:
0 [English]
1 [International English]
2 [Castellano (Castilian/Spanish)]
3 [Francais (French)]
4 [Deutsch (German)]
5 [Italiano (Italian)]
6 [╟╤▒╣╛ε (Korean)]
7 [Polski (Polish)]
8 [Éπß߬¿⌐ (Russian)]
9 [╝≥╠σ╓╨╬─ (Chinese - Simplified)]
10 [┴c┼Θñññσ (Chinese - Traditional)]
1
Using Language [International English]

Couldn't open the readme: file not found.
ERROR: No translation provided for @100000
Continuing despite error.

Install Component [UNDEFINED STRING: @100000]?
[I]nstall, or [N]ot Install or [Q]uit? i

Installing [UNDEFINED STRING: @100000] [1.12 (12 Jun 2011)]
Creating 1 directory
Copying 1 file ...
Copying and patching 1 file ...
Copying 1 file ...
The system cannot find the path specified.
Copying 1 file ...
Copying 1 file ...
Copying 1 file ...
Copying 1 file ...
Copying 1 file ...


ERROR: No translation provided for @100002
Stopping installation because of error.

ERROR Installing [UNDEFINED STRING: @100000], rolling back to previous state
Will uninstall 6 files for [SETUP-BGT.TP2] component 0.
Uninstalled 6 files for [SETUP-BGT.TP2] component 0.
The system cannot find the path specified.
ERROR: Not_found
PLEASE email the file SETUP-BGT.DEBUG to http://forums.spellh...tudios.net/inde
x.php?showforum=261
Using Language [International English]

Install Component [UNDEFINED STRING: @100000]?
[I]nstall, or [N]ot Install or [Q]uit?



#4 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 26 September 2011 - 10:17 AM

I'm using Windows 7.

Error: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"

Well, your install folder --- is not a good one... as you shouldn't install to the C drives Program subfolders. And the "Baldurs Gate II" folder should be "BGII - SoA" ...

Couldn't open the readme: file not found.
ERROR: No translation provided for @100000

This all says that that the files were unable to be copied to the proper folder because the Operation System disallows the action. Or your anti virus protection eats it.

Edited by Jarno Mikkola, 26 September 2011 - 10:46 AM.

Deactivated account. The user today is known as The Imp.


#5 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 11:20 AM

I'm using Windows 7.

Error: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"

Well, your install folder --- is not a good one... as you shouldn't install to the C drives Program subfolders. And the "Baldurs Gate II" folder should be "BGII - SoA" ...

Couldn't open the readme: file not found.
ERROR: No translation provided for @100000

This all says that that the files were unable to be copied to the proper folder because the Operation System disallows the action. Or your anti virus protection eats it.


Excellent. I'll give it a a different path and directory. These folders and paths were automatically selected by the GOG.com downloader and I guess I don't know any better. :P Any suggestions on a better directory or location to install BG?

#6 TDouglas

TDouglas

    Unwashed Wildling

  • Member
  • 134 posts

Donator

Posted 26 September 2011 - 11:25 AM

I'd just make a directory called C:\Games and install everything to that (you'll have never ending problems trying to install anything to C:\Program Files).

#7 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 26 September 2011 - 11:25 AM

Any suggestions on a better directory or location to install BG?

Translate the term "Games" to your own language and use it to replace it at this; C:\Games\BGII - SoA
And C:\Games\Baldur's Gate -folders. :lol:

Well, unless the term then has non ANSI marks(so all these are OK; 1-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d - y z)

Edited by Jarno Mikkola, 26 September 2011 - 11:31 AM.

Deactivated account. The user today is known as The Imp.


#8 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 11:42 AM

Any suggestions on a better directory or location to install BG?

Translate the term "Games" to your own language and use it to replace it at this; C:\Games\BGII - SoA
And C:\Games\Baldur's Gate -folders. :lol:

Well, unless the term then has non ANSI marks(so all these are OK; 1-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d - y z)


I'd just make a directory called C:\Games and install everything to that (you'll have never ending problems trying to install anything to C:\Program Files).


Great suggestions. Already moved a few non-essential folders out of there. I'll give the reinstall another try and turn off the VP. ...it's obviously not a harmful set of files unless you're all in on the joke... ;)

#9 justicepie

justicepie
  • Member
  • 6 posts

Posted 26 September 2011 - 02:59 PM

Any suggestions on a better directory or location to install BG?

Translate the term "Games" to your own language and use it to replace it at this; C:\Games\BGII - SoA
And C:\Games\Baldur's Gate -folders. :lol:

Well, unless the term then has non ANSI marks(so all these are OK; 1-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d - y z)


I'd just make a directory called C:\Games and install everything to that (you'll have never ending problems trying to install anything to C:\Program Files).



Got it working and it's looking good. Thank you so much for the guidance!

#10 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 23 October 2011 - 05:39 PM

I'm wondering whether it is actually the path that has too many characters than an issue with the specific characters in the path itself. If not even the .tra files could be found in the standard BG2 installation directory, I'm thinking there may be a limit to either the cmd not fitting enough characters in the path, or WeiDU not accepting a massively long path. Will have to test this one out.

(alternatively, WinZip just hates really long paths and so does not extract properly)

Edited by Ascension64, 23 October 2011 - 05:41 PM.

--------------
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)


#11 Isaya

Isaya
  • Modder
  • 294 posts

Posted 24 October 2011 - 12:55 PM

On Windows 7, I just made an installation in "F:\Program Files\Jeux\BGII - BGT with very long directory name == and - stupid charaters" (F: is not the system drive), and guess what, my character is now exploring Candlekeep just fine.

So the lenght is probably not an issue.

On a French forum, someone had a big issue with displaying all the texts from BGT when installing on Windows 7, including the "Undetectable Windows version. Possibly too new. Installation MAY fail." and the request for BG1 path. The user thought the installation was locked while it was probably just waiting for the path.
After several tests, adding pauses in the bat file to see where it was failing, it appeared that the "more" command was complaining about a wrong number of parameters. Several tests later (checking the "more" behaviour by hand, which failed in the same way even in the simplest "more file_with_path" form), I suggested him to replace "more" with "type" in EndInit.bat and EndSetup.bat. And that worked!

It was the second time I saw someone complaining about the same problem. This time, with the help of that user, we found the cause in the more command, despite it having the same size and date as mine, and the antivirus failing to report anything wrong about it.

The error reported by justicepie is very strange for the more command: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"
I thought the more command was actually displaying files, not creating them, at least if no redirection was used!
I could understand it complains about not finding the file to display (provided the UAC prevented the file to be created from the BGT archive), but this is most surprising.
To me this points to another kind of strange issue with the "more" command. That one seems to want to write to the file, instead of reading, and this is probably prevented by the UAC, since it is in C:\Program Files.

I wonder what is causing these issues with more.


On a different matter, while making these tests, I noticed an issue in BGT with Windows 7, but it has no impact. On my French Windows 7 (checked with 7 Pro 64 bits, with or without SP1, and on 7 Home 32 bits), the ver command returns (with SP1)
Microsoft Windows [version 6.1.7601]
BGT bat files check for "Version 6.1" with a capital V
VER | find "Version 6.1" > nul
So they're failing to recognize Windows 7:
Impossible de d?tecter la version de Windows.
Il est possible qu'elle soit trop r?cente. L'installation peut ?chouer.
---------------------------------------------------------------
Entrez le chemin complet de votre installation de Baldur's Gate
 	puis enfoncez Entr?e
---------------------------------------------------------------
Checking F:/Program Files/Jeux/Baldur's Gate
Sorry for French. It's just "Undetectable Windows version. Possibly too new. Installation MAY fail." then request the BG1 path.
But since the bat files are assuming a newer version, they still rely on the script commands suitable for XP and beyond, so it works fine.
I don't know if this output of the ver command without capital V is different from the English version of Windows 7, but you could fix this check simply by adding the /i switch like this in EndInit.bat and EndSetup.bat:
VER | find /i "Version 6.1" > nul
No big deal, since installation works, but you'd avoid any further question about this "Installation MAY fail" alarming message. ;)

#12 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 26 October 2011 - 05:08 AM

The issue with the 'type' command is that it cannot evaluate variables, and every 'more' command substitutes %LANGUAGE1%. It is a bit peculiar that for some people nothing is displayed at all. For people getting an error, I still wonder whether the path is just too long, but again, not everyone gets the problem.

English Windows 7 certainly displays Version with a capital V. I can certainly add a case-insensitive switch to catch versions that don't have a capital V (although I would feel hopelessly ripped off if my windows wasn't graced with a capital V! :D)

--------------
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)


#13 Isaya

Isaya
  • Modder
  • 294 posts

Posted 26 October 2011 - 12:27 PM

The user I helped with the suggestion of using type did not mention any problem. But he might have made additionnal changes, not just replacing more with type. I'm surprised the command line substitution of %LANGUAGE% is handled by the command, not by the Windows shell before calling.
If I test directly in the command line, from the game directory:
set LANGUAGE=French
type BGT\Language\%LANGUAGE%\EndSetup\000.txt
I get the text displayed in French: "Baldur's Gate détecté dans le dossier" (as with more).
But maybe the type command varies according to the Windows version. I am using Windows 7.

That user had a problem with the more command specifically, which always gave an error "too many arguments on the command line", whatever you provided as argument. I made him test by hand, and even "more bad_file_name" answered that instead of the nominal "file not found" answer. The more command had the right date and size, and it was found properly in C:\Windows\System32 (with the "where" command), therefore I assumed another one in the path didn't highjack the calls. It was also answering properly to "more /?". Replacing more with type in the bat files worked, the user also provided a screen capture showing the texts (and the "unknown windows version" part too ;) ).

Another user had the same error message, probably from more as well since it prevented any message being displayed and it seemed the installation was frozen, maybe waiting for user input, in fact. He was installing at the same time on 3 computers, one with XP, two with 7, and only one computer running 7 had that issue. But there was not much discussion with him, so the root of the problem was not found.
Both discussions took place in that thread (in French), if you want to have a look (there are some screenshots about the more stuff).


I confirm that the French of Windows is special, and it's not new. Windows XP also answers without the capital V. ;) Since the installer uses the XP and beyond way of handling batch if the test fails, it's no big deal.
We French don't put capitals in the middle of a sentence, and [] is just like (), maybe that's why we have no capital V. :P

#14 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 26 October 2011 - 04:22 PM

What about using quotes around the more command's path? It may be because the cmd is confused that a space in a path represents another argument, hence the too many arguments issue.

--------------
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 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 26 October 2011 - 06:29 PM

personally quotes should be used for all OS type of commands. idk how many times I've had issues with one thing or another because of the space between the default directories of 'Baldur's Gate' and 'Black Isle'

oh and idk if here is the best place, but A64 will no doubt know the answer anyway. :P

1) What exactly are BWP & BWS and how do they fit into the BGT scene?
I think they both install multiple mods at one time designed to work together but I'm not that sure... I know BWS said it would install BGT...
And why am I unable to find any forum sections/threads dedicated specifically to either one to ask questions...
Is it that they are 'mega mods' and you just ask about it?

Also
I used this to create a clone of my BG2 game.
I can apply BGT112 without a problem to the cloned directory at "H:\Games\Black Isle\BGTrilogy"
but if I try BWS v9.8.1 to install BGT and other mods as a whole it wants me to rename my directory back to the original (which I want to leave untouched if at all possible)

Question: Why is BWS being an ass about directory location when BGT is cool about using other locations?

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm


#16 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 26 October 2011 - 11:01 PM

Question: Why is BWS being an ass about directory location when BGT is cool about using other locations?

Are you seriously asking this on the "IE General Help" -forum ? As if there a person that looks into this place that knows the real reason... the BWP is not actually only about the BGT...

1) What exactly are BWP & BWS and how do they fit into the BGT scene?

The long names are, BiG World Project, and BiG World Setup... the BWP, is just the project that Leonardo Watson leads... the BWS is the setup tool, so it's a program. They contact with BGT, because the BiG World Project tries to install the BGT-WeiDu along with 300 other mods.

And why am I unable to find any forum sections/threads dedicated specifically to either one to ask questions...
Is it that they are 'mega mods' and you just ask about it?

Yep.
Well, the BWP should be the largest, most comprehensive and by far the most complicated, while still being the most up to date form of the BGII megamods projects out there... it has more that 1000 parts (mod components).

On Windows 7, I just made an installation in "F:\Program Files\Jeux\BGII - BGT with very long directory name == and - stupid charaters" (F: is not the system drive), and guess what, my character is now exploring Candlekeep just fine.

So the lenght is probably not an issue.
...
The error reported by justicepie is very strange for the more command: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"
I thought the more command was actually displaying files, not creating them, at least if no redirection was used!

I know that the reason why the 000.txt is not allowed to be created in the later, but you can do it in the first is that the Windows 7 protects the C drives "Program Files" folder's content, at least the version justicepie is using... be it Starter, Home Basic, Home Premium, Professional, Enterprise, or Ultimate. Was the OS like it was in the 1999, we wouldn't have any of these problem... we would have worse viruses, perhaps.

Edited by Jarno Mikkola, 26 October 2011 - 11:20 PM.

Deactivated account. The user today is known as The Imp.


#17 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 27 October 2011 - 03:21 AM

Maybe the reason I never get these problems because I disable User Account Control on all my systems.

--------------
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)


#18 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 27 October 2011 - 06:52 AM

@Jarno

Now you know why I don't really like using SHS forums... there is NO thread location clearly marked to discuss stuff that is clearly supported by SHS forum members. SHS is known as the home for BWP & BWS as well as BGT and yet there are no places clearly marked to discuss BWP & BWS.

Also, if you had read the entire post you'd realize why I asked the specific questions I did. Don't rip up my post if you aren't going to answer it. The least you could have done is pointed me into the correct direction.

I have NEVER dealt with BWP, BWS & BGT before. I wanted to see what they had to offer, but when I had to hunt to even find the download links and then the 'links' from there for the discussion forums point NOWHERE and then there is conflicting information (it seems) about which to use and which not to use. Can't use see why I would ask a question within another thread that touches on the topic? If not, then I give up.

My working mods:
an AI Party Script for BG2 game engine DOWNLOAD LINK ONLY!
Interactive Tweaks for BG series with some IWD support. DOWNLOAD LINK ONLY!
Rest For 8 Hours an IWD mod
-------------------------------------------
My contributions: BG1Fixpack, BG1Tweaks
On Hold: Solestia an NPC for SOA
-------------------------------------------
My website: http://sasha-altheri...s.com/index.htm


#19 Isaya

Isaya
  • Modder
  • 294 posts

Posted 27 October 2011 - 01:12 PM

What about using quotes around the more command's path? It may be because the cmd is confused that a space in a path represents another argument, hence the too many arguments issue.

I never had any issue with spaces in the directory name when installing BGT, either in the installation or with the Baldur's Gate directory. As the example I gave a few days ago shows, the presence of space is not the true cause of issue.
Besides, all the more commands used by BGT are like this:
more BGT\Language\%LANGUAGE1%\EndSetup\000.txt
So, unless the %LANGUAGE1% variable has a space in it, there is no risk with spaces. Since this variable is set to the second parameter of the LANGUAGE entry, it shall not have any space in any language.
Besides, if you type this:
more C:\Program Files (x86)\Outils\Notepad++\readme.txt
without quotes around the path name, you just get an error like "Can't access C:\Program" (translated from French).

The error reported by justicepie is very strange for the more command: unable to create output file "C:\Program Files (x86)\GOG.com\Baldurs Gate II\BGT\Language\SChinese\EndSetup\000.txt"
I thought the more command was actually displaying files, not creating them, at least if no redirection was used!

I know that the reason why the 000.txt is not allowed to be created in the later, but you can do it in the first is that the Windows 7 protects the C drives "Program Files" folder's content, at least the version justicepie is using... be it Starter, Home Basic, Home Premium, Professional, Enterprise, or Ultimate. Was the OS like it was in the 1999, we wouldn't have any of these problem... we would have worse viruses, perhaps.

I know that Windows 7 (and Vista, and XP 64 bits) protects the "C:\Program Files" space and you can't write in it, or the modified file goes into the "Virtual store". I'm not complaining about it either.
What I'm surprised about is that the more command was obviously trying to write into the file, while it should just read and display the file.
On Windows 7 Pro, I can type the command
more "C:\Program Files (x86)\Outils\Notepad++\readme.txt"
in the command line and get the readme displayed without problem, although I am just a regular user. It doesn't try to write anything in the file. I don't get any readme.txt written in the respective location in the virtual store either.

Maybe the reason I never get these problems because I disable User Account Control on all my systems.

Well, I'm a supporter of UAC myself, on Windows 7 at least (never had Vista). And I'm not running as administrator all the time. However, anytime I want to run a setup-xxx.exe, Windows 7 always asks me to elevate to administrator. And it does ask me to confirm right elevation even if I'm administrator.
The user I was refering to also tried to run the BGT install as administrator, and that didn't change anything. He was not using "C:\Program Files" either but a regular directory.


I can't replicate the error "wrong number of parameters" the user I helped was facing, whatever I try. And the fact that more was trying to write to the file, for that particular user here, is a complete nonsense with the regular more.

My overall impression is that the problem with more is likely to be caused by some kind of malware that highjacked the more executable, or being blocked by an antivirus or something. So that more is not behaving as it should.