Jump to content


Photo

BiG World Install.bat - now fully compatible with the GOG version


  • Please log in to reply
54 replies to this topic

#41 Turambar

Turambar
  • Modder
  • 935 posts

Posted 27 February 2012 - 01:08 AM

BGT uses the following procedure to detect the correct path, with following priority:
1. if a path is passed via the arguments (IE --force-install 0 [otheroptions] --args-list [ev. otherletters; see readme]p [path to bg1], that path is checked and used (no prompt whether it is correct)
2. WeiDU, then, looks into the system registry for the path where BG1 is installed; if that is found, it prompts for comfirmation; if the user answers "n", it goes to step 3; if the user introduces his path here (eg input redirection), it will ask the question again and again until EOF is reached.
3. The user is prompted for his full path; only this step is repeated in case the path is incorrect.
So, the number of prompts could vary depending whether the path to BG1 is present in the registry, and whether the check for all game files finds them all.
The safest way is to pass it via arguments, eg putting the path inside a variable before and using --skip-at-view --args-list ops [variable with path] (that would even allow you to remove BGT from the smoothpack, or what's the name of that tool which removes all VIEW commands).

Besides, you can also use other options inside the arguments, EG --args-list ops [path] will move everything to the override folder (o; the question whether to biff will NOT be asked), don't show the final readme (s), and read the path from the second argument (2); you can use any combination of those two letters provided they are not separated by spaces.

Edited by Turambar, 27 February 2012 - 01:27 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)

 


vipersig.jpg


#42 -Sir Vykel Kanser-

-Sir Vykel Kanser-
  • Guest

Posted 29 February 2012 - 05:38 PM

Greetings all! Long term lurker here (as far back as the original TeamBG and Forgotten Wars boards) who's decided to crawl out of the woodwork and chip in...

I've encountered problems with BGT not installing as well and have produced another modified BiG_World_Install.bat file - this is based on Leomar's 11.0 version (so includes support for the most recent mods like The White Queen) while using William Imm's BG1 check to avoid looping for GOG users. Since I can't upload files here (awaiting registration), I've put a copy up at Filesandwich (BiG_World_Install.rar) - it's RAR compressed so a copy of WinRAR, IZArc, TUGZip or 7-Zip will be needed to extract it.

The BGT issue is fixed by simply appending Y and N to the BWP_BGT_input.txt file. There's not been a "standard" install path for BG1 for some time now (64-bit Windows users have 32-bit software installed to \Program Files (x86) while GOG's BG1 installs to \Program Files\GOG.com\Baldur's Gate) so letting BGT auto-detect the install location seems the best thing (only those with multiple BG installs are likely to have problems). I can confirm that the install works with GOG versions of BG1 and 2 and a "moderate" mega install (all the large mods bar NEJ plus a few small ones and tweaks) and haven't encountered any problems in BG1 yet - but I'm still pysching up to take out those Nashkell Mines kobolds...

As well as the BGT change I have made two others (all changes preceded with ###CHANGE### to make them easy to find):
  • The "100% Spell Learn and Unlimited Spells/Level" option of BG2 Tweaks has been removed - this removes the need for high intelligence in mages and therefore seems too much of a cheat to me;
  • The "Rest Anywhere" option of BG2 Tweaks has been removed - again a bit of a cheat in my eyes.
Finally I'd like to express my (much delayed) thanks to Leomar for all his work on tying things together, William Imm for his tweaks and the dozens (if not hundreds) of modders who've spent so much time improving on this gaming classic. I've steered clear of taking the plunge due to the number of updates, conflicts (which have gradually eased) and complexity (which has equally gradually increased...). Leomar's BiG_World_Install.bat qualifies as the most masterful piece of DOS batch programming I've seen - but that also qualifies it as the most complex to write, follow and modify!

#43 Wrain

Wrain
  • Member
  • 3 posts

Posted 04 March 2012 - 11:59 AM

Thx Vykel for the script by i have encountered a problem with the installer. More precisely after the selection of the version (S, R, T, E) it give me the following errors:
  • "The system cannot find the file specified." when selecting R, T, E. The installation in this case continue with more questions
  • the script end by closing the prompt when selecting S. Stopping the installation.
I tried by reinstalling both the games without luck and i'm using the newbies guide posted by ShadowTek.
Maybe i'm missing something, can you tell me what is your install order ?

Edit: i exhumate my old bg1 and bg2 install disks and performed another complete installation. The problem is still there so your script Vykel should be fine.

Edited by Wrain, 05 March 2012 - 03:15 AM.


#44 -shadow-

-shadow-
  • Guest

Posted 05 March 2012 - 04:33 PM

I've encountered problems with BGT not installing as well and have produced another modified BiG_World_Install.bat file - this is based on Leomar's 11.0 version (so includes support for the most recent mods like The White Queen) while using William Imm's BG1 check to avoid looping for GOG users. Since I can't upload files here (awaiting registration), I've put a copy up at Filesandwich (BiG_World_Install.rar) - it's RAR compressed so a copy of WinRAR, IZArc, TUGZip or 7-Zip will be needed to extract it.

The BGT issue is fixed by simply appending Y and N to the BWP_BGT_input.txt file.
===================
okay, so how does one append the bwp bgt input.txt file and where should the Y and N be placed. THe link to your install file doesnt work. I became a member and logged in and waited the 35 secondss but no download fuction happens anywhere

#45 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 05 March 2012 - 07:17 PM

That is totally not how you quote posts, -shadow-...

Anyway, just use this upload of BiG World Install.bat. It should work for you.

Attached Files


At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#46 -Guest-

-Guest-
  • Guest

Posted 08 March 2012 - 03:33 AM

There is an error in the file you attached. Win rar says that the file is broken.

#47 Turambar

Turambar
  • Modder
  • 935 posts

Posted 08 March 2012 - 03:45 AM

Try to open it with 7zip; if it still doesn't work, open it with winrar and use the repair archive function. Unfortunately, all files attached on SHS forums are currently corrupted by an extra byte prepended to them.

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)

 


vipersig.jpg


#48 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 23 March 2012 - 06:43 PM

New install pack release, and revised BG1 check to go with it! Clicky clicky!
At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#49 -max-

-max-
  • Guest

Posted 24 March 2012 - 03:16 PM

Hi William Imm, I was wondering since you have the GOG version-On their website GOG has BG1, BG2, and IWD 1 and 2, and Planescape. All of them have bonus content, including new avatars. Now I already have the collector's edition but would buy it again for the bonus avatars. Could you post pictures of them if there are new avatars for fighters,etc.? Sorry if this is the wrong place to post, but you are the only person I know who has that version.

Thanks

#50 dabus

dabus
  • Member
  • 1982 posts

Posted 01 April 2012 - 02:34 AM

Hi there.

I am a bit puzzled about this:

GOG:
:: Since this check is reported to be somewhat problematic,
:: it was not included in the origional release. Still,
:: I (William Imm) am relasing a version with the revised check.
%IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG" %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
%IFG% %IF% %BG1%SETUP-BG1TP.DEBUG" %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
%IFH% %IF% %BG1%SETUP-ABRA.DEBUG" %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
%IF% %BG1%readme_patch.txt GOTO :BG1CHCK2

BWP:
%NGOG% %IFF% %IF% %BG1%readme_patch.txt %IF% %BG1%SETUP-CORRECFR.DEBUG GOTO :BG1CHCK2
%GOG% %IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG GOTO :BG1CHCK2
%NGOG% %IFG% %IF% %BG1%readme_patch.txt %IF% %BG1%SETUP-BG1TP.DEBUG GOTO :BG1CHCK2
%GOG% %IFG% %IF% %BG1%SETUP-BG1TP.DEBUG GOTO :BG1CHCK2
%NGOG% %IFH% %IF% %BG1%readme_patch.txt %IF% %BG1%SETUP-ABRA.DEBUG GOTO :BG1CHCK2
%GOG% %IFH% %IF% %BG1%SETUP-ABRA.DEBUG GOTO :BG1CHCK2
%NGOG% %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
%GOG% %IFN% %BG1%readme_patch.txt GOTO :BG1CHCK2

Funny path-tests / additional " in line.
Spoiler



Is it just me or is this line not the first one only having the two conditions moved around, the additional " after the Debug and no %NGOG%?

GOG
%IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG" %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
BWP
%NGOG% %IFF% %IF% %BG1%readme_patch.txt %IF% %BG1%SETUP-CORRECFR.DEBUG GOTO :BG1CHCK2
%GOG% %IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG GOTO :BG1CHCK2

After switching conditions
%IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG" %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2
%IFF% %IF% %BG1%SETUP-CORRECFR.DEBUG %IF% %BG1%readme_patch.txt GOTO :BG1CHCK2	

Also, the %GOG%-line reduces the condition to one, which is IF Exist goggame.dll. So if you got this dll in your folder, there's just one less condition.

So, to sum it up: I wonder if that was a typo and if it makes any difference at all. Just from reading the code (I do not have that gog-version) and if I had not logical error in my assumption, the check should make it potentially harder for GOG-users than the BWP-version.

Edited by dabus, 01 April 2012 - 02:38 AM.

THINK! - It's not illegal.

#51 William Imm

William Imm

    Obsessive Penguin Lover

  • Member
  • 486 posts

Posted 01 April 2012 - 10:03 AM

Hello dabus,

The reason the check was completely revised was that %GOG% checks for goggame.dll IN THE BG2 FOLDER and not the BG1 folder, which can cause some weird behavior if BG1 is original media and BG2 is the GOG version.

The extra quotation mark was a holdover from the older BWP in which you had to put that there, or you get a error message instead. readme_patch.txt does exist in the GOG version, I checked myself. I don't know if the order of the checks really matter. Still, here's a version without the superfluous quotation marks.

Attached Files


At this point, I'm not really doing much Baldur's Gate related. More focused on Skyrim modding and the Born of Legend tabletop roleplaying game. Don't expect much activity here.

#52 dabus

dabus
  • Member
  • 1982 posts

Posted 01 April 2012 - 03:52 PM

I just thought it was loop because it searched for files that did not exist (like the patch-text-file).
As far as I can see, the batch would search for less files if that dll is found, otherwise it would search the same files as your version does (had no look at the current one though).

As far as the batch may look into the wrong folder (there are gog-versions of BG1 and BG2, right? If so, it should check the BG1-folder for some GOG-files), I'm totally with you and I'm sure you posted the version with a good reason.
But I can't see the "bad" behavior (looping) it might have if the checks are reduced.

Well, if you ask me, you can do as you like - I was just confused why you (maybe) do some work if it seems to be unneeded.
Just to clarify by good intentions. ;)
THINK! - It's not illegal.

#53 Leonardo Watson

Leonardo Watson
  • Modder
  • 531 posts

Posted 06 April 2012 - 02:29 AM

There is no more any superfluous quotation mark since BWP-Installpack 11.1.

#54 -GeneralHappyPie-

-GeneralHappyPie-
  • Guest

Posted 11 August 2012 - 03:08 PM

Is the Big World Project dead now? I tried to run Big World Setup.vbs the other day to check on my mods and it states: This program is not taken care of anymore, so to prevent errors, the installation will not continue"

I have the mods already downloaded and I just want to be able to run it on a new PC. Any advice?

#55 dabus

dabus
  • Member
  • 1982 posts

Posted 11 August 2012 - 03:33 PM

If you already got the game, why not copy the whole folder, edit the Baldur.inis [Alias]-paths and then start the game by bgmain.exe?
As for the BWS:The old version is not supported any more. Just get the other one.

THINK! - It's not illegal.