Repository navigation
Releases
v1.0.2 - Fix hardcoded path crash
Bug fix: hardcoded EXE path
v1.0.1 still crashed for users whose game install path differed from the dev machine. extract_level_textures.py had Shadows.exe as a module-level absolute path; the GUI patched GAME but not EXE, so Step 1 (texture decode) hit FileNotFoundError.
What changed
extract_level_textures.extract_all()now derivesEXE/OUT_DIRfromGAMEat call time- The GUI now patches every relevant module-level path on both extractor modules
Verification
End-to-end run against a game folder at C:\Users\<user>\AppData\Local\Temp\test_fakegame\ — completed cleanly: 32 images, 31 groups, 214 GLB exports.
v1.0.1 - Bundled relocator (no manual prep)
Bug fix: bundled DATA##.DLL relocator
v1.0 expected the user to have already produced _extract\dump\relocated\DATA##.img files, but never shipped the tool that does it. v1.0.1 fixes this — the GUI now runs build_relocated_image.py as Step 0 automatically.
What you do
- Download
SoteExtractor.exebelow - Run it; pick your game install folder (the one containing
Sdata\Shadows.exe) - Tick whichever boxes you want, click Run
No manual prep, no prior pipeline stage. Works on the GOG install out of the box.
Pipeline (now self-contained)
- Relocate
Sdata\DATA##.DLL→ flat images at base0x10000000(added in this release) - Decode level textures
- (optional) Extract level GLBs (positioned scene per DATA file)
- (optional) Extract character / prop GLBs (posed + rest variants)
v1.0 - Initial release
First public release.
Downloads
- SoteExtractor.exe — Windows GUI, single-file (~12 MB). No Python install required.
Features
- Engine-truthful asset extractor for Star Wars: Shadows of the Empire (1997 PC port).
- Two-checkbox GUI: extract levels, extract characters/props.
- Levels: one positioned scene .glb per DATA file (architecture + NPCs + props at world coordinates).
- Characters / props: ~30 distinct groups, each with posed (level pose) and rest-pose variants, plus LODs from secondary DATA files.
- Texture decoder: per-format dispatch matching the engine (CI4/CI8/I4/RGBA5551 with mip chains).
Pipeline
All decode rules derived from disassembly of Shadows.exe:
- Texture format dispatch:
0x49d1a0jump table at0x49d508 - Material binding:
0x414730(submesh[+0x24] -> entry[+0x08] -> texref[+0x08]) - Geometry decoder: unified dc-struct strip ops (op=6 always emits a quad as 2 tris)
- Scene graph walker:
0x46c600with seg5/seg6/seg7/seg8/seg9 dispatch
Prerequisites
The relocated DATA##.img + DATA##.json files must already exist under <game>\_extract\dump\relocated\. (These come from the prior pipeline stage that splits the GOG archives.)
Source
Source code in this repo: sote_extractor_gui.py is the GUI; the four extract_*.py modules are the engine.