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.
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?
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.
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:
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".
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"".
And that's all. Remember, GameTree Linux is a pretty easy program, but only a few games will run easily without any issue.