Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-07-2008, 11:19 AM   #1
onemyndseye
Master
 
onemyndseye's Avatar
 
Join Date: Jul 2008
Location: South Central USA
Posts: 260
onemyndseye is on a distinguished road
Default Linux crash problems? Here is a Fix (MAYBE)

Hey guys... I had frequent crashes under Linux for some time and this little launcher script solved my problems:

create the following script in your RO game directory (probably ~/regnum)

rolauncher.sh
Quote:
#!/bin/bash

## Set variables
## Set this to the full path of your regnum install
GAME_DIR=/home/onemyndseye/regnum


## Attempt to make sure no other regnum process is running
#
killall -9 game
killall -9 rolauncher




### Setup the env and start laucher
cd "$GAME_DIR"
export MALLOC_CHECK_=1
./rolauncher


# Now that the launcher has exited and the game has been run
# Switch env settings and renice the games binary
# Reniceing the games binary is optional though it does improve
# performance

export MALLOC_CHECK_=0
sudo renice -15 $(pidof game)



If you do not wish to use renice to improve game performance then comment out that section... if you do, make the following changes to your sudoers file

edit the file: /etc/sudoers
and add this line replacing "onemyndseye" with YOUR username
Quote:

onemyndseye ALL=(ALL) NOPASSWD: /usr/bin/renice
Now start the game using this simple script instead of running ./rolauncher directly... You make also edit any menu or desktop shortcuts to point to this script instead of the launcher bianary. This loader script GREATLY reduced my crashes and boosted my FPS by a good 12-20... your mileage my vary.

Have fun and happy hunting,
-onemyndseye

Syrtis Hunter lvl50: Elusis

(Cross posted here for correctness...sorry mods)
**** Edit for Froste's suggestions

Last edited by onemyndseye; 10-07-2008 at 02:30 PM.
onemyndseye no ha iniciado sesión   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved