Pocket Plane Group
Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Rabain on June 04, 2004, 02:36:10 AM
-
Hi All,
Okay so I'm trying to create a .bat file to use tisunpack to convert the tiz into the override directory as .tis files!
What i have is this (from looking at gharethaudio.bat):
@echo off
cd override
tisunpack -s ar0250.tiz
tisunpack -s ar0251.tiz
tisunpack -s ar0252.tiz
tisunpack -s ar0253.tiz
tisunpack -s ar0254.tiz
tisunpack -s ar0255.tiz
cd ..
notepad sicob\sicob.txt
Now the txt file appears at the end, but it gives me an error on the tisunpack that this is not a valid executable instruction or somesuch.
I have my tp2 calling sicobareas.bat and interactive exit, that bit works and i have tried with the bat in the same directory as the tp2 and inside the mod directory with the tiz files in both and it still does not work.
I can't seem to find a mod that uses a bat to tisunpack an area or else the mod is too large for me to download to have a look at.
Can someone point me in the right direction, what exactly am i missing here?
Thanks,
Rabain
-
Try looking at my Iron Modder entry:) Iron Modder 3
Cuv
-
You probably need to move the .bat file to the BG2 main folder, and then copy the tisunpack.exe file to bg2\override. Do this in the .tp2 as you would with any other file.
-
V0.91 on this site also supports wildcarding, so you can do *.tiz instead of the multiple individual lines.
-
V0.91 on this site also supports wildcarding, so you can do *.tiz instead of the multiple individual lines.
Excellent, this should make things handier. I think i was getting a bit confused about where the .bat, tisunpack.exe and tiz files should be. Now i take it that the .bat should be in the BG2 Directory (alongside the tp2) and the .exe and the tiz' should be in the override directory (?)
Will try this out! Thanks to all!
Rabain
-
Yes, putting tisunpack in override with the tiz files is the easiest way to do it, in my opinion. Then just use the batch file to delete tisunpack when you're done.