[SOLVED] [Solved]How to install or runn Xonotic - 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: [SOLVED] [Solved]How to install or runn Xonotic (/showthread.php?tid=5823) |
[Solved]How to install or runn Xonotic - Kaddafi - 10-08-2015 So .. Hallo .. for one week i have changed (i never used something else as windows) my Windows to Ubuntu , so I am pretty new in Ubuntu, i know already something but not much . My problem is now how to launch game Xonotic .. I downloaded Xonotic , unpacket the game in to : ~/Games/Xonotic my problem is ... i do not know what to do now .... If i launch xonotic-linux32-glx i get a message : something like i have to setup the basedir of game to the patch of my game data ...i do not know where to look ... I dont even know if i have to install this game , but if i try : sudo apt-get install Xonotic ... i receave message that the package was not found ... I also found a file named Makefile where inside is : DESTDIR ?= PREFIX ?= /usr/local BINDIR ?= $(PREFIX)/bin LIBDIR ?= $(PREFIX)/lib/xonotic DOCDIR ?= $(PREFIX)/share/doc/xonotic Do i need edit this file ? I mean DESTDIR ... ? So please help me if someone knows what to do. And if you have tips for the future i would be glad to reed them ... Thank you for helping me... RE: How to install or runn Xonotic - Halogene - 10-08-2015 Can you try running it from a terminal? Open a terminal, navigate to the folder ("cd Games/Xonotic") and launch the appropriate executable then from there (do "./xonotic-linux32-glx.sh"). I think it has a ".sh" ending? Note that you can use the <TAB> key to autocomplete commands, if there are multiple completions possible, hit it twice to see the possibilities. I think what you did is that you executed the script from a file manager? It might be that it doesn't get a proper basedir assigned then. When not launching it from terminal from within the folder, you might have to provide the basedir with the command, if I remember correctly. If you generate yourself a starter for your menu, you can enter the basedir for the skript somewhere there (which would be ~/Games/Xonotic in your case). By the way, for some people the sdl version works better, but that has nothing to do with the error you encountered. You can try to do "./xonotic-linux32-sdl.sh" to test it. As for tips for the future, check out the Newbie Corner :o) RE: How to install or runn Xonotic - Kaddafi - 10-08-2015 That was the second thing I did, i mean command line , but both ways are the same ... Filemanager and command line ... I tried also copy the xonotic-linux32-glx/sdl.sh in to few directories because binary executed data using their own directory as data source, after run the xonotic-linux32-XY.sh was the same error... basedir setup needet... ... as i have understand after reading a few posts... If U have any other idea what can I do.. please tell me.. RE: How to install or runn Xonotic - Mario - 10-08-2015 You might need to install libz: sudo apt-get install zlib1g Can't confirm that this will work on a release, as I usually use Git when on Linux, which requires this library to be installed. Also, the shell scripts should be in the Xonotic folder, along with the binaries (xonotic-linux32-glx/sdl). If it still fails, could you post the console log? Open the console (shift+esc) and type this: condump crash.log Then upload the contents of ~/.xonotic/data/crash.log to PasteBin or something (the .xonotic folder is hidden in your home directory, so you'll need to hold CTRL & press H to show it). RE: How to install or runn Xonotic - Beagle - 10-08-2015 The command I use to open xonotic is ~/Xonotic/xonotic-linux64-glx -basedir ~/Xonotic RE: How to install or runn Xonotic - Kaddafi - 10-09-2015 Mario the zlib1g is the newest version already ... Abouth the crash log .. i am not able to enter the console kz my system make a crash everytime i try enter the console and the only way to return to ubuntu is restart .. I did a little video what happends to me when i start the shel ... take a look https://www.youtube.com/watch?v=A_QJbObSkV0... i thing something is wrong with my Ubuntu 14.4. .... and aboth the hiden folder... there is nothing about xonotic .. no hiden folder .. no other folder... only thing i have is ~/games/xonotic .... i did not install it ... i dont know how to install it... that is why i dont have any hiden folders from xonotic ... at least i thing so... RE: How to install or runn Xonotic - Halogene - 10-09-2015 From your video I can see you launch the game from within your home folder with "~/Games/Xonotic/...". As I suggested in my first reply, please navigate to the Xonotic folder with "cd Games/Xonotic" and THEN issue "./xonotic-linux32-glx" . Can you try that please? If you're not issuing the command from within the folder, you will have to specify the basedir with the -basedir option, so you can alternatively try to execute from your home folder "Games/Xonotic/xonotic-linux64-glx -basedir ~/Xonotic" RE: How to install or runn Xonotic - Kaddafi - 10-09-2015 So , i did it as you wrote Halogene ..... but i still can not access the console...i tryd something to write but my system crasched again... here is next video... https://www.youtube.com/watch?v=kMEma23kD3c And one thing what can i provide is photo of console .. see attachement RE: How to install or runn Xonotic - It'sMe - 10-09-2015 If you execute the binary (not using the shell script). You need to change into the game's basedir before. Because the engine expects your current working directory is the basedir. Code: cd ~/Games/Xonotic; ./xonotic-linux64-sdl Or you pass the basedir as argument for the binary (This is what Beagle suggests) Code: ~/Games/Xonotic/xonotic-linux64-sdl -basedir ~/Games/Xonotic However the easiest way is if you use the shell scripts. Code: ~/Games/Xonotic/xonotic-linux64-sdl.sh If you take a look at the first lines, you will notice it changes the directory before calling the binary (next to other things). Code: 3 path=`dirname "${0}"` However your issue seems to be that the extracted game files are not complete. Code: ... The easiest and probably fastest way is to sync your game via the provided rsync script. Code: ~/Games/Xonotic/misc/tools/rsync-updater/update-to-release.sh Please run this script. Otherwise verify if the provided md5sum matches your downloaded zip file and re-extract the game. The command Code: apt-get install xonotic To add Xonotic to your Dash (Ubuntu's start menu) you can add a xonotic.desktop in ~/.local/share/applications/. Like ~/.local/share/applications/xonotic.desktop Code: [Desktop Entry] RE: How to install or runn Xonotic - Kaddafi - 10-09-2015 SO that was my problem .. my data was not complete or corrupted ..... To update the data was a great idea ...i had no knowledge about this function , very goood.. So I used first : Code: ~/Games/Xonotic/misc/tools/rsync-updater/update-to-release.sh And then i just did run the game as i already did but it was not working.. now works fine... THX Thank you all for your time and sharing your knowledge with me.. In fact .. thank you all . RE: How to install or runn Xonotic - Halogene - 10-10-2015 Nice, glad you got it sorted out. |