/MultiplayerAvatars

A Beat Saber mod that adds CustomAvatars support to the MultiplayerExtensions mod.

Primary LanguageC#OtherNOASSERTION

MultiplayerAvatars Steam/PC-Only Build

A Beat Saber mod that adds CustomAvatars support to the MultiplayerCore mod (Requieres custom server like BeatTogether). This is a work in progress which has bugs.

Features

  • Sends avatar data to other players who have the mod.
  • Spawns other player's avatars.
  • Scales other player's avatars.

Installation

MultiplayerAvatars has not been released yet, but you can grab the latest build which is automagically generated.

  1. Ensure you have the required mods.
  2. Download the MultiplayerAvatars file listed under Artifacts Here (pick the topmost successful build).
    • You must be logged into GitHub to download builds from GitHub Actions.
  3. Extract the zip file to your Beat Saber game directory (the one Beat Saber.exe is in).
    • The MultiplayerAvatars.dll (and MultiplayerAvatars.pdb if it exists) should end up in your Plugins folder (NOT the one in Beat Saber_Data).
  4. Optional: Edit Beat Saber IPA.json (in your UserData folder) and change Debug -> ShowCallSource to true. This will enable BSIPA to get file and line numbers from the PDB file where errors occur, which is very useful when reading the log files. This may have a slight impact on performance.

Requirements

Mods without a link can be downloaded from BeatMods or using Mod Assistant.

Contributing

Anyone can feel free to contribute bug fixes or enhancements to MultiplayerAvatars. GitHub Actions for Pull Requests made from GitHub accounts that don't have direct access to the repository will fail. This is normal because the Action requires a Secret to download dependencies.

Building

Visual Studio 2019 with the BeatSaberModdingTools extension is the recommended development environment.

  1. Check out the repository
  2. Open MultiplayerAvatars.sln
  3. Right-click the MultiplayerAvatars project, go to Beat Saber Modding Tools -> Set Beat Saber Directory
    • This assumes you have already set the directory for your Beat Saber game folder in Extensions -> Beat Saber Modding Tools -> Settings...
    • If you do not have the BeatSaberModdingTools extension, you will need to manually create a MultiplayerAvatars.csproj.user file to set the location of your game install. An example is showing below.
  4. The project should now build.

Example csproj.user File:

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <BeatSaberDir>Full\Path\To\Beat Saber</BeatSaberDir>
  </PropertyGroup>
</Project>