Author Topic: Tisunpack Bat File  (Read 2815 times)

Offline Rabain

  • Planewalker
  • *****
  • Posts: 281
  • Gender: Male
  • Luck o' the Irish!
Tisunpack Bat File
« 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
Touchstone: Wild Elf Fighter
BG2CPM: Dialog Portraits for Everyone!
WTPFamiliars: A new version of the Find Familiar Spell
All at: Border Kingdoms

Offline Cuv

  • Planewalker
  • *****
  • Posts: 79
Re: Tisunpack Bat File
« Reply #1 on: June 04, 2004, 02:47:04 AM »
Try looking at my Iron Modder entry:)   Iron Modder 3

Cuv

Offline Ghreyfain

  • Moderator
  • Planewalker
  • *****
  • Posts: 4705
  • Gender: Male
    • Pocket Plane Group
Re: Tisunpack Bat File
« Reply #2 on: June 04, 2004, 03:37:03 AM »
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.
Earn Money Sleeping.

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7246
Re: Tisunpack Bat File
« Reply #3 on: June 04, 2004, 03:59:49 AM »
V0.91 on this site also supports wildcarding, so you can do *.tiz instead of the multiple individual lines.
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

Offline Rabain

  • Planewalker
  • *****
  • Posts: 281
  • Gender: Male
  • Luck o' the Irish!
Re: Tisunpack Bat File
« Reply #4 on: June 04, 2004, 07:07:16 AM »
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
Touchstone: Wild Elf Fighter
BG2CPM: Dialog Portraits for Everyone!
WTPFamiliars: A new version of the Find Familiar Spell
All at: Border Kingdoms

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7246
Re: Tisunpack Bat File
« Reply #5 on: June 04, 2004, 09:18:11 AM »
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.
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: