Jump to content


Photo

The 'official' BWP Fixpack thread

BiG World Project Fixpack

  • Please log in to reply
300 replies to this topic

#261 AstroBryGuy

AstroBryGuy
  • Modder
  • 22 posts

Posted 29 January 2017 - 10:26 PM

Ok. I've got the script working. You can see the script and additions to _ApplyPatches.tp2 on GitHub:

 

https://github.com/A...abf30ba8a96541e

 

In the section of _ApplyPatches.tp2 that executes patch, I added a shell-script call (for OSX and Linux) that runs the files to be patched through the tr command line utility to change CRLF line-endings to LF.

 

The shell script can handle .patch files that contain patches for multiple files. It is also designed to fail gracefully if the file to be patched does not exist. I've tested it on OSX, but it should work on Linux too (it's standard bash-scripting).

 

PS - In the process of testing the script, I noted that BiG World Fixpack/stratagems/caster_shared.tph.patch was missing the header information to identify the file to be patched.



#262 agb1

agb1
  • Member
  • 1623 posts

Posted 30 January 2017 - 06:57 AM

Thanks very much!  I've merged in your script contribution and the missing SCS header.


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#263 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 01:42 AM

Hello! I started the BWS and at the beginning of installation it gave me error about _ApplyPatches.debug. Is this the same problem from Victorp? If so, can you write more detailed what I need to fix? Thanks a lot for any help.

Attached Images

  • Error.png

Attached Files


Edited by Arm-chair, 01 February 2017 - 01:43 AM.


#264 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 06:38 AM

The script tries to rename the folder "BiG World Fixpack" in the BG2 folder to "BiG_World_Fixpack" with underscores instead of spaces, and then checks that there is a subfolder named "BiG_World_Fixpack\messages".  That check failed, so either the rename didn't work or the Fixpack wasn't extracted properly.  Can you attach the Big World Extract Debug.txt log file from the BWS Logs folder?


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#265 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 06:43 AM

Of course, here it is.

Attached Files



#266 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 06:48 AM

According to that log, the BiG World Fixpack folder was extracted successfully in your C:\Games\Baldur's Gate 2 game folder.  Can you confirm that the folder is there and that it contains the _messages subfolder?

 

If yes, try manually running the ApplyPatches.bat in the game folder.


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#267 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 06:59 AM

Yes, I have _messages subfolder. I run ApplyPatches.bat and it says me that can't find _messages folder. I think I begin to understand. I have folder Big_World_Fixpack and Big World Fixpack subfolder within. Maybe must to rename this subfolder?

Attached Images

  • Apply Patches.png

Edited by Arm-chair, 01 February 2017 - 07:02 AM.


#268 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 07:07 AM

You have a double folder?  i.e. C:\Games\Baldur's Gate 2\BiG_World_Fixpack\BiG World Fixpack\_messages?  It should be C:\Games\Baldur's Gate 2\BiG World Fixpack\_messages


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#269 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 07:16 AM

Well, I moved it and ran _ApplyPatches and now it just crashes. I think that there was some problem with unpacking in BWS or with installing Big World Fixpack. I can uninstall this version and try to install minimal version just to check or try to unpack BWF manually.

Attached Files


Edited by Arm-chair, 01 February 2017 - 07:38 AM.


#270 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 07:35 AM

The script worked, according to the log, but only found one mod folder eligible for patching ("aurora").  Can you attach your Big World Install Debug.txt from BWS\Logs?


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#271 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 07:40 AM

Yes, that's weird. Here is log

Attached Files



#272 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 08:07 AM

The log doesn't really show anything.  I'd like to see your folder structure.  Can you attach a screenshot of the contents of your game folder and also of the contents of the BiG World Fixpack subfolder?


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#273 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 08:19 AM

I understand what was wrong! We need to fix this bug.
  • The BWS (or Fixpack?) places folder Big World Fixpack like so: "Baldur's Gate 2/Big World Fixpack".

  • Then it places aurora and Big World Fixpack subfolder in which one places all needed files and folders like _messages. Example: Baldur's Gate 2/Big World Fixpack/Big World Fixpack/

  • So nothing can find any files in Baldur's Gate 2/Big World Fixpack because they are in Baldur's Gate 2/Big World Fixpack/Big World Fixpack/
Any idea how to fix it?

Edited by Arm-chair, 01 February 2017 - 08:21 AM.


#274 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 08:38 AM

I'm more concerned with the fact that you said you corrected the folder structure and it still didn't work.  That's why I want to see your current folders.

 

I don't see how BWS could create a nested BiG World Fixpack/BiG World Fixpack structure.  The original archive (BiG-World-Fixpack-master.zip) unpacks into the game folder, resulting in a structure like this:

 

C:\Games\Baldur's Gate 2\BiG-World-Fixpack-master/BiG World Fixpack/_messages

C:\Games\Baldur's Gate 2\BiG-World-Fixpack-master/BiG World Fixpack/...various other folders...

C:\Games\Baldur's Gate 2\BiG-World-Fixpack-master/_ApplyPatches.bat

C:\Games\Baldur's Gate 2\BiG-World-Fixpack-master/_ApplyPatches.tp2

etc.

 

Then BWS moves everything in the C:\Games\Baldur's Gate 2\BiG-World-Fixpack-master folder up one level to the game folder, and removes the empty BiG-World-Fixpack-master folder.

 

Then it runs _ApplyPatches.bat.  That runs the script _ApplyPatches.tp2, which renames the "BiG World Fixpack" folder to "BiG_World_Fixpack"  (with underscores instead of spaces) and then looks for the subfolder BiG_World_Fixpack\_messages" ...

 

I don't see how this could have created a nested structure of BiG World Fixpack/BiG World Fixpack.

 

Just to confirm -- was your Baldur's Gate 2 folder "clean" (a fresh installation of the game) before you started BWS?  If you had a left-over Fixpack folder from a previous installation, that might cause some strange behavior.


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#275 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 08:55 AM

No, I promise it is clean installation. All was installed according to BWS instructions.That' s new adjustment. I reinstalled all, like it had been at the first time for clarity.

Attached Images

  • BWF.png
  • BWF2.png

Edited by Arm-chair, 01 February 2017 - 09:02 AM.


#276 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 09:01 AM

There's probably a clue in the fact that only "aurora" and "SpellPackB6" are there.  Is there also a BiG World Fixpack/BiG World Fixpack/aurora folder and a BiG World Fixpack/BiG World Fixpack/SpellPackB6 folder, or did only those two subfolders move up somehow?

 

I can't explain how this happened but if you move all of the contents from BG2\BiG World Fixpack\BiG World Fixpack to BG2\BiG World Fixpack and re-run the ApplyPatches script, it should work.


BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#277 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 09:08 AM

Yes, it worked. But:

  1. It happens every time I'm trying to install my BWP
  2. I have new problem

Is it the same problem from Viktor?

Attached Images

  • BWF3.png


#278 agb1

agb1
  • Member
  • 1623 posts

Posted 01 February 2017 - 09:18 AM

Different problem now.  Some of the files in the BiG World Fixpack\infinityanimations\_copy folder contain special symbols.  There's some code in the script that is supposed to try to catch that and use a different method, but it doesn't seem to be working.

 

Manual workaround:  Move everything (files and subfolders) from Baldur's Gate 2\BiG World Fixpack\infinityanimations\_copy to Baldur's Gate 2\infinityanimations.  Overwrite/replace all.  Then re-run BWS.  The Fixpack\infinityanimations\_copy subfolder will empty, so it will be able to get past the point where it got stuck last time.

 

Edit:

 

As for the nested Fixpack folders, I don't know if I should be looking for a bug in the extraction logic or in the installation logic.  Next time you do a clean installation, please configure BWS to "pause after extraction" (it's one of the options on the last tab just before you press the final "Continue" button to start the installation) and then, when it pauses, check in your game folder to see if the nested Fixpack\Fixpack folder structure is already there.  If it is, the problem is before the installation logic.


Edited by agb1, 01 February 2017 - 09:28 AM.

BiG World Fixpack (community collection of mod fixes and compatibility patches, with user-friendly cross-platform script)

 

BiG World Setup (tool to automate best-practice installation of Infinity Engine mods on Windows, with conflict analysis)

Latest version:    https://bitbucket.or.../get/master.zip


#279 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 01 February 2017 - 09:27 AM

Yeees! Finally I've managed to correct these bugs! Thank you a lot! :Bow:  If something be wrong, I' ll report tomorrow.


Edited by Arm-chair, 03 February 2017 - 11:39 PM.


#280 Arm-chair

Arm-chair
  • Member
  • 33 posts

Posted 03 February 2017 - 11:51 PM

Sorry for a small delay.
I've found the place of the problem. It's from unpacking BWP Fixpack. And I've got another bug. It begins when I replace infinityanimations _copy and re-run BWS:

C:\BigWorldSetup\BiG World Setup>cd /D "C:\Games\Baldur's Gate 2"

C:\Games\Baldur's Gate 2>
IF NOT EXIST BWP_Fixpack.installed pause

 

What should I do?

Edit:

So I'm not the only one who has problems with the extraction.

Posted Yesterday, 12:49 AM

The latest show-stopping craziness is telling me that the Big World Fixpack is missing folders.

Also I've made some small and inconspicuous change in my installation (I hope it's the last).

Attached Files


Edited by Arm-chair, 06 February 2017 - 11:33 PM.