Jump to content


Photo

Tis2Ovl - A TIS overlay converter

tis overlays converter

  • Please log in to reply
3 replies to this topic

#1 Argent77

Argent77
  • Administrator
  • 1419 posts

Posted 05 October 2019 - 07:50 AM

File Name: Tis2Ovl - A TIS overlay converter
File Submitter: Argent77
File Submitted: 05 Oct 2019
File Category: IE Modding Tools

Tilesets with overlays (e.g. water or lava) are not directly interchangeable between the original BG2 engine and the Enhanced Editions, as both engines expect different overlay mask definitions. This command line tool allows you to convert tilesets between the two engine variants.

Usage:
Usage: tis2ovl [OPTIONS]... WEDFILE...

Retrieve information from WEDFILE(s) to convert tileset (TIS) overlays between classic BG2 and
Enhanced Edition games.

Options:
  -c            Convert TIS overlays from classic to Enhanced Edition mode.
  -e            Convert TIS overlays from Enhanced Edition to classic mode.
                (Note: Omit -c and -e to autodetect TIS overlay conversion mode.)
  -s path       Search path for TIS files. This option can be specified multiple times.
                Default: current directory
  -o out_path   Output directory for TIS files. Omit to update source TIS files instead.
  -q            Enable quiet mode. Do not print any log messages to standard output.
  -h            Print this help and exit.
  -v            Print version information and exit.

TIS file names are retrieved from the specified WED files. They are searched for in the specified search paths, or the current directory if no search path has been specified. Only palette-based tilesets are supported by the tool.

Note: On systems with case-sensitive filesystems TIS filenames are assumed to be lower-cased.

The package contains the source code, binaries for Windows, Linux (both in 32-bit and 64-bit variants) and macOS as well as a collection of WeiDU functions to deal with tis2ovl executables for multiple platforms and architectures, including a detailed description and example code. The latest source code is also available on GitHub.

Click here to download this file

#2 Vlan

Vlan
  • Member
  • 194 posts

Posted 06 October 2019 - 01:34 AM

Will this tool fix the broken, green looking water that appears, when you try to play EE maps in Classic?

 

You're my absolute hero if it does that.



#3 jastey

jastey
  • Administrator
  • 3219 posts

Posted 06 October 2019 - 03:54 AM

Thank you again for this tool!

#4 Argent77

Argent77
  • Administrator
  • 1419 posts

Posted 06 October 2019 - 04:07 AM

Will this tool fix the broken, green looking water that appears, when you try to play EE maps in Classic?

 

You're my absolute hero if it does that.

The green water is caused by the BG1 overlay format, which isn't directly handled by this tool. However, you can make it work in classic BG2/BGT if you run this tool on the BG1EE map followed by tis2bg2 (found here).







Also tagged with one or more of these keywords: tis, overlays, converter