Skip to content

Tomb Raider classics Linux launcher 1,2,3,4,5 with steam, lutris or just bash. Select and manage maps from trle.net and more.

License

Notifications You must be signed in to change notification settings

noisecode3/TombRaiderLinuxLauncher

Repository files navigation

Tomb Raider Linux Launcher

A tool for running and modding classic Tomb Raider games (1–5) on Linux with Wine/Proton. It also supports searching and downloading levels from trle.net, enabling direct play from the application.

This project is my passion for Tomb Raider classics combined with learning C++, Python, and SQL. My dream is to create an arcade machine featuring all classic Tomb Raider games and TRLE levels, potentially with a co-op mode.

Features

  • Integrates with Linux launchers (Steam, Lutris, etc.)
  • Controller mapper support (e.g., qjoypad, antimicrox)
  • Save file and configuration backups
  • Workarounds for Linux/Wine compatibility issues
  • Modding support for executable-based mods
  • Level download and installation from trle.net
  • Respectful scraping and filtering of data from trle.net (with site owner permission)

Installation

Dependencies

Ensure the following are installed on your Linux desktop:

  • curl (7.71.0 or newer)
  • Boost
  • OpenSSL
  • Qt5 On Arch this should be enough, you get the rest probably when you install the base, curl + openssl
sudo pacman -S qt5-wayland qt5-webengine qt5-imageformats boost

Build

cmake -DCMAKE_INSTALL_PREFIX=~/.local .
make install -j$(nproc)

Use database

pip

Never use sudo with pip, you can use a virtual environment or keep updating them in home. If a required module isn't available in the system's package manager, fall back to pip.

python3 -m venv myenv
source myenv/bin/activate
pip install pycurl tqdm cryptography beautifulsoup4 pillow

or just

pip install pycurl tqdm cryptography beautifulsoup4 pillow

how to update

#!/bin/bash
pimp_my_pip() {
    pip list --outdated | awk 'NR > 2 {print $1}' | xargs -n1 pip install -U
}
pimp_my_pip

Arch Linux

sudo pacman -S python-pycurl python-tqdm python-cryptography python-beautifulsoup4 python-pillow

Ubuntu/Debian

sudo apt update
sudo apt install python3-pycurl python3-tqdm python3-cryptography python3-bs4 python3-pil

Fedora

sudo dnf install python3-pycurl python3-tqdm python3-cryptography python3-beautifulsoup4 python3-pillow

openSUSE

sudo zypper install python3-pycurl python3-tqdm python3-cryptography python3-beautifulsoup4 python3-Pillow

Alpine Linux

sudo apk add py3-pycurl py3-tqdm py3-cryptography py3-beautifulsoup4 py3-pillow

Some levels wont be added because they use external or different download URL's You can add maps to the database if you cd into where you installed you're database.

If you did just follow the command above you can use:

python3 tombll_get_data.py https://www.trle.net/sc/levelfeatures.php?lid=3684

Now that you have an data.json file you get a chance to edit it. Sometimes you need or want to edit those but right now I allow only trle.net

  "zipFileName": "",
  "zipFileMd5": "",
  "download_url": ""
python3 tombll_add_data.py data.json

For testing widescreen patch it could work with only tr4 and tr5 compile with cmake -DTEST=on

./TombRaiderLinuxLauncherTest -w tomb4.exe

I was going to mix trle.net with trcustoms.org data, I have not made contacted with the site owner to ask if I can use the site for scraping for non commercial use. As this task turned out to be harder than I thought, to match data without creating doubles, I'm gonna wait until the basics and trle.net part is implemented.

Screenshots

screenshot1 screenshot1 screenshot1 screenshot1

Guide

The game uses old API and old optimizations, but you can play basically on a potato laptop. It depends on drivers quality, but with proton you can try PROTON_USE_WINED3D=1 or using [dgvoodoo2] with PROTON_USE_WINED3D=0 usually you get the best performance with (DXVK/dgvoodoo2). The easiest way to get this setup it using Lutris. Some levels can be lagging even on a computer with a strong video card. [dgvoodoo2]: https://github.com/lutris/dgvoodoo2/releases

TR1

TR2

TR3

TR4

TR5

Targets

I program mostly on Slackware-current and Arch, I gonna try target and test SteamOS for second release.

License

This project is licensed under GPLv3. Art assets are under Creative Commons Attribution-NonCommercial-ShareAlike 4.0. Tomb Raider is a trademark of Embracer Group AB.

About

Tomb Raider classics Linux launcher 1,2,3,4,5 with steam, lutris or just bash. Select and manage maps from trle.net and more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published