SteamyMirage
SteamyMirage brings together Steam and Mirage utilising Async of a Steam P2P or UDP network transport layer for Mirage. Dependencies
Both of these projects need to be installed and working before you can use this transport.
SteamWorks.NET SteamyMirage relies on Steamworks.NET to communicate with the Steamworks API. Requires .Net 4.x
Mirage FizzySteamworks is also obviously dependant on Mirage.
FizzySteam is only for 64bit version. If you require 32bit you will need to find the dlls yourself.
The preferred installation method is Unity Package manager.
If you are using unity 2020.3 or later:
- Open your project in unity
- Install Mirage
- Install Steamworks.net
- Click on Windows -> Package Manager
- Click on the plus sign on the left and click on "Add package from git URL..."
- enter https://github.com/MirageNet/FizzySteamyMirror.git?path=/Assets/Mirage/Runtime/Transport/FizzySteamyMirror
- Unity will download and install Mirage SteamyMirage
Note: The default 480(Spacewar) appid is a very grey area, technically, it's not allowed but they don't really do anything about it. When you have your own appid from steam then replace the 480 with your own game appid. If you know a better way around this please make a Issue ticket. Host
To be able to have your game working you need to make sure you have Steam running in the background. SteamManager will print a Debug Message if it initializes correctly. Client
Before sending your game to your buddy make sure you have your steamID64 ready.
Send the game to your buddy.
Your buddy needs your steamID64 to be able to connect.
Place the steamID64 into "localhost" then click "Client"
Then they will be connected to you.
Thanks to all developers of the original code for this work. I have just made it work for Mirage the original creators deserve the thanks