Repository navigation
v0.1.1: bug fixes, faster loading, first prebuilt exe
Pre-release
Pre-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.
Bug fixes, faster loading, HUD at the screen edges, own icon. First release with a prebuilt
Rayman2.exe; you still need your own copy of the game.
Game
- Crash at start once a save exists fixed: on the modern C runtime the engine read file
names from the wrong place in directory listings, and the startup cleanup of
Data/SaveGame/HiddenSlotrecursed until the stack overflowed. - Original engine bugs fixed (
RAYMAN2_FIX_BUGS, CMakeR2_FIX_BUGS, on): crashes and
undefined behaviour of the retail engine, gameplay unchanged. Catalogue and evidence in
docs/BUGS.md; fixed so far: #1-#8 (uninitialised reads in the engine loop,
sphere culling, magnets and the loading bar, NULL writes in the AbsoluteAxis AI fields, an
out-of-bounds index on an empty temp path, a read after free at exit, a crash or hang on a
damaged options file). - Faster loading (
RAYMAN2_FAST_LOADING, CMakeR2_FAST_LOADING, on): the loading screen
no longer waits for a synchronised screen flip at every progress step; the bar is refreshed at
most every 100 ms. Level loads take about 0.4 s instead of 0.8-1.4 s; image and bar stay. - Widescreen HUD at the screen edges: health bar and lum/cage counters sit in the screen
corners instead of the corners of the 4:3 band. Menus and the pause screen keep their
centred 4:3 layout. - Window icon: taskbar and title bar show the exe's icon instead of the generic one
(DEVIATIONS 12).
Build
- Own icon and manifest: the modern build no longer needs the GOG exe. An original icon
(generated bytools/make_icon.py) and a manifest with the same DPI awareness as retail
(per monitor) are linked fromRayman2.exe/src/port/Rayman2.rc;local.jsonneeds onlyvc6. - clang-cl builds every file (225 of 225) and runs the regression.
- CMake Debug configuration with
/RTC1; the regression runs clean under it.
SHA-256 Rayman2.exe: e02aebadcf951396abf4a36c77ce04a54c450bf7437c01f357c6d8ecb106dcb5