Outer Wilds online multiplayer mod, using Mirror and OWML.
Go to file
JohnCorby daba499d90 - rename
- apparently weaver weave arrays correctly, so be explicit
2022-01-26 00:12:44 -08:00
.github build.yaml: better duplicate build avoidance 2021-11-27 19:31:26 -05:00
FizzyFacepunch move NextClient.SetTransportError calls up 2022-01-24 11:30:41 -08:00
Mirror update mirror 2022-01-22 17:08:29 -08:00
MirrorWeaver update mirror 2022-01-22 17:08:29 -08:00
QSB - rename 2022-01-26 00:12:44 -08:00
QSBPatcher better copying 2022-01-21 15:44:57 -08:00
QSBTests wtf 2022-01-14 22:10:41 -08:00
.gitignore update assetbundles and fix gitignore 2021-11-30 13:33:00 -08:00
DevEnv.targets.example
Directory.Build.props make weaver not copy to mod directory, simplify outputpath 2022-01-13 15:29:22 -08:00
LICENSE
QSB.sln add patcher 2022-01-16 20:08:59 +00:00
QSB.sln.DotSettings
README.md Update README.md 2022-01-22 11:38:21 +00:00
unknown.png Update unknown.png 2021-12-16 17:22:25 +00:00

logo

GitHub GitHub release (latest by date) GitHub Release Date GitHub all releases GitHub release (latest by date) GitHub last commit (branch)

Quantum Space Buddies (QSB) is a multiplayer mod for Outer Wilds. The mod uses the OWML mod loader and Mirror for networking.

Spoilers within!

License

Copyright (C) 2020 - 2021 :

  • Henry Pointer (_nebula or misternebula)
  • Will Corby (JohnCorby)
  • Aleksander Waage (AmazingAlek)
  • Ricardo Lopes (Raicuparta)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Installation

  • Install the Outer Wilds Mod Manager;
  • Install Quantum Space Buddies from the mod list displayed in the application;
  • If you can't get the mod manager to work, follow the instructions for manual installation.

Manual installation

Hosting / Connecting

If you own Outer Wilds on Steam

Make sure you are logged into Steam before hosting/connecting.

Connecting to a server

  • On the title screen, click the option CONNECT TO MULTIPLAYER.
  • Enter the SteamID of the person you are trying to connect to.
  • Enjoy!

Hosting a server

  • Enter a game. This can be a new expedition or an existing save file.
  • On the pause screen, click the option OPEN TO MULTIPLAYER.
  • Share your SteamID with the people who want to connect.
  • Enjoy!

If you do not own Outer Wilds on Steam

QSB uses Steamworks to simplify connecting and hosting. If you do not own Outer Wilds on steam, you will not be able to use this.

There are several ways around this :

  • Change the "appIdOverride" option in debugsettings.json to an AppID that you own on Steam. The most common id to use is 480, as Spacewar is an app everyone owns by default. You will then be able to connect and host as detailed in the above section.
  • If that doesn't work, enable the "useKcpTransport" option in debugsettings.json. This will force QSB to use the KCP transport, which means you will have to port forward and all that fun stuff. To connect/host, follow the below instructions.

Connecting to a server with KCP transport

  • On the title screen, click the option CONNECT TO MULTIPLAYER.
  • Enter the public IP address of the person you are trying to connect to.
  • Enjoy!

Hosting a server with KCP transport

  • Port forward port 7777 with UDP/TCP.
  • Make sure your firewall isn't blocking the connections, you've port forwarded the entire route to your NAT (if using multiple routers), etc. There are many guides on port forwarding online, so check those if you need help.
  • Enter a game. This can be a new expedition or an existing save file.
  • On the pause screen, click the option OPEN TO MULTIPLAYER.
  • Share your public IP address with the people who want to connect.
  • Enjoy!

Frequently Asked Questions

Requirements

  • Steam account.
  • Latest version of OWML.
  • Latest version of Mod Manager. (If using)
  • Latest version of Outer Wilds. We cannot guarantee QSB, or OWML, will work on cracked/pirated versions of Outer Wilds. Do not come asking us for help when using pirated versions.
  • Fast and stable internet connection, upload and download.
  • Above minimum Outer Wilds system requirements.

How complete is this mod? How far through the game can I play?

Area of the game Working
Base game ✔️
Echoes of the Eye

Compatibility with other mods

TL;DR - Don't use any mods with QSB that aren't marked as QSB compatible.

QSB relies on exact orders of objects found using Resources.FindObjectsOfTypeAll to sync objects, so any mod that changes the hierarchy at all risks breaking QSB. Also, QSB relies on certain game events being called when things happen in-game. Any mod that makes these things happen without calling the correct events will break QSB. Some mods will work fine and have been tested, like CrouchMod. Others may only work partly, like EnableDebugMode and TAICheat.

Will you make this compatible with NomaiVR?

Short answer : No.

Long answer : Pay me enough money, and maybe I'll consider it.

Why can't a Steam game connect to an Epic game, and vice versa? Do you hate Steam/Epic?

QSB is incompatible between game vendors because of how it works at a base level. Not because I dislike Steam or Epic.

Technical explanation : QSB relies on the orders of lists returned by certain Unity methods to be the same on all clients. For Unity objects, these are (probably) ordered by AssetID or InstanceID. These IDs are different across different game builds. The Epic and Steam versions are different builds. Therefore, the lists are ordered differently and everything breaks.

Why do I keep getting thrown around the ship?

Boring boring physics stuff. The velocity of the ship is synced, as well as the angular velocity. However, this velocity is not also applied to the player. (Or it is sometimes. I don't 100% know.) This means the ship will accelerate, leaving the player "behind". Which makes you fly into the walls alot. So really there's nothing we can do about this. I disabled damage by impact inside the ship, so if you die inside the ship while it is flying then that is a bug.

What's the difference between QSB and Outer Wilds Online?

TL;DR - QSB is multiplayer co-op, Outer Wilds Online is multiplayer not not co-op.

QSB is a fully synced game. The other players are actually there in the world, and can affect things. The loop starts/ends at the same time for everyone, and you share ship logs / signal discoveries.

Outer Wilds Online is easier to set up, but much more basic in its features. The other players cannot affect your game, and do not contribute to anything in your save. The loop is entirely per-player.

Why would someone make this mod? Seems like a lot of effort for no reward.

Good question.

Let me know if you find an answer.

Development Setup

  • Download the Outer Wilds Mod Manager and install it anywhere you like;
  • Install OWML using the Mod Manager
  • Clone QSB's source
  • Open the file DevEnv.targets in your favorite text editor
  • Edit the entry <GameDir> to point to the directory where Outer Wilds is installed
  • Edit the entry <OwmlDir> to point to your OWML directory (it is installed inside the Mod Manager directory)
  • Edit the entry <UnityAssetsDir> to point to the Assets folder of the QSB unity project
  • Open the project solution file QSB.sln in Visual Studio
  • If needed, right click References in the Solution Explorer > Manage NuGet Packages > Update OWML to fix missing references
    • Use this to create Assembly-CSharp_publicized.dll, if you don't already have it
  • Run this to stop tracking DevEnv.targets: git update-index --skip-worktree DevEnv.targets

To fix the references, right click "References" in the Solution Explorer > "Add Reference", and add all the missing DLLs (references with yellow warning icon). You can find these DLLs in the game's directory (OuterWilds\OuterWilds_Data\Managed);

After doing this, the project references should be working.

If Visual Studio isn't able to automatically copy the files, you'll have to copy the built dlls manually to OWML.

It is recommended to use the Epic version of Outer Wilds, as you cannot run multiple versions of the Steam version.

A powerful PC is needed for development, due to the high amount of RAM and CPU needed to run 2 or 3 instances of modded Outer Wilds.

It is also recommended to lower all graphics settings to minimum, be in windowed mode, and lower resolution to roughly a quarter of your monitor space. This lets you run multiple instances of Outer Wilds to quickly test QSB.

Warning : Mod development can lead to unexpected errors in your computer system.

  • When editing the networking code, mistakes can lead to QSB overwhelming your network connection with excess packets.
  • Too high RAM usage will lead to Outer Wilds sticking at ~31% loading, then crashing.
  • There have been instances of graphics cards crashing, and needing to be disabled/re-enabled from Device Manager.

Authors and Special Thanks

Authors

Contributers

Special Thanks

  • Thanks to Logan Ver Hoef for help with the game code, and for helping make the damn game in the first place.
  • Thanks to all the people who helped in public tests.

Dependencies

Help / Discuss development / Whatever

Join the Outer Wilds Modding Discord, we have a nice #qsb-bugs-and-questions channel for support, and other channels to discuss modding!