domenica 26 giugno 2011

Tutorials: GameTree Linux - Part 3 - Debugging and crash logs

Alerts

Sometimes, a game just doesn't wanna run or install. And sometimes, it gives an error, which could help you identify the problem about running or installing the game. How? Well, when the game crashes, it usually gives an error, and GameTree Linux helps you showing "# new alerts", where # is a number.

Free Image Hosting at www.ImageShack.us

Of course, you would like to know what kind of alert is. To do this, just click on alerts, and it will show you date, time, folder, name of the crashed process, and the message. Easy, huh?

Free Image Hosting at www.ImageShack.us

Usually, as this test, an unhandled exception doesn't help you so much. So...

Let's use some logs!!!!

The first thing to do is enabling the debug mode. How to do this? Click on file -> Debug. Now you will see a new label called "debug", which will show you some useful options.

Free Image Hosting at www.ImageShack.us

Debug flags let you choose what kind of parameters you would like to trace.

+tid: prepends each log message with the ID of the thread it came from
+seh: logs Windows exceptions (Structured Exception Handling)
+relay: logs every function call in Wine builtin DLLs

I don't know what +ole means, so if anyone knows that, please tell me!
+ddraw logs every graphic parameter and it's useful for graphic issues.

Debug output let you choose if logging in a file or in a console, and defer tracing separates the parameters traced.

So, the log file should be like this:

Free Image Hosting at www.ImageShack.us

If you have got some knowledge about logging and debugging, you should be able to understand what the problem is... I haven't got these knowledge, so i can only understand things like missing dlls and some other little things.

I don't like a GUI...

All right, you don't like a GUI, you're an old hardcore linux user, which use only the console to unhinge your operative system. GameTree Linux lets you do about everything from console.
Just open a terminal, and type "gametree --help".

Free Image Hosting at www.ImageShack.us

As you can see, you can do about everything only typing "gametree <command> <parameters>". For example, i wanna show you how to run an installed game, which means you can see all the process in the terminal, just like the debug mode (of course, without the debug mode!).
Just type "gametree --run <folder> <shortcut>", which in this case are <folder>="Black & White 2" and <shortcut>="Black & White 2". The command will be "gametree --run "Black & White 2" "Black & White 2"".

Free Image Hosting at www.ImageShack.us

And that's all. Remember, GameTree Linux is a pretty easy program, but only a few games will run easily without any issue.

12 commenti:

  1. Why not just use CrossOver Games from CodeWeavers? GameTree Linux is just re-branded Cedega. And as we all know TransGaming quit giving back to Open Source Wine about 10 years ago. Wouldnt it be better to support CodeWeavers? A company that gives 98% of its code back to Open Source.

    You can recieve a 15% discount on CrossOver Games if you use "EmulateMe" as your dealcode in CodeWeavers store.

    See : CrossOver Dealcodes

    RispondiElimina
  2. I got it :) I bought it a couple of weeks ago with a 20% discount using a code. I use Crossover Games, PlayOnLinux and GameTree Linux. I planned to make tutorials for all three programs, and i have chosen to begin with GameTree Linux. I agree with you, in fact, many games that work on CXGames don't work on GameTree Linux. But GameTree Linux is still alive, so i just made a tutorial for using it. Thanks for your comment :)

    RispondiElimina
  3. Hey, I need some help with my GameTree Linux. Everytime I try to install a game [EvE] the GUI freezes up and I need to force close it to continue on.

    RispondiElimina
  4. Check this topic:

    http://www.cedega.com/forums/viewtopic.php?f=88&t=10853

    RispondiElimina
  5. And as every one of us know TransGaming quit providing back again to available resource Wine about ten many years ago.


    Does anyone about to get andBuy Runescape Gold, does anyone have some good suggestions to get the fast and safecheap swtor credits, please tell me and thanks a lot who can help me.

    RispondiElimina
  6. I concur with you, in fact, various video games that function on CXGames don't function on GameTree Linux

    RispondiElimina
  7. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.
    Super Bowl Commercials 2012

    RispondiElimina
  8. very nice thanks for sharing

    hey friend see snow on google
    Type “Let It Snow” on @Google If you click and drag you can wipe the snow away. It is great. source: http://le-titsnow.blogspot.com

    RispondiElimina
  9. Excellent post I must say.. Simple but yet interesting and engaging.. Keep up the good work!
    my friend's blog
    source: www.wbupdates.com

    RispondiElimina
  10. Contrary to some notions, well explored articles still fetch in reviewers like me. You confirmed clear understanding of the topic issue and my ideas are actually total after reading publish. Be sure to maintain up the sound work and i’ll sign up for your rss nourish to be knowledgeable of any emerging postings.

    RispondiElimina