michael-fadely / sa2-battle-network

Online multiplayer for Sonic Adventure 2 PC
MIT License
31 stars 1 forks source link

Sonic Adventure 2: Battle Network

Sonic Adventure 2: Battle Network is a netplay mod for Sonic Adventure 2 PC which utilizes the SA2 Mod Loader perform code injection and implement hooks to track changes to critical gameplay data and synchronize that data over the internet.

Usage

To play Sonic Adventure 2 PC online, you must first install the following pre-requisites:

Pre-requisites:

You will need to run the game with command-line arguments. You can do this via command-line interface, or by creating a shortcut to sonic2app.exe and adding them to the end of the "Target" field.

Hosting a game server

Joining a game server

All command-line parameters

Parameter Offline Client Server Description
--host port or -h port N/A N/A N/A Host a server on the specified port.
--connect address:port or -c address:port N/A N/A N/A Connect to a server at address on port port.
--no-specials Disable all special abilities given by rings (speed up, etc.).
--cheats Allows you to teleport to the other player by pressing Y + D-Pad Up. Also enables built-in cheats.
--netstat Enables network statistic logging. Saves as netstat.recv.csv and netstat.sent.csv in the game directory.

Compiling

Requirements

Build

  1. Open SA2 Battle Network.sln in Visual Studio 2019
  2. Build!