Problems on linux mint

7 replies [Last post]
Gekoncze
User offline. Last seen 12 years 15 weeks ago. Offline
Joined: 2011-08-13
Posts: 6

I have some problems running Hedgewars 0.9.15 on Linux mint 11 64-bit. I downloaded it with software manager. Everything runs propertly, except grenade timers and screenshots.
1) I cannot set timer for grenades. I also tried to change keyboard layout from czech to USA, but it didnt help.
2) When I press c, the game crashes and this message is shown:
"Nemohu spustit engine: 1
(/usr/lib/hedgewars/bin/hwengine)"
it cannot run engine
3) When I run hedgewars from terminal, it displays this error:
"Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x22f5f40)" of type `GString'
there is no soundcard"

But the sound works correctly.

I am beginner in Linux, so I dont know what can cause those errors. Please help, I like this game very much, but I need at least the timer get working.

Gekoncze
User offline. Last seen 12 years 15 weeks ago. Offline
Joined: 2011-08-13
Posts: 6

I found out that the problem of the timer was because numbers are nor working in game so I changed it... the screenshot is still broken... it takes it but the game crashes. The game is now at least playable with the timer Smile . When I downloaded the game from repository, it needed sdl... I will try to make one program and test if the numbers works (if creator of the game used sdl event functions).
Is there any way how to set my team configuration (keyboard) to global?

nemo
nemo's picture
User offline. Last seen 3 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

http://code.google.com/p/hedgewars/issues/detail?id=138
http://code.google.com/p/hedgewars/issues/detail?id=120

Screenshot thing is most likely an OpenGL driver issue with your machine. A backtrace would help confirm.

http://hedgewars.org/node/2215#comment-15049 for build instructions (ubuntu/debian) for testing purposes.

Keyboard config is not global. Intended for picking one team for left and one for right for local play. Also handy now for making a "SpaceInvaders" specific team in .16 Smile

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Gekoncze
User offline. Last seen 12 years 15 weeks ago. Offline
Joined: 2011-08-13
Posts: 6

Thanks for the info, I also found out that replays are not saved but in windows they are (they have name with date and time I think).

nemo
nemo's picture
User offline. Last seen 3 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Gekoncze allegedly wrote:

Thanks for the info, I also found out that replays are not saved but in windows they are (they have name with date and time I think).

The last replay is always saved, assuming the hedgewars prefs dir is writeable.
Whether they are timestamped or not depends on whether the timestamp pref is set in Config. It defaults to off, in which case the last game always overwrites the ones before.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Gekoncze
User offline. Last seen 12 years 15 weeks ago. Offline
Joined: 2011-08-13
Posts: 6

Oh, thats true... I forgot to set replays in config ^^

Hellsvien
User offline. Last seen 10 years 30 weeks ago. Offline
Joined: 2012-07-09
Posts: 1

Can someone help me? I am using linix mint 13 with a X64 pc with all drivers installed. I try to play on both single and muliti and it just says "in game..." nothing happens?

~Hellsvien

nemo
nemo's picture
User offline. Last seen 3 weeks 2 days ago. Offline
Joined: 2009-01-28
Posts: 1861

Hellsvien allegedly wrote:

Can someone help me? I am using linix mint 13 with a X64 pc with all drivers installed. I try to play on both single and muliti and it just says "in game..." nothing happens?

This means the actual game executable hwengine.exe tried to launch and immediately crashed.
You can pastebin ~/.hedgewars/Logs/game0.log but it is usually 1 of 2 reasons

1) Your opengl support. Try installing the binary drivers from ati or nvidia (in ubuntu you can run jockey-gtk - I don't know if mint has this). Ways to check your opengl support. Try launching glxgears. Verify glxinfo has:
glxinfo | grep -i "direct rendering"
direct rendering: Yes

And check /var/log/Xorg.0.log to see what is happening on the driver front.
For some wimpy cards, you might want to use a non-composited window manager, such as XFCE4, MATE or Unity2D.

2) Your sound card. If you have a card that does not support hardware mixing, and your sound settings are screwed up (say if you tried to change sound dæmons and did it incompletely) then the frontend might grab an exclusive lock on the device, and cause the game engine to crash. You can test this one by disabling sound/music in config settings (don't forget to disable both the frontend and game) and restarting.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]