Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SUGGESTION] simple play script (*nix)

I'm playing Xonotic almost every day since I've successfully understood how to compile it from git under debian.
Long story short, it's one of my favorite fps.

Well, I've this nice bash script in my homedir, that automates something.

Just want to share this with you, hope someone likes it and/or wants to improve it in some way Smile

Attached Files
.txt   play-xonotic.txt (Size: 598 bytes / Downloads: 9)

For SDL + Linux you should add:
Should disable mouse acceleration -> more stable aim.

What is fullup supposed to do? Reset everything? For this, there's ./all clean --reclone, with the advantage that it does not waste your bandwidth (and ours incidentally) by redownloading all the things that you already have.

Thanks guys...

I'll try those options
But.. are they needed during compiling or just while playing?

@Mr. Bougo
Actually i've redownloaded the whole archive a couple of times due to some compiling errors. Can't remenber these errors but doing the process in a new directory fixed the problem.
I didn't know the 'clean --reclone' thing. Script updated :)

Attached Files
.txt   play-xonotic.txt (Size: 388 bytes / Downloads: 1)

Still, reclone seems extremely excessive, it should only be used when everything else fails. The reason for that is that it deletes every unpushed branch that you might have locally, and all untracked files too. Very annoying if you don't expect it to happen.

Usually, ./all clean is the way to go, especially for compile errors where object files need to be cleaned up and the makefile misses them (which was the case with the cl_gecko error that popped up a lot). Ideally, you'd leave that out of your script to encourage fixing it manually. There's no magic, the optimal solution often depends on the problem.

Now that's just my two cents, it's your choice. I'm just making sure that you're aware of why reclone is aggressive and might have unpleasant outcomes.

Possibly Related Threads...
Thread Author Replies Views Last Post
  [SUGGESTION] Script for setting Linux dedicated server atomic.kidd 4 1,425 10-05-2019, 10:02 AM
Last Post: atomic.kidd
  [SUGGESTION] Play time bookmarking end user 1 2,214 03-25-2015, 05:45 PM
Last Post: -z-
  [SUGGESTION] Idea: Organize the qc gamecode as a script bundle, and auto-compile it at startup MirceaKitsune 9 7,290 03-21-2013, 12:18 PM
Last Post: Samual
  [SUGGESTION] A few simple tweaks rafallus 7 5,081 06-02-2012, 11:07 AM
Last Post: rafallus
  [SUGGESTION] Simple tweaks to improve bot AI rafallus 28 20,738 05-10-2012, 07:46 PM
Last Post: W4RP1G
  [SUGGESTION] A Simple Conversation Chryyz 52 39,045 02-08-2011, 07:56 PM
Last Post: Mirio
  [SUGGESTION] CTF Balancing on public servers with team play improvements Cinquero 15 12,403 09-08-2010, 08:19 AM
Last Post: Mirio
Bug [SUGGESTION] A Simple Pre-release? Fossiltalk 27 22,059 07-07-2010, 10:30 PM
Last Post: Fossiltalk
  [SUGGESTION] Convert LinCityNG maps to play in Xonotic. PineTrees 4 7,345 05-10-2010, 08:10 PM
Last Post: Sepelio

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-