Jump to content


Check the bodies and BWS


  • Please log in to reply
18 replies to this topic

#1 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 06:21 AM

Hello, I've encountered the following problem in my installation of CtB using BWS.

Despite being checked for installation both in mod management screen and in the sequence view, during the installation itself the mod is skipped and appropriate mods that depend on CtB report the mod as missing.

Any suggestions on what to do next?



#2 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 06:28 AM

You should have files named setup-ctb.debug, setup-ctb_ff.debug, setup-ctb-chores.debug and setup-ctbcutimp.debug containing the output of the WeiDU commands.

 

You should also have a file named BiG World Install Debug.txt in your BiG World Setup\Logs folder if you haven't finished the entire install, or named BiG World Setup Debug.7z in your game folder if you have finished the entire install.

 

Those debug files should indicate what went wrong.


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


#3 -Guest-

-Guest-
  • Guest

Posted 16 November 2016 - 06:33 AM

Just checked the install debug and found this for CtB:

 

##### Check the Bodies #####
### 0000: Check The Bodies ###
Ready for installation
Setup-CtB.exe --no-exit-pause --noautoupdate --language 0 --skip-at-view  --force-install-list 0 --logapp
[Setup-CtB.exe] WeiDU version 24000
In state 1507, I expected one of these tokens:
  [242] END
Parse error (state 1507) at BUT_ONLY_IF_IT_CHANGES
 
[SETUP-CTB.TP2] PARSE ERROR at line 1366 column 1-22
Near Text: BUT_ONLY_IF_IT_CHANGES
GLR parse error
 
[SETUP-CTB.TP2]  ERROR at line 1366 column 1-22
Near Text: BUT_ONLY_IF_IT_CHANGES
Parsing.Parse_error
ERROR: parsing [SETUP-CTB.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [SETUP-CTB.TP2]: Parsing.Parse_error
 
FATAL ERROR: Parsing.Parse_error
 
Thank you for pointing me to this. What should I do next to fix this error?


#4 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 07:08 AM

The file SETUP-CTB.TP2 is formatted incorrectly.  Can you upload it somewhere for me to take a look?

 

BWS applies a couple of patches on top of the original files, and probably one of those patches was changed without sufficient testing.


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


#5 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 07:16 AM

Thank you for getting back on this so quickly!

Here it is:

http://www.filedropper.com/setup-ctb

(the download button is the grey "download this file" one)

If you'd prefer some other hosting site please let me know.

 



#6 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 07:25 AM

Apologies, I took the previous file out of the archive BWS downloaded.

 

If that might have been an issue, here is the file i assume BWS patched and put in my Baldur's Gate 2 installation directory. (I found it in my BG2 installation folder)

 

http://www.filedropper.com/setup-ctb_1

 

Sorry for the confusion.



#7 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 07:28 AM

Thanks, I was about to ask.  Checking now.


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


#8 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 07:40 AM

Progress.  Found that Nightfarer added a patch for Setup-CtB.tp2 to the BiG World Fixpack 16 days ago.  I'm checking it now...


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


#9 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 07:48 AM

Here is a modified setup-ctb.tp2 file.  See if setup-ctb.exe works for you using this.


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


#10 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 07:53 AM

Thank you, I'll try it out now!



#11 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 08:05 AM

I replaced the existing file with the one you uploaded (after renaming it) and ran setup-ctb.exe

 

The installation ran smoothly until it encountered an error

 

Installing new creatures...
Copying 1 file ...
Copying and patching 1 file ...
ERROR: [ZILFGT01.CRE] -> [override] Patching Failed <COPY> <Invalid_argument<"Char.chr">>
Stopping Installation because of error.
 
Here is the debug file that was created, the error appears in line 4565 when I checked with notepad++.
 
 
Is this supposed to happen if I don't use BWS and run the installation independently, just from the setup-ctb.exe in BG2 game folder?


#12 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 08:15 AM

Yes, it would happen if you ran the setup manually too, because it's a mistake in the tp2 file.  This was an attempt to fix a file-overwrite problem, but it's not working quite right.

 

The error Invalid_argument <"Char.chr"> -- I think -- means we wrote some text but failed to end it with a null character.

 

Here's another attempt with a couple of WRITE_ASCII commands changed to WRITE_ASCII_TERMINATE:

 

https://ufile.io/68b20

 

Thanks for being our guinea pig!


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


#13 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 08:30 AM

I'm happy to test anything out. I am also grateful for how quick you are to solve this issue.

 

I replaced the existing setup-ctb.tp2 in my BG2 folder with the one you uploaded. I then ran setup-ctb.exe and an error was encountered.

 

Here is the debug file.

 

https://ufile.io/34125



#14 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 08:35 AM

I made a mistake this time.  WRITE_ASCII_TERMINATE isn't the right solution.  In fact I think the problem was nearby:  WRITE_BYTE instead of WRITE_SHORT for setting the creature's kit.

 

Third time's a charm?

 

Here's a new tp2 that I actually tested myself.  Seems to work.

 

https://ufile.io/cf124


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


#15 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 08:47 AM

I think it worked!

 

The installation concluded without any errors and reported that CtB was successfuly installed.

 

Here is the debug file for posterity:

https://ufile.io/1a418

 

In order for BWS to use this new setup-ctb.tp2, should I replace the existing one in the .rar archive?



#16 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 08:52 AM

I've uploaded the correction to the Fixpack, so the next time you do a fresh install with BWS it will get the latest Fixpack with the correction included.  No need to keep that test tp2.

 

By the way, there was a problem with BWS' own auto-update (it was still getting latest Fixpack, but wasn't getting the latest changes to BWS itself).  I think I fixed BWS' auto-update two days ago, but that obviously doesn't help people whose auto-update is broken in their local copy.  So, if you haven't downloaded a fresh copy of BWS in the past few days, click the download link in my signature to get the latest.


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


#17 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 08:54 AM

Also note that -- for your current game -- CtB has several parts, and you've only installed one of them so far.

 

After installing CtB itself, you probably want to also install CtB-Chores, CtB_FF, TethyrForestPatch (only needed if you are also using Tortured Souls or Tashia Remix) and CtBcutImp ... in that order.


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


#18 -Haywood Jablome-

-Haywood Jablome-
  • Guest

Posted 16 November 2016 - 08:55 AM

I'll do just that!

 

Thank you kindly for fixing this issue at such a rapid pace!



#19 agb1

agb1
  • Member
  • 1623 posts

Posted 16 November 2016 - 08:55 AM

Happy to help.


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