Overbright 0.6.0
====================

Reimplementation of Need for Speed: Underground 2 (2004) in Rust and wgpu.

Overbright is free, open-source software written from scratch that plays the game using the files of
your own installed copy of the original game. Its default look and behaviour follow the original; extra
features (higher resolutions, modern graphics options) are optional and can be switched off.

YOU NEED YOUR OWN COPY OF THE GAME. No game files are included: you need your own PC copy of the
game, an installed Need for Speed Underground 2 from any disc release, patched to version 1.2,
of any region. Overbright reads the game's data files; it does not run or read SPEED2.EXE, so the
copy-protected disc executable is fine.

No texture art and no mods are included either. Texture packages (TexMod .tpf files, TexWizard
packs) and the HUD mod that you have can be added in the launcher: the main screen's Mods row opens the Mods page, which adds,
turns on and off, orders and removes them. They are kept in your own Overbright folders (below) and
belong to their authors.

Overbright is not affiliated with Electronic Arts. EA has not endorsed and does not support this
product. "Need for Speed" and "Need for Speed Underground 2" are trademarks of their owner.

Requirements: Linux x86-64 with glibc 2.28 or newer, X11 or Wayland, ALSA or PulseAudio/PipeWire
for sound, and a Vulkan driver with the Vulkan loader: Mesa 22 or newer for AMD and Intel graphics,
or NVIDIA's own driver. Tested: Ubuntu 22.04 and 24.04, Linux Mint 22, Debian 12 and 13, Fedora 40
and later, AlmaLinux 9 (RHEL 9 family), Arch (SteamOS is Arch-based), openSUSE Leap 15.6 and
Tumbleweed. Ubuntu 20.04 and Debian 11 start it but ship an older Mesa; RHEL 8 starts it, drawing
there was not tested. If the launcher says no Vulkan driver was found, install one:
  Ubuntu, Debian, Mint:  sudo apt install libvulkan1 mesa-vulkan-drivers
  Fedora, RHEL family:   sudo dnf install vulkan-loader mesa-vulkan-drivers
  Arch, SteamOS:         sudo pacman -S vulkan-icd-loader vulkan-radeon   (Intel: vulkan-intel)
  openSUSE:              sudo zypper install libvulkan1 libvulkan_radeon libvulkan_intel

Starting
--------
1. Unpack this folder anywhere you like (for example ~/Games/overbright).
2. Run ./overbright (the launcher). It looks for the original game (common install places, Wine
   prefixes, Steam/Lutris-style folders); if it cannot find it, choose the folder that holds the
   GLOBAL, FRONTEND and TRACKS folders. Then press Play.
   ./game starts the game directly, without the launcher; ./game --check-game /path/to/game checks
   a game folder and prints what it found. ./overbright-editor is the map editor (a preview),
   also opened from the launcher's Dev page. ./overbright-studio is Overbright Studio (a preview),
   the editor's new home; ./overbright-studio-cli is its command-line tool (./overbright-studio-cli
   help lists its commands).
3. Optional, an entry in your applications menu: copy overbright.png to
   ~/.local/share/icons/hicolor/256x256/apps/overbright.png and overbright.desktop to
   ~/.local/share/applications/, then change the Exec= line in that copy to the full path of
   the overbright program (the folder you unpacked into, followed by /overbright; the menu
   does not expand "~").

Where Overbright keeps its files
--------------------------------
  settings, logs, crash reports  ~/.local/share/overbright/   (options.txt, logs/, crashes/)
  saved games (profiles)         ~/.local/share/NFS Underground 2/<profile name>/
  cache (rebuilt when missing)   ~/.cache/overbright/
($XDG_DATA_HOME and $XDG_CACHE_HOME replace ~/.local/share and ~/.cache when they are set. With
NFSU2_DATA_DIR=<folder> everything is kept in that one folder.)

Portable mode
-------------
To keep everything next to the program (for example on a portable drive), put an empty file named
portable.txt beside the launcher and the game, or use Make portable on the launcher's About page.
Settings, saved games, the caches, logs, crash reports, screenshots and mods then go to the folder
data beside them. Nothing already kept is moved: copy the folders above into data to take them
along (saved games into data/NFS Underground 2). Delete portable.txt to go back.

Known issues
------------
The list of known issues and differences from the original, with what you notice and any way
around it, is in the README at https://github.com/j0braun/overbright (section "Known issues").

If the launcher closes by itself
--------------------------------
The launcher writes launcher.log in the settings folder above from its first line (the run before
is kept as launcher.old.log). When it stops, it says so in a message box with the log's path. If
the window closes without a message, open the settings folder (on Windows type
%LOCALAPPDATA%\Overbright in Explorer's address bar) and attach launcher.log to your report.

Reporting a problem
-------------------
Please open an issue at https://github.com/j0braun/overbright/issues and include:
- what you did and what happened (a screenshot helps),
- this version line: Overbright 0.6.0 (commit ac1e8e3fb34b0e76a93c7f915916aeac9aa8439a),
- launcher.log from the settings folder above,
- the newest log file from the logs folder above (the launcher's "Open log folder" button shows it)
  and, after a crash, the newest file from the crashes folder.
Log files and crash reports show your home folder as "~"; please look through them before posting.

Licence and source code
-----------------------
Overbright is free software under the GNU General Public License, version 3 or (at your option)
any later version: see LICENSE. You may share and change it under those terms. It comes
with NO WARRANTY.
The complete source code of this version (commit ac1e8e3fb34b0e76a93c7f915916aeac9aa8439a) is at:
  https://github.com/j0braun/overbright
Third-party components and their licences: THIRD-PARTY-NOTICES.md (fonts, shaders, algorithms)
and THIRD-PARTY-LICENSES.txt (the Rust libraries and runtime libraries compiled into the programs).
