Repository navigation
rac1-native 0.6.0: the renderer draws the whole game, the disc extracted, new lighting, materials and ambient particles
The whole game drawn natively, the disc extracted, and a lot of new lighting
The modern renderer now draws the whole game itself: the HUD, the menus and the levels' water, lava and sand seas included. The replica of the PS2's graphics chip no longer runs beside it; it stays only as the faithful reference. The setup now extracts the whole disc into files, and the game reads those instead of the disc image: the first step toward mods. On top of that: Anya-Thoughtmane's lighting passes, emissive surfaces, surface materials, Ratchet lit by the point lights, optional ambient particles (rain, snow, embers, dust), the Vendor's Buy All Ammo option, a faster frame on the CPU and the GPU, and the fixes from the 0.5.0 reports.
0.4.0 was played through to the end, and 0.6.0 has been playtested on Linux. Anya-Thoughtmane has tested its development builds all along. The Vulkan renderer is still experimental and off by default (OpenGL stays the default), and the modern lighting and the graphics enhancements (Surface Detail, Ambient Particles) are still experimental too, and off by default. Expect some bugs and glitches, and please keep the reports coming!
Updating from 0.5.0? Read this first. The setup now extracts the disc into
assets/disc/: about 4 GB more on disk (3.9 GB, about 6,800 files). It does this once, on the first update, so the first update needs your disc image again: the launcher uses the image you chose at install, and./setup.sh(setup.cmd) the one it linked last time; if it has moved, the setup asks for it. After that the game no longer reads the image, but keep it: a later update that regenerates from the disc needs it again.
Thanks
First of all, a huge thank you to @Anya-Thoughtmane. Much of what is new in this release is their work, or exists because of them:
- The lighting passes: they went through the levels with the debug menu's light editor and placed the suns, the lamps and the emissive surfaces by hand. Their first pass gave most levels a sun of their own and turned the sun rays off where they don't belong (#90, #101); their second pass, Veldin to Rilgar, lit the garages, lamps, bulbs, buildings and fortresses (#102). Both are merged in this release.
- The light editor's tools came from their requests: picking a surface or an object part with the mouse, lights per moby class for every level, the Textures tab to mark emissive surfaces and materials, lights on a moby's joint (#102).
- The reports and the testing: their long test logs on the development builds (#101), the survey of every light that was missing (#102), Ratchet not lit by the point lights (#110), the game falling behind and dropping things on slow frames (#104), the metal's roughness that worked backwards and the light editor's Save that changed the numbers (#101), and the first report of the Windows build break.
- The triage: they answered and sorted most of the new issues, often before we even saw them (#105, #106, #109, #111, #113 and others).
Thank you so much, Anya: this release would look very different without you.
Thanks also to everyone else who reported, tested and contributed:
- @mat-f96, for
progress.json, the game's progress for the RAC Native launcher (#107). - @imrprogamer (Bazzite, #108) and @SoraKazooie24 (Steam Deck, #109), whose reports led to the setup on immutable Linux systems.
- @theygotti, for the Windows build that failed with MSYS2's current Clang (#112).
- @B-Nerd (#99, #100, #105), @nhnsn2 (#106), @Rarder44 (#111) and @wwwyukix96-cyber (#113), for the reports we are still looking into.
Highlights
- The renderer draws the whole game: the HUD, text, menus and fades are drawn natively with OpenGL or Vulkan, the same pictures as before, and the levels' water, lava and sand seas too, now right across a widened view and lit by the modern lighting.
- The whole disc extracted: the setup cuts the disc into its files under
assets/disc/, each one checked against the image, and the game reads them. See Setup. - New lighting (optional, experimental): Anya-Thoughtmane's level suns and lamps, emissive surfaces, surface materials (Options > Graphics > Surface Detail: metal, wet ground, puddles, lava, water, mud), and Ratchet and the other mobys lit by the point lights (#110).
- Ambient particles (Options > Graphics > Ambient Particles): dust, ash, embers rising from the lava, fireflies, rain with splashes and snow, never under a roof.
- Buy All Ammo (Options > Advanced): an All Ammo entry first in the Vendor's list, as in Up Your Arsenal.
- Faster: a game frame about a fifth cheaper on the CPU (the game's update on a thread of its own), and less GPU time for the sun's shadows, the world and the ambient occlusion.
- The Steam Deck, Bazzite and other immutable Linux systems: the setup and the launcher build the game in a container (#108).
Graphics
- The GS replica out of the modern renderer: it reads each frame's drawing commands itself and draws the 2D, the same pictures (the reference images unchanged). The replica stays as the faithful reference (
RAC1_MRP=0). - The levels' seas (Rilgar's harbour, Gaspar's lava sea, Aridia's sand sea, Hoven, Umbris, Novalis, Kalebo, Drek's fleet...) are drawn from the game's own geometry: no side cut or wedge in a widened view, and with the modern lighting they take the sun's shadows and the point lights.
- Ambient particles, per level from its light file: Batalia has rain (over its sea too), Hoven a calm snowfall, Umbris and Gaspar embers and ash from the lava. The level's own collision keeps rain and snow out from under roofs. See Ambient particles.
- Sharper menus: the Vendor's monitors and the pause menu's item models are drawn at the window's scale (
RAC1_2D_RT_SCALE=1for the original's softer look), and the Vendor's text and icons are smooth again.
Lighting (optional, still experimental; with Lighting on Original the picture is unchanged)
- The levels' own suns from Anya-Thoughtmane's lighting pass on most levels, to playtest (#90, #101); Sun Rays off on Blarg's station, Rilgar, Batalia and Oltanis.
- More lamps: their second pass on Veldin to Rilgar (#102); nanotech crates, fires, plasma beams; Novalis's Buzzers with their green eyes; the Blarg ship from its lamps; lights per class follow the objects the game spawns later.
- Ratchet and the other mobys lit by the point lights, per pixel as the world (#110).
- Emissive surfaces: lamps, screens and panels painted in textures keep their brightness in the shadows.
- Surface materials (Surface Detail: Off, Low, High): metal, wet ground with puddles and rain ripples, lava, water, mud, quicksand; High adds reflections and the lava's heat shimmer. Batalia's metal and puddles and Umbris's mud are tagged; a polished metal now looks polished (#101). See Materials.
- Ambient Occlusion at half resolution for every mode (SSAO 1/2, SSAO+ 1/2, HBAO 1/2, GTAO 1/2): about 45 % less GPU time, a little softer.
- The light editor (
--debug-tools): pick with the mouse, lines for a moby class on every level, lights on a moby's joint, a Textures tab; its Save keeps the file's numbers exactly (#101). See Lighting.
Gameplay
- Buy All Ammo (Options > Advanced, Off by default): one purchase fills every weapon's ammo through the game's own purchase steps, or as much as your bolts pay for. The entry is part of the game's own list, so it scrolls and highlights like the weapons. See Advanced options.
- New Game's presets: Experimental turns on every graphics enhancement at its top (GTAO, Sun Rays High, Surface Detail High, Ambient Particles High); Modern and Experimental turn on Buy All Ammo.
Launcher and setup
- The disc's files in
assets/disc/, extracted once and done again only when the disc image changes (--force discto redo it). See the upgrade note above. - The Steam Deck (SteamOS), Bazzite and other immutable Linux systems: the setup gives the commands to build the game in a distrobox (or toolbox) container, and the launcher sets it up, builds and starts the game in it, with a script to add to Steam for the Gaming Mode (#108, #109). See Setup.
progress.jsonfor the RAC Native launcher: the planet played, the planets reached, the share explored and the time played (#107).- The setup makes again the files deleted since it ran, instead of trusting its record of them.
./setup.sh --updateon the development channel no longer resets a localmainwith commits of its own; the launcher's Cancel works right after a task starts on Windows too.
Performance
- The game's update on a thread of its own beside the drawing, the world's triangles on the scene's worker and the moby joints in SIMD registers: a game frame about a fifth cheaper (Rilgar 12.2 to 9.7 ms, Kerwan 13.8 to 12.0 ms), the game's state the same, word for word. The debug menu's Display tab can turn it off.
- Less GPU time: the sun's shadows (Rilgar 2.1 to 1.3 ms, Kerwan 2.4 to 0.6), the world's second alpha pass (10 to 15 % less), Vulkan's ambient occlusion (about a quarter less) and its frame capture (0.6 ms at 5120 x 1440).
- No texture churn on the title and the pause menu (the boot to Kerwan held 1835 GPU textures, now 9), and the texture caches emptied at each level change (about 40 MB less after ten levels).
Fixes
- The game no longer freezes at Aridia's arrival, and no stray graphics run, when the computer falls behind (or with V-Sync on a 75 Hz display) (#104).
- Windows: the build works again with MSYS2's current Clang (#112); the game's update on its own thread no longer resumes the game from a thread that is not a fiber (found by reading the code).
- Widescreen: Rilgar's water near the camera no longer loses a wedge or shows a stretched patch.
- Vulkan: the game's memory no longer grows the longer it runs (a graphics pipeline was made for every effect batch, never freed), and several frame-timing fixes.
- Saves and settings are written to a temporary file and renamed: a crash or a full disk while writing can no longer leave a save or a settings file cut short.
- Options > Sound's 5.1 / 7.1: the reopened audio device gets real-time priority again.
Debug tools (--debug-tools)
- Hoverboard anywhere (Player tab): the race's board on Rilgar and Kalebo III, and a free board on every other level, with Ratchet's own board animations and the game's collision. No race rules.
- Profiler with Vulkan: the sun cascades' and the point lights' shadows each in their own stage.
Work in progress
- Anya-Thoughtmane's lighting passes go on beyond Rilgar: the lamps and emissive surfaces of the later planets, and the surface materials (metal, wet ground) on more levels, with the light editor's tools growing as they need them.
- The modern lighting and the graphics enhancements (Surface Detail, Ambient Particles) are still experimental: the levels' new suns need playtesting, and Nebula G34 (Blarg's station) is still not right with the modern lighting.
- Mods (planned): the disc's files are now extracted; next, a
mods/folder in front of them, a Mods menu in the game, and texture replacement. - Vulkan is still experimental and opt-in; it has been measured on one machine so far, and reports from other GPUs are welcome.
- Slow machines: the reports of objects dropping out and glitching on low-end hardware are being looked into (#104, #113).
- The renderer: the level's baked shadow meshes are still cut at the sides of a widened view, and the mobys' flattened shadow meshes are not drawn yet.
- PAL Platinum re-releases: the European PAL disc (
SCES-50916) is supported, in its 60 Hz mode; the Platinum re-releases are other builds and are not supported yet (#64). The 50 Hz mode is still to do. - ARM64 and Android: the groundwork goes on in the
port/androidbranch (#78), not onmainyet.
Installing or updating:
- With the launcher (Windows and Linux): download
rac1-launcher.exeorrac1-launcher-linux-x64from this release's assets, open it, click Install and choose your disc image. It keeps the game, and itself, up to date. - From the source:
git clone https://github.com/RAC-Native/rac1-native-game.git, then./setup.sh --iso /path/to/your/ratchet.iso(setup.cmdon Windows). To update a clone:git pull, then./setup.sh(orsetup.cmd), or Update now from the in-game notice. See Setup.
Source only, as always: the game is built from your own disc (NTSC-U SCUS-97199 or PAL SCES-50916), and no release contains the game. Full list of changes: CHANGELOG.md.