Skip to content

v20

Choose a tag to compare

@ps4star ps4star released this 27 Nov 00:08
· 0 commits to 6cb71cadc3379e4a05cb623ebb8d05f177c846d5 since this release

Download the launcher for your system: WhiteRecompLauncher_windows.exe (Windows), WhiteRecompLauncher_linux (Linux x86-64), WhiteRecompLauncher_linux_arm64 (Linux ARM64; chmod +x either) or WhiteRecompLauncher_macos.zip (macOS, Apple silicon or Intel; experimental, not signed: right-click the app and choose Open the first time). Put it in a folder of its own: Build makes the game beside it. See README.md.

After updating, press Build (the launcher asks to clear its cache and rebuild): the game itself changed. Android: build the APK again (Cross-Compile > Android ARM64) to get this version's fixes and the new touch layout.

Changes since v0.0.19 (including its updated downloads of Nov 25):

New anti-aliasing: TAA and FSR 3.1

Options > Graphics > Anti-alias Method now offers four choices: MSAA, FXAA (still the default), TAA and, on Windows, FSR 3.1.

  • TAA (temporal anti-aliasing, all platforms): each frame the 3D scene is drawn shifted by a fraction of a pixel, and the frames are blended, guided by the camera's motion. Edges are much smoother than with FXAA, and the shimmer on hair, grass, fences and distant detail mostly goes away. The HUD, menus and text are not touched, so they stay crisp. Some sharpening is added back, so the image doesn't go soft. In testing across field and battle scenes, there was no ghosting behind moving characters.
  • FSR 3.1 (Windows): AMD FidelityFX Super Resolution 3.1, used as anti-aliasing at your full resolution (no upscaling). It is AMD's own temporal anti-aliasing and is noticeably sharper than our TAA. It runs on any modern GPU, not only AMD's. The launcher brings AMD's amd_fidelityfx_vk.dll with it (MIT license, listed in THIRD_PARTY_LICENSES.txt); nothing to download.
  • With TAA or FSR the Quality (MSAA level) row is hidden: they replace MSAA. Choosing a Graphics preset sets the method back to the preset's own.
  • Changing the method needs a Build (the launcher asks).

4:3 resolutions

  • Options > Graphics > Aspect Ratio has a new 4:3 choice, with resolutions 960x720, 1024x768, 1440x1080, 1600x1200, 1920x1440 and 2880x2160.
  • The 3D view fills the whole screen. The view is taller than at 16:9, not cropped at the sides.
  • The HUD and menus keep their 16:9 layout, centred, so nothing is cut off or stretched. Movies are letterboxed.
  • Checked on the title screen, save menu, chapter loading screens, field, battle, main menu and Paradigms menu.

Volume sliders

Options > Audio & Controls has three new sliders, each 0-100% (100% is the game's own mix), with a Reset button:

  • Music: the soundtrack.
  • Sound Effects: effects, menus, footsteps and surroundings.
  • Voices: speech, including battle calls, field conversations and the dialogue in cutscenes.
  • They use the game's own sound categories, so the split is exact in the game. In cutscenes played as Bink2, speech follows Voices and the rest follows Music. The MP4 cutscenes have one mixed track, so they follow whichever of Music and Voices is higher.
  • No Build needed: the volumes are read when the game starts.

Minimap Shape

  • Options > Minimap Shape: Circle (optional) narrows the field minimap to a near circle. Default keeps the original's oval: the original draws the minimap as a disc tilted 45 degrees, about 1.4 times as wide as tall, and that is by design. No Build needed.

Faster loading

  • The game decompresses nearly everything it loads with zlib, and its built-in copy dates from 2002 (zlib 1.1.4, 32-bit). That copy is now replaced by zlib 1.3.1 and libdeflate, run as native 64-bit code, several times faster.
  • Large file reads (64 KB and up) no longer block the game's other threads while the disk works, so streaming and loading overlap better.
  • Saves are still written in the original format; old and new saves load either way.

Fixes

  • Shader stutter on Windows (pipeline cache): a long-standing bug wrote a new header into the middle of the pipeline cache file every time the game started. From then on the cache was misread, nearly all of it was thrown away, and shaders compiled again during play (stutter on the first time an effect appeared, every session). The cache is now read correctly, and a damaged cache is repaired instead of discarded. One player's cache went from 3 usable entries to 704.
  • Safer saves: each save is first written to a temporary file and only replaces the old one when it is complete. A crash or power cut while saving can't leave a broken save anymore.
  • Steam Cloud sync: files are fully written to disk before they are uploaded, their modification times are kept, and an unreadable local save is no longer uploaded over a good cloud copy.
  • Android: going to the Home screen (or switching apps) and back no longer ends or breaks the game. It keeps running, with sound muted while you're away.
  • Achievements unlocked in quick succession are queued, so none get lost.
  • Audio: the sound mixer's sample-rate conversion now runs continuously across buffers, which removes faint clicks at buffer boundaries.
  • Graphics:
    • The Direct3D state the game starts from now matches real Direct3D 9's defaults.
    • Depth bias (decals, shadows on surfaces) and blending with more than one render target are handled correctly.
    • Two texture formats with swapped color channels are fixed.
    • Window and swap-chain errors (resizing, minimizing, a lost display) are recovered from instead of crashing.
  • Stability: about 45 smaller issues found in a full review of the runtime were fixed, including rare crashes, a threading race in the game-thread lock, memory being released only partly on macOS and 16 KB-page systems (Apple silicon, some Android phones), and a crash handler that could itself hang.

Android touch controls

  • LB and RB now sit in the screen's very top-left and top-right corners, where your index fingers or thumbs reach them without covering the picture.
  • E (main menu) and M (map) sit just under LB.
  • On phones wider than 16:9 these buttons move into the black bars beside the picture.

HD Project import (Features & Mods > HD Textures > Import ZIP…)

  • Stopped imports resume. If an import stops (an error, Cancel, the launcher closed or crashed, the disk full), what it unpacked is kept, and the log names the folder. The next Import ZIP… checks every file already there against the ZIP (size and CRC32), keeps the good ones and unpacks only what's missing or damaged. A half-written file is deleted and unpacked again. After a finished import the work folder is removed as before.
  • Every file is verified: each file is written to a temporary .part file, checked against the CRC32 stored in the ZIP, and only then renamed into place. A bad read can't leave a corrupt texture behind.
  • Linux: the import slowing to a halt and freezing after a few hundred files. We couldn't reproduce the freeze; unpacking the whole ZIP takes about a minute here. The most likely cause is fixed:
    • On slow disks, and on NTFS (Windows) drives mounted in Linux, written data could pile up in RAM by the gigabyte until the system stalled every program writing to disk. The launcher now pushes each file to the disk as it writes it, and every 64 MB within large files.
    • The ZIP is read in fixed 4 MB pieces, so memory use stays flat (about 100 MB) whatever the file size.
    • Reads that come back short or are interrupted are retried instead of failing.
      If it still happens to you, please send hd_import.log from the launcher's data folder.
  • Free-space check: the import needs about 25 GB free while it runs. It now checks before starting, allowing for what an earlier import already unpacked, instead of filling the disk halfway through. The GUI-textures import (HD Fonts & GUI) checks too.

macOS

  • Wine now comes inside WhiteRecomp.app. Convert Movies and the HD Project import run Windows tools; until now they needed Wine from Homebrew, which the launcher could not install for you. The app now carries Wine 11.0 (Gcenx's macOS build, a 64-bit build that also runs 32-bit Windows programs; its download is checked against a pinned SHA-256; Gecko and Mono left out, as they aren't used). The launcher uses it first and clears macOS's download quarantine on it.
  • Apple silicon Macs need Rosetta 2 for Wine. The Requirements list checks for it and, if it's missing, offers Install Rosetta 2 (asks for your password).
  • The download is larger (about 290 MB) because of Wine. Wine's license (LGPL) is in the app's THIRD_PARTY_LICENSES.txt.
  • The macOS launcher is still experimental and not signed: right-click > Open the first time.

Launcher

  • README updated: macOS Wine and resuming an HD import.
  • THIRD_PARTY_LICENSES.txt: AMD FidelityFX SDK (section 13) and Wine (section 12, macOS).

Updated launchers (Nov 27)

  • Fixed: Build failing on most PCs ("always_inline function '_mm512_set1_epi8' requires target feature 'avx512f'… adler32_template.h", issue #30). v20's faster loading uses libdeflate, and its AVX-512 Adler-32 code doesn't compile with newer Clang versions (Clang 23, which LLVM-MinGW installs on Windows, and recent Linux Clangs) on CPUs without AVX-512. That code is left out now; those CPUs use the AVX2 version, so loading stays just as fast. Checked by building the whole game with Clang 23 for a CPU without AVX-512. Just download the new launcher and press Build.
  • Fixed (Linux): HD Project import crawling at the zones (around 276–295 of 915 in "Putting in the HD textures", issue #25). Each zone runs the mod's Windows tools through Wine three times per block, hundreds of times per zone. The launcher read each tool's output until the end of the stream, but Wine's background processes keep that stream open for about 3 seconds after every tool ends. So every run waited 3 s, and Wine then started from scratch for the next one, adding up to half an hour or more per zone. Tool output now goes through a file, and the launcher waits only for the tool itself. In a test with a stand-in Wine that behaves the same way, 1,108 tool runs took 22 s instead of about 55 minutes. Windows was not affected. An import that was stopped picks up where it left off (the unpacked files are kept).
  • New: Better Button Icons (Features & Mods > Button Icons). The Console Button Prompts mod's icons, picked by what you play with:
    • With no controller plugged in, the on-screen prompts show your keyboard's keys.
    • With a PlayStation controller (DualShock, DualSense), they show Cross, Circle, Square and Triangle.
    • With any other controller, they show the Xbox 360 buttons.
    • Plugging a controller in or out switches them while you play. Get opens the mod's page; Import ZIP… takes only the two icon sets from the mod's ZIP and doesn't change the game's files.
  • macOS: each Build now copies MoltenVK and SDL2 next to the built game, so the game keeps working if you move, update or delete the launcher's app. MoltenVK updated to 1.4.2.

Updated launchers (Nov 27, later)

  • Fixed (Android): v20 running far slower than v18/v19, with crackling sound (issue #31). v20 was the first release to put every thread of the game on one core: the game, its sound, and the building of graphics pipelines in the middle of the frame. That left the busiest core with all the work. Android builds now do exactly what v18 did:
    • The game's main thread runs alone on the fastest core, and the game's other threads, file loading, sound and pipeline builders are spread over the other cores.
    • The sound output uses Android's default AAudio settings again, with the same buffering as v18.
    • The other v20-only Android tweaks (full-clock requests, idle-priority threads, the sound thread's priority, non-blocking pipeline locks) are gone.
    • Android builds never include the Debug & Profile Tools (no tracing or profiling code on the phone), whatever the desktop Options say.
    • Android builds no longer pick up TAA / FSR or the Profiler from your desktop Options (a phone build could get TAA if you used it on your PC). Use Android Preset also turns TAA and FSR off.
    • The fixes since v18 are kept: going to Home and back, the LB / RB / menu / map touch buttons, and controllers released when the app loses focus.
    • Rebuild your APK with this launcher (Cross-Compile > Android ARM64 > Build).
  • Fixed (Linux ARM64 / Android): the camera sometimes stopping at certain angles (issue #29). A change to how ARM64 threads wait for each other, made while working on Android, is undone. The wait is back to v18's.
  • HD Project import (Linux, macOS): Wine's server now stays up for the whole import instead of starting again for each of the mod's tools.

Updated launchers (Nov 27, HDR)

  • New: HDR (Options > Display > HDR; issue #28). When your display is in HDR mode (Windows: Settings > Display > Use HDR), the game sends an HDR10 picture:
    • Everything up to mid-brightness looks exactly as in SDR, with the game's white and the HUD at Paper White (default 200 nits).
    • The 3D image's highlights (skies, lights, sparks, magic) are spread above that, up to Peak Brightness (default 1000 nits). Set it to your display's peak.
    • The HUD, menus and cutscenes are not expanded.
    • Without HDR mode the game shows its usual SDR picture. No Build needed.
    • Not yet tested on an HDR display: feedback welcome.
  • New: Start Fullscreen (Options > Display): the game opens in borderless fullscreen. F11 still switches between fullscreen and a window. No Build needed.

Updated launchers (Nov 27, scaled displays)

  • Fixed: the game rendering at 720p on a TV or scaled display even with 4K set in the launcher. Windows treated the game as an old, unscaled app. On a display with scaling (a 4K TV is usually at 300%), its window and output were 1280 x 720, stretched by Windows. The game now gets your resolution's real pixels on every display, at any scaling (Windows, and Wayland on Linux). If the resolution is larger than your screen, the window opens smaller to fit; fullscreen (F11 or Start Fullscreen) shows it at full size. No settings to change: rebuild with this launcher.