WineX (And Warcraft3) On FreeBSD
Dan writes "Kenneth Culver has implemented the Linux ftruncate64, truncate64, and mmap2 syscalls in the linuxulator on his computer, (mostly cut 'n pasted the mmap2 from regular mmap with a couple of changes) and with these changes it is possible to run the Linux version of WineX (the one you have to pay for) to run Warcraft 3 on FreeBSD." If WineX is interesting to you, this earlier article on playing Windows games with WineX (under Linux) may be worth a read.
I'd love to try this, but I don't have a *nix system.
Will there be a port to Windows any time soon?
I'm just waiting for the WineO port so I can sit on my park bench and game all evening.
*hic*
Anyone actually tried this?
What is the performance like when BSD is emulating linux which is emulating windows?
I don't think it's wrong... but according to the law, is this legal? I have no idea myself, anyone?
.: Max Romantschuk
i can picture all of the AC's scurrying to open up ~/text/bsd-is-dead.html to begin pasting away.
Games seem to be a major factor when it comes to choosing an OS (or even a console). Thanks to apps like Wine and orgs like Loki, we'll have em all someday on the *nix systems. Things are looking up. I got hold of The Return to Castle Wolfenstien beta for linux before I could get a Windows version. And if you're targetting Linux , why not the rest of the *nix distros. It's all moving in the right direction. How about a KILLER game for the *nix platform which can NOT be run on windows........
|/________
|\A|ALYS|
I'd be willing to bet that 99.9% of the non finnish slashdot users did not get this joke, better luck next time.
Note - this is not a dupe
I feel that this is informative, due to the extremely high dupe story rate on slashdot in the last few days.
No way, it's already partying with elvis, jim morrison, and stephen king
What's a "linuxulator"?? Hmm.. Sounds kinda like my nick.
Anyway, can't they just call it an "emulator"? Or is an emulator running under Windows a "winulator"? *sigh*
Sorry if I'm picky, but it's just adds unecessary confusion. Or *is* actually a "linuxulator" something different than an emulator running under Linux, so there's actually a reason for this word?
Beware: In C++, your friends can see your privates!
I have many tools in my toolbox, this saves me having to drive nails with a screwdriver.
Art is the mathematics of emotion
;) but that was the whole point.
Whats the diffrence between the winex you pay for and the one found in the winex cvs ?
38 comments and not yet a BSD is dying post?
C'mon guys, get on the ball.
Almost all of WineX is open source, and that part does work. BSD's Linux emulation is as flawless as its going to get (IMO), the only thing keeping it from emulating 100% of Linux apps with the ABI is a couple of facts of life about the way BSD works, owing to its being an ancestor of Unix, whereas Linux is just POSIX compliant and very Unixish. I know the open source part of WineX (90% of it) does run properly, therefore I find it extremely likely that FreeBSD would accept it. That's right ladies and gents, I have nothing useful to add to this conversation: I'd try it myself, but my BSDbox is just a 5x86.
I've only tried wine with various installations of Redhat Linux .. various versions of wine too, including WineX. This was a year ago, and maybe things have changed since, but I remember wine being a joke of a technology. I could not get it working right with absolutely anything. The funniest was, as luck would have it, with a Blizzard product, Starcraft, which apparently was one of the easier applications to get working. Well, I managed to get everything working except the mouse. It's hard to play Starcraft without a mouse. There was something fatally wrong with each and every software I used, no matter how simple, except for Windows solitaire. Maybe getting that working was just a delusion. Admittedly, my hardware was not completely standard, but with absolutely nothing working right, it's ridiculous. I do remember one thing though. Wine was pleasantly fast. Unfortunately, that doesn't quite fit the bill.
I do not run *BSD, as I know Linux and am comfortable with at after some 9 years of use. However, it is a great testament to the power of the open source concept that this is possible at all. I am tremendously impressed with the BSD guys for achieving this.
Remember, it is a Good Thing tm to have a computing infrastructure made of diverse systems. So the more code that can be run on Linux , *BSD, Hurd, OSX and others the better.
Today, Wine is probably no less compatible with a random version of windows than any other random version of windows.
- Paul
So you're running a Linux emulator on an Unix emulator to run a Windows emulator.
{{.sig}}
and you have a 6 digit /. id? pfft!
LINE Is Not an Emmulator or LINux Emmulator.
Karma whorin' since 1999
http://frankscorner.org/wine/modules.php?op=modloa d&name=Sections&file=index&req=viewarticle&artid=6 8&page=1
title says it all;
"If you don't want to spend 5 bucks on WineX, you can always try compile it yourself, but the CVS version of WineX is a little different from the commercial version:
* no support for Installshield installers
* no copy protection code
To install WineX from CVS you must have CVS installed on your computer."
world was created 5 seconds before this post as it is.
to run the Linux version of WineX (the one you have to pay for) to run Warcraft 3
Pay for what? Isn't Warcraft 3 working ok free WineX version? You are allowed to use WineX from CVS without any paying.
Hmm, it seems that it hurts so bad, when someone (the trolls) discovers something really revolutionary (Linux), wear the uniform of the partizan (the tux t-shirt), convince themselves that they differ from the crowd (MS users) and then find out that a long time ago, another revolution (FreeBSD) took place that shaked the World (IT) so baddly that even today every one uses the Manifesta (TCP/IP stack, VM, etc...) of this very first revolution. I am afraid spreading false propaganda: 1) Doesnt make you a partizan 2) Doesnt affect the real revolution Linux is not bad. The trolls that try to make themselves feel superior by using it, now thats really bad. Hmmm, why do you sound like a 50 yrs old IT manager that tries not to lose his job... For the moment see
Longest Uptimes
Most requested
He is too busy eating CowboiKneel's edible underwear.
*BSD doesn't lack system calls. It just happens that the system call numbers on various systems aren't the same, and there are some other ABI differences (such as the way in which arguments to system calls are passed). The linux compatibility layer on *BSD just maps the calls a linux program makes to the right functions, and makes up for the other differences.
Read closely -> NO emulation takes place .. just translation..
---- Booth was a patriot ----
It's no wonder that BSD lacks behind linux in software when it is missing important system calls!
:-P
No, BSD just got it right the first time
From a freebsd-emulation mailing list post:
To me, it looks like mmap2 takes an offset that's a page index, rather
than a byte position. Since linux passes the offset with a 32-bit
long, rather than a 64-bit off_t like we do, they need to do this in
order to be able to map offsets larger than 4GB into a file.
So mmap2 would be redundant on BSD...
Okay, I'm sure a bunch of BSD fans are going to take this the wrong way, but given that the big newsworthy improvements to both Solaris and BSD recently have generally been Linux compatibility changes, is there any technical reason to keep running either of the above two? Most people seem to be concerned with running Linux apps. Noone wants to be caught dead without the GNU utils on their BSD or Solaris system. It's reaching the point where BSD and Solaris are being treated like poor man's Linux distros.
As much as I hate to admit it, you're right about the gaming. Even though Linux gets some of the biggest games, they are like a 'fart in space' (Swedish saying) compared to the massive number of games for Windows. I'm still waiting for the Linux client for Neverwinter Nights, while the Windows gamers probably have played so much they're tired of it... But for good measure: BSD rules! You know nothing, Microsoft assbandit!
Meep.
That's okay -- non US slashdot users don't get most of the culture jokes on slashdot.
Running your windows games using winex is like trying to swim laps wearing a 3 peice suit.
WineX is not a replacement for native ports.
Read even more closely:
emulate ( P ) Pronunciation Key (my-lt)
tr.v. emulated, emulating, emulates
1) To strive to equal or excel, especially through imitation: an older pupil whose accomplishments and style I emulated.
2) To compete with successfully; approach or attain equality with.
3) Computer Science. To imitate the function of (another system), as by modifications to hardware or software that allow the imitating system to accept the same data, execute the same programs, and achieve the same results as the imitated system
Yes, emulation DOES take place. Wine(X) IS an emulator, regardless of how the emulation is performed. Dynamic recompilation/linking is emulation, just as much as is 'hardware' emulation.
FreeBSD IS emulating linux, linux is emulating windows. Cygwin is emulating unix.
And thats that.
Quit redefining the english language to invent some nerdier-than-thou smartassing.
I don't need no instructions to know how to rock!!!!
What are you attempting to pontificate here? The whole point of the topic was that this extended Wine's functionality/portability even further, then you say it's silly then agree with it? Make up your fscking mind! :D
Perhaps you're right, but perhaps the rest of the world knows more about US culture than the US knows about the rest of the world's culture?
With the American bias of a lot of the internet and TV as well, it's kind of hard not to pick it up, at least here in the UK anyway.
You, sir, are a genius. I commend you on your top-notch work.
WineX is not a replacement for native ports.
To Windows game developers and to the majority of Linux gamers who would otherwise dual boot to Windows it is a viable option. The market for native ports is only those very few gamers who would never dual boot or emulate, i.e. the new sales. People who dual boot or emulate are already customers, they buy the Win32 version. There is no economic incentive to sell them a Linux version, i.e. replace a Win32 sale with a Linux sale.
while i know everyone will be hurriedly trying to run things like warcraft 3 and rtcw, i'm curious..has anyone had good luck running high-level audio apps on winex or regular old wine?
i had tried getting native instruments reaktor up on my freebsd box awhile back, and while it *did* install and startup, i couldn't get sound, and performance was pretty lagged.
if anything, the lack of software like reaktor and cubase, not to mention the many vst/dx plugins, is what keeps that little voice in my head that says, "y'know, you really should just switch back to windows, since those programs are what you use the most." it really sucks to be torn when the operating system you love doesn't run the apps you require. i think a lot of you can empathize, as often times, "clone" open-source versions just don't measure up. let's face it: gliv, audacity, etc. just don't hold a candle to stuff like spark xl and cubase sx.
we're at a strange turning point, i suppose. on one hand, more companies are slowly starting to support us (nvidia, etc.), but methinks it's going to be a long while before companies like steinberg and adobe jump on our train.
So... where are the bits? I wanna run this. Did these changes get put into -CURRENT (yay, I gotta MFC), or does Kenneth keep them on his web page, or does he seriously want us all to email him, or what? I'm not entirely sure why I'm doing this. I have Warcraft 3 running fine on WineX under the Linuxulator, with a stock -STABLE box. Well, I say fine... there's a lot of sluggishness in the mouse, but I don't see fixing syscalls being a help for that.
Its not considered emulation in the computer market. It is using translation, not emulation.
End of discussion.
---- Booth was a patriot ----
It's supposed to be a linux system call? I've never heard of it, even a google search on "mmap2 manpage" only returns a few results, all in japanese.
I use mmap in my programs, I would be curious to know of other options. Why is there no manpage?! Is it an internal system call only used by glibc to wrap the normal mmap call [but wouldn't it then be prepended by an '_' or something], or what?
---
the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
"c:\documents and settings\anonymous coward\my docuements\bsdis~1.txt"
Wouldn't it be:
C:\DOCUME~1\ANONYM~1\MYDOCU~1\BSDISD~1.TXT
You see Windows Short File Aliases
1) Are kept in upper case.
2) Maintain the 8.3 format for the *entire* path (bsdis~1 is only 7 characters).
3) Still work even if you can't spell documents correctly.
Of course considering the path is C:\Documents And Settings\*, this is probably on a > Windows 2000 machine, which means the "problem" was already long past fixed (but still kept for compatibility purposes). In other words, your point is moo.
Next time, use the GetShortPathName library function call as a preview before you post. It will do wonders for your brain.
"Yeah that's right, moo. As in a Cows opinion, it doesn't matter."
before you get bent out of shape!!!
o ss ible
http://uptime.netcraft.com/up/accuracy.html#imp