View Full Version : can't open 'game.cfg'
SilviusDiscipulus
01-16-2011, 11:16 PM
Hey all,
I just installed Regnum Online on Linux Mint 10. I went through the usual hassles when installing on Linux: must give installer permission to read/write and to run as an executable, must install driconf and force s3tc compression, etc. But once all that was done, Regnum threw an error at me that I haven't seen before: Rolauncher Error: can't open 'game.cfg' (error 2: No such file or directory) Any idea what this is all about?
HidraA
01-16-2011, 11:45 PM
You will get this error when you dont have permision
Open a terminal type chmod -R 777 /home/your username/regum instalation path
Red_Flame
01-17-2011, 08:42 AM
or start game as root (sudo in ubuntu)
Znurre
01-17-2011, 09:37 AM
or start game as root (sudo in ubuntu)Just a question: why would you even suggest such a solution?
Hidra already posted a solution, and your suggestion is really bad practice.
Gustavsberg
03-17-2011, 07:02 PM
I have the exact same problem as this guy and have been trying my luck with some solutions people have suggested on the forums, but to no avail.
When running the launcher I get the following error message:
"can't open file 'game.cfg' (error 2: No such file or directory)"
I'm running Xubuntu 10.4
1.6 Ghz Intel processor
Radeon 9000 Graphics card
I've tried fixing the problem by running following commands in the terminal:
$ sudo chmod -R 777 /home/drokles/regnum (in order to allow 'drokles' read, write and execution rights)
$ sudo chown -R drokles: /home/drokles/regnum (in order to make 'drokles' the owner of the regnum directory)
I've tried running rolauncher as root through the terminal, and the same thing happens. After clicking the 'ok' button on the error message and logging in the launcher just closes and returns the following:
$ sudo ./rolauncher
/usr/share/themes/MurrinaBleu/gtk-2.0/gtkrc:85: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored. (This is probably just an override of my window settings in XFCE)
Segmentation fault (This is what happens after I press the 'login' button in the launcher window)
Is game.cfg supposed to exist in the directory before launching the first time? I can't find it there.
Any help would be very nice :).
Thanks!
Arafails
03-17-2011, 09:13 PM
Curious.
What happens if you run touch ~/regnum/game.cfg ?
Gustavsberg
03-18-2011, 08:35 AM
$ touch game.cfg actually solves the problem somewhat. Well, the error message doesn't appear, but the game still doesn't start. It still returns 'segmentation fault' in the terminal window.
Znurre
03-18-2011, 08:39 AM
$ touch game.cfg actually solves the problem somewhat. Well, the error message doesn't appear, but the game still doesn't start. It still returns 'segmentation fault' in the terminal window.
I guess it could be caused by your graphic card drivers.
ATI Radeon 9000 is not supported by the Catalyst driver afaik, so I guess you're using the open source drivers.
There is probably some problem there.
Can you run other OpenGL games without problems?
PS. Are you a swede too? Your name indicates that you might be :)
Gustavsberg
03-18-2011, 11:20 AM
I actually had a dialog box telling me that my graphics card was too old, my drivers where wrong or I had the wrong version of Directx, until I installed fglrx through the repositories. Now that dialog doesn't appear anymore. I've since removed fglrx, but that dialog hasn't reappeared. fglrx isn't supported on newer distros, right? I'm now just using the standard x.org replacement for fglrx and mesa packages.
It seems like I'm unable to run OpenGL games in general.
I'm actually a Dane. Gustavsberg is the name of whatever company created my toilet ^_^.
Znurre
03-18-2011, 11:28 AM
I actually had a dialog box telling me that my graphics card was too old, my drivers where wrong or I had the wrong version of Directx, until I installed fglrx through the repositories. Now that dialog doesn't appear anymore. I've since removed fglrx, but that dialog hasn't reappeared. fglrx isn't supported on newer distros, right? I'm now just using the standard x.org replacement for fglrx and mesa packages.
It seems like I'm unable to run OpenGL games in general.
I'm actually a Dane. Gustavsberg is the name of whatever company created my toilet ^_^.Seems like you've managed to mess up your drivers pretty badly.
Fglrx is supported on newer distros, it is the kernel module for the Catalyst driver if I am not wrong.
However, your card is so old I doubt it would be supported by a recent version of fglrx, that's why I am puzzled.
You should use the open source drivers for your graphic card (as was the case at first), and then follow these instructions to get around the problem with "Your graphic card is too old...": http://regnumonline.com.ar/forum/showthread.php?t=31371
Lycka till/Held og lykke! :)
Cuchulainn
03-18-2011, 01:04 PM
your graphic card is indeed not support by new ATI/AMD binary drivers. The last one which supports 9xxx cards is from march 2009. This old driver is not compatible with most linux distros newer than 2 years.
Below /usr/ati/share/ is probably the file fglrx-uinstall.sh. Excecute it to deinstall the driver. Then rename or remove the file xorg.conf below /etc/X11. Maybe you even need xorg.conf file in (X)ubuntu 10.4. Then change the driver from fgrlx to radeon. I'm not an Ubuntu expert or user. Maybe you also have to reinstall the masa-libGL package, for Fedora Linux it's recommend to do that afterwards.
Gustavsberg
03-18-2011, 10:05 PM
Seems like you've managed to mess up your drivers pretty badly.
Fglrx is supported on newer distros, it is the kernel module for the Catalyst driver if I am not wrong.
However, your card is so old I doubt it would be supported by a recent version of fglrx, that's why I am puzzled.
You should use the open source drivers for your graphic card (as was the case at first), and then follow these instructions to get around the problem with "Your graphic card is too old...": http://regnumonline.com.ar/forum/showthread.php?t=31371
Lycka till/Held og lykke! :)
It worked!
Mange tak! Btw, the guide is a bit outdated. The file he's directing you is 404'd, but I found a newer version that works. The game is rather slow on my system and the graphics are glitched, but I suppose that's another story in its own right, which I may find a solution to in another thread with a similar problem :D
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.