http://bugs.winehq.org/show_bug.cgi?id=20433
Summary: Earth Eternal cannot connect, creates flood of DNS requests Product: Wine Version: 1.1.31 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winsock AssignedTo: wine-bugs@winehq.org ReportedBy: ramon.cahenzli@gmail.com
Earth Eternal is an online game by Sparkplay Media with an AppDB entry here:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=18115
The game is usually started with a parameter telling it where to find its resources. The parameter takes the form of a URL.
The current standard URL is used here:
wine Spark.exe "http://static.beta.eartheternal.com/Release/Current/EarthEternal.car"
However, if this is done in WINE, Earth Eternal floods WINE with gethostbyname() calls (500 calls per second on my machine). The calls all return the correct IP address, I've verified this by adding some ugly trace code to dlls/ws2_32/socket.c. Since Earth Eternal is closed source, we cannot find out whether the result of the gethostbyname() call is used correctly or whether that loop of gethostbyname() calls is a bug.
We are now trying to disassemble the binary to find out.
It seems the game might work otherwise, it has a simple 3D renderer built in a popular engine (OGRE), and there are a few OGRE-based games that already work in WINE.
There is a workaround to at least partially get EE to connect and retrieve its data files. If started like this:
wine Spark.exe "http://208.71.157.18/Release/Current/EarthEternal.car"
The date files are fetched and installed. Connection still fails at the login screen, though, because the program then proceeds to establish *all* connections with 208.71.157.18 instead of using the respective servers (login, static content and routing servers).
Some details of this bug are discussed here:
http://www.eartheternal.com/forums/earth-eternal-chat/topics/EE-on-Linux-In-...