Skip to content

Releases

v1.0.2 - Fix hardcoded path crash

Choose a tag to compare

@GTTeancum GTTeancum released this 07 May 14:16

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 derives EXE/OUT_DIR from GAME at 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)

Choose a tag to compare

@GTTeancum GTTeancum released this 07 May 13:24

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

  1. Download SoteExtractor.exe below
  2. Run it; pick your game install folder (the one containing Sdata\Shadows.exe)
  3. 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)

  1. Relocate Sdata\DATA##.DLL → flat images at base 0x10000000 (added in this release)
  2. Decode level textures
  3. (optional) Extract level GLBs (positioned scene per DATA file)
  4. (optional) Extract character / prop GLBs (posed + rest variants)

v1.0 - Initial release

Choose a tag to compare

@GTTeancum GTTeancum released this 07 May 02:53

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: 0x49d1a0 jump table at 0x49d508
  • 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: 0x46c600 with 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.