Playing Need For Speed Most Wanted on Ubuntu
tags: fun games nfsmw wine
23 Aug 2010 18:07
There is a bunch of problems when installing and running Need For Speed Most Wanted game on Linux. We'll cover them one by one, but first what I'll tell you want you need:
- Need For Speed Most Wanted — I recommend having an original DVD, otherwise you shouldn't play
- Computer with NVIDIA graphics card (maybe others also work, Intel doesn't)
- A bunch of time, to do all the stuff listed here
Getting NFSMW installed
You would normally mount the DVD and run the AutoRun.exe with wine, but it's not really working, because it detects you have no DirectX and installs it, but after this does nothing.
We'll install DirectX ourselves and then work on the installer to not detect and install it.
Install DirectX with winetricks:
wget http://www.kegel.com/wine/winetricks
sh winetricks d3dx9
Then foul the installer: copy the DVD to some folder in the filesystem and edit AutoRun/autorun.cfg in the following way:
* find StartMenuDXEULA=1 line and replace it with StartMenuDXEULA=0
* find DirectXVersion=9.0c line and replace it with DirectXVersion=0
Now start AutoRun.exe from copied installer.
Running NFSMW
The version of wine that works for me is 1.2. Upgrade wine and then run speed.exe from ~/.wine/dos_devices/c:/Program Files/EA GAMES/Need For Speed Most Wanted (or similar dir, depends on your configuration of course).
Launch winecfg and set Windows version to Windows 2008 (maybe others work as well, this works for me).
Problem with not recognizing DVD
Even when you have an original DVD NFSMW may not recognize it correctly under Linux — you'll get "please enter DVD". You'll need NoDVD crack then.
The version that worked for me was one for NFSMW version 1.3. You need to upgrade NFSMW first, by using this file: http://www.filefront.com/4436930/Need-for-Speed-Most-Wanted-v1.3-Patch/ (just run it with wine to upgrade).
Then replace the speed.exe binary with one from this crack: http://www.gameburnworld.com/dl/dl.php?file=NeedForSpeedMostWantedv1.3ProperWorkingNoDVDFixedexeEng.rar — unrar and replace speed.exe.
Choppy sound
From time there is pulseaudio daemon installed on my Ubuntu, I've been having problems with audio in wine. The solution to problem in NFSMW is:
- run winecfg, set audio driver to OSS only (remove tick from ALSA)
- run game through pasuspender, like this:
pasuspender wine speed.exe
It works pretty nice for me when running like this. The only drawback is that pulseaudio queues all sounds to be played during your game, so after you quit it so can get sound notifications from Pidgin or other applications.
UPDATE: recently (12 Sep 2010) it's not even needed to run game through pasuspender, probably due to some updates in pulseaudio.
Results
I'm getting really nice graphics and reasonable FPS (about 30 I think) — just good enough to perceive it smooth, but bad enough to see the flickering from time to time (when there are many objects to render).
The special effects are really nice: raindrops on camera, colors of nature during sunset and finally the "I'm running so fast, that things are going blurry" effect.
Comments: 2
Nie wszystko dobre co wiki
tags: pizza polish wiki
14 Aug 2010 16:12
Wikidot jest dobry, Wikipedia jest dobra, wiki z listą aplikacji zgodnych z nowym systemem Apple'a jest dobre (bo oficjalna strona Apple'a jest zła).
Ale Pizzeria Wiki w Toruniu, pomimo tego, że "Wiki" dobra nie jest.
Godzina 20:07 — zamawiam pizzę hawajską familijną z sosami czosnkowym i pomidorowym z dowozem do domu. Zapytałem ile będę czekać. Odpowiedź: do czterdziestu minut.
Godzina 21:05 — zorientowawszy się, która godzina i, że umieramy z głodu zastanawiamy czemu jeszcze nie ma pizzy.
Godzina 21:27 — Marta zdesperowana i głodna jak wilk zaczyna robić kanapki z parówką i surówką z Biedronki.
Godzina 21:33 — kanapeczki gotowe, Marta zaczyna rzuć pierwsze kęsy.
Godzina 21:34 — przyjeżdża Pan z pizzą.
50 minut spóźnienia skomentowałem krótkim, że już nie potrzebuję tej pizzy, ale po drugim dzwonku musiałem się zmagać z trudnym pytaniem "to po co nam dupę zawracasz jak nie potrzebujesz", na co musiałem odrzec, że "to Wy w chuja ludzi robicie, bo pizza miała być po 40 minutach maksymalnie, a ja już półtorej godziny czekałem"
Nie wszystko dobre, co wiki.
Comments: 2
Qt 4.7 and QtWebKit 2.0 Debian packages for ARM
tags: geek
29 Jul 2010 18:30
Qt 4.7 beta2 and QtWebKit 2.0 beta (weekly build)] are available in Debian experimental repository, but not for all architectures. Most notably the packages are missing for ARM architecture.
It's worth noting, that libqt4-webkit is no longer a valid package in experimental, but is a transitional package to pull libqtwebkit4, so now QtWebKit and Qt versions are quite independent. You can use Qt 4.6 or 4.7 with the QtWebKit 2.0.
I needed QtWebKit 2.0 on ARM, so I built it from deb-src. It went OK with no modifications of the source package.
When it comes to Qt's 4.7 beta release I needed to patch it slightly, to disable precompiled headers (for some reason, after generating them, they were not found by installation), —fast configure flag (not sure if this is needed) and I needed to tweak src/core/io/io.pri file, because for some reason linux-* {} section of qmake file was not properly applied. Also to properly compile stuff, I added Qt3 support.
My full diff to sources downloaded with apt-get -t experimental source qt4-x11
diff -ur original/qt4-x11-4.7.0~beta2/debian/rules modified/qt4-x11-4.7.0~beta2/debian/rules --- original/qt4-x11-4.7.0~beta2/debian/rules 2010-07-29 18:27:41.000000000 +0000 +++ modified/qt4-x11-4.7.0~beta2/debian/rules 2010-07-29 18:27:52.000000000 +0000 @@ -89,7 +89,9 @@ -demosdir "/usr/lib/qt4/demos" \ -examplesdir "/usr/lib/qt4/examples" \ -opensource \ - -fast \ + -no-fast \ + -no-pch \ + -qt3support \ -plugin-sql-mysql \ -plugin-sql-odbc \ -plugin-sql-psql \ diff -ur original/qt4-x11-4.7.0~beta2/src/corelib/io/io.pri modified/qt4-x11-4.7.0~beta2/src/corelib/io/io.pri --- original/qt4-x11-4.7.0~beta2/src/corelib/io/io.pri 2010-07-29 18:28:09.000000000 +0000 +++ modified/qt4-x11-4.7.0~beta2/src/corelib/io/io.pri 2010-07-29 18:28:17.000000000 +0000 @@ -74,7 +74,6 @@ SOURCES += io/qsettings_mac.cpp io/qfilesystemwatcher_fsevents.cpp } - linux-*:!symbian { SOURCES += \ io/qfilesystemwatcher_inotify.cpp \ io/qfilesystemwatcher_dnotify.cpp @@ -82,7 +81,6 @@ HEADERS += \ io/qfilesystemwatcher_inotify_p.h \ io/qfilesystemwatcher_dnotify_p.h - } freebsd-*|macx-*|darwin-*|openbsd-*:{ SOURCES += io/qfilesystemwatcher_kqueue.cpp
You can find all of the compiled debs here:
No files attached to this page.
Comments: 0
Mysz Bluetooth USB
tags: allegro bluetooth funny polish usb
10 Jun 2010 13:13
Grunt to dobre rozeznanie w towarze, który się sprzedaje:
Mysz USB Bluetooth 1000 DPI SCROLL na AKUMULATORKI
Oprócz tytułu aukcji nie ma słowa USB. No i nie dziwne, bo ciężko, żeby mysz Bluetooth była USB-owa (no chyba, że ładowana przez USB), stąd moje pytanie:
Treść wiadomości:
I co ta mysz na wspólnego z USB?
No i odpowiedź:
Od: "BE_TECHNOLOGY" <…>
Do: <…>
Temat: Re: Pytanie o przedmiot: Mysz USB Bluetooth 1000 DPI SCROLL na AKUMULATORKI (Numery ofert 1056342844)
Data: Thu, 10 Jun 2010 14:35:58 +0200
X-Mailer: Microsoft Outlook Express 6.00.2900.5931to ze jest bezprzewodowa…?? pozdrawiam
Pozdrawiam wszystkich bezprzewodowych.