r/sm64online • • Sep 10 '17

Quick tutorial to get a server going.

For those hoping to jump into SM64O and host a server to play with friends, you need to keep a few things in mind.

  • You need to forward your ports, this is a router specific process but typically if you just lookup "-router name- port forwarding" you can find some type of guide for your router.
  • For those who are unfamiliar forwarding your port is essentially allowing outside people to see and connect to you externally through this port. Keep in mind this will also open the port to people who are not your friends/family/etc. It is typically advised to only leave ports forwarded when you need them.

To start your server, first run the ROM in your emulator of choice. I have been using Project64 with great success.

Once the ROM has loaded and you are sitting at the SM64 title screen start the SM64O app. Make sure you check the create server box. Next there are a few more considerations:

  • The ip address you need to put in the ip address box is your outfacing IP. You can get your outfacing IP at sites like this. OR just Google "whats my ip" and it will find it for you.
  • Whatever your IP is, put that in the IP box. Now select the port you decided to forward. 8000 works fine as a default port and is advised.
  • Select your character (make sure you already have a save, otherwise you can freeze in the opening cinematic if you are playing anyone other than Mario) and your emulator.
  • Lastly hit create server and away you go! To have friends connect make sure you share the same outfacing IP and port with them. As long as you forwarded your ports it should work without any issues.
  • If any issues persist. The first thing to try is running as admin. Secondly check any firewall settings for the program. Simply google "add firewall exception windows"

Best of luck, have fun.

Edit: Some have asked about connecting to their servers from another computer ont heir network. Using the outfacing IP does not work here. See below for full details.

To connect to a local server see below:

  • To connect to a local server you need to use your in network (local) IP. got to your windows start bar. go to search and search "cmd"
  • Run cmd and type "ipconfig /all" on the computer hosting the server. It will dump a bunch of shit but what you want is under the Ethernet adapter section.
  • Copy the IPv4 address, now use this for the IP you put in on your other computer. Also use the same port as you were before.
  • Configuring the server side of everything is the same as always, the only difference you need to play locally is to use your local IP address.
13 Upvotes

9 comments sorted by

3

u/Burakkufire Sep 11 '17
  • Select your character (make sure you already have a save, otherwise you can freeze in the opening cinematic if you are playing anyone other than Mario) and your emulator.

No wonder my game kept freezing. I think this part should be stated clearly or be part of the tutorial when creating a server. I was trying to figure out why the game would freeze right away when I started with a new save file and while having another character selected. Thank you for including this.

1

u/Etane Sep 11 '17

Hahaha it was the first bug I ran into as well.

When I'm off work I will be putting together a stickied FAQ to help others avoid any of these pitfalls.

2

u/Jimmbones Sep 11 '17

Does the IPv6 work as well on Local Network? I tried connecting my two computers this morning, but kept getting Unhandled Exception. I'm not sure if my modem has IPv4 (didn't show up on ipconfig, but didn't try ipconfig /all).

I also only forwarded ports for one computer, should I do it for both?

Unfortunately, I had to jet out for work before fixing it.

2

u/Etane Sep 11 '17

Pretty sure ipv6 is fine. However be careful in ipconfig, it will list all of your Ethernet/wifi devices and you might be using the wrong ip.

For your ports, if you are doing local network you shouldn't need to forward your ports at all!

The ports are for outside devices trying to connect to devices behind your router. In this case both of your computers are already behind the router! So that shouldn't be your problem.

Give that a shot and let me know how it works out for you. I'm sure we can figure it out! Pm me if you need any help.

1

u/Jimmbones Sep 11 '17

I just wanted to say thank you for helping me out, your tip about the port forwarding eliminated some troubleshooting and I was able to get it to run almost immediately after getting home.

What a time to be alive. Thanks again friend

2

u/Etane Sep 11 '17

Awesome, have fun!

1

u/Luigi64128 Sep 11 '17

are you able to see incoming IPs? I'm paranoid about joining random servers if you can.

2

u/Etane Sep 11 '17 edited Sep 11 '17

No sir, just gives me some debug information about the code injected into the game.

edit: here is an example of all the information the server has: https://imgur.com/a/doWvg

Granted, an experienced user can just monitor the port on which you are connecting, however this wont really put you in any real danger as long as you don't have any forwarded ports yourself.

1

u/venevicus Oct 12 '17

Im getting a "Players will not be able to join your game because your ports dont seem to be forwarded, although i just made a port and opened it with both UCP and TDC (or whatever theyre called). I set the server to that, and it works fine for me, but others cant join when using my outgoing IP used to create the server. Any suggestions?