Jump to content


BiG World Install.bat won't work


  • Please log in to reply
10 replies to this topic

#1 -Sam-

-Sam-
  • Guest

Posted 05 September 2011 - 10:25 PM

Hi, I'm trying to install a mega-mod compilation (somewhere between standard and tactics) on a Windows 7 machine. I have been following the guide to modding BG posted on Reddit a year ago, as well as other guides. I have full-installed each game, patched, started a game and saved, and downloaded and extracted all of my mods without any trouble. BiG is all in the BGII - SoA folder, and I edited the BiG World Install.bat to point to the C:/BG/ folder instead of program files.

However, when I try to run BiG World Install, a command prompt pops up for a split second and vanishes. It says 'The system cannot find the path specified' twice, and with some editing I determined that it is tripping up at
%IFN% BWP* copy ".\%BWIP%\move to main folder\*.*" "."
%IF% BWP* del BWP*
del /q "\%BWIP%\temp\*.*" | %M%
in the .bat, before ever making a useful debug file. If I put in the proper directories by hand here it trips up in a dozen other places, it seems to not be able to find the folder that is in the same directory that it is. I'm not very experienced with windows/batch processes/command prompts etc. and have given up trying to solve this after some hours of messing around, so I'm wondering & hoping that someone around here can help me play some Baldur's Gate. Any advice would be appreciated.

#2 Fouinto

Fouinto
  • Member
  • 458 posts

Posted 06 September 2011 - 07:53 AM

It says 'The system cannot find the path specified' twice, and with some editing I determined that it is tripping up at

%IFN% BWP* copy ".\%BWIP%\move to main folder\*.*" "."
%IF% BWP* del BWP*
del /q "\%BWIP%\temp\*.*" | %M%

Your environment variable PATH is wrong (this problem is linked to your windows configuration, not to BWP nor .bat) since it doesn't contain the PATH to the standard commands (such as copy, del...).

I am wrong ! Sorry

Edited by Fouinto, 06 September 2011 - 08:02 AM.


#3 dabus

dabus
  • Member
  • 1982 posts

Posted 06 September 2011 - 08:53 AM

Remove the @echo off - line, open a cmd, go to your path, run the batch and see what happens.
THINK! - It's not illegal.

#4 skritch

skritch
  • Member
  • 4 posts

Posted 06 September 2011 - 08:39 PM

OP here, had to register to make add an attachment.

Remove the @echo off - line, open a cmd, go to your path, run the batch and see what happens.


The output is below. As I said, I had determined already where it's stopping. It's acting like it can't find the directory BiG World Installpack, which is in the same directory as the .bat. I should mention that there's a chance I have messed up the .bat while trying to troubleshoot this as I foolishly did not make a back up. There could be something minor amiss in the file that is not the cause of the problem.

Attached Files


Edited by skritch, 06 September 2011 - 08:41 PM.


#5 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 06 September 2011 - 09:01 PM

...

Where are you running the program from ? As far as I can tell it should be in the game folder, and your's seems to be running in the C root.

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


#6 skritch

skritch
  • Member
  • 4 posts

Posted 06 September 2011 - 09:22 PM

...

Where are you running the program from ? As far as I can tell it should be in the game folder, and your's seems to be running in the C root.


Er, you say, because CD in the set TXT thing points to C://..? (I know nothing). That does seem to be the case. I'm just double-clicking the batch file in C:/bg/bgii - soa/ though.

By the way, I changed a move command to a copy for testing so it wouldn't keep getting rid of those files. That's not the problem.

Edited by skritch, 06 September 2011 - 09:29 PM.


#7 dabus

dabus
  • Member
  • 1982 posts

Posted 06 September 2011 - 10:14 PM

Not sure but there's no dot in front of:
del /q ".\BiG World Installpack\temp\*.*"
THINK! - It's not illegal.

#8 skritch

skritch
  • Member
  • 4 posts

Posted 06 September 2011 - 10:41 PM

Not sure but there's no dot in front of:
del /q ".\BiG World Installpack\temp\*.*"


left-over from messing with it. But good news: add cd C:\bg\bgii - soa\ at the top of the file fixed it! (hopefully the rest works).

Update: BUT. Running the rest of the program... doesn't. It finished in 3 minutes. I ended up with no Tobexloader, and running baldur.exe gives me unmodded-SoA. It seems the installer was cancelled? The debug file is attached. I'm not very optimistic about this, I think (at least) I might have to restart the modding process... I don't think I messed anything up though? (until the first problem in this thread, and my ensuing tinkering to try to understand what was going wrong). If this is fixable I'd love to know how :/

Edited by skritch, 06 September 2011 - 11:04 PM.


#9 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 06 September 2011 - 11:38 PM

, and running baldur.exe gives me unmodded-SoA

In principle, you are running the wrong .exe, see the baldur.exe just runs the games front end program that's assigned to run the game in the computers registry. The BGMain.exe runs the game that's actually in the same directory as the .exe ... and uses the baldur.ini in there too, to know what's where.

Edited by Jarno Mikkola, 06 September 2011 - 11:39 PM.

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


#10 skritch

skritch
  • Member
  • 4 posts

Posted 06 September 2011 - 11:58 PM

Well, none of the various ways of running it - including pulling Tobexloader out of its mod folder, bgmain, baldur -- do anything but run vanilla SoA/ToB.

#11 Jarno Mikkola

Jarno Mikkola

    The Imp in his pink raincoat.

  • Member
  • 10911 posts

Posted 07 September 2011 - 02:54 AM

Well, none of the various ways of running it - including pulling Tobexloader out of its mod folder, bgmain, baldur -- do anything but run vanilla SoA/ToB.

Go to the C:\bg\bgii - soa\ -folder and open the baldur.ini with Notepad and copy paste the text under the [Alias] ...

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