Page 1 of 1

Can't find the mouse cursor...

Posted: 06 Apr 2005, 13:07
by Theylan
Hello, I am trying to get TMW to work on my Linux (Slackware) box, but get the following log:

[11:47:15] Using video driver: fbcon
[11:47:15] Possible to create hardware surfaces: yes
[11:47:15] Window manager available: no
[11:47:15] Accelerated hardware to hardware blits: no
[11:47:15] Accelerated hardware to hardware colorkey blits: no
[11:47:15] Accelerated hardware to hardware alpha blits: no
[11:47:15] Accelerated software to hardware blits: no
[11:47:15] Accelerated software to hardware colorkey blits: no
[11:47:15] Accelerated software to hardware alpha blits: no
[11:47:15] Accelerated color fills: no
[11:47:15] Available video memory: 1536
[11:47:15] ResourceManager::get(graphics/gui/mouse.png)
[11:47:15] Warning: graphics/gui/mouse.png not found!
[11:47:15] Warning: resource doesn't exist!
[11:47:15] Error: Unable to load mouse cursor.

It seems to be looking for the mouse in a non-existent folder. is there a config file which I can change the path in? I have already tried to recompile (a couple of times), but when I look for info on the configuration file, all I find is pointers towards the .ini file. I've had a look around the installation, but can't find any configuration file (other than those created by ./configure). I tried running from both /src/ and from elsewhere.

Any suggestions would be a help,
Many thanks in advance,
Theylan

Posted: 06 Apr 2005, 16:26
by maci
try to run like this

/tmw/

./src/tmw

the configuration file is in ~/.manaworld

Posted: 07 Apr 2005, 10:52
by Bjørn
TMW uses PhysFS which emulates a virtual file system that can be spread over multiple directories and archives, but at the moment this just includes the contents of the data directory. The mouse cursor should actually reside in data/graphics/gui/mouse.png.

Yes as maci said and as noted in the INSTALL file, run tmw like ./src/tmw.

Posted: 08 Apr 2005, 00:23
by mattdev121
it's a little bit of overkill for something like this but i just made a little script to launch the game and placed it in /usr/bin

I compiled the game and placed it into /usr/games/tmw then put a script in /usr/bin called "runtmw"
Here's what it was basically

Code: Select all

#!/bin/sh
echo "Starting TMW";
cd /usr/games/tmw;
./tmw;
and then just made the kde launcher link to "runtmw".

The only problem is that it doesnt take command args :S

Posted: 08 Apr 2005, 03:37
by Bjørn
I'm pretty sure tmw is not accepting any command args anyway. But if it would, you should be able to modify your little startup script to include the arguments like this:

Code: Select all

#!/bin/sh
echo "Starting TMW"
cd /usr/games/tmw
./tmw $@