MX BIKES x GTA V SINGLE-PLAYER — 350XF DEMO (FiveM physics core, no FiveM)
==========================================================================
(En français : LISEZMOI.txt)

Try the FiveM MX Bikes physics engine in GTA V Legacy story mode with the official MX Bikes 350XF:
- 1 bike included: MX Bikes 350xf 4T (3D model mxb350xf, full MX Bikes 350xf FiveM Script pure-Rust physics, built-in
  32-voice engine and impact audio without crackling);
- FiveM 5-view camera cycle (smooth near / medium / far chase views, static onboard, dynamic onboard preserved after a
  crash and reset);
- Map collisions (walls, buildings, curbs, ground) read live from GTA V memory (no GTA V files included in this kit);
- Minimal F1 menu focused on the 350XF and core features (ride out the 350XF, MX Bikes physics on/off, bike reset,
  riding aids, playability mode, onboard & chase camera, volumes, MX Bikes options screen, gauges, units, controls/keys,
  French/English, reset FiveM profile).
Unofficial, free fan project, not affiliated with MX Bikes or Rockstar Games.

REQUIREMENTS (the installer checks everything and shows what is missing, with the link and exact folder)
- GTA V LEGACY, version 1.0.3889.0 (not GTA V Enhanced), on Steam, Epic or Rockstar.
- ScriptHookV for that version (ScriptHookV.dll and dinput8.dll in the GTA V folder):
  http://www.dev-c.com/gtav/scripthookv/ (its author forbids redistributing it: it is not included).
- MX Bikes installed (beta21e, official license from https://mx-bikes.com/ or Steam).
- BattlEye turned OFF (Rockstar Games Launcher > Settings > Grand Theft Auto V Legacy): otherwise GTA starts without
  any mod.
- Visual C++ 2015-2022 x64 (the physics engine is built in pure Rust: Visual C++ 2008 / msvcr90.dll is no longer
  required).
- For the 350XF 3D model (mxb350xf), four standard GTA V mods to install yourself (the kit installs no third-party GTA
  mod, to avoid conflicts with yours):
  1. OpenIV.asi: OpenIV (https://openiv.com), set to your GTA V folder > Tools > ASI Manager > install "ASI Loader"
     and "OpenIV.asi";
  2. Heap Limit Adjuster (https://www.gta5-mods.com/tools/heapadjuster): place its .asi next to GTA5.exe;
  3. Packfile Limit Adjuster (https://github.com/Chiheb-Bacha/PackfileLimitAdjusterEnhanced/releases): extract the zip
     and place its .asi and .ini directly next to GTA5.exe (not in a subfolder);
  4. Modified gameconfig in the COPY of update.rpf inside your mods folder (never in the original):
     a) OpenIV, "Edit mode" on, on the left: update > right-click update.rpf > "Copy to mods folder" (about 2 GB,
        wait for the end). Never create update.rpf by hand;
     b) Download gameconfig.xml from release "v3899" of pnwparksfan/gameconfig ("GTA V 3899 - Kortz Center Heist
        Update", the one tested with GTA V Legacy 1.0.3889):
        https://github.com/pnwparksfan/gameconfig/releases/download/v3899/gameconfig.xml
     c) OpenIV: mods > update > update.rpf > common > data, drag gameconfig.xml there (Replace).

INSTALLATION (a few seconds, GTA V closed)
1. Right-click the zip > "Extract All" > type C:\MXGTA > Extract. Do not run anything from inside the zip, and avoid
   OneDrive or very deep folders.
2. In C:\MXGTA, double-click "1 - installer.bat" and accept Windows' administrator prompt.
3. Choose 1 (French) or 2 (English).
4. Wait for the final box:
   - "READY": launch GTA V in story mode, then press F1.
   - "NOT READY": each [KO] line tells you what is missing and where to put it. Fix it, then run "1 - installer.bat"
     again. A diagnostic zip is created automatically on your desktop if anything is missing.

IN THE GAME (story mode)
- F1 (controller: View + Start): opens and closes the Demo menu. Navigate with Arrows + Enter / Backspace (controller:
  D-pad, A, B):
  - Bike (350XF): shows the 350XF 3D model and physics, "Ride out 350XF" (spawns the 350XF and engages MX Bikes
    physics automatically), and "Go to the airport" (wide flat runway to test the bike);
  - MX Bikes physics: turn MX Bikes physics on or off on your 350XF;
  - Reset the bike (or press R while riding): brings the bike back after a fall while preserving your selected camera.
    Hold R for 3 s in the saddle if stuck;
  - Riding: playability mode (easier grip/handling trial mode), overjump crash, mountain help, headlights, MX Bikes
    riding aids (auto shift, auto clutch, traction, brake, lean, rider auto...), onboard camera (FOV, tilt, pitch,
    smooth FiveM / native GTA chase camera);
  - Settings: controls and keys (bind keyboard or controller shortcuts + MX Bikes controls), sound volumes, full MX
    Bikes options screen, gauges (Show HUD), units (km/h or mph), language (FR/EN), free look while riding, legs in
    onboard views, reset FiveM profile, mod on/off;
  - Help: lists every active key.
- V (or tap View on controller): cycles camera views (near / medium / far chase, static onboard, dynamic onboard).
- Xbox controllers work out of the box (FiveM / MX Bikes default profile); PlayStation controllers work natively or via
  DS4Windows/DSX.

UNINSTALL
Double-click "2 - desinstaller.bat" (GTA V closed). It removes the mod files from GTA V, removes the 350XF DLC pack
from your mods folder, and optionally removes the demo data and settings in %LOCALAPPDATA%\MxbGtaBridgeSolo. GTA V,
ScriptHookV, OpenIV and MX Bikes remain untouched.

TROUBLESHOOTING
- F1 does not open the menu: check that BattlEye is OFF and that you launched GTA V Legacy (not Enhanced).
- "Bad Image ... MxbGtaBridge.asi": disable Windows Smart App Control and restart Windows.
- Logs are located in %LOCALAPPDATA%\MxbGtaBridgeSolo (asi.log, bridge.jsonl, installation-verdict.txt).
- Double-click "3 - diagnostic.bat" to generate a read-only diagnostic zip on your desktop.

CREDITS & LEGAL
See NOTICE.txt and licences\SK8V-LICENSE.txt. No GTA V files are included.
