A mod for Rayman 2 PC built on the Twofold mod loader to add support to Rayman 2 for using it with the Archipelago mutli-world randomizer.
This mod is implemented in two parts:
- Rayman2Connector is a standalone exe placed in the game directory. This is a C++ program which implements the AP client using N00byKing's APCpp.
- Rayman2APMod is a dll mod installed with Twofold which gets injected into the game. It requires the Rayman2Connector.exe to be present so it can boot it as a subprocess and communicate with it. This is done as Rayman 2 is written in C and it is easier to use the existing AP client written in C++.
There is also a DLLDebugger module available which was used to test the connector module as executed from the C code.
Absolutely gigantic credit goes to Spitfire_x86 for their incredible work on making the mod loader and so many useful mods without which this would be absolutely impossible.
This work is based on R2DbgScr and R2Console by Spitfire_x86. Parts derived from these projects are under the copyright of Spitfire_x86.
This guide only covers how to install and run the Rayman 2 mod, customizing the config, generating the game, and hosting the room are all the same as any other Archipelago game.
- Install the GOG version of Rayman 2, preferably with the standalone installer.
- You can download the standalone installer only if you are logged in to GOG, from these direct download links: Part 1, Part 2. These links only work if you are logged in and own Rayman 2.
- You can use GOG Galaxy but you have to be careful to not let it override/revert the game files after installing the mods below.
- You might be able to use the Uplay/Ubisoft Connect version but this is not supported and may cause issues.
- Any retail CD/DVD versions are not supported as their built-in DRM is broken on modern hardware.
- Install Ray2Fix by downloading the zip file of its latest release and extracting the contents of the zip into the Rayman 2 game folder.
- Run
R2FixCfg.exe, choose your preferred display settings in the General tab and if you want to use a controller, configure the gamepad controls in the Gamepad tab. - Install Twofold by downloading the zip file of its latest release and extracting the contents of the zip into the Rayman 2 game folder.
- Install R2Console by downloading the zip file of its latest release and extracting the contents of the zip into the Rayman 2 game folder.
- Download the latest release of this project and locate
Rayman2AP.zip, extract the contents of the zip into the Rayman 2 game folder. - Install Microsoft Visual C++ Redistributable which is required to run the Archipelago integration.
- Run the game through
Ray2x.exeto launch the modded version.Rayman2.exewill launch the unmodded version of the game. - In-game you can press
~to open up the console. Use theap connect <ip> <slot> [password]command to connect to an Archipelago room. You have to put the slot name in quotes ("") if it contains spaces. The console will show an error message if it could not connect to the room.- If you use a non-US keyboard the key may not be the same. It will use whatever
VK_OEM_3is on your keyboard.
- If you use a non-US keyboard the key may not be the same. It will use whatever
- Starting a new game after connecting to a room will use the configured random settings.