Snott

Blog

  • Running Dawn of War 2 Retribution on Linux

    Running Dawn of War 2 Retribution on Linux

    This post will be updated constantly until there is a way to play Dawn Of War 2: Retribution on the Linux platform via wine.

    Previous titles of this series where unable to run because of the games running Games For Windows Live, which is totally incompatible with wine. With Retribution dropping GFWL and leaving only steam, there is a pretty good chance the game will work flawlessly.

    Currently the game is in beta state, you can get a beta license to play RIGHT NOW and help develop the game by clicking here

    If you have tried this and have any tips to make the game run, send me an email at admin@snott.net and I will gladly add your tip to this post and give you full credit for it (please include your OS and computer specs), the idea is to compile every bit of info the Linux community has to offer to make this great game run on Linux.

    The machine I will test this in has the following specs:

    – Intel core 2 duo @ 1.3GHz

    – 4GB of RAM

    – Nvidia Geforce G210m 512mb

    – Archlinux 64 bit

    – 300 GB Hard Drive

    First Off you have to install steam, you can do that by following my guide here, If you already have a working steam installation, then just start downloading the game (remember you need the beta key, you can get the beta key by going here, it’s totally free!).

    If you are interested in knowing if the game will work with your Linux machine before going retail this a prefect time to test, because It wont cost you anything to test, when the game goes retail (price will be $30), of course beta will be no more and you will have to pay for the game.

    Also, I will test the game in 2 ways:

    1- Wine

    2- Crossover games (wine commercial version that makes things a lot easier by automating lots of tasks)

    In short, If you are lazy and have the money get Crossover Games, if you like/want to make things by yourself or don’t want to buy anything, go with wine.

    I submitted the application to the crossover application database, as of now it appears known not to work but having the application listed there would be a good boost for everyone searching ways to make this game work.

    As a rule of thumb, if the game works with crossover games, It will work with wine, but wine will need you to configure all settings and install all required dependencies to make the game work.

    I will also post here all of those dependencies If you want to make things different or want to test something.

    At this point, known dependencies are:

    1) Steam (duh!) check the guide to get a working installation of steam, else nothing will work, steam also has some dependencies on its own (like ttf-ms-fonts) so check the guide now and avoid wtf! moments.

    I tried to launch the game and store the output on a log file, here is what I found that can cause problems:

    003d:err:module:load_builtin_dll failed to load .so lib for builtin L”winemp3.acm”: libmpg123.so.0: cannot open shared object file: No such file or directory

    Apparently, the DLL can’t be found hence the game is unable to launch, that was the only error I got from the output, but there is a lot of stuff on the log file, you can check the log file.

    I found some info on this error, wine is trying to load support for mp3 and didn’t find the file, I installed the wmp9 on this prefix/bottle, but the system still complains.

    Here is what should be done to get this error to disappear, straight from wine hq:

    6.11.4. MP3s do not play in Windows Media Player or applications that depend on it

    For MP3 sound to play out of the box in apps that use the WMP engine and codecs, you must have 32-bit libmpg123 installed on your system and Wine must have been compiled with MP3 support.

    For the more technical ones, here is a more complete log (+seh, +trace, +ntdll). Dow2r Run log

    And a big one with +seh, +trace, +ntdll when I click on the game icon and steam isn’t running. DOW2 Retribution complete Log

  • Change Icons in Docky

    Change Icons in Docky

    Docky LogoFor me, docky its a must have application, it makes your desktop look so cool and it is also very functional and stable (if you are experiencing problems with docky, check out my article for compiling it from source here.

    Sometimes I am sure you have wondered where does docky get the icons? can I change any of those? well, you can!

    There is a very simple way to change any application icon to whatever you want, for this example I’m going to change the virtualbox logo for a high-resolution one:

    1) Go into applications -> system tools and find the Oracle VM virtualbox launcher, right-click on it and choose “add this launcher to panel” that will create an icon on your panel (drag it to docky also if you don’t have a launcher there, this is optional, you can drag it at the end), you can delete this later, we are just going to check the path of the icon, now right-click the Virtualbox launcher in your panel and click properties, a screen will pop up:

    launcher properties

    2) Now click on the icon and a menu to select a file will pop up, DON’T change the icon here, it will only take effect for this launcher, and we want to change the docky icon not this launcher. Take note of the path the icon is, for this example it is /usr/share/pixmaps, the icon can be someplace else but this path its pretty standard and many apps store the icon info here.

    3) Next, go into a terminal and type:

    sudo nautilus

    this will open up a file browser will root privileges. Navigate to /usr/share/pixmaps and RENAME the logo you don’t want, in this case it’s called VBox.png, rename it to something like VBoxOLD.png

    4) Paste the logo of your choice on this folder and rename it to VBox.png (keep the same format for files, don’t replace a png file with jpg file, it may not work)

    As soon as you do this, if you already have the launcher on docky you will see the icon automagically changing to the one you have chosen.

    This works great with all that apps that have ugly and small icons that when enlarged look terrible.

    One last thing, I am using Gnome, if you have docky in KDE or any other desktop environment, the procedure is the same you only have to change the apps you use (ie. dolphin instead of nautilus).

    Also, if you have Arch Linux, you can compile docky from source

    Try it!