Tisunpack
#1
Posted 17 December 2007 - 08:32 PM
#2
Posted 18 December 2007 - 02:40 AM
Or are you sure tisunpack is not working because there is no tis file in the override. If there is a tis file in the override after install then it is not a tispack issue. More likely there is something wrong in/with the area file itself.
#3
Posted 18 December 2007 - 11:08 AM
Does the area work if you CLUA to it ingame before you tiz it for distribution?
Or are you sure tisunpack is not working because there is no tis file in the override. If there is a tis file in the override after install then it is not a tispack issue. More likely there is something wrong in/with the area file itself.
No tis file in the override. Haven't tried to CLUA it in to game. And I keep getting this error
'....' is not reconized as an internal or external command, operable program or batch file.
This is the unpack.bat
@echo off
Echo Copying TIZ files to override
copy Neh'taniel\tiz\*.* override\*.*
cd override
Echo Uncompressing TIZ files
tisunpack -f sk5201.tiz
tisunpack -f sk5401.tiz
tisunpack -f sk6400.tiz
...
...
Echo Delete the TIZ files
del sk5201.tiz
del sk5401.tiz
del sk6400.tiz
...
...
del tisunpack.exe
#4
Posted 18 December 2007 - 12:09 PM
#5
Posted 18 December 2007 - 12:20 PM
In either other BAT files or the TP2 is "tisunpack.EXE" copied to the game folder?
the tisunpack.exe is in the areas folder and the TP2 copies the entire folder to the override
COPY ~Neh'taniel/Areas~ ~override~
#6
Posted 18 December 2007 - 03:09 PM
Have you manually tried the commands in 'unpack.bat'? From the top-level, which is where 'unpack.bat' should be, try these lines, one at a time:
copy Neh'taniel\tiz\*.* override\*.* cd override tisunpack -f sk5201.tiz
#7
Posted 18 December 2007 - 03:49 PM
'unpack.bat' is supposedly in the top-level game folder?
Have you manually tried the commands in 'unpack.bat'? From the top-level, which is where 'unpack.bat' should be, try these lines, one at a time:copy Neh'taniel\tiz\*.* override\*.* cd override tisunpack -f sk5201.tiz
Yes, it's in the top level of the folder but, forgive my ignorance, how do I go about manually trying the commands?
#8
Posted 18 December 2007 - 07:52 PM
Is there a line in your tp2 that copies unpack.bat into the main BG2 directory?
And following that copy is there a line in your tp2 that runs unpack.bat ?
#9
Posted 18 December 2007 - 08:49 PM
According to your bat all the contect of the folder Neh'taniel\tiz\ should end up in the override...is any of this happening?
Is there a line in your tp2 that copies unpack.bat into the main BG2 directory?
And following that copy is there a line in your tp2 that runs unpack.bat ?
In the TP2, this is the only line that refers to the unpack.bat
AT_INTERACTIVE_EXIT ~SK#unpac.bat~
None of the tiz files end up in the override.
#10
Posted 19 December 2007 - 12:38 AM
For example if the mod is zipped there should be instructions to place the unpack.bat directly in the BG2 folder...not inside the Neh'taniel folder. However that is not the standard approach. The standard is to add a line to the tp2:
COPY ~Neh'taniel/SK#unpac.bat~ ~SK#unpac.bat~
Which would copy the unpack.bat file from inside the neh'taniel folder to the BG2 directory where it needs to be in order to run properly.
Again: the bat file needs to be inside the BG2 folder, not inside the Neh'taniel folder inside the BG2 folder.
Place the COPY before the AT_INTERACTIVE_EXIT obviously.
#11
Posted 19 December 2007 - 02:11 PM
So where is the unpack.bat file installed to when you install the mod?
For example if the mod is zipped there should be instructions to place the unpack.bat directly in the BG2 folder...not inside the Neh'taniel folder. However that is not the standard approach. The standard is to add a line to the tp2:
COPY ~Neh'taniel/SK#unpac.bat~ ~SK#unpac.bat~
Which would copy the unpack.bat file from inside the neh'taniel folder to the BG2 directory where it needs to be in order to run properly.
Again: the bat file needs to be inside the BG2 folder, not inside the Neh'taniel folder inside the BG2 folder.
Place the COPY before the AT_INTERACTIVE_EXIT obviously.
#12
Posted 19 December 2007 - 02:13 PM
So where is the unpack.bat file installed to when you install the mod?
For example if the mod is zipped there should be instructions to place the unpack.bat directly in the BG2 folder...not inside the Neh'taniel folder. However that is not the standard approach. The standard is to add a line to the tp2:
COPY ~Neh'taniel/SK#unpac.bat~ ~SK#unpac.bat~
Which would copy the unpack.bat file from inside the neh'taniel folder to the BG2 directory where it needs to be in order to run properly.
Again: the bat file needs to be inside the BG2 folder, not inside the Neh'taniel folder inside the BG2 folder.
Place the COPY before the AT_INTERACTIVE_EXIT obviously.
All of that is as it should be and the tiz files are in the override. So, there is something else causing the area to crash after it loads. Thanks for the help. Going to have find a bug squasher to fix this.
#13
Posted 19 December 2007 - 02:34 PM
Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle
#14
Posted 19 December 2007 - 03:01 PM
You could try running the G3 Debuggerer on it. As for entering commands manually, do that from a command prompt. Go to Start > Run and enter 'cmd' in the field, then 'cd c:\games\bg2' or wherever your game is installed.
Thank you Miloch! I'll try that