Jump to content


Photo

BiG World Project -- Cleanup batch file


  • Please log in to reply
8 replies to this topic

#1 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 27 April 2012 - 02:05 PM

It deletes a file called language.txt from the main game directory. This is a game file and is used from inside the game when the player presses the button "Assign Keys" from inside one of the config windows. If it isn't present the game drops to windows and displays a cannot find file window. The window can be closed and returning to the game is no problem. However, it should not be deleting this file.

Also in order for me to test out the cleaning ability of the batch file, I had to replace all TXT calls within the bat file itself with the actual strings from the strings.txt. May have been my system, but it wasn't recognizing "BiG World\Installpack\temp"@200 as a file After bypassing the setting of TXT and replacing each %TXT% @XXX with the matching strings the file ran properly.

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


#2 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 27 April 2012 - 08:21 PM

I'm glad I was just testing out the stuff and not actually planing to play this particular setup....

When they say that it will make it impossible to install mods, they mean it. they removed a lot of stored mod content making it impossible to look up specific code from a mod when a problem is discovered and can be tracked down to a specific mod.

Also running the cleanup batch file does something so that running a change-log on items is difficult at best. There is enough output to locate the backed up files and still determine the problem, but it can't actually list the the tp2's as is normal.

example of borked change-log data due to the cleanup batch file's processes
Spoiler

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


#3 Victor Zafiro

Victor Zafiro
  • Member
  • 10 posts

Posted 28 April 2012 - 02:35 AM

Might sound silly, but how do i edit the batch file to match the strings in order to actually pop up the option to clean up the game folder?

Edited by Victor Zafiro, 28 April 2012 - 02:43 AM.


#4 dabus

dabus
  • Member
  • 1982 posts

Posted 28 April 2012 - 04:35 AM

Leonardo thinks that you ran the Install.bat before you run the Cleanup.
If he did think about the cleanup while changing how messages are displayed. So selecting a language and exiting the install should do the trick.
(Can't confirm it now being away from a computer.)
THINK! - It's not illegal.

#5 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 28 April 2012 - 06:59 AM

Leonardo thinks that you ran the Install.bat before you run the Cleanup.
If he did think about the cleanup while changing how messages are displayed. So selecting a language and exiting the install should do the trick.
(Can't confirm it now being away from a computer.)

for my particular case it was with a setup made using the BWS beta tool, where after the installation is all over it says

L8=The installation is finished.|In order to enjoy the first part of the Trilogy in the new garb of the BGII engine, start the BGMain.exe in the BG2 directory. Use the TobExLoader.exe instead only if you installed "Throne of Bhaal Extender" without its BGMain patch.||If you wish, you can use the BiG World Clean-Up.bat to save some disk-space.|||Thanks you for using the "BiG World Setup".

That's what I tried doing...

perhaps I should have reported it under the beta tool's thread....

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


#6 dabus

dabus
  • Member
  • 1982 posts

Posted 28 April 2012 - 07:46 AM

He merged all texts into one file from 11.0 to 11.1, but he did not modify the Cleanup accordingly (have the same checksum and there's not type|findstr|cut-action to be found to get the text-blocks from the strings.txt-file.
So it wouldn't work if you did start the install-batch either.
THINK! - It's not illegal.

#7 tomkaz

tomkaz
  • Member
  • 992 posts

Donator

Posted 29 April 2012 - 05:38 PM

BiG World Cleanup.bat removing language.txt has been a problem for a while. It was fixed in version 9 or 10, but it is back again in version 11.

I keep a spare copy of language.txt and add it back to BGII - SoA after the installation is finished.

Tom

#8 Victor Zafiro

Victor Zafiro
  • Member
  • 10 posts

Posted 30 April 2012 - 12:24 PM

I have to say, i would like to clean up the game folder; i like things to be clean, and its not like ill be reinstalling anything; never works with an over 20 GB install.
I just like to lurk, so ive been waiting for someone to come with a solution(someone always does, never had to rage about anything) to: "The system cannot find the file specified".
Should mention ive been searching the forums before posting; using the install.bat doesnt do it, and cant say i know how to "edit" "thingys" myself.
Thats it, any ideas?
Thanks in advance.

Edited by Victor Zafiro, 30 April 2012 - 12:25 PM.


#9 Sasha Al'Therin

Sasha Al'Therin
  • Modder
  • 615 posts

Posted 30 April 2012 - 12:58 PM

weidu 232 when it comes out will output debug files to a directory called debugs... so you could clean up some of it by creating a directory called 'debugs' and moving all those debug files into it.

That alone will be a big help. I actually don't recommend editing the cleanup batch file as I mentioned in my first post of this thread. It caused major problems with being able to run change-logs and track down issues. In fact it's so bad that, I don't plan on playing that game any more...

Probably the smartest thing to do is to MOVE any files you think are not needed into a temporary directory and if you find out it is needed move it back. It would provide some organization if not actual 'cleaning'

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