zZeck / RaymanArenaPatch

Rayman Arena network card selector and discord presence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This patch allows you to choose a network adapter at startup, like hamachi, for Rayman Arena to use in LAN mode. The LAN init code in the game is not very good, which is why it has problems with multiple adapters, or adapters with adaper IP addresses in ranges it doesn't expect. The patch NOPs out most of a couple of routines, and hardcodes into them the network adapter information selected.

It also adds basic discord rich presence support, showing you are playing rayman m/arena.

Copy the discord sdk into a directory named discord in the root of this repo.

In the visual studio native tools command prompt (or similar environment):

Debug cl.exe /std:c++17 /Zi /LD discord/cpp/*.cpp patch.cpp /I\discord\cpp\ /link /OUT:arenapatch.asi user32.lib IPHLPAPI.lib Ws2_32.lib discord/lib/x86/discord_game_sdk.dll.lib

Release cl.exe /std:c++17 /LD discord/cpp/*.cpp patch.cpp /I\discord\cpp\ /link /OUT:arenapatch.asi user32.lib IPHLPAPI.lib Ws2_32.lib discord/lib/x86/discord_game_sdk.dll.lib

Use Ultimate Asi Loader, with rayman arena and put arenapatch.asi into the plugins directory.

You may want to rename dinput8.dll from the asi loader to one of the other supported dll names. The controller patch for arena on the pcwiki replaces dinput8.dll

About

Rayman Arena network card selector and discord presence

License:BSD 2-Clause "Simplified" License


Languages

Language:C++ 100.0%