Xonotic Forums
[NEEDS INFO] Cant launch? ubuntu 10.04 - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [NEEDS INFO] Cant launch? ubuntu 10.04 (/showthread.php?tid=1520)



Cant launch? ubuntu 10.04 - shadowfaxim - 01-24-2011

from what I can tell you're just supposed to unzip and use the shell scripts correct?

when I try I get this
Code:
you have reached this menu due to missing or unlocatable content/data

What should I do?


RE: Cant launch? ubuntu 10.04 - lda17h - 01-25-2011

You also have to make sure that your working directory is in the game folder.. The simplest to achieve that is to go to the game folder in a console before starting it manually from there..
actually, yeah the shell script should work without manually setting the working directory (i always wrote my own to do that - didn't even see there is already a script setup to do just that).. So maybe the script has a but.. Does manually changing the working dir and then running the executable directly work for you?


RE: Cant launch? ubuntu 10.04 - shadowfaxim - 01-25-2011

(01-25-2011, 06:03 AM)lda17h Wrote: You also have to make sure that your working directory is in the game folder.. The simplest to achieve that is to go to the game folder in a console before starting it manually from there..
actually, yeah the shell script should work without manually setting the working directory (i always wrote my own to do that - didn't even see there is already a script setup to do just that).. So maybe the script has a but.. Does manually changing the working dir and then running the executable directly work for you?

I'm not sure how to set the the working directory. Game consoles are quite foreign to me


RE: Cant launch? ubuntu 10.04 - JayWalker - 01-25-2011

You browse folders on a command line very much like you do in a gui. In ubuntu when you open the terminal, your current working directory will be your "/home/yourusername" directory. Commands you need to know to browse/change working directory:

"ls" - lists all the files and folders in your current working directory.
"cd" - change directory, as in "cd xonotic" to change your working directory to the xonotic folder, in the folder you were previously viewing.
"cd .." - will take you up one folder to the directory you were previously in.

Here's an example of how you might browse to your xonotic folder and run the game:

First, extract the game folder to your home folder, if you havent already. Open a terminal and observe the following commands (your paths/folder names will differ slightly from my own of course):
Code:
jaywalker@JayNix-Desktop:~$ ls
add-remove reconstructor list  examples.desktop  Nexuiz         Templates
AssaultCube                    FreeBasic         nvclock fan    Ubuntu One
BackInTime                     HALO              Pictures       umjnx.sh
BF1942.pid                     lmms              Public         UT2004
bz98                           mnjnx.sh          reconstructor  Videos
Desktop                        mprime            sauerbraten    www
Documents                      Music             Source         xonotic
Downloads                      My Games          Starcraft      xonotic-preview
jaywalker@JayNix-Desktop:~$ cd xonotic-preview
jaywalker@JayNix-Desktop:~/xonotic-preview$ ls
Xonotic
jaywalker@JayNix-Desktop:~/xonotic-preview$ cd Xonotic
jaywalker@JayNix-Desktop:~/xonotic-preview/Xonotic$ ls
bin64                 misc                       xonotic-linux32-sdl
data                  ogg.dll                    xonotic-linux64-dedicated
Docs                  SDL.dll                    xonotic-linux64-glx
fteqcc                server                     xonotic-linux64-sdl
key_0.d0pk            source                     xonotic-linux-glx.sh
libcurl-4.dll         vorbis.dll                 xonotic-linux-sdl.sh
libd0_blind_id-0.dll  vorbisenc.dll              xonotic-osx-dedicated
libfreetype-6.dll     vorbisfile.dll             Xonotic-SDL.app
libgmp-10.dll         Xonotic.app                xonotic-sdl.exe
libjpeg.dll           xonotic-dedicated.exe      xonotic-x64-dedicated.exe
libmodplug-1.dll      xonotic.exe                xonotic-x64.exe
libpng12.dll          xonotic-linux32-dedicated  xonotic-x64-sdl.exe
libtheora.dll         xonotic-linux32-glx        zlib1.dll
jaywalker@JayNix-Desktop:~/xonotic-preview/Xonotic$ sudo chmod +x xonotic-linux32-sdl
[sudo] password for jaywalker:
jaywalker@JayNix-Desktop:~/xonotic-preview/Xonotic$ ./xonotic linux32-sdl

The very last command should run the game for you.


RE: Cant launch? ubuntu 10.04 - lda17h - 01-25-2011

(01-25-2011, 05:33 PM)shadowfaxim Wrote:
(01-25-2011, 06:03 AM)lda17h Wrote: You also have to make sure that your working directory is in the game folder.. The simplest to achieve that is to go to the game folder in a console before starting it manually from there..
actually, yeah the shell script should work without manually setting the working directory (i always wrote my own to do that - didn't even see there is already a script setup to do just that).. So maybe the script has a but.. Does manually changing the working dir and then running the executable directly work for you?

I'm not sure how to set the the working directory. Game consoles are quite foreign to me

I meant a console as in terminal.. Big Grin Not the ingame console..