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
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
Go into the file and copy that :
I'm not sure its work but you can try
Citation:
I'm not sure its work but you can try
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>
<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
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
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?
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?
How do you installed wormux?
Which distro do you used?
Best would be, to come on at #wormux in irc.freenode.net.
Which distro do you used?
Best would be, to come on at #wormux in irc.freenode.net.
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.
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
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
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.
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!
Thank you for helping!
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)
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)
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.
- 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:
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 ...
As said Kurosu, Wormux probably tries to read data from a previous version.
I have added the following lines in my ~/.bashrc :
Code BASH :
and once I am in the Wormux source directory, I use :
Code BASH :
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).
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).
1 User online :: 0 Administrator, 0 Moderator, 0 Member and 1 Visitor
User online: No member online
User online: No member online
Answer
You aren't allowed to write in this category
Log in
Sign up









