Skip to content

v0.2.0: first Linux build, settings and saves per user

Choose a tag to compare

@Torisutan Torisutan released this 29 Nov 12:48
· 223 commits to main since this release

No game data included. You need your own copy of the game (GOG release).

Windows: back up the Rayman2.exe in your game folder and copy the one from rayman2-pc-sdl-v0.2.0-win32.zip in. Needs the Microsoft Visual C++ 2015-2022 Redistributable, x86.

Linux (32-bit x86): rayman2-pc-sdl-0.2.0-i686.AppImage (any distribution, own SDL3; needs the system's 32-bit glibc, OpenGL driver and window/audio libraries, e.g. Arch lib32-sdl3 + lib32-mesa, Debian/Ubuntu libsdl3-0:i386) or rayman2-pc-sdl_0.2.0_i386.deb (Debian 13 / Ubuntu 26.04+, after dpkg --add-architecture i386). First start: rayman2-pc-sdl --setup /path/to/Rayman2 (installed game folder) or rayman2-pc-sdl --setup setup_rayman_2_*.exe (GOG offline installer, needs innoextract); with the AppImage, give the AppImage the same arguments. See the README's Linux section.

First Linux build (32-bit x86) with AppImage, .deb and Arch packages; settings and saves per user
in SDL builds. The prebuilt Windows Rayman2.exe is the default build as before.

Game

  • Settings and saves per user (SDL builds): ubi.ini, the options and the save games now live
    in the user's folders instead of the game folder: Windows Documents\UbiSoft\Rayman 2; Linux
    ubi.ini and Options/ in ~/.config/UbiSoft/Rayman 2, SaveGame/ in
    ~/.local/share/UbiSoft/Rayman 2 (or where XDG_CONFIG_HOME / XDG_DATA_HOME point). The first
    start copies the game folder's ubi.ini, Data/Options and Data/SaveGame there once; the game
    folder is never written and nothing is overwritten. Put an empty portable.txt in the game folder
    to keep everything there as before. CMake R2_USER_FOLDER (on).

Build

  • Linux (32-bit x86): the game starts, shows the menu and plays levels with the
    OpenGL 3.3 renderer module (tools/linux-i686.cmake, see CMakeLists.txt for the configure
    line). Its engine state matches the Windows build that uses the same C math branch frame for
    frame in four of the five regression scenarios. The exe now goes to <build>/<configuration>/
    with every generator, beside its DLL/ folder.
  • Linux packages: AppImage (i686, own SDL3), .deb (i386) and an Arch PKGBUILD, engine
    only. The launcher rayman2-pc-sdl --setup takes an installed game folder or extracts the GOG
    offline installer (innoextract), only what the game reads; see the README's Linux section.
    Built in CI (.github/workflows/linux.yml, tools/linux/package.sh).
  • The Linux build keeps one rounding per float operation with any -march (-ffp-contract=off):
    distribution flags with FMA changed the results.

Tools

  • tools/regress.py runs on Linux too (python3, sandbox in the user's cache folder).
  • The regression harness gives fixed timer rates, so runs on different systems can be compared.

SHA-256

  • Rayman2.exe: 9ad1c2acd63d64a66d4011e839de34084b720fd4f915eacd2554930d9faf2b4a
  • rayman2-pc-sdl-0.2.0-i686.AppImage: 18fc8fd5c46a7fff90d0f2bc2d10ae947f87a7d50c2646208d9334bc50a6e2eb
  • rayman2-pc-sdl_0.2.0_i386.deb: ea24b27be0ebd49922d66496127d5471bfbd5d8fd284f8d5e1d8c5be27c3b9c1