PROJECTGPB2 V2  (build 4.2)
===============

Graphics, a rider's-eye camera and new effects for GP Bikes, in one red
menu you can use with the mouse. Built for the current Steam GP Bikes
(plugin data version 12).

INSTALL
1. Close GP Bikes.
2. Copy the "plugins" folder inside "gpbikes" from this zip into your GP Bikes
   folder (the one with gpbikes.exe, e.g. SteamLibrary\steamapps\common\GP Bikes).
   Say yes to merge.
   You should end up with:
     plugins\ProjectGPB2_core64.dlo   graphics + the menu
     plugins\ProjectGPB2_cam64.dlo    rider POV camera
     plugins\ProjectGPB2_fx64.dlo     backfires, smoke, heat haze, dust, weather
     plugins\ProjGPB2\                shaders, sounds, settings, log
     plugins\presets\                 graphics presets
3. Start the game and go on track.

ReShade: if you use ReShade (an opengl32.dll next to core.exe), turn it off
or remove it while you try ProjectGPB2. The two do the same job and can fight.

KEYS
F6          the ProjectGPB2 menu (open / close + save) - change it in MENU AND PRESETS
F9          graphics on / off (compare with the normal game)
Ctrl+F9     reload settings

THE MENU
Five pages: GRAPHICS, CAMERA, WEATHER, RIDER POV, EFFECTS. Every change applies live.
Click a section bar to fold it away (FOLD ALL / OPEN ALL at the top).
PRESETS (top of GRAPHICS): "Save current settings as" - click the box, type a
name, Enter (or SAVE). It keeps every setting on all three pages; Load preset
brings it back. Taking photos in a replay? Use PHOTO MODE > Photo pan blur.
  Mouse     click a page tab, click a row to select it, drag a slider,
            click a switch or a < choice >, wheel to scroll,
            Ctrl+wheel to adjust the row under the mouse, X to close.
  Keys      Up/Down select, Left/Right change (Shift = fine steps),
            Tab = next page, PgUp/PgDn = previous / next section,
            Enter = toggle / load preset, Ctrl+C / Ctrl+V = export / import.
Settings are saved to plugins\ProjGPB2\ProjGPB2.ini.

EFFECTS
EFFECTS
- Backfires (afterfires) driven by the engine: the exhaust heats with load and
  cools off; shut the throttle at revs and unburnt fuel lights in the hot pipe -
  one big bang, then a crackle that fades as the revs drop. Blipped downshifts
  flame from every exit, flat-out quickshifts pop, the limiter bangs in rhythm.
  Sharp licking flame tongues, white-hot at the pipe, swept back at speed.
- Exact pipe positions on every bike (packed .pkz bikes and other riders too):
  read from the game's own exhaust data.
- Exhaust smoke: two-strokes smoke the way GP Bikes itself does it: read from
  the bike's gfx.cfg (its pipes and smoke top_rpm / max_rpm) and from
  effects\particles\exhaustsmoke.cfg. Strongest around top_rpm, gone by max_rpm,
  scaled by the throttle; it leaves the pipe with half the bike's speed plus
  the gas speed (revs x exit_speed_scale). Thickness, puff size, how long it
  hangs and smoothing are in the menu. Four-strokes give a faint haze.
- Heat haze shimmers out of the pipe, strongest when it's revving.
- Sparks: Spark hue / colour strength / brightness in the menu (default: red).
- Off-track dust: only when a wheel is on grass, sand, soil or gravel (never
  on tarmac or kerbs), with grass bits or stones. Other riders get dust where
  your own bike has found grass / gravel.
- Pipe position: by default the pipes come from the bike's own gfx.cfg. For
  bikes packed in a .pkz (no gfx.cfg to read) use the Height / Forward / Side
  sliders and "Twin pipes".

WEATHER AND SEASONS (GRAPHICS page, under SNOW)
- Thunderstorm: the day darkens, lightning strikes in front of you (a branching
  channel that flickers and re-strikes, sheet lightning in the clouds), the
  flash lights the sky and the scenery, and the thunder arrives later - about
  3 seconds per kilometre. Strikes per minute and thunder volume are settable.
- Hail: small white stones streaking down and bouncing.
- Snow on grass and trees (use with the overhaul's Snowfall, which covers the
  track).
- Autumn tree colours: trees turn orange, red, yellow and brown, tree by tree;
  grass dries.
- Falling leaves, and leaves lying on the track in drifting patches.
- Rainbow: 42 degrees round the point opposite the sun, with the fainter
  second bow outside it. Look away from the sun to see it; none when the sun is
  high or down.


PHOTO AND RIDING EXTRAS
- Photo pan blur (EFFECTS page): the background streaks while the bike stays
  sharp, like a panning shot. Best in replays, and it works while paused.
- Headlight and brake light: a headlight cone that follows the steering, and a
  brake light when you brake. Both settable.
- Helmet FOV and view distance (RIDER POV page): add to the game's own FOV and
  see further, without the game resetting it.
- Rider POV head motion: smooth head movement in helmet view, Overall shake to
  set how much.
- Stronger ambient occlusion (up to 4x) for deeper contact shadows.



VERSION HISTORY
v4.2 - Puddles: back on the grass, broken up between the blades and murkier (not flat
       pale sheets); shallow puddles now also stand on the flat track, off the racing line.
v4.1 - Rain: bikes and riders no longer get the wet-ground soak / sheen. Puddles have smooth
       edges (no more square blocks) and stay off the grass.
v4.0 - Release check. Exhaust effects, headlight and brake light are now off by default
       (turn them on under Effects). Diagnostic logging and GPU profiling removed.
v3.11 - Reflections no longer shimmer / alias more as you turn them up: they fade where the
       reflected direction jumps from pixel to pixel (bumpy or far surfaces).
v3.10 - Fixed a green wedge in the sky where the track's painted sun is covered over.
v3.9 - Faster: light shafts through clouds at half the samples and only near the sun
       (the final pass had grown to ~5 ms at sunset); ambient occlusion "high" at about half
       the cost.
v3.8 - Photo pan blur: no more hard outline round the bike - its edge now blends softly.
v3.7 - Effects copy the scene less often. Frame time and the effects' own CPU / GPU cost go
       in the log every 10 s, to find what is costing FPS.
v3.6 - Time of day really moves the sun now: light, shadows, glow and lens flare follow the
       clock (low at sunset). The overhaul only recoloured its sky before.
v3.5 - Time of day: the sun (glow, rays, lens flare) now goes where the clock puts it in replays
       too, and the sun painted in the track's sky is hidden when the clock moves the sun.
v3.4 - New "Reflection colour" slider (Graphics > Surfaces): 0 = grey, 1 = the full colour,
       default 0.5. Reflections now go up to 3.
v3.3 - The < > arrows on the preset selector now step through your presets.
v3.2 - Loading a preset is safer: it now happens between frames, and odd values in older
       preset files are corrected. Each loaded setting is written to the log.
v3.1 - Fixed the white, burnt-out sky from v3.0: exposure follows the world's brightness again,
       just slowly (zooming in still doesn't darken the picture). GPU timing in the log for the
       first 3 minutes of riding.
v3.0 - Zooming in no longer darkens the picture (auto exposure barely follows what's on screen).
       Faster: cheaper light shafts, grass and season checks only where needed.
v2.9 - Motion blur only while riding (replays: only Photo pan blur). Photo pan blur: the bike's
       sharp zone allows for replay bikes' late positions - the rear tyre stays sharp.
v2.8 - Ambient occlusion everywhere except the tracks' 3D grass (no more dark grass fields).
v2.7 - One sun: the light, sun glow, rays and lens flare all follow the overhaul's time-of-day sun
       (v2.4 turned the sun a second time on top of it - it jumped).
v2.6 - Longer evenings: sunset at 20:00, twilight through the next hour, full night at 21:00.
v2.5 - Time of day shown as a 24-hour clock (18:45). The sun now sets at 18:55 with the overhaul's
       evening, and the sunset sky fades as it gets dark. View distance removed from RIDER POV.
v2.4 - The sun moves with Time of day: low at sunrise / sunset, high early afternoon, swinging
       across the sky (WEATHER > TIME OF DAY AND SKY, can be switched off).
v2.3 - Screenshots: a key of your choice (default F8) saves exactly what you see - every effect,
       no menu - as a PNG in a folder you pick (CAMERA > SCREENSHOTS). Sunrise / sunset sky
       now follows the Time of day slider.
v2.2 - Sunrise / sunset sky now follows the real sun and Time of day.
v2.1 - Snow / leaves / autumn: no more crawling and flicker (detail fades where it's finer than a
       pixel). No more bare circle under the bike. Photo pan blur: longer bikes' tails stay sharp.
v2.0 - Seasons (snow, leaves, autumn), flames and lights no longer jitter in the helmet view.
v1.9 - Exposure: zooming in (or turning to the sky) no longer makes the whole picture darker.
v1.8 - Paused replay: flames, sparks and smoke freeze in place.
v1.7 - Photo pan blur: the back of the bike and rider stay sharp again. Sun shafts: real
       rays from the bright sky round the sun, no more white haze over the scenery.
v1.6 - Effects follow the bike exactly as the game draws it (no more jitter / catching up):
       headlights, brake light, flames. Flames now live on the pipe in the bike's frame.
       Effects and the scene now line up with the helmet camera's head motion.
       Lights reworked: Halogen or LED, a real low beam with a cut-off, the tail / brake light
       only lights the road behind (no more red rider). Snow: track snow only on asphalt in sun
       or shade, never on bikes / riders / your dash, steadier detail; autumn colours leave
       riders and the dash alone. Head motion only in first person, 30 % gentler. VR (-vrs):
       ProjectGPB2 switches itself off. Effects pause while the game is minimised (alt-tab).
       Menu: five pages (Graphics, Camera, Weather, Rider POV, Effects), folding sections,
       gradients.
v1.5 - Pan blur: the track beside / under the bike blurs again. Snow on grass and trees now
       covers grass, sand and gravel; snow on the track is only on the asphalt (never on
       bikes or riders). Menu key can be any key (MENU AND PRESETS > Menu key). Tidier labels.
v1.4 - Sun: light shafts no longer wash over the rider and near scenery (only in the air,
       at cloud edges), softer cinematic flare glow.
v1.3 - Photo pan blur / shutter: the tyre no longer vanishes, hands stay sharp, the track
       beside the bike blurs. Menu regrouped (wet track in RAIN, snow in SEASONS, night in
       TIME OF DAY, depth of field + shutter in PHOTO MODE, bike lights on EFFECTS). Snow no
       longer tiled or blocky, Snowfall up to 3x heavier. Steady headlight glow, optional
       twin headlights. No backfires on two-strokes. Helmet FOV removed.
v1.2 - New menu look with folding sections, save your own presets, cinematic lens flare,
       sunrise / sunset skies, light shafts through clouds, snow on the track, rain off
       really turns it off, sun stays put between sessions, autumn colours leave tyre walls
       alone, helmet-view blur fixed at full lean, brake light off by default.
v1.1 - Backfires driven by the engine, sharp flame tongues, exact pipes on every bike.
v1.0 - first release.

ALSO FIXED
- The sun no longer jumps and snaps back while you ride.
- Helmet / onboard view: the white wedge over the track through the windscreen
  at lean is gone.
- Flames and smoke stay on the pipe at full lean.
- Lightning, flames and sparks against the sky are no longer wiped out by the
  sky.

PRESETS (GRAPHICS page, bottom)
  GPB 1 Performance - most FPS
  GPB 2 Balanced    - the normal settings
  GPB 3 Quality     - best image for strong graphics cards
They only change performance settings: your colours and look are kept.

IF SOMETHING LOOKS WRONG
- F9 compares with the normal game.
- plugins\ProjGPB2\ProjGPB2.log and gamefx.log say what happened.

UNINSTALL
Delete the three ProjectGPB2_*.dlo files (and the ProjGPB2 folder).

CREDITS
ProjectGPB2 is free. Please link to the download page instead of re-uploading it.
Heavy rain sound: "Calm rain.wav" by Zuvji, Wikimedia Commons (CC BY-SA 4.0)
Light rain sound: "Falling Rain SFX 1" by valvalion, Wikimedia Commons (CC BY 3.0)
