Can't find the mouse cursor...

Ask for help regarding any technical issue or report any bug or OS independent issues.
Locked
User avatar
Theylan
Peon
Peon
Posts: 1
Joined: 06 Apr 2005, 12:42

Can't find the mouse cursor...

Post by Theylan » 06 Apr 2005, 13:07

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
User avatar
maci
Warrior
Warrior
Posts: 507
Joined: 05 Dec 2004, 21:01
Location: Germany
Contact:

Post by maci » 06 Apr 2005, 16:26

try to run like this

/tmw/

./src/tmw

the configuration file is in ~/.manaworld
ElvenProgrammer wrote:Maci: don't be rude, we're here to help people ;)
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 07 Apr 2005, 10:52

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.
mattdev121
Peon
Peon
Posts: 1
Joined: 08 Apr 2005, 00:21

Post by mattdev121 » 08 Apr 2005, 00:23

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
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: 09 Dec 2004, 19:50
Location: North Rhine-Westphalia, Germany
Contact:

Post by Bjørn » 08 Apr 2005, 03:37

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 $@
Locked