Repository navigation
OpenUnderworld 0.11.0 (experimental)
Experimental build. You need your own legally owned copy of Tomb Raider: Underworld (GOG build, tru.exe 1.1.0.0). No game data is included.
Run it:
chmod +x OpenUnderworld-0.11.0-x86_64.AppImage
./OpenUnderworld-0.11.0-x86_64.AppImage # launcher
./OpenUnderworld-0.11.0-x86_64.AppImage game --game-dir "/path/to/Tomb Raider Underworld"
AppImages from 0.1.0 on update in place: launcher tab Version & Updates → Check for updates → Download & install, or ./OpenUnderworld-0.11.0-x86_64.AppImage --update. The update manifest is signed with the project's Ed25519 key (manifest.json.sig); sha256sum -c OpenUnderworld-0.11.0-x86_64.AppImage.sha256 checks the download.
Requirements: x86_64 Linux with a current glibc/libstdc++ (built on Arch Linux), Mesa or another OpenGL 4.6 / Vulkan 1.3 driver, FUSE (or run with --appimage-extract-and-run).
Experimental. Requires your own legally owned copy of Tomb Raider: Underworld (GOG build); no game data is included.
- Lara's jump take-offs are tru.exe's, measured under Wine: standing 1441 up (apex 201.6), with the stick 1499 up +
1200 along it (leaving at 0.26 s), running 1276 up + 1975 forward (was 1803 up, 637 / 1274 forward); the stick
behind her turns her round into the running jump, to a side a standing jump that way. Poles are caught rising or
falling with the hands up to 138 above the axis (Hpole_perp_attach_M's start pose), so l4_traprooms' standing
jump to pole 1336 still connects (docs/GAMEPLAY.md Numbers; testJumpTakeOffsMatchTruTraces). - Lara's collision capsule is tru.exe's standing Havok proxy, measured under Wine: radius 79.01 (was 100), top 489.2
(was 512); the 121-unit Croft Manor hearth now stops her one radius short (tru.exe: 38..72); walls she climbs or
hangs on keep the old 100-unit root offset. - Swimming is tru.exe's speed, measured in the l2_cliffclimb sea under Wine: 1348.6 units/s at the surface and under
water (was 562), ramping up at 2475 units/s² and coasting to a stop at 3760 units/s² (testSwimSpeedMatchesTru). - Slides accelerate by gravity along the slope without friction or cap, as tru.exe on the l3_main_bedroom roof (was
2500 units/s² capped at 1400); a slide running off an edge keeps its descent (test
SlideAcceleratesAtGravityAlongSlope). - The follow camera rests where tru.exe's does (Wine): 1261 from a point 462.6 above Lara's feet at pitch −0.0225
(was 700 / 450 / −0.25); a looked-up or -down pitch eases back to rest while she moves (no yaw recentring, as
tru.exe) (testCameraRestAndPitchReturn). - The planar reflection pass (GL and Vulkan) draws exterior terrain first and clears the depth after it, as the main
pass does: panorama cylinders / sky domes no longer occlude reflected geometry. - Spline (reveal) cameras of a neighbour unit render: the portal walk starts from the spline's unit, not Lara's; the
l2_hubhall shiva-scales reveal (l2_puzzleroom spline 4) was an empty frame. The empty l2_hubhall default spawn after
1 s was that reveal fired by the old 1 s uber timers (gone since the joint simulation). - Shadow-only terrain groups (group +0x0C bit 1; tru.exe's colour pass 0x511810 skips them, the shadow pass 0x511E20
keeps them) are no longer drawn but still cast sun shadows (map and RT): the grey rock sheets hanging over the
l2_junglehub canopy are gone. - Exterior terrain (unit cell group +0x14: panorama cylinders, sky domes) is drawn behind all other geometry as tru.exe
does (far 2 % of the depth range, PCRenderTerrain +0xC8 / 0x51D0A0): the l2_junglehub start shows the temple behind
the pillars instead of the painted hillside card 10540; l2_norsehub, l2_cliffhall_b, l3_main_hall and l4_traprooms
no longer hide rooms behind their backdrops. Exterior meshes are not ray-traced. - Translated shaders get SkinMatrices bone 0 = identity (c85-c87, bend vector c88 = 0): the bend_* foliage vertex
shaders read it statically and collapsed to a point, so l1_seafloor's kelp and the jungle's bend broadleaf / bamboo
were invisible with the original shaders (rest pose, no sway). - Sun shadows (shadow map and RT) use tru.exe's caster rule: only materials with blob +0x44 bit 0x40000000 and blend
mode < 4, and terrain groups without the +0x0C no-shadow bit, cast; backdrop cards, light cards and tree IMFs no
longer put the l2_junglehub start ledge in shadow (docs/RENDERING.md "Visual sweep"). - Enhanced weather
autoshows a unit's snow / rain only inside its weather objects' particle columns (spawn radius +
drift, fall depth), not across the whole unit: l5_valaskjalf's hall stays dry outside the columns under its broken
roof (docs/RENDERING.md "Weather"). - Original shaders: tru.exe's planar water reflection (0x5CE800: the scene from the camera mirrored in the sea's
plane, half size, global texture class 5, PS InstanceParams c132–c134) in GL and Vulkan; the l1_seatop /
l2_cliffclimb sea reflects the cliffs (docs/RENDERING.md "Planar reflection"). - Uber objects simulate their physics joints (docs/formats/PHYSICS.md "Uber joints"): state entry actions create /
remove hinge and prismatic joints (frame from the object model's marker, body = the section's model), set their
limits and motors and register range watches; triggers 14 / 15 fire when a joint's position or velocity enters /
leaves a watched range, replacing the 1 s timers (l4 hallway ramps fall and rise on their joint, the l1 kraken
entrance gate opens when its halves reach the range, the l4 grapple post's linked joint fires as it is pulled out,
the shot l1 column slides out of its range). Link joints couple two joints by their ratio; model 0 follows its
section's joint when it has no travel clip; Lara grips and pushes such a body on a level prismatic joint (the l7 Thor
towers, which the fight retracts, are pushed back out to lock the buttress mounts); every uber object starts its
sections at spawn (and gets its collision; the grapple's line of sight ignores the target's own). Joints and watches are saved and part ofWorld::stateHash. Tests
ProgressionReal.HallwayRampsJoint,GameReal.GrappleLeverJointIndependentOfRenderRate,StreamReal.UberJointSaveLoad.
Fixed
- The open seas have tru.exe's waves (water volume data +0x4E bit 1: four long swells, 0x69DA80 / 0x69DFB0): the sea
shader lowers its surface by them and Lara swims on the same surface, so the ch1 / ch2 yachts float with their decks
above the water and Lara starts dry instead of standing in the sea (docs/GAMEPLAY.md "Water"). - Original shaders: D3D9
vFacewas inverted; two-sided shaders now light the correct side, and the l1_seatop sea
no longer shows l1_seafloor's backdrop / seabed and light streaks through its near-camera refraction (it took its
under-water branch from above). - Lara walks and runs up and down stairs without jumping (the Croft Manor prologue staircase's 97..100-unit risers and every staircase surveyed in seven units): step up / down raised from 70 to 110 units, measured in tru.exe under Wine (she climbs the 100-unit risers, the 121-unit hearth stops her); docs/GAMEPLAY.md Numbers.
- Under water looks like the original in both presets and renderers (docs/RENDERING.md "Under water"): tru.exe's full-screen water pass (unit data +0x160 records, 0x6D8C20 drawing the unit's water material: deep-to-surface blue by view direction, alpha 0.6 at the eye to 1 at 45000 / 60000 units, fading out up to 600 units above the surface), the render settings' water fog set and the deep / surface screen filters with their fog blocks by depth (0x5C78A0), and the enter / leave water effect lists on Lara (motes, 0x5C7CA0). l1_seafloor is no longer bright cyan, l7_arctic_sea / the ch7 start is blue instead of flat teal (Enhanced) or untinted (Original); Enhanced keeps faint caustics and drops its fitted Beer-Lambert tint. Confirmed in tru.exe under Wine (ret-patching 0x6D8C20 removes the blue). Test
FxReal.UnderwaterSettings.