[tutorial] Supercade in P2P [LAN] for Windows (Possibly MacOSX and Linux)

To be clear about this.

  1. This tutorial uses no illegal tools!
  2. I’m not hacking the emulator here!
  3. I did not changed any files from the original emulator!
  4. I’m not giving any links to anything unofficial or illegal that breaks the forum rules!
  5. I will not support this method in case refuse to work after some time!
  6. If the supercade developers ask me and want tutorial to be removed I will remove it!
  7. If admins of the forum insist tutorial to be removed, I will remove it!

What I’m doing, I’m just using the command line of supercade to load emulator directly!

Has you can see on the virtual machine in the screenshot I’m running the emulator in Mono without net framework installed!
Which in theory means that you can do the same in Linux or MacOSX and play in lan with friends!

You can install Mono for different platform than windows!
http://www.go-mono.com/mono-downloads/download.html
An open source, cross-platform, implementation of C# and the CLR that is binary compatible with Microsoft.NET

http://i45.tinypic.com/2rdgrow.png

For example
Player1 is named RongYao with ip 192.168.1.1 and port 10001 on PC1
Player2 is named Rong with ip 192.168.1.2 with port 10002 on PC2
Both players want to play metal slug 3
You can see that both players are in one subnet.
You don’t need supercade accounts! The connection is established dirrectly in local network.

  1. Install microsoft net framework 4 from microsoft site if you don’t have it!
    http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992
  2. Install supercade on both pcs from supercade site.
    http://damdai.com/supercade/client/Supercade.application
  3. Go to supercade forlder (%appdata%\Supercade)!
    (Theres Emulator.zip file which contains the emulator that you can run with command prompt or in mono command prompt without installing it.)
    And there you will see the SupercadeEmulator.exe too.

PLAYER1
So the command line of player1 on PC1 who challenges it goes like:
I’m RongYao (pc 1 - challenging with only player1 port, rom name, player1 name, then player2 name and replay command)
Run from the command prompt or mono command prompt!
SupercadeEmulator.exe -p1 10001 “Metal Slug 3” “rongyao” “Rong” “temp.replay”
-p1 - indicates player1
10001 - port
"Metal Slug 3" - The emulator load roms by their names, not by the filenames!
“rongyao” - my name in this case / the name of player1 on pc1 / the player who challenges
"Rong" - the second player, the one you challenging
"temp.replay" - it is the reply file, the recorded game

If i found the way how to save a reply file you can run it with that command below or instead temp.replay there should bethe reply filename there.
Run from the command prompt or mono command prompt!
SupercadeEmulator.exe temp.replay

PLAYER2
At the other side the player is Rong!
I’m Rong (pc 2 - accepting the match to player1 ip and port, rom name, player1 name, then player2 name)
Run from the command prompt or mono command prompt!
SupercadeEmulator.exe -p2 192.168.1.1 10001 “Metal Slug 3” “rongyao” “Rong”
-p2 - indicates player1
192.168.1.1 - the IP of player1 on pc1 / indicates the address to which p2 connecting to
10001 - port of player1 because he is the host of the game
"Metal Slug 3" - The emulator load roms by their names, not by the filenames!
“rongyao” - the name of player1 on pc1 / the player who challenges
"Rong" - I’m on the second pc, I accept the challenge

First player doesn’t need to specify ip because he is the host, the second player is the guest which should connect to player1 so player2 must specify an ip address to which to connect there.
And I’m getting both emulators running player1 emulator shows awaiting player2 and player2 emulator shows connecting to player1 but since using the same ports on ONE pc, because i couldn’t test it on two pcs… kaillera crashes in attempt to punch the same udp port from two processes or that is just my guess.


Update!
You don’t need microsoft net framework 4 or mono if you extract the emulator from emulator.zip since only the supercade internet interface needs it - FOR LAN IS NOT NEEDED.

Example running vsav in lan!

If your IP is reachable outside your network you can play on internet in that same way!
Have a nice playing there!