Repository navigation
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, CMakeR2_GLI_DX6, on): the
decompiledGliDX6vf.dllis linked into the exe.GLI_DllFile=GliDX6inubi.iniuses it
withoutDLL/GliDX6vf.dll; any other renderer is still loaded from theDLLfolder as before.
On Windows 10 and later, native DirectDraw needs theDWM8And16BitMitigationcompatibility
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; CMakeR2_C_RUNTIME
(RAYMAN2_C_RUNTIME) takes the C runtime there too. Regression identical either way.
Tools
tools/run.py --ini KEY=VALUEsets a key of the sandbox'subi.ini(repeatable).
SHA-256 Rayman2.exe: ce1c995e297ed707bb6dee412c5b7d49c5dccee8a93f4a218766b2ee2749d302