RalliSport Challenge 2 - static recompilation, Linux x86-64 build (v0.7.0)

NO GAME DATA IS INCLUDED. You need your own copy of the game.

1. Put your game files (the folder with default.xbe, Layer0, Layer1, Media,
   Movies, ...) in a folder called "game" next to run.sh, or symlink it:
       ln -s /path/to/RalliSport2 game
2. Run ./run.sh. The launcher opens first; settings are saved to
   ~/.config/rsc2/settings.ini.

Requirements: a Vulkan 1.3 GPU and driver (Mesa 23 or newer, or the NVIDIA
driver), glibc 2.35 or newer, SDL2 and the Vulkan loader. That is Ubuntu
22.04, Linux Mint 21, Debian 12, Fedora 36, a current SteamOS, an up-to-date Arch
or anything newer. Most desktops have the libraries already; if not:
  Ubuntu, Mint, Debian: sudo apt install libsdl2-2.0-0 libvulkan1
  Fedora:               sudo dnf install SDL2 vulkan-loader
  Arch:                 sudo pacman -S sdl2-compat vulkan-icd-loader

Keys: the keyboard is set up for driving. Left/Right steer, Up/Down
accelerate and brake, Space e-brake, A/Z gear up/down, C camera, V look
back, R car reset, H horn, Esc pauses (and goes back in menus), Enter
accepts. Change any of them in the launcher (Controls > Key bindings).
F11 or Alt+Enter toggles fullscreen, F3 the FPS counter. Controllers work through SDL, with rumble.

Wider screens: with the launcher's aspect ratio set to 16:9, the picture
fills screens wider than 16:9 in fullscreen (ultrawide monitors): the view
is widened, not stretched, and the HUD keeps its shape.

HDR: turn HDR on in the system's display settings, then set the
launcher's Display > HDR to on ("HDR brightness" sets paper white). On
KDE Plasma (Wayland) the game draws straight into the desktop's own HDR
colour space, so its brightness follows the SDR brightness slider and
the compositor has no conversion to do.

Ambient occlusion (launcher: Graphics > Ambient occlusion) shades the
corners and contact points of the scenery. It is worked out at reduced
resolution and costs little on a discrete GPU; trees, smoke and other
see-through things are left as the game drew them.

Shaders are prepared in the background: the first time a new effect
appears it may briefly be drawn a little differently, and later starts
prepare everything while the intro plays, so races do not stutter.

The launcher's "Add to Steam" button adds the game to your Steam
library as a non-Steam game (quit Steam first).

This binary contains code translated from the game's executable. It is for
owners of the game; source: https://github.com/Mortify7612/RallisportChallenge2-decomp
