View Full Version : 64bit libraries needed to launch the game
Elsworth
01-03-2015, 05:41 PM
Hi all!
I have a problem with launchig the game. After game installation from ROInstall_64 I run ./rolauncher. Blank window appear for a second or two and dissapears. It looks like some libraries are missing. In terminal information appears "Segfault (memory dump)".
As an attachment you will find stace command standard output as well as ldd command standard output. maybe someone will help me to fiqure out what is missing.
Best regards,
Elsworth
P.S.
Linux syetem: Fedora 21 64bit
P.S. 2
I checked CRC for ROInstall_64 file.
md5sum ROInstall_64 gives 2c29a8863003fc5f7f71277e9c47955f
TurboLover
01-03-2015, 06:09 PM
Libs look fine to me. Can you upload a backtrace?
Elsworth
01-03-2015, 06:38 PM
Libs look fine to me. Can you upload a backtrace?
What do you mean? To run gdb or other stack trace program?
P.S.
I run gdb ./rolauncher
[mkaczmarek_01@zx149f regnum]$ gdb ./rolauncher
GNU gdb (GDB) Fedora 7.8.1-36.fc21
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./rolauncher...(no debugging symbols found)...done.
(gdb)
-Mongoose-
01-03-2015, 07:21 PM
Looking at the strace, it's crashing when seeking file descriptor 11, which maps to /usr/share/themes/Adwaita/gtk-2.0/Others/null.png.
This is similar to issues that others have had.
See this post for Enio's work around:
http://www.championsofregnum.com/forum/showpost.php?p=1806871&postcount=46
Alternately, switch gtk themes.
http://www.championsofregnum.com/forum/showpost.php?p=1788234&postcount=32
See that thread for additional details/solutions.
http://www.championsofregnum.com/forum/showthread.php?t=100997
Elsworth
01-03-2015, 10:03 PM
-Mongoose- thanks for links.
I created .themes/Adwaita/gtk-2.0 folder in home directory and placed there empty gtkrc file.
Now it looks like game have a chance to run, however without activation code cannot confirm that.
As soon as I activate Linux host than will update this thread.
For now, thanks all for your help.
Elsworth
Evangeline
01-03-2015, 11:53 PM
try
$cd "path/to/regnum/live/"
$ldd game
edit: woops nvm you did try it
edit2: wow this is interesting i use fedora 21 too (started recently) and my rolauncher segfaults too xD hadnt noticed since i don't really use it :P
Tigerious
01-04-2015, 02:11 PM
People always forgot there is _logs in <path to regnum>/live/
Maybe more useful infos there?
Regards.
Elsworth
01-19-2015, 07:28 PM
Hi!
At last I successfully run CoR under Fedora 21. As I wrote above I had to create .themes/Adwaita/gtk-2.0 folder in home directory and placed there empty gtkrc file.
This folder is necessary to bypass segfault created by Adwaita theme. Do not know if this problem exist with other themes - maybe does or maybe does not.
The second problem I faced was Nvidia propretiary drivers problem installation. Without those drivers I could not run the game (it did not want launch on neuveau driver)
I used RPMFusion repository for previous Fedora distributions. For F21 I use negativo17 repository (can be found here (http://negativo17.org/)).
Now I am thinking about shell script which will automatically copy .themes/Adwaita/gtk-2.0 folder into home directory, will launch the game and will delete copied files (just for nice looking of context menus xD). If you will have any examples please place code hereafter.
Cya all in game!
-Mongoose-
01-19-2015, 08:34 PM
Now I am thinking about shell script which will automatically copy .themes/Adwaita/gtk-2.0 folder into home directory, will launch the game and will delete copied files (just for nice looking of context menus xD). If you will have any examples please place code hereafter.
Cya all in game!
Enio has a script that seems to do what you want.
[enio@archdesk regnum]$ cat start.sh
#!/bin/bash
mv /home/enio/.themes/Adwaita/gtk-2.0/gtkrc_ /home/enio/.themes/Adwaita/gtk-2.0/gtkrc; \
/home/enio/regnum/rolauncher ; \
mv /home/enio/.themes/Adwaita/gtk-2.0/gtkrc /home/enio/.themes/Adwaita/gtk-2.0/gtkrc_
Taken from:
http://www.championsofregnum.com/forum/showpost.php?p=1806871&postcount=46
Elsworth
01-19-2015, 10:01 PM
Hi!
Thanks -Monogoose-. I have a problem with eth0 raise after reboot (it tells that eth0 is connecting), so did not had a chance to edit my post before you post your comment.
Below you will find my way to launch the game, however there is one thing that still puzzle me.
#!/bin/bash
cp -R $HOME/Gry/.themes $HOME/.themes; \
$HOME/Gry/regnum/rolauncher; \
rm-rf $HOME/.themes
Above code runs well (maybe sleep 100 is too long) when I run it from terminal. I linked CoR_launcher.sh (this is the name of the file containing above code) to the regnum-program.desktop to be able to launch the game just by clicking on the icon. And there is the problem - shell script do not work. Below is the content of regnum-program.desktop.
[Desktop Entry]
Version=1.0
Type=Application
Name=Champions of Regnum
Exec=/home/mkaczmarek_01/Gry/regnum/CoR_launcher.sh
OnlyShowIn=Old;
I changed rolauncher to CoR_launcher.sh
Have to find out how to fix it, or maybe you have some idea what to do?
Cya in game!
Edit 1
Wander if I can replace /home/mkaczmarek_01 by $HOME in the regnum-program.desktop file.
Cya
Edit 2 (2015.01.26)
regnum-program.desktop + shell script launcher works well. I initially changed mentioned regnum-program.desktop file in $HOME/.gnome/apps folder and than in $HOME/.local/share/applications folder - in both cases without success. At last I found that the gnome shell uses regnum-program.desktop launcher from $HOME/Desktop folder. After linking shell script to .desktpo file, clicking on it or calling the name in gnome shell ends in proper game launch.
Cya in game!
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.