Skip to content

Collection of functions for modifying resources of Infinity Engine games, written in Go.

License

Notifications You must be signed in to change notification settings

InfinityTools/go-ietools

Repository files navigation

Go-Infinity-Tools

GoDoc

About

go-infinity-tools provides functionality to access and modify structured or textual resource types commonly found in Infinity Engine games, such as Baldur's Gate or Icewind Dale.

The package is written in Go. It currently provides three sub-packages: buffers, pvrz and tables.

Package ietools contains several helpful constants and functions that are used by the sub-packages. External dependencies: golang.org/x/text/encoding/charmap.

Package buffers contains a set of functions for reading, creating or modifying structured resources. It is loosely based on a subset of functions provided by WeiDU. The package has no external dependencies.

Package pvrz implements a high-level PVR/PVRZ texture manager. External dependencies: github.com/InfinityTools/squish (see go-squish for more information).

Package tables allows you to read and modify table-like content in text format, such as 2DA or IDS. Functionality has also been inspired by WeiDU. External dependencies: golang.org/x/text/encoding/charmap.

Building

go-infinity-tools package path is github.com/InfinityTools/ietools. Main package and each sub-package can be built via go build.

You may have to specify additional options, e.g. via CGO_LDFLAGS environment variable, to compile the pvrz package.

Documentation

For ietools docs, see https://godoc.org/github.com/InfinityTools/go-ietools .

For buffers docs, see https://godoc.org/github.com/InfinityTools/go-ietools/buffers .

For pvrz docs, see https://godoc.org/github.com/InfinityTools/go-ietools/pvrz .

For tables docs, see https://godoc.org/github.com/InfinityTools/go-ietools/tables .

License

go-infinity-tools and all sub-packages are released under the BSD 2-clause license. See LICENSE for more details.

About

Collection of functions for modifying resources of Infinity Engine games, written in Go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages