Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
madsboddumPublic archive

About

[Deprecated - use swg-cli] Command line tool for managing .toc files found in the game Star Wars Galaxies

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

toc

Warning

This project is deprecated and no longer maintained.

It has been superseded by swg-cli, which provides command line access to Star Wars Galaxies client data — including table of contents files — in a single tool.

toc is a command line tool for working with Table of Contents files found in the game Star Wars Galaxies.

A toc file describes which tre file contains which files, such as iff, stf...

It's basically a lookup table, hence the name Table of Contents.

Installation

The tool requires Java SE 13 or newer.

You can download the tool under Releases.

Globally available in shells

$ sudo ln -s /path/to/toc.sh /usr/bin/toc

Examples

Here are some examples of use cases for the tool.

Searching for a file

We'll search for a file named something along the lines of transport_arriving.snd in sku0_client.toc.

$ toc -i sku0_client.toc -p | grep "transport_arriving.snd"
voice/sound/voice_starport_transport_arriving.snd@bottom.tre

Counting amount of entries in a toc file

We want to know how many files are in sku0_client.toc

$ toc -i sku0_client.toc -p | wc -l
193475

About

[Deprecated - use swg-cli] Command line tool for managing .toc files found in the game Star Wars Galaxies

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages