Jump to content


Photo

help with tis2bg2 tool


  • Please log in to reply
2 replies to this topic

#1 K4thos

K4thos
  • Modder
  • 315 posts

Posted 02 July 2015 - 12:45 PM

Hello,

I'm seeking help with using tis2bg2 tool. For some reason the output of conversion always end up being corrupted for me. I'm using vanilla files from retail BG1 game and yet I can't make them work no matter what I try (and there really isn't much to experiment with when it comes to this tool - just few options). Readme doesn't exist, but options can be viewed by running the tool in command line.

Could anyone please download this archive, extract it anywhere, try to use "convert.bat" and then load the TIS file in Near Infinity (new file is generated in BG2600\BG2600.TIS). For me it ends up looking like this:

 

bPzbJ8a.png

 

And yet pretty much the same code is used in BGT (just with array to provide arguments) and EasyTutu "Degreenifier" (done via batch file, older version of tool compared to BGT - tried both of them). Unless I miss something this batch code should properly convert files:

md BG2600
tis2bg2.exe -l AR2600 BG2600\BG2600

But nope, vanilla BG1 TIS file extracted with this code:

weidu.exe --noautoupdate --no-auto-tp2 --out "unbiff" --biff-get-rest "^AR2600"

becomes corrupted :crying: I don't get it.


Edited by K4thos, 02 July 2015 - 12:50 PM.


#2 Argent77

Argent77
  • Administrator
  • 1397 posts

Posted 02 July 2015 - 01:11 PM

You have to add option -h to create a proper header for the output TIS file.
 



#3 K4thos

K4thos
  • Modder
  • 315 posts

Posted 02 July 2015 - 01:19 PM

it works now :blush: Strange, as neither BGT, not Degreenifier used it (or I'm blind). Maybe header is automatically added during biffing? Doesn't matter now as it works fine with -h. Thank you.


Edited by K4thos, 02 July 2015 - 01:19 PM.