Wurst2 provenance: what in the Wurst's body is still from before the jam
Updated Sun Nov 15 17:06 EST 2026 by eng7, from git blame on branch eng7/flow. This file goes to Don either way.
The body was ported into SPOILED on Sat Nov 14 at 14:46 (commit 3761d20c) from DEEP FRIED, a project that predates the jam: 751 lines of SPWraithBody.cpp, 112 lines of SPWraithBody.h, Content/Data/wraith_layout.json and 11 assets under /Game/Wraith. Everything else in the body's four source files was written during the jam.
Still from the port today
- SPWraithBody.cpp: 641 lines of the port remain (of 751). By function below.
- SPWraithBody.h: 104 lines of the port remain (of 112): member and method declarations.
| Function | Ported lines left | Lines now | Status under -SPWurst2 |
|---|---|---|---|
| AddHood | 119 | 153 | not run (the hood is off by default; the head is the generated knot) |
| (file scope: includes, helpers, constructor) | 67 | 78 | ported code still runs |
| Animate | 61 | 65 | REPLACED: W2Animate. Same layers and the same tuning numbers (angles, rates) as the ported idle, because the fight was tuned on them; the code is new |
| Load | 46 | 48 | REPLACED: W2Load in SPWurst2Core.cpp runs; the ported lines stay only as the fallback |
| PoseFranks | 46 | 64 | REPLACED: W2PoseCells |
| Loose | 42 | 47 | REPLACED: W2Loose |
| Drive | 32 | 89 | REPLACED: W2Drive, W2Clock, W2Stand, W2MassCells; the mass and burst block inside is jam work moved over whole |
| SlotXf | 26 | 101 | ported code still runs |
| Flush | 26 | 61 | REPLACED: W2Draw, W2Bound, W2DrawCore, W2DrawEmber; the core cover and ember rules inside are jam work moved over whole |
| Detach | 22 | 23 | REPLACED: W2Detach |
| Blast | 20 | 89 | ported code still runs |
| BuildStep | 19 | 93 | ported code still runs |
| ArmIK | 17 | 20 | REPLACED: W2ArmReach |
| Floorward | 17 | 18 | REPLACED: W2Floorward |
| Spawn | 13 | 15 | ported code still runs |
| BuildLayout | 13 | 49 | ported code still runs |
| GroundZ | 13 | 14 | REPLACED: W2GroundZ |
| Solve | 11 | 13 | REPLACED: W2Solve |
| SetData | 9 | 21 | ported code still runs |
| Enabled | 6 | 6 | ported code still runs |
| Burst | 6 | 11 | ported code still runs |
| Build | 3 | 9 | ported code still runs |
| Live | 2 | 2 | ported code still runs |
| SetShown | 2 | 9 | ported code still runs |
| BodyXf | 2 | 15 | ported code still runs |
| LegXf | 1 | 60 | ported code still runs |
Replaced by jam work under -SPWurst2
-
The layout data.
Content/Data/wraith_layout.json(ported) is not read.Scripts/wurst2/wurst2_layout.py, written Sun Nov 15, generateswurst2_layout.jsonandwurst2_stream.json: the cells, their shells and lanes, the head knot and the dark core. Kept the same on purpose, because the fight code depends on them: the 20 bone names and joint places, the 14 hit capsules, the cell counts (908 body, 365 head), the region numbers and the files' field names. -
The lanes and the head knot.
wraith_stream.jsonwas made during the jam (Sat) but its places were a warp of the ported layout; under -SPWurst2 it is not read. -
The meshes and material. Under -SPWurst2 the body draws eng4's franks made today from the Megascans Smoked Sausage scan (a declared sourced asset): four meshes under /Game/Wurst2/Mesh and the material /Game/Wurst2/MI_W2Frank. The dark core under the cells uses the engine's plain shape material. None of the 11 ported assets under /Game/Wraith is loaded by the body. If the /Game/Wurst2 assets are missing from a build, the body falls back to /Game/Wraith and logs
WURST2 assets under /Game/Wurst2 MISSING. - Still pointing at /Game/Wraith, outside the body: SPFrankKin.cpp (the frank spiders, eng18), SPFrankShot.cpp (the frank the player fires) and the load list in SPLoadHold.cpp. These need the same switch before /Game/Wraith can be left out of the cook.
-
Functions. Under -SPWurst2 a function marked REPLACED in the table does not run its ported lines: the first line of the old function hands over to the new one in
SPWurst2Core.cpp. The ported lines stay in the file only as the fallback while the flag is off, and are deleted when the flag becomes the default.
Verified
- Sun Nov 15, 14:52 ET, tower 2, commit 4cf1da4f (contains master e41689be), headless, bot normal, flags -SPWurst2 -SPWurstFlow: the whole fight cleared again (END result=clear at 162.0 s) after the look fixes.
- Sun Nov 15, 13:25 ET: the director passed the new body as functional from the lead's sheets. The flag stays off until the lead's bot clears pass on it.
-
Sun Nov 15, 13:02 ET, tower 2, commit 08899936, headless, bot normal, flags -SPWurst2 -SPWurstFlow: the whole fight cleared (serpent and spider forms, the grab, the death at the grab, END result=clear at 144.0 s). The log line
WURST2 assets under /Game/Wurst2 in use: nothing is drawn from /Game/Wraithwas present.
Not verified
- The look has had one round of fixes (uneven rings, heavier chest, a light cook at the lens); the director has not yet judged the result.
- The lead's clip and the director's pass are still to come.
What cannot be removed today
- The 104 ported lines left in SPWraithBody.h are declarations (the frank and bone structs, member names). About 4,900 lines of jam code use those names, so they stay.
- Lines the table lists under BuildStep, Blast, SetData, Spawn, the constructors and the file's top are engine setup calls, includes, a sort and a few lines of glue. They are next, then the 119 lines of AddHood are deleted (the hood is not used).