Switch language

Default language

 
Random picture
gallery
 
   On 07/04/10 at 22h26 Quote      

Member

Group: Member

Sex:
Signed up since: 09/09/09
Messages: 30
Hello,

when I try to start wormux in the terminal, I get the following error:
Citation:

user@user-desktop:~$ wormux
! Error in tool/resource_manager.cpp:199 (Wormux 0.9.2) : ResourceManager: can't load profile /usr/local/share/wormux/wormux_default_config.xml

./base/error.cpp:93: Missed assertion "false".
terminate called after throwing an instance of 'CError'
what(): Error in tool/resource_manager.cpp:199 (Wormux 0.9.2) : ResourceManager: can't load profile /usr/local/share/wormux/wormux_default_config.xml
Aborted


I tried to reinstall wormux but the error still appears. What can I do?

Thanks

pm    
   On 07/04/10 at 23h00 Quote      

Member

Group: Member

Sex:
Signed up since: 08/13/09
Messages: 294
Place: Sur le site de ...
Go into the file and copy that :
I'm not sure its work but you can try :D

Citation:
<?xml version="1.0" encoding="UTF-8"?>
<resources>

<section name="default_video_mode">
<int name="number_of_resolution_available" value="11" />
<point name="1" x="1680" y="1050" />
<point name="2" x="1600" y="1200" />
<point name="3" x="1400" y="1050" />
<point name="4" x="1366" y="768" />
<point name="5" x="1360" y="768" />
<point name="6" x="1280" y="1024" />
<point name="7" x="1024" y="768" />
<point name="8" x="1024" y="600" />
<point name="9" x="800" y="600" />
<point name="10" x="800" y="480" />
<point name="11" x="640" y="480" />
</section>

<section name="default_keyboard_layout">
<bind key="left" action="move_left" />
<bind key="left" action="move_left_slowly" shift="true" />
<bind key="right" action="move_right" />
<bind key="right" action="move_right_slowly" shift="true" />
<bind key="up" action="up" />
<bind key="up" action="up_slowly" shift="true" />
<bind key="down" action="down" />
<bind key="down" action="down_slowly" shift="true" />
<bind key="left" action="move_camera_left" control="true" />
<bind key="right" action="move_camera_right" control="true" />
<bind key="up" action="move_camera_up" control="true" />
<bind key="down" action="move_camera_down" control="true" />
<bind key="return" action="jump" />
<bind key="backspace" action="high_jump" />
<bind key="b" action="back_jump" />
<bind key="space" action="shoot" />
<bind key="tab" action="next_character" />
<bind key="escape" action="quit" />
<bind key="pause" action="pause" />
<bind key="f10" action="fullscreen" />
<bind key="f9" action="toggle_interface" />
<bind key="f1" action="weapons1" />
<bind key="f2" action="weapons2" />
<bind key="f3" action="weapons3" />
<bind key="f4" action="weapons4" />
<bind key="f5" action="weapons5" />
<bind key="f6" action="weapons6" />
<bind key="f7" action="weapons7" />
<bind key="f8" action="weapons8" />
<bind key="c" action="center" />
<bind key="1" action="weapon_1" />
<bind key="2" action="weapon_2" />
<bind key="3" action="weapon_3" />
<bind key="4" action="weapon_4" />
<bind key="5" action="weapon_5" />
<bind key="6" action="weapon_6" />
<bind key="7" action="weapon_7" />
<bind key="8" action="weapon_8" />
<bind key="9" action="weapon_9" />
<bind key="pageup" action="weapon_more" />
<bind key="pagedown" action="weapon_less" />
<bind key="s" action="chat" />
<bind key="t" action="chat" />
<bind key="return" action="chat" alt="true" />
<bind key="f11" action="menu_options_from_game" />
<bind key="m" action="minimap_from_game" />
</section>

<!-- This is how to setup per language font files -->
<section name="default_language_fonts">
<language name="ja_JP" file="VL-Gothic-Regular.ttf" relative="true" />
<language name="zh_CN" file="wqy-microhei-lite.ttc" relative="true" />
<language name="zh_TW" file="wqy-microhei-lite.ttc" relative="true" />
</section>

</resources>
____________________
Mylad
Parce que je le vaux bien

Moi j'ai windows 7 et un Nexus One sous Android !!!!!!!!! Et toi sous quoi tu tourne???
(Oui je me la pète)
Wormux Cup 2

pm quentin.bouchereau@gmail.com mylad@hotmail.fr http://wormux.fr    
   On 07/05/10 at 13h53 Quote      

Member

Group: Member

Sex:
Signed up since: 09/09/09
Messages: 30
The directory didn't exist before, so I created it and tried again:
Citation:

user@user-desktop:~$ wormux
o Reading the default config file
o Reading the personal config file
o Bind text domain to: /usr/local/share/locale
o Codeset: UTF-8
o Text domain: wormux
=== Wormux version 0.9.2
=== Authors: Lawrence AZZOUG, Frédéric BERTOLUS, Anthony CARRÉ, Laurent DEFERT SIMONNEAU, Jean-Christophe DUBERGA, Matthieu FERTRÉ, Christophe GISQUET, Sebastien GONZALVE, Reiner HERRMANN, Florian KÖBERLE, Renaud LOTTIAUX, Yannig PERRÉ, Olivie SERRES, Victor STINNER
=== Website: http://www.wormux.org

Wormux version 0.9.2, Copyright (C) 2001-2010 Wormux Team
Wormux comes with ABSOLUTELY NO WARRANTY.
This is free software and you are welcome to redistribute it
under certain conditions.

Read the file COPYING for details.

o Opened audio at 44100 Hz 16 bit
o Loading sound profile: default
[Sound] Error : file /usr/local/share/wormux/sound/default/profile.xml not found
o Loading music
[Music] Error : file /usr/local/share/wormux/music/profile.xml not found
[ Run game ]
! Error in graphic/surface.cpp:88 (Wormux 0.9.2) : Unable to open image file '/usr/local/share/wormux/menu/background_loading.jpg': Couldn't open /usr/local/share/wormux/menu/background_loading.jpg

./base/error.cpp:93: Missed assertion "false".

C++ exception caught:



Aborted


It seems as if there are a lot of files missing. Why aren't they installed?

pm    
   On 07/05/10 at 14h16 Quote      

Moderator

Group: Contributors

Sex:
Signed up since: 08/26/09
Messages: 121
Place: Berlin, Germany
How do you installed wormux?
Which distro do you used?
Best would be, to come on at #wormux in irc.freenode.net.

pm http://www.fuzxxl.de    
   On 07/05/10 at 15h21 Quote      

Member

Group: Member

Sex:
Signed up since: 09/09/09
Messages: 30
I'm using Ubuntu and I've installed wormux from the ppa that I've found on the download-page. The game worked correctly. But after downloading the sources and compiling them, the error appeared. So I removed the packages wormux and wormux-data and reinstalled them. But the error didn't disappear.

pm    
   On 07/05/10 at 15h29 Quote      

Moderator

Group: Contributors

Sex:
Signed up since: 08/26/09
Messages: 121
Place: Berlin, Germany
You did not installes it via the manager?
Try these steps: (In a shell)
sudo add-apt-repository ppa:wormux/ppa
sudo apt-get update
sudo apt-get install wormux
This is supposed to work.
 
Usually you don't need to build the programm if it's in the ppa.



Edit by FUZxxl On 07/05/10 at 15h29

pm http://www.fuzxxl.de    
   On 07/05/10 at 15h37 Quote      

Member

Group: Member

Sex:
Signed up since: 09/09/09
Messages: 30
I have installed it via the manager. I just wanted to read the sources and I built them because I wanted to change something (but I have not yet). I've also added the apt-repository already.

pm    
   On 07/05/10 at 16h16 Quote      

Member

Group: Member

Sex:
Signed up since: 09/09/09
Messages: 30
I've deleted all files that could have had something to do with wormux and installed it again. It works fine now. (except that the server seems to be down; but there is already another thread about that)

Thank you for helping!

pm    
   On 07/05/10 at 16h27 Quote      

Moderator

Group: Contributors

Sex:
Signed up since: 08/26/09
Messages: 121
Place: Berlin, Germany
If you want the  sources, it's best to use the trunk. Do this in an empty directory:
svn co svn://svn.gna.org/svn/wormux/trunk
(Strip the trunk if you want to have the whole "big" repository)
Then compile:
./autogen.sh ; ./configure --enable-fribidi --enable-debug --enable-servers ; make -j4
(./configure --help may help you)
And run:
make run
(Runs wormux from current build without need to install)
or debug:
make debug
(same as make run except, that it's in a gdb session)
or install
sudo make install
(ensure that there are not two installations at once)

pm http://www.fuzxxl.de    
   On 07/06/10 at 10h53 Quote      

Administrator

Group: WarMUX Team

Signed up since: 09/16/09
Messages: 233
Place: France
The location of such data files is determined by either:
- the compile time option (usually set by --prefix)
- some environment variables (can't recall their names, though they start with WORMUX_)

It seems in your case the -data and -bin packages were not in synch.
____________________
Whenever reporting a problem, please report the following information:
  • Environment: Windows (XP/2000/Vista/Seven/...), Linux (Ubuntu Karmic/Mandriva/...), ...
  • Context of the game: network/local game, normal/blitz mode, what you were doing, ...
  • Frequency and reproducibility: crashes after 5 minutes of play, only after some action ...

pm http://www.wormux.org    
   On 08/01/10 at 19h34 Quote      

Administrator

Group: WarMUX Team

Sex:
Signed up since: 08/11/09
Messages: 57
Place: Rennes
As said Kurosu, Wormux probably tries to read data from a previous version.

I have added the following lines in my ~/.bashrc :

Code BASH :
 
export WORMUX_DATADIR=./data/
export WORMUX_FONT_PATH=./data/font/DejaVuSans.ttf
 


and once I am in the Wormux source directory, I use :
Code BASH :
$ ./src/wormux &

to run the game.

This may help you if you want to run a version built by yourself and it still allows you to run packaged version from the menu (but not from the shell without unexporting $WORMUX_DATADIR and $WORMUX_FONT_PATH).

pm matthieu.fertre@free.fr    

 |  |

1 User online :: 0 Administrator, 0 Moderator, 0 Member and 1 Visitor
User online: No member online
Answer
You aren't allowed to write in this category