Star Wars – The Old Republic

April 7th, 2012 by Mr.Mouse

At the forum you can find a big discussion on the file types of Star Wars – The Old Republic. Archives can be opened by QuickBMS scripts, EasyMP and Hero.dll. Also, a nice list of all file types by SWTOR FAN:

List of file formats used in SWTOR
With the amount of new file formats discovered in the newest version of the client files and so many XML files dropped from the client, I decided to write a new list of file formats so that I could keep the old one as a historical reference and yet have an up-to-date version as well.
Of course, I may have missed some files, so please tell me if you have any more information to add to the list.

Archive files
These files are archives that contain other files.

File extension: .acb
File header: XX XX XX XX 00 00 00 00
Description: File containing bare audio files. The header is not completely correct (the first eigth bytes are actually a long integer) but should work.

File extension: .bkt
File header: PBUK……..DBLB
Description: Bucket files, contain compiled XML files with zlib encoding. Found in /resources/systemgenerated/buckets.

File extension: .bnk
File header: BKHD
Description: Container for Wwise audio files with additional metadata. Sections are named DIDX, DATA, HIRC, STID. Search for “bnkextr” tool in this topic.

File extension: .tor
File header: MYP
Description: Main archive for all files. In /Assets folder. Files start swtor_. Can be extracted with easyMYP.

Filelists
These files contain a list with references to other files. All in /resources/systemgenerated.

File extension: .gom
File header: DBLB (44 42 4C 42)
Description: Specification of bucket files. Contains files with zlib encoding???

File extension: .info
File header: PBCK (50 42 43 4B)
Description: List of buckets.

File extension: .info
File header: PINF (50 49 4E 46)
Description: List of prototypes.

File extension: .list
File header: SDEF (53 44 45 46)
Description: List of scripts.

Compiled files
These files are binary files and can only be read in a HEX editor or designated reader.

File extension: .bik
File header: BIKi (42 49 4B 69)
Description: Regular Bink Video files, contained in the /Movies folder (i.e. not part of the TOR archives). Can be opened with the RAD Video Tools.

File extension: .dds
File header: DDS
Description: Normal DDS texture (Direct Draw Surface), can be opened in any DDS reader.

File extension: .fxa
File header: FACE (46 41 43 45)
Description: FaceFX files, containing facial animations. Most have been renamed to .fxe, except the ones in /resources/server/facefx.

File extension: .fxe
File header: FACE (46 41 43 45)
Description: FaceFX files, containing facial animations, matched to the localised voices in the sound files.

File extension: .gfx
File header: CFX
Description: Possibly graphics effects, found in in /resources/gfx/gfx_production.

File extension: .gr2
File header: GAWB
Description: Granny Format by RAD Game Tools, containing the models. See this topic and that topic for more information. In the retail version, a custom model format seems to be used but the .gr2 file extension was retained.

File extension: .jba
File header: 00 00 00 00
Description: Possibly contains animations. easyMYP automatically classifies them as zero.txt. Found in /resources/anim.

File extension: .mph
File header: 02 00 00 00
Description: Contains list of animations in a compiled format.

File extension: .node
File header: PROT…. (50 52 4F 54 02 00 04 00)
Description: Prototype node, contains a compiled form of the XML dialogues and stringtables. See /resources/systemgenerated/prototypes.

File extension: .spt
File header: E8 03 00 00
Description: SpeedTree files, in /resources/art/static/area/…/speedtree. See this article.

File extension: .stb
File header: 01 00 00
Description: String table, in /resources/en-us/str.

File extension: .swf
File header: CWS. (43 57 53 0A)
Description: Normal Adobe Flash file, used for fonts and some animations, e.g. /resources/gfx.

File extension: .wem
File header: RIFF..6.WAVEfmt
Description: WWise audio file. Dialogue and sound effects are contained in .bnk/BKHD or .acb archives, music/soundtrack is stored in /resources/bnk2/streamed. See here for the decoding tool ww2ogg.

File extension: (none)
File header: SCPT
Description: Contains header with some strings and a custom script file (Hydra script?). See the folder /resources/systemgenerated/compilednative.

File extension: n/a
File header: AMX (41 4D 58 20)
Description: Contains animations.

Human-readable files (txt/xml)
These files can be opened and edited in normal text or XML editors, although I would recommend using a hex editor for editing. The format should be pretty self-explanatory.
Note: Many XML files are encoded in Unicode, so if you open them in a hex editor, don’t be surprised if you see bytes like ÿþ<.S.u.r.v.e.y.I.n.s.t.a.n.c.e.>. (e.g. ÿþ = Byte Order Mark for UTF-16). Also, some files have an <!xml> tag before the first tag.

Text files

File extension: .dat
File starts with: ! Room Specification
File starts with: ! Area Specification for …
File starts with: ! Character Specification for …
Description: Text file in /resources/world and /resources/art/dynamic/spec. Contains definitions of the rooms/maps. Comments are marked with an exclamation mark at the beginning of a line, eg. “! Room Specification”. Some files contain textures(?), to do that copy the hex bytes into a hex editor and decode them using gzip. See the HeroEngine wiki.

File extension: .dyc
File starts with: Version=2
Description: Text file (dynamic character specification). See /resources/art/dynamic/spec/ and the HeroEngine wiki.

File extension: .mag
File starts with: ! Character Specification for …
Description: Same as .dat files. See the HeroEngine wiki.

File extension: .prt
File starts with: ! Particle Specification
Description: Found in /resources/art/fx/particles.

XML files

.clo ? <ClothData> in /resources/art/dynamic/creature/model

.epp ? <Appearance> in /resources/gamedata/epp

.fxspec ? <nodeWClasses> in /resources/art/fx/fxspec

.lod ? <LODSchemaGroup> in /resources/art

.manifest ? <manifest> in /resources/gamedata/str/stb.manifest

.mat ? <Material> in /resources/art/shaders/materials

.not ? <v> in /resources/world/…/mapnotes.not

.rul ? <Rules> file (whether the PC can wear certain item combinations at the same time)

.svy ? <SurveyInstance> in /resources/gamedata/svy

.tbl ? <DataTable> in /resources/server/tbl

.tex ? <TextureObject> files for each .dds file

.xml ? General xml file, e.g.
? <aam> in /resources/anim
? <Assets> in /resources/art/dynamic
? <blocked> in /resources/engine/utility/stringfilter_profanity_en_us.xml
? <createControlType> in /resources/guixml
? <credits> in /resources/gfx/credits/credits.xml
? <Palette> in /resources/art/dynamic/gamenthue

(unknown file extension) ? <Root>

Unknown files
The following binary files occur only once and it is unclear what their content is. They do not have a file header to identify them and are yet to be analysed.

ft.sig
groupmanifest.bin
metadata.bin
resources/global.dep

Unknown engine files
As in the old file list, there are a few file extensions mentioned in paths but I have not yet found the respective files themselves. Instead of listing all of them, I will just point you to the old list on page 1.

Comments are closed.