Urban Terror Forums: moving the .q3a directory - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

moving the .q3a directory Rate Topic: -----

For mapping and such

#1 User is offline   KroniK Icon

  •   QA member   
  • Account: kronik
  • Country:
  • Joined: 14-January 11
  • Posts: 305

Posted 28 July 2013 - 05:47 AM

In the linux version of Urt, all the maps and videos etc are stored in /home/user/.q3a as opposed to in the specific game folder like in windows. I would like to set up a completely isolated version of UrT4.2 for mapping purposes, however unless I install it as another user, It forces me to use the same .q3a folder my normal urt4.2 uses. I need to somehow separate my mapping q3a and my regular gaming q3a. Is there a way to do this?

Thanks!

#2 User is offline   b1naryth1ef Icon

  • Account: b1naryth1ef
  • Country:
  • Joined: 01-August 12
  • Posts: 137

Posted 28 July 2013 - 05:49 AM

View PostKroniK, on 28 July 2013 - 05:47 AM, said:

In the linux version of Urt, all the maps and videos etc are stored in /home/user/.q3a as opposed to in the specific game folder like in windows. I would like to set up a completely isolated version of UrT4.2 for mapping purposes, however unless I install it as another user, It forces me to use the same .q3a folder my normal urt4.2 uses. I need to somehow separate my mapping q3a and my regular gaming q3a. Is there a way to do this?

Thanks!


fs_homepath and fs_basepath cvars
I break stuff and call it a feature

#3 User is offline   KroniK Icon

  •   QA member   
  • Account: kronik
  • Country:
  • Joined: 14-January 11
  • Posts: 305

Posted 28 July 2013 - 05:56 AM

Well JohnnyEnglish helped me out on IRC.

To do this I simply need to create a shortcut or startscript which will +set fs_homepath to something different than the .q3a directory.

#4 User is offline   rockyiii Icon

  • Account: rockyiii
  • Country:
  • Joined: 05-August 12
  • Posts: 9

Posted 29 July 2013 - 05:10 PM

View PostKroniK, on 28 July 2013 - 05:47 AM, said:

In the linux version of Urt, all the maps and videos etc are stored in /home/user/.q3a as opposed to in the specific game folder like in windows. I would like to set up a completely isolated version of UrT4.2 for mapping purposes, however unless I install it as another user, It forces me to use the same .q3a folder my normal urt4.2 uses. I need to somehow separate my mapping q3a and my regular gaming q3a. Is there a way to do this?

Thanks!


script bash for urban terror 4.2

from a terminal emulator
nano urt42.sh


#!/bin/sh

# Change the path of the binary to whatever you use to launch the game.
# This should be set to whatever you've been using to start Urban Terror
# in the past. For example (2 examples):
# URBAN_TERROR_EXECUTABLE="/opt/UrbanTerror42/Quake3-UrT.i386"
# URBAN_TERROR_EXECUTABLE="/opt/UrbanTerror42/Quake3-UrT.x86_64"

URBAN_TERROR_EXECUTABLE="/opt/UrbanTerror42/Quake3-UrT.x86_64"

"$URBAN_TERROR_EXECUTABLE" +set fs_homepath ~/.urt $*



chmod +x urt42.sh

to run the program
./urt42.sh

* /opt/UrbanTerror42 is directory example of game

This post has been edited by rockyiii: 29 July 2013 - 05:18 PM


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942