Skip to content

v0.1.2: widescreen HUD fix, Direct3D 6 renderer built in

Latest

Choose a tag to compare

@Torisutan Torisutan released this 24 Nov 22:55
· 46 commits to main since this release

Install: back up the Rayman2.exe in your game folder (GOG release) and copy this one in. Needs the Microsoft Visual C++ 2015-2022 Redistributable, x86. No game data included.

Widescreen HUD fix, Direct3D 6 renderer built in. The prebuilt Rayman2.exe is the default
Windows build; the SDL build is source-only for now.

Game

  • Direct3D 6 renderer built in (USE_GLI_DX6, CMake R2_GLI_DX6, on): the
    decompiled GliDX6vf.dll is linked into the exe. GLI_DllFile=GliDX6 in ubi.ini uses it
    without DLL/GliDX6vf.dll; any other renderer is still loaded from the DLL folder as before.
    On Windows 10 and later, native DirectDraw needs the DWM8And16BitMitigation compatibility
    layer to list the driver's 16-bit modes (as with the retail DLL).
  • Widescreen HUD kept together: at wide modes an icon and its counter (or a panel) now move
    to the screen edge as one group, so they keep their 4:3 layout. Before, the hall of doors showed
    the lum counter far from its icon, and the level panel's lum icon outside the panel.

Build

  • SDL build (CMake R2_USE_SDL, off; SDL3 from vcpkg): window, events, timers, locks and
    input (keyboard, mouse, gamepads) through SDL, the engine loop on the main thread. Windows only
    for now: rendering and sound still use the installed drivers. Alt+Tab returns to fullscreen;
    the window shows once the display is ready. Regression identical to the Win32 build.
  • C runtime branches for level data files, ini files and engine memory, beside the Win32
    ones (the first step towards Linux). Windows keeps the Win32 API; CMake R2_C_RUNTIME
    (RAYMAN2_C_RUNTIME) takes the C runtime there too. Regression identical either way.

Tools

  • tools/run.py --ini KEY=VALUE sets a key of the sandbox's ubi.ini (repeatable).

SHA-256 Rayman2.exe: ce1c995e297ed707bb6dee412c5b7d49c5dccee8a93f4a218766b2ee2749d302