Overbright 0.7.1
====================

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: Windows 10 or 11 (64-bit), a graphics card with a Vulkan driver (Direct3D 12 is a
fallback and untested). This Windows build was tested only under Wine on Linux.

Starting
--------
1. Unpack this folder anywhere you like (for example into your Documents or next to the game).
2. Run overbright.exe (the launcher). It looks for the original game (the registry, the usual
   "EA GAMES" folders, its own folder and the folder above it); if it cannot find it, choose the
   folder that holds the GLOBAL, FRONTEND and TRACKS folders. Then press Play.
   game.exe starts the game directly, without the launcher. overbright-editor.exe is the map
   editor (a preview), also opened from the launcher's Dev page. overbright-studio.exe is
   Overbright Studio (a preview), the editor's new home; overbright-studio-cli.exe is its
   command-line tool for a Command Prompt (overbright-studio-cli help lists its commands).
   Windows may warn that the program is not signed ("Windows protected your PC"); choose
   "More info", then "Run anyway".

Where Overbright keeps its files
--------------------------------
  settings, logs, crash reports  %LOCALAPPDATA%\Overbright\   (options.txt, logs\, crashes\)
  saved games (profiles)         %LOCALAPPDATA%\Overbright\NFS Underground 2\<profile name>\
  cache (rebuilt when missing)   %LOCALAPPDATA%\Overbright\cache\
Overbright never writes into the original game's folder or its save folder
(%LOCALAPPDATA%\NFS Underground 2). 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.7.1 (commit 2d42e941c9b4c9fed5e70f4cfff0e4875dd0f0f4),
- 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.txt. You may share and change it under those terms. It comes
with NO WARRANTY.
The complete source code of this version (commit 2d42e941c9b4c9fed5e70f4cfff0e4875dd0f0f4) 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).
