GGPO in LAN
From fba_ggpo.cpp sourcecode
Notice that line…
(connect, “quark:direct,%[^,],%d,%[^,],%d,%d”, game, &localPort, ip, &remotePort, &p1);
and that line here!
&cb, game, localPort, ip, remotePort, p1
So following the example of the code!
When you execute online play it goes quark:served command, which means that you sending or accepting challenge. Then it goes to quark:direct, which means the challenge is accepted and the game starts. After that it goes to synchronization and then to stream the match!
Here I’m showing only the direct connection part.
Let’s jump to the place where we playing on LAN, shall we do it?
PLAYER1
ggpofba.exe quark:direct,mvsc,7000,192.168.1.168,7001,0 -w
quark:direct - means direct connection
mvsc - obviously means marvel vs capcom… at least for the people here should be a known term
7000 - YOUR open port
IP (192.168.1.168) - means the IP of your opponent / PLAYER2 IP address
7001 - means PLAYER2 open port
0 - means player1
-w - that means windowed, runs fba in window mode
PLAYER2
ggpofba.exe quark:direct,mvsc,7001,192.168.1.168,7000,1 -w
quark:direct - means direct connection
mvsc - should be the same as above
7001 - YOUR open port
IP (192.168.1.168) - means the IP of your opponent / PLAYER1 IP address
7000 - means PLAYER1 open port
1 - means player2
-w - means windowed mode
Ip means the ip address to which you should connect to! In this case I’m on one single pc so the ip is the same!
For the players mapping I’m not sure because 0 and 1 map the inputs to player1 for both clients, I suppose that every player plays with player1 inputs.
Nice isn’t it?
They GGPO guys did great work, they also have input lag and frameskipping presets for the separate games, so no matter that the emulator support many games, these games are not avaiable for internet play, because they are not optimized for it still… at least that is what I’m assuming here.
You don’t need adobe air to play on LAN, you don’t need ggpo account, you don’t need to connect to ggpo servers also!
It is perfect if you want to play with friends in closed network… in the office at work for example haha, really! XD
Check my other tutorial in supercade in LAN! ^^
Have a nice playing guys!