Christoph Korn
2009-Jan-27 09:07 UTC
[Wine] Network play in Command & Conquer: Red Alert 2
Hello, I have installed C&C: Red Alert 2 in Ubuntu. Now I want to play in a network. I have already put the wsock32.dll [1] into the game directory and have set up an overwrite rule for wsock32 in winecfg. It should replace the IPX protocol with UDP protocol. Now there is a network card shown in the settings [2] and the network menu opens ingame now. I have set up Red Alert 2 on different machines but they don't see each other in the network menu. Also when one player opens a game it cannot be seen in the other machines. I have already checked out the appdb [3], but did find a helpful comment. Has someone got the network play to work? Best regards Christoph Korn [1] http://www.understorm.net/cnc/lan/ts_ra2_lanpatch_1_00.zip [2] http://www.wikihow.com/images/c/c6/Image1_618.png [3] http://appdb.winehq.org/objectManager.php?sClass=version&iId=252&iTestingId=34354
Christoph Korn wrote:> I have already put the wsock32.dll [1] into the game directory and > have set up an overwrite rule for wsock32 in winecfg.That's one of the core DLLs that you can not override.
Thunderbird
2009-Jan-27 19:10 UTC
[Wine] Re: Network play in Command & Conquer: Red Alert 2
Red Alert II works fine if you set up IPX on your linux system but you need to run wine as root. I had some users experiment with posix file capabiltiies but those didn't seem to work for some reason. IPX should work fine as at the time I worked a bit on wine's ipx to get all c&c games working (ra1 3.0x, tiberian sun and red alert 2).
Christoph Korn wrote:> It can be overwritten. > Just enter the name "wsock32" in the edit field. > A warning is shown that it _should_ not be overwritten but it can.Should/could/would is irrelevant here. You CAN NOT use native wsock32.dll It WILL NOT work on Wine period. Enable IPX and use it instead.
Gert van den Berg
2009-Jan-28 15:10 UTC
[Wine] Network play in Command & Conquer: Red Alert 2
On Tue, Jan 27, 2009 at 11:07 AM, Christoph Korn <c_korn at gmx.de> wrote:> Hello, > I have installed C&C: Red Alert 2 in Ubuntu. > Now I want to play in a network. > I have already put the wsock32.dll [1] into the game directory and > have set up an overwrite rule for wsock32 in winecfg. > It should replace the IPX protocol with UDP protocol. > Now there is a network card shown in the settings [2] and the > network menu opens ingame now. I have set up Red Alert 2 on > different machines but they don't see each other in the network menu. > Also when one player opens a game it cannot be seen in the other > machines. > I have already checked out the appdb [3], but did find a helpful > comment. > > Has someone got the network play to work? >I had a shot at it earlier as well, without success. http://forum.winehq.org/viewtopic.php?p=15853 Some issues: The UDP patch does not seem to work on Wine (see Vitamin's reply). It might be that a large part of Wine's network implementation is in the buildin wsock32? (Someone more familiar with the source code might be able to answer that) (It might be that that wsock32 only intercepts IPX and call the real wsock32 for the UDP part, but that Wine does not allow that to work...) IPX works, as root, or at least that is what I'm told. It would not be able to LAN with Windows versions using the UDP patch though... PvPGN works as well (kindof at least) but is a mission to set up... There are a few utilities that allow tunneling IPX over IP for Linux as well, no idea about their compatibility and ease of use. Did not try POSIX capabilities... There seem to no way, other than Westwood online / PvPGN to play between Windows Vista and Wine... (Vista removed IPX support) The real (long term) solution would probably be if Wine / the kernel added an option to emulate IPX over IP (like Dosbox), with various compatibility options... Another would be if Wine implemented enough APIs that native wsock, and its replacements can work. (This might take ) Gert
Seemingly Similar Threads
- Red Alert / Red Alert II / Tiberium Sun: Overriding wsock32.dll to avoid IPX
- Red alert 2 network play
- Red Alert installation issues
- Command and Conquer:Red Alert 3 All text missing(wine1.2.2)
- Re: Red Alert / Red Alert II / Tiberium Sun: Overriding wsock32.