<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Online playing on homebrew emulators?</title>
<description>Is there any general interest or have there been discussions about enabling online play on emulated systems, kaillera style?
It seems the potential is there and it would be really cool to face off against a friend on, say, the original Super Mario Kart.</description><link>http://forum.wiibrew.org/read.php?17,4551,4551#msg-4551</link><lastBuildDate>Mon, 09 Mar 2026 09:23:09 +0100</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,7024#msg-7024</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,7024#msg-7024</link><description><![CDATA[ what I meant by "in the works" for Wii64 was that it was thought about by the devs...]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Tue, 06 Jan 2009 00:49:52 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,6993#msg-6993</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,6993#msg-6993</link><description><![CDATA[ It&#039;s not in the works for any emulator, including Wii64 (ie: it&#039;s been conceived of but not worked on). It may happen some day, but that day is not anytime soon.]]></description>
<dc:creator>Tantric</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 05 Jan 2009 19:53:47 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,6974#msg-6974</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,6974#msg-6974</link><description><![CDATA[ Well, I know that it is "in the works" for Wii64, we&#039;ll need to hear from Tantric or eekeek]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 05 Jan 2009 16:27:20 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,6851#msg-6851</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,6851#msg-6851</link><description><![CDATA[ bump :) any update on this ??? this reminds me of the good ol&#039; days with sega and snes and the xband modem ;)]]></description>
<dc:creator>rush6432</dc:creator>
<category>Homebrew Applications</category><pubDate>Sun, 04 Jan 2009 09:20:23 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4841#msg-4841</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4841#msg-4841</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Tantric</strong><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong>Jonas</strong><br />ZSnes has had good network play for years. I&#039;d call this doable.</div></blockquote><br />Pointless to say. A better question is who&#039;s going to do it?</div></blockquote><br />I&#039;d like to do it, but I fear that it could take me a long time to understand the code-design of the emulators.<br />Is any of them well documented?]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Thu, 11 Dec 2008 16:56:43 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4835#msg-4835</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4835#msg-4835</link><description><![CDATA[ sorry, I get what you mean...<br /><br />so it is possible, now we just need to beg Tantric to implement it! :) haha]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Thu, 11 Dec 2008 16:16:17 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4809#msg-4809</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4809#msg-4809</link><description><![CDATA[ I just pointed out that other programs have been able to do it. There was an argument over if this was possible, I figured this would settle it. Thanks for missing the point previous two.]]></description>
<dc:creator>Jonas</dc:creator>
<category>Homebrew Applications</category><pubDate>Thu, 11 Dec 2008 06:06:48 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4794#msg-4794</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4794#msg-4794</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Jonas</strong><br />ZSnes has had good network play for years. I&#039;d call this doable.</div></blockquote><br />Pointless to say. A better question is who&#039;s going to do it?]]></description>
<dc:creator>Tantric</dc:creator>
<category>Homebrew Applications</category><pubDate>Wed, 10 Dec 2008 23:46:06 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4792#msg-4792</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4792#msg-4792</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Jonas</strong><br />ZSnes has had good network play for years. I&#039;d call this doable.</div></blockquote><br />i think it would be better to moddify the port of snes9x than to port a whole new one...]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Wed, 10 Dec 2008 23:26:22 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4786#msg-4786</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4786#msg-4786</link><description><![CDATA[ ZSnes has had good network play for years. I&#039;d call this doable.]]></description>
<dc:creator>Jonas</dc:creator>
<category>Homebrew Applications</category><pubDate>Wed, 10 Dec 2008 22:43:50 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4697#msg-4697</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4697#msg-4697</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>daniel_c_w</strong><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong>iofthestorm</strong><br />Well I think if you follow that definition of piracy than running ROMs in an emulator is piracy. Even if you physically own the game, I think you have to dump it yourself for it to not be piracy.</div></blockquote><br />Maybe. It depends on the laws of the place where you live.<br /><br /><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong>DrLucky</strong><br />yeah, most old games are not covered by piracy laws...</div></blockquote><br />Every game is protected by copyrigth laws.<br /><br /><br /><b>Back to topic: which emulator has an easily expandable sourcecode? (c prefered)<br />or is the design of any of them well described?</b></div></blockquote><br />Snes9x netplay is somewhat documented, and not too badly designed. It&#039;s also written in C. Probably not a bad place to start. FCE Ultra GX uses 0.98.12 as a base. I&#039;d consider upgrading to a newer source base (eg: FCEUX 2.03) before attempting to integrate netplay.]]></description>
<dc:creator>Tantric</dc:creator>
<category>Homebrew Applications</category><pubDate>Tue, 09 Dec 2008 06:10:40 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4681#msg-4681</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4681#msg-4681</link><description><![CDATA[ Although I would look forward to netplay mainly for wii64 (goldeneye!), I think it would be longer until that can come than netplay for SNES or NES could be achieved. Any idea if netplay is being considered for any older consoles?]]></description>
<dc:creator>Ibrewii</dc:creator>
<category>Homebrew Applications</category><pubDate>Tue, 09 Dec 2008 02:08:19 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4660#msg-4660</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4660#msg-4660</link><description><![CDATA[ on the new Wii64 website, this is posted in the "want to accomplish" section:<br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />Netplay<br /><br />We plan to eventually implement netplay over the Wii’s wireless connection and hopefully on the Gamecube via the broadband adapter. An alternative solution may also be to use the USBGecko together with a PC connected to the internet to allow for remote play.</div></blockquote><br />so it looks like a few devs are in on the idea!]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 15:18:53 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4650#msg-4650</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4650#msg-4650</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>iofthestorm</strong><br />Well I think if you follow that definition of piracy than running ROMs in an emulator is piracy. Even if you physically own the game, I think you have to dump it yourself for it to not be piracy.</div></blockquote><br />Maybe. It depends on the laws of the place where you live.<br /><br /><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong>DrLucky</strong><br />yeah, most old games are not covered by piracy laws...</div></blockquote><br />Every game is protected by copyrigth laws.<br /><br /><br /><b>Back to topic: which emulator has an easily expandable sourcecode? (c prefered)<br />or is the design of any of them well described?</b>]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 10:47:51 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4634#msg-4634</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4634#msg-4634</link><description><![CDATA[ yeah, most old games are not covered by piracy laws...]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 03:55:34 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4631#msg-4631</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4631#msg-4631</link><description><![CDATA[ Well I think if you follow that definition of piracy than running ROMs in an emulator is piracy. Even if you physically own the game, I think you have to dump it yourself for it to not be piracy. I don&#039;t think legal issues are the real problem with online enabled emulators...]]></description>
<dc:creator>iofthestorm</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 03:00:02 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4630#msg-4630</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4630#msg-4630</link><description><![CDATA[ Yeah, that&#039;s how a lot of people got AIDS in the 80&#039;s...]]></description>
<dc:creator>TheManuel</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 02:54:34 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4629#msg-4629</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4629#msg-4629</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>DrLucky</strong><br />if you picked up a random guy on the street and brought him to your house to play in a 2 player game, it would still be legal...</div></blockquote>
You are comparing apples to oranges.<br /><br />That are 2 very different situations.<br />If you pick up a random guy, inivte him to your home, you do not have to create a copy.]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Mon, 08 Dec 2008 02:47:17 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4597#msg-4597</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4597#msg-4597</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>daniel_c_w</strong><br /><br />Sending over the game is a nice idea, but depending on your local laws it may indeed be piracy. I&#039;m a sure it is not piracy under German law (as long as the other person is really a friend of yours and not some person you met on the internet)<br /><br />It may be piracy under some other countrie&#039;s laws, because you are still creating a copy of copyrighted material<br />(though the copy is not persistent)</div></blockquote><br />if you picked up a random guy on the street and brought him to your house to play in a 2 player game, it would still be legal...<br />as long as it were a temporary "copy" rom sent over the connection with no way of saving the whole rom... it would sit in the ram perhaps...old system roms are around 2 megs, gba is around 8 megs, and a 64 rom is 16 or 32 megs.. they could also be zipped...]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Sun, 07 Dec 2008 04:40:51 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4594#msg-4594</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4594#msg-4594</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>DrLucky</strong><br />also, wouldn&#039;t some sort of server need to be set up in order for the emulators to be able to connect to each other?<br /><br />...snip...<br /><br />The last issue would be game "compatability" both users would have to use the EXACT SAME rom in order for it to work.<br /><br />...snip....<br /><br />I don&#039;t think it would be piracy since if your friend comes over to your house to play as a second player, he doesn&#039;t have to bring his own game.</div></blockquote><br />A remote server is not needed! But of course at least one player needs to know the connection details of the other one (IP address, port).<br /><br />Compatibility is in deed needed (both approaches (ekeeke&#039;s and my one) deal with it)<br /><br />Sending over the game is a nice idea, but depending on your local laws it may indeed be piracy. I&#039;m a sure it is not piracy under German law (as long as the other person is really a friend of yours and not some person you met on the internet)<br /><br />It may be piracy under some other countrie&#039;s laws, because you are still creating a copy of copyrighted material<br />(though the copy is not persistent)]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Sun, 07 Dec 2008 03:12:27 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4593#msg-4593</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4593#msg-4593</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>strongfan</strong><br />This is evident in Brawl&#039;s online play.</div></blockquote><br />I did not really analyze Brawl&#039;s network behavior, but my from a few sessions I came to the following guess.<br />The game uses a client/server model. The best internet connection becomes the server (so far so good Nintendo :D)<br />For the player on the server-Wii the game is Lag-free! For everyone else the game is as laggy as his connection.<br /><br />(personal note: to me it was clear before I bought the game, that my internet connection is not fast enough, because it adds at least 55ms to every roundtrip. A complex fightitng game like brawl could not be lag free on my connection.)]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Sun, 07 Dec 2008 03:00:26 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4588#msg-4588</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4588#msg-4588</link><description><![CDATA[ The VC games do not have online.]]></description>
<dc:creator>strongfan</dc:creator>
<category>Homebrew Applications</category><pubDate>Sun, 07 Dec 2008 00:18:12 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4587#msg-4587</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4587#msg-4587</link><description><![CDATA[ do the VC games from Nintendo have any sort of 2 player mode through online?<br /><br />also, wouldn&#039;t some sort of server need to be set up in order for the emulators to be able to connect to each other?<br />The last issue would be game "compatability" both users would have to use the EXACT SAME rom in order for it to work. And as all emulator players know, there are multiple versions of roms: (E) (U) (bi) (b2) (b3) (!) ect...<br /><br />of course, the simple solutions would be to send the rom file to the other Wii emulator for second player. I don&#039;t think it would be piracy since if your friend comes over to your house to play as a second player, he doesn&#039;t have to bring his own game.]]></description>
<dc:creator>DrLucky</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 23:45:58 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4583#msg-4583</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4583#msg-4583</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>daniel_c_w</strong><br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong>ekeeke</strong><br />if you didn&#039;t get any new messages, i think it&#039;s better to just keep input state in old state rather than pausing emulation and losing some frames</div></blockquote><br />exactly. The pause is only needed the resinc both emulators. When the sync is lost you have no other choice.<br />In a lan environment that is no problem, because the lantency and ping is good enough to execute any remote input on either the same or the next frame. But in todays internet neither ping nor latency are good enough.<br />As we both agree it won&#039;t work without an input latency. Unfortuantely that latency is not guaranteed to stay constant.</div></blockquote><br />This is evident in Brawl&#039;s online play.]]></description>
<dc:creator>strongfan</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 22:06:51 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4575#msg-4575</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4575#msg-4575</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>TheManuel</strong><br />Well, it&#039;s worth to ask ourselves how PC games or even Wii games do it nowadays to see it that approach can be used.</div></blockquote><br />Not really, because that games are tailored for online play, as opposed to SNES games, which are tailored for local play.<br /><br />The network data, are generated by the games, not by their environments (emulators).<br />In general every genre has it&#039;s own approach. For example competitve shooters often use a client-server-modell, with the server deciding everything. If the client is laggy from his point of view he may be hitting an enemy, but the server will tell him "no you are missing", because the shoot command take too long to reach the server.<br /><br />The networking requiremnets of fighting games are propably close to our problem...]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 17:02:24 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4574#msg-4574</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4574#msg-4574</link><description><![CDATA[ Well, it&#039;s worth to ask ourselves how PC games or even Wii games do it nowadays to see it that approach can be used.]]></description>
<dc:creator>TheManuel</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 16:18:44 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4573#msg-4573</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4573#msg-4573</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>ekeeke</strong><br />if you didn&#039;t get any new messages, i think it&#039;s better to just keep input state in old state rather than pausing emulation and losing some frames</div></blockquote><br />exactly. The pause is only needed the resinc both emulators. When the sync is lost you have no other choice.<br />In a lan environment that is no problem, because the lantency and ping is good enough to execute any remote input on either the same or the next frame. But in todays internet neither ping nor latency are good enough.<br />As we both agree it won&#039;t work without an input latency. Unfortuantely that latency is not guaranteed to stay constant.]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 16:15:17 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4571#msg-4571</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4571#msg-4571</link><description><![CDATA[ on emulators, inputs are generally updated on each frame (60 times per second)<br />if you didn&#039;t get any new messages, i think it&#039;s better to just keep input state in old state rather than pausing emulation and losing some frames]]></description>
<dc:creator>ekeeke</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 16:03:25 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4570#msg-4570</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4570#msg-4570</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>ekeeke</strong><br />I don&#039;t think it&#039;s a good idea to pause emulation when a input signal takes too much time to arrive</div></blockquote><br />The pause is needed, because otherwise both emus will loose sync.<br />The problem with this approach:<br /><blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />emulator 1 (main task) read FIFO and if (start_1 + time() ) &gt;= (start2 + timestamp<i>), updates player 2 data on its side<br />emulator 2 (main task) read FIFO and if (start_2 + time() ) &gt;= (start1 + timestamp<i>), updates player 1 data on its side</i></i></div></blockquote>
...is that on the one side a lot of time may have passed , before the other side even recieved anything.<br />Or am I missing something?]]></description>
<dc:creator>daniel_c_w</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 15:52:43 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?17,4551,4567#msg-4567</guid>
<title>Re: Online playing on homebrew emulators?</title><link>http://forum.wiibrew.org/read.php?17,4551,4567#msg-4567</link><description><![CDATA[ the biggest problem is indeed latency<br />emulating a second player through network is easy, you just need to read controller data from network instead of reading your usual controller input<br /><br />there is 2 problems:<br />1/ make sure that the emulation starts in sync<br />2/ make sure that both emulators don&#039;t go out of sync<br /><br />I don&#039;t think it&#039;s a good idea to pause emulation when a input signal takes too much time to arrive<br /><br />a solution I had in mind some time ago, quite similar to yours I believe:<br /><br />--&gt;on both side, emulators send game_id then wait until receiving same game_id from other network side<br /><br />emulator 1 (player 1) starts, and send starting time to emulator 2 = start_1<br />emulator 2 (player 2) starts and send starting time to emulator 1 = start_2<br /><br />emulation loops:<br /><br />emulator 1 (main task) read player 1 inputs (local) and send it to emulator 2 with timestamps = update_1<br />emulator 2 (main task) read player 2 inputs (local) and send it to emulator 1 with timestamps = update_2<br /><br />emulator 1 (specific task) wait for messages from emulator 2 and store player 2 input data + time stamp (update_2<i>) in a FIFO (tbd)<br />emulator 2 (specific task) wait for messages from emulator 1 and store player 1 input data + time stamp (update_1<i>) in a FIFO (tbd)<br /><br />emulator 1 (main task) read FIFO and if (start_1 + time() ) &gt;= (start2 + timestamp<i>), updates player 2 data on its side<br />emulator 2 (main task) read FIFO and if (start_2 + time() ) &gt;= (start1 + timestamp<i>), updates player 1 data on its side<br /><br />--&gt; "network" player data is only updated if it supposed to have been updated<br /><br />you will endup in some kind of latency during gameplay but should be acceptable as emulation does not slowdown</i></i></i></i>]]></description>
<dc:creator>ekeeke</dc:creator>
<category>Homebrew Applications</category><pubDate>Sat, 06 Dec 2008 13:30:44 +0100</pubDate></item>
</channel>
</rss>