LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-13-2004, 01:49 AM   #1
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Rep: Reputation: 30
Wine and Windows Game Binaries


I'm fairly new to Linux and Wine but I seem to recall one of the selling point of Wine being that you could not only run Windows programs as they are, but also recompile them into native Linux binaries. A lot of people in this forum seem to be complaining about the speed of games in Wine. Would recompiling a game make it run faster?

-Brandon
 
Old 06-13-2004, 10:41 AM   #2
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 31
That's impossible. WINE is just an API layer (if I'm not mistaken) and will run the binary, but cannot recompile it (since it doesn't have the source, and it wasn't coded for Linux in the first place). If you're looking for a speed boost in games, try WineX (it works superb for me) or look for native installers or straight up native games (like UT2K4). Since all games aren't ported to Linux as of yet, a combo of WineX and Native Games should get you through .
 
Old 06-13-2004, 12:28 PM   #3
rustynailz
Member
 
Registered: Jun 2004
Distribution: MDK 9.2/10.0, VectorLinux 4.0
Posts: 50

Rep: Reputation: 15
Yeah, I'll second that - $5/mo (min 3 mo) will get you RPMs and let you vote on which games you wanna see supported with WineX. www.transgaming.com. I'm getting better performance with OpenGL in Linux than in DirectX under Windows with Counter-Strike. WineX is fabulous and is well worth the money.

sparky - Recompiling for Linux would definitely speed things up, but most Windows games are not portable (they're written with DirectX and Windows APIs). It is possible to develop games using a portable wrapper that plugs into both the Windows API and X (Borland Delphi/Kylix one such example of a package). That aside, very few (if any) of the commercial games out nowadays are open source.
 
Old 06-13-2004, 02:43 PM   #4
spaaarky21
Member
 
Registered: Jun 2004
Location: Omaha, NE
Distribution: Ubuntu 7, Fedora Core 4
Posts: 192

Original Poster
Rep: Reputation: 30
In response to GT_Onizuka:

My mistake. I just now had another look at the Winelib page. I hadn't played around with it before and was under the impression that it actually read through a Windows program and built a native Linux app, replacing Win32 calls with equivalent Linux calls (basically doing all the extra work that Wine does at run time, but doing it at compile time instead)... similar to how some video game system emulators recompile a binary into more-or-less native code when the ROM is loaded to memory so it can then be run almost directly. My prime example being the N64 emulator SixtyForce which replaces N64 graphics calls with native OpenGL calls. But, of course, Winelib doesn't work like that. Instead, it just recompiles source (assuming you have it... as unlikely as that may be)

Brandon

Last edited by spaaarky21; 06-16-2004 at 01:13 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
will you play windows game or linux native game pleasehelpme Linux - Newbie 16 04-29-2007 08:58 PM
Using gcc to make windows Binaries exvor Programming 5 01-10-2005 05:24 PM
compile windows binaries on Linux? muczy Linux - Newbie 4 07-24-2004 01:05 AM
Wine - The game will not run under Windows 95 shermang Linux - Software 3 09-04-2003 01:29 PM
Windows Quake2 CD and Linux Binaries Beav Linux - General 3 10-02-2002 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration