Jump to content
LaunchBox Community Forums

RetroArch netplay is coming along nicely.


LogicalEgo

Recommended Posts

This is something officially being added. It was always in there but it was peer to peer which doesn't work so good because it messes it up.

This is something the patreon money pays for, it pays for a match making server to host the games which should help out with the syncing unlike a peer to peer setup.

  • Like 1
Link to comment
Share on other sites

Kaillera is also server-based and like I said it's pretty spotty. My friend and I were using a 70-80 ping server (for both of us) and had all kinds of desync and connection problems (and we tried multiple servers). Depending on the type of game it's more or less of an issue, but something like Contra III for example would literally be impossible. If they find a way to avoid this, that'd be awesome. I just haven't seen it done yet.

Link to comment
Share on other sites

Another thing that may help Retroarch in something like this is the rewind feature which basically will allow the emulator to have some gameplay buffer and sync to that. Without the rewind buffer it's trying to sync in real time on the fly.

Now of course this is just theory, we just have to wait and see how it ends up playing once it's available. These were games that were never meant to be played multiplayer in this manor and you are essentially shoehorning netcode into it.

Link to comment
Share on other sites

Could be, yeah. We can hope anyway. I'm not trying to naysay - I really really want this to work. It's just that whenever something like this has come along I've tried it and thus far they've all been kinda awful.

This kind of thing has always kindof been "the dream" I think. Hell even ZSNES had Netplay (which was P2P). The idea of having like a Launchbox community retro gaming group where you could hop into a lobby, start up VOIP, and be like "Hey anybody wanna play some Turtles in Time?" and then jump right in together would be completely amazing. I realize that's kindof outside the scope of this, but having a solid, consistent, working connection/play experience is kindof the starting point and nothing has even really met that bar yet. Here's hoping Retroarch works its magic!

Link to comment
Share on other sites

  • 3 weeks later...

Well, @lordmonkus and I got up to the last level of Cadillacs and Dinosaurs last night before he disconnected (I was hosting). It was kindof on the laggy side - not a huge issue for a beat em up with an unlimited number of quarters but it'd make certain games/genres basically impossible.

I'm curious what could be done to improve the experience and want to do some more testing with it. We were using the FBA core, a different one might be better. I'm also not sure what can be done in terms of diagnostics - even something as simple as a ping indicator would be nice. The fact that everybody has to use the exact same rom dump also kindof complicates things.

All that said, it was *still* better than my experience with Kaillera and there was significantly more distance between us in this case. Pretty impressive even if on the preliminary side.

Link to comment
Share on other sites

I have thought about making a guide for netplay but since it is still in its early days things could change drastically so I will just throw together this quick and dirty guide here.

1: To host or connect to another player you will need to set a username in Retroarch. This is done in the Users section of the "cogwheel" section of the Retroarch menu.

2: You will need to have roms with the same CRC as the host. Generally speaking mist people are going to be using the "No-Intro" rom sets for consoles, arcade games are going to be a bit more tricky with this in terms of every one having the same sets and there is no easy way around this at this point in time.

3: If you plan on hosting you will need to set up a "port forwarding" rule in your router, port 55435 is the default port that Retroarch uses. If you need to know more about this look up guides based on your routers make and model, they all differ slightly.

4: Not all cores work or work well, refer to this page for now for what does and does not work and settings https://github.com/GregorR/RetroArch/wiki/Netplay-core-testing So far the best cores that I have tested and used is GenesisGX, Snes9x, Fceumm and FBA. The latest Mame core does not work, I have asked Radius on the Retroarch Discord channel and he told me it doesnt. Nestopia may work with some setting tweaks on the previously linked page but I have yet to test it but in the testing  I have done I can connect to a host briefly and then get disconnected.

5: If you get a message saying "Incompatible Content" it means your roms do not match the hosts.

6: To connect to a host you will need to scan your roms into Retroarch using the "Scan Directory" tool, Retroarch uses the info from the rom to compare it before attempting to connect.

7: Some people have had issues using the "Scan Directory" tool to generate a playlist, you can get around this by using a playlist generator tool such as this one https://forums.libretro.com/t/rom-scanning-tool-for-windows/4802. If you have troubles scanning using the "Scan Directory" tool download either the FBA or Mame core even if you do not use those cores. This is something I read on the Retroarch Discord channel to fix this problem and I cannot confirm this works or doesn't because I have not had this problem myself.

You should only generate a playlist using the Retroarch Scan Directory tool. Generating a playlist with the playlist tool linked above wil generate a playlist but the roms will not have a "crc" which is required in the playlist to join games. If you are hosting you do not need to have a playlist with crc values but the client must have it.

8: To join a host all you need to do is open Retroarch and then navigate across the menu to the WiFi looking icon and refresh. A list of servers will appear, just highlight one to see what game and core they are using and click them to join.

If you run into problems beyond this guide I really am of no use so please don't ask me because I am still figuring all this out on the fly like everyone else. When netplay gets further progressed and more settled down I will maybe write up a more up to date guide.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...