Skip to content

File Formats

seedhartha edited this page Apr 30, 2021 · 20 revisions

SWTOR File Formats

SWTOR uses a number of different file formats to store data. These are interesting, but are likely only relevant to you if you are making a tool, or are wondering what type of data is stored in a particular file. Each of these different formats serves to store data for a particular use. The most common files you will likely come across are .gr2, .jba, .mat, .dds, and .xml.

Table of contents

Sections
Formats
File Structures
Reading a file

Formats

Below is a list of all of the know formats used in the game

Format Content Type Typical usage
.gr2 binary models, skeletons
.jba binary animation data
.clo binary cloth animations
.mat xml stores texture data
.dds image texture maps
.xml xml LUTs*/indices

*LUT: Look Up Table

File Structures

.gr2

Variations

The .gr2 format has 3 variations:

  • GAWB: This is your typical model file. The file extension is .gr2
  • Skeleton: This is the skeleton (or armature) for animated models. The file extension is .gr2
  • lod: This is a .lod file, it contains level of detail data. The file extension is .lod.gr2

Structure

Check out the gr2 structure here

.clo

Check out the clo structure here

.jba

Check out the jba structure here

.mat

.dds

.xml

Reading a file

This section covers good conventions and the process for reading the file formats that are stored as binary.

Note: a good an efficient file reader will read the headers, and use that data to find the corresponding data, versus parsing the whole file (more on that later)

Table of Contents


INTRODUCTION

IMPORTING SWTOR MODELS INTO BLENDER: A BRIEF OVERVIEW.
Check this intro first. Afterwards, you can jump directly to the guides on extracting PCs, NPCs and others.


TOOLS

No need to read this section right now: each extracting/assembling guide explains its required tools anyway.

Applications and Blender Add-on tools:

Online Tools:

Deprecated Tools:

  • EasyMYP (Windows app).
  • Noesis (Windows app).

THE COMPLETE GUIDE TO AUTO-EXTRACTING AND ASSEMBLING PLAYER CHARACTERS AND NPCs:

READ THE BROAD STROKES FIRST: YOU'LL SEE IT'S EASIER THAN YOU THINK!


ASSEMBLING GAME LOCATIONS AUTOMATICALLY:


LOCATING AND ASSEMBLING ASSETS MANUALLY:


OTHER GUIDES (WIP):


MODDING (to do)

Modding isn't working at the moment due to SWTOR's change to a 64bit codebase. It's going to take a while 🙁.


DATAMINING (to do)

  • Overview.
  • Tools.

SWTOR TECHNICAL INFORMATION:


OTHER RESOURCES:

Clone this wiki locally