Repository navigation
OpenUnderworld 0.4.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.4.0-x86_64.AppImage
./OpenUnderworld-0.4.0-x86_64.AppImage # launcher
./OpenUnderworld-0.4.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.4.0-x86_64.AppImage --update. The update manifest is signed with the project's Ed25519 key (manifest.json.sig); sha256sum -c OpenUnderworld-0.4.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. Now defaults to Vulkan + original shaders + ray-traced sun shadows + 4x MSAA.
Added
- Original Fidelity shading: level geometry now draws with Tomb Raider: Underworld's own shaders, translated from the game's Direct3D 9 shader bytecode to OpenGL and Vulkan at load time — baked light maps, the original multi-layer terrain blending, fog, the level's ambient and sun light, wind-animated foliage and environment reflections. Choose with
--shaders original|genericorgraphics.original_shaders(original is the default). Cube-map textures now load.ou-asset shaderssurveys andou-asset shader-disdisassembles the game's shader libraries. - Object collision and physics doors: doors and push blocks now block Lara (and enemies and the camera) with their original collision boxes, and stop blocking once they open; the Mexico ballcourt's lever-driven door swings open on its hinge when Lara uses the pole lever; Lara is carried by objects she stands on.
- Optional hardware ray tracing in the Vulkan renderer (Enhanced preset):
--rt shadowsfor soft ray-traced sun shadows (alpha-tested foliage included, no distance limit),--rt fulladds water reflections;--rt-quality low|medium|high, config keysgraphics.rt/graphics.rt_quality, status in the overlay. Falls back to the shadow map on GPUs without ray queries.ou-gamenow takes the graphics flags too (--preset,--msaa,--shadows,--fxaa,--hdr,--rt,--rt-quality). - In-engine cutscenes: the 53 cinematic streams are decoded (camera with field of view and cuts, Lara's and the other actors' animation) and play in
ou-gamewith their sound track and subtitles; chapter-closing cinematics play before the next chapter, script-triggered ones where the level activates them; Esc skips;--cine NAMEplays one cutscene. - Lara's combat: health packs (H / d-pad up: heal 640, 2 s cooldown, uses the packs she picked up), the uzi, shotgun (7 pellets) and speargun (also under water) with original stats, clips, reserve ammo and reloads, weapon switching (X / d-pad right) with each weapon's equip / unequip animations and models, hit reactions when enemies strike her, and adrenaline head shots (fill the meter by damaging enemies, then lock on close and press E: time slows, steer the pip into the reticle and fire).
ou-game --weapon uzi|shotgun|speargungives a secondary weapon for testing. Grenades are not in yet. - Enemies: poachers now fight with rifles (bursts with the original shot count, spacing and damage, line of fire, reloads, rifle-butt melee) and bats fly at Lara and bite; every enemy sees and hits with its own data (sight cones, per-attack damage) instead of guessed values and dies with a hit-direction / head-shot / running death animation. Enemy shots draw tracers. Sharks are not in yet.
- Best look by default: the game, viewer and launcher now start with Vulkan (falling back to OpenGL with the reason logged when no Vulkan device works;
--renderer auto|opengl|vulkan), the Enhanced preset (original TRU shaders, 4x MSAA, sun shadows, 16x anisotropic filtering) and ray-traced sun shadows on GPUs with ray queries (--rt auto).--preset originalkeeps the purist look. New brightness setting (--brightness,graphics.brightness, launcher), like the original game's brightness option. - Sun shadows and ray tracing now work inside the original shaders: the level's real sun casts the shadow-map or ray-traced shadow onto the original terrain and foliage shading, and
--rt fullwater reflections show on the original water shader. The shadow map is cascaded (three cascades out to 16000 units) instead of one map ending 8000 units away, in both OpenGL and Vulkan. - Launcher: the Graphics page now has renderer, preset, ray tracing (+ quality), MSAA, sun shadows, shaders and brightness; the main Play button starts the game (main menu) with these settings, Viewer opens the level viewer.
- Original lighting: the levels' own point and spot lights (torches, lamps) now light the original shaders — positions, colours, radii, falloff curves, spot cones and torch flicker from the level data, each object getting its own nearest lights as the original engine does — so torch-lit interiors such as the opening bedroom are no longer near black. The sun's dappled-light cookie texture is applied in the levels that have one. Lara, enemies and cutscene actors now use their original shaders too, lit by the level ambient, nearby lights and the sun.
Fixed
- Natla's and Amanda's faces and hands no longer render green (a detail normal map was taken for their skin colour).
- Rotating doors and other rigid moving objects, guns and cutscene props now turn their shading normals with them.
- Ray-traced alpha-tested shadow casters and water reflections read the wrong texture coordinates since the original-shader vertex inputs were added.