Running Spring with nice

Running Spring with nice

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
Xello
Posts: 29
Joined: 12 Jun 2009, 19:01

Running Spring with nice

Post by Xello »

So I figured out how to get a good screen capture for doing dot wars recordings :)
But my springs gets laggy when I am watching Replays and that shows up in the recording.
So I'm thinking I need to give Springs a higher priority (or I need more ram).
Any way I am using SpringLobby as my Lobby Client and I'm trying to run spring at a nice of -10

Thanks
~ Xello

P.S. I'm new to the forums and I would like to thank all the spring developers and everyone else that has done content creation, you guys did an amazing job!!!!!!
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Running Spring with nice

Post by aegis »

you can run spring at a slower speed, then increase the speed of the video
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Running Spring with nice

Post by lurker »

Code: Select all

which spring
cd [location of spring]
mv spring springengine
echo "#\!/bin/bash" > spring
echo "nice -n -10 springengine \"\$@\"" >> spring
chmod +x spring
If you work out auth issues for a negative nice, misread and thought you wanted 10 at first.

Just run springlobby with nice -10? Won't it inherit?
HAARP
Posts: 182
Joined: 06 Apr 2006, 07:18

Re: Running Spring with nice

Post by HAARP »

Note that on many systems only root can nice negative. This can be set in /etc/security/limits.conf though.
User avatar
Xello
Posts: 29
Joined: 12 Jun 2009, 19:01

Re: Running Spring with nice

Post by Xello »

Thanks for the input guys.
I never tried running spring lobby with a given nice.
nor have I tried making a script file to run spring with a nice.

Yes you need to have root access to run something with a negative nice.
User avatar
Xello
Posts: 29
Joined: 12 Jun 2009, 19:01

Re: Running Spring with nice

Post by Xello »

Well it works. Spring dose inherit the nice of SpringLobby.
Post Reply

Return to “Linux”