Skip to content

An Async implementation of Steamworks.net transport for Mirror

License

Notifications You must be signed in to change notification settings

Raystorms/FizzySteamyMirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FizzySteamyMirror

Fizzcube bringing together Steam and Mirror

This project was previously called "SteamNetNetworkTransport", this is Version 2 it's a complete rebuild utilising Async of a Steam P2P network transport layer for Mirror

Quick start - Demo Project

(coming soon)

Dependencies

Both of these projects need to be installed and working before you can use this transport.

  1. Steamworks.NET FizzySteamyMirror relies on Steamworks.NET to communicate with the Steamworks API. Requires .Net 4.x
  2. Mirror FizzySteamyMirror is also obviously dependant on Mirror which is a streamline, bug fixed, maintained version of UNET for Unity. Recommended Stable Version

Setting Up

  • Note: if you want an easy import, skip the steps bellow & take the release, it has Steamworks.Net already included. (if you already have Steamworks.Net in your project, you might need to delete either your import or the one included in the release).
  1. Download and install the dependencies
  2. Download "FizzySteamyMirror" and place in your Assets folder somewhere. If errors occur, open a Issue ticket.
  3. In your Image object replace Image with Image

Building

  1. When Building your game you have to place "steam_appid.txt" into the dir of the game. If you cant find it well, just make a "steam_appid.txt" and place 480 in side.

Image

  1. When running the game make sure you have placed it into steam as a Non-Steam Game

Note: The 480(Spacewar) appid is a very grey area, technically, it's not allowed but they don't really do anything about it. If you know a better way around this please make a Issue ticket.

Note: When you have a appid from steam then replace the 480 with your own game appid.

Host

  1. Open your game through Steam
  2. Host your game Image
  3. if it says your playing "Spacewar" in Steam "congrats its working!"

Note: You can run it in Unity aswell

Client

  1. Send the game to your buddy.
  2. The client needs the steam64id of the host to be able to connect.
  3. Place the steam64id into Image then click "Lan Client"
  4. Bing bash bong DONE!

Play Testing your game locally

1.You need to have both scripts "Fizzy Steamy Mirror" and "Telepathy Transport"

Image

2.To test it locally disable "Fizzy Steamy Mirror" and enable "Telepathy Transport"

Image

3.To test it on Steam P2P again enable "Fizzy Steamy Mirror" and disable "Telepathy Transport"

Image

About

An Async implementation of Steamworks.net transport for Mirror

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%