Deliverable Metadata — Completed
- Project: Star Wars: The Old Republic (SWTOR) (
swtor)- Author: Codex · Role:
corpus guide· Status:completed- Last Updated: 2026-10-03 (file date)
- Source Scope: Supplied SWTOR client archives
Result: PASS for a bounded local extraction pilot. The supplied archives support a source-linked searchable corpus of SWTOR conversation text and graph structure. The test recovered three conversation resources and their English localization, preserved branches and raw condition/action data, and verified the output with a second reader. A complete game corpus has not yet been built.
The authorized test was the archive inventory and small conversation extraction described in the user’s screenshot. The screenshot was used as task context. No instructions embedded in it were treated as a separate authorization to process the entire game.
Inventory and snapshot
The supplied Assets/ folder contains 101 TOR archives, 58,865,330,440 bytes (58.87 GB; approximately 54.82 GiB), and 812,373 nonempty archive-table entries. Every supplied archive has TOR container version 6. Their compressed sampled resources use Zstandard, which explains why the older zlib-only reader failed the first decompression probe. The working reader supports Zstandard and retains the older zlib path for applicable containers.
Archive version 6 is a container-format version, not the game’s patch number. No authenticated client build marker was supplied outside the Assets folder; the exact SWTOR patch remains unverified. Archive names alone do not establish currentness or a complete installation.
The inventory retains archive name, resource hash, table-entry offset, data offset, header length, compressed and decoded sizes, compression flag and stored 32-bit checksum. Known internal file paths were mapped with the external Jedipedia name dictionary and checked against the actual archive hashes. Unknown names remain hash-addressed; no file name is invented.
All 101 archives retained their original sizes and modification times. The two sampled original archives were hashed twice during validation and remained identical. The tools open original assets with read-only access and write derivatives under this research folder.
Conversation test
| Conversation resource | Graph nodes | Nodes with text references | Linked localization records, including empty slots | Branch inventory |
|---|---|---|---|---|
Spindrall, Korriban Sith Inquisitor resource (sith_sorcerer) | 85 | 43 | 86 | Spindrall (workspace ref: spindrall.md) |
| Satele Shan, Tython Jedi Knight resource | 53 | 28 | 56 | Satele Shan (workspace ref: master_satele_shan.md) |
| Jailer Knash, Korriban Sith Warrior resource | 205 | 114 | 228 | Jailer Knash (workspace ref: jailer_knash.md) |
| Total | 343 | 185 | 370 |
The 343 graph nodes comprise 288 engine dialog-node records and 55 redirect-node records. Of the engine dialog nodes, 185 carry nonempty localization-reference maps; 103 have no text reference in that field and are retained as nodes without invented dialogue. Their precise gameplay roles are not individually audited. The graphs have 398 ordered root, child and redirect edges. Every edge target resolves, and all sampled nodes are structurally reachable from one of their resource’s stored roots. This does not establish that all branches can be encountered under runtime conditions.
The 370 linked records comprise 185 main-text slots and 185 choice-summary slots. 241 records contain text: 174 main-text records and 67 summaries. The remaining 129 are empty stored slots: 11 main slots and 118 summaries. Empty slots are retained explicitly; they are not additional dialogue lines. Nonempty counts are 54 for Spindrall, 36 for Satele Shan and 151 for Jailer Knash. There are 237 distinct nonempty text strings; repetitions are preserved rather than counted as independent lore evidence. The three full conversation string tables contain 576 records. Extra table records remain separate from graph-linked text. These particular linked samples did not exercise a female-specific string-table variant.
All seven speaker object IDs resolve to object metadata in the supplied global archive. Resolution supplies resource names and physical witnesses; it does not authenticate a line as observed in a playthrough. Each dialogue record retains its conversation/prototype ID, node key, speaker ID, child sequence, redirect target where applicable, string ID, raw flags, string-table record position and exact UTF-8 byte range.
The decoded raw objects preserve compiled conditions and previews, actions, quest grants/ends/progress, reward fields, NPC reactions where present, stage references and cinematic data. All 288 engine dialog nodes contain stored compiled-condition fields. These programs have not been decompiled or executed against live state. Empty reward or reaction fields are preserved as empty; the pilot does not claim every supported feature was exercised.
Supporting data
Eight source-located samples were recovered from four additional English resources:
| Table | Stored records in the decoded table | Pilot export |
|---|---|---|
/resources/en-us/str/cdx.stb | 7,705 | Two Tython-related codex texts |
/resources/en-us/str/qst.stb | 45,499 | Two Spindrall-related quest objectives |
/resources/en-us/str/itm.stb | 241,888 | Two item-bundle descriptions mentioning lightsabers |
/resources/en-us/str/abl.stb | 184,121 | Two gameplay ability descriptions mentioning Force Lightning |
See Supporting text samples (workspace ref: SUPPORTING_TEXT_SAMPLES.md). These four tables were decoded and preserved as raw resources for verification. Only eight selected records were exported to the pilot search database. Table totals are stored text-record counts, including alternate and internal material; they are not counts of distinct playable codex entries, quests, items or abilities. Object-prototype joins remain pending. Parameter placeholders such as <<1>> remain untouched. Numerical ability mechanics are a separate source class from narrative feats.
Validation
The validation record (workspace ref: VALIDATION.json) reports 40 passing checks:
- All ten sampled resources reproduce their saved raw bytes and SHA-256 hashes when extracted again from the original archive offsets.
- The Python decoder and the independently invoked archived Jedipedia reader agree on all three complete conversation objects: IDs, base classes, field IDs, types and nested values.
- Both decoders agree on all 576 conversation-string records, all eight supporting samples and the sizes of the four supporting tables.
- Every graph edge target resolves, all 370 localization joins succeed, and all seven speaker IDs resolve.
- The core graph and localization field IDs occur in the supplied numeric client schema.
- The small search database contains 378 records, passes SQLite’s integrity check, and returns records for a
Forcesearch. - Source metadata remains unchanged for all 101 originals; the two sampled source archives retain their hashes during validation.
The stored 32-bit archive checksum field is preserved without claiming that its algorithm has been verified. Initial conventional CRC probes did not match it. Integrity conclusions instead rest on source SHA-256, byte-for-byte re-extraction and agreement between independent parsers.
Scope limits and next stage
This is positive evidence that the proposed SWTOR corpus is technically practical. The archive and object systems differ from KOTOR’s, but the test now demonstrates the necessary local text/object joins and a graph-preserving export.
The exact client patch, installation completeness, physical-resource precedence, female-specific variants, class/gender/quest condition semantics, audio linkage, runtime availability and observed delivery remain unverified. Developer test resources discovered during inventory remain visibly separate from the sampled cnv.location.* resources. Neither namespace alone proves normal gameplay availability. External field-name labels are not local source wording: the names come from the archived Jedipedia dictionary, while the original numeric IDs remain primary.
The next concrete step is a full writing-focused corpus build: decode all available conversation prototypes and localization tables, preserve duplicate physical witnesses, join quest/codex/item/ability objects to their text, index raw script and condition references, establish resource priority and snapshot identity where local markers permit, and publish full coverage/validation counts. Audio and audiovisual verification can follow after those text/object joins. A separate condition-decoding pass must precede claims about which lines a class, gender or quest route actually delivers.
The workspace’s current reasoning guide was read and applied. Its scope, source-class, condition and uncertainty checks were run. No Force-capability comparison, narrative feat interpretation or character ranking was made in this technical pilot.
Decoder provenance
These external resources guide format decoding and labels; the extracted writing itself comes from the user’s local archives:
- SWTOR-Slicers TOR reader: archive-table layout; archived source in
../references/tor_reader.goandtor_file.go. - ExtracTOR source: current version-6 Zstandard handling; archived as
../references/Archive.cs. - Jedipedia File Reader: independent prototype and string-table decoder; archived reader snapshot uses
min.js?v=9f74e653d9and dictionarygom.js?v=5b84760165. - Jedipedia file-name dictionary: external hash-to-path discovery data; live/PTS list saved on 2026-10-03 and hashed in the reference manifest. A name-list update date is not a client build date.
Reference-file SHA-256 hashes are in reference_manifest.json. All original local witnesses and external source snapshots remain distinct.