Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] How do you change directory.

#1
Well I don't know where to look. But I have moved my Xonotic folder. Now it comes up with a message saying that it cannot find data files and to add -basedir game/files

Or something like that. It ha happened to me on Nexuiz and Darkplaces for Quake 1

Can anybody point me in the right direction
Reply

#2
The Xonotic binary (the executable file, .exe if you're on Windows) expects to see the "data" directory in the same directory as the binary. (That is because most file managers launch a binary with the "working directory" set to the binary's directory.)

What did you move exactly? Also, how do you start Xonotic?

Just move the entire thing, not just "data", and you should be fine.
Reply

#3
(06-29-2013, 02:44 AM)Mr. Bougo Wrote: The Xonotic binary (the executable file, .exe if you're on Windows) expects to see the "data" directory in the same directory as the binary. (That is because most file managers launch a binary with the "working directory" set to the binary's directory.)

What did you move exactly? Also, how do you start Xonotic?

Just move the entire thing, not just "data", and you should be fine.
The Xonotic folder was on my desktop then I moved it into another folder called 'games' on my desktop. I moved all of it. I start using 'xonotic-x64' I do have a 64bit processor.
Reply

#4
Is the xonotic-x64 still in the same directory as "data"? How do you launch the game? Are you using a shortcut?

What's your OS anyway? In Linux you should be using xonotic-sdl.sh. It auto-detects your architecture.
Reply

#5
(06-29-2013, 08:24 PM)Mr. Bougo Wrote: Is the xonotic-x64 still in the same directory as "data"? How do you launch the game? Are you using a shortcut?

What's your OS anyway? In Linux you should be using xonotic-sdl.sh. It auto-detects your architecture.
Yes it is in the directory (see image below). My OS is Windows 7 Home Premium 64-bit
http://i.imgur.com/urTqfvJ.png (Image way too big to post inside img, /img Tongue )
Here is my Xonotic folder, I don't launch from a shortcut, If I did that would probably be the first thing I investigate.

Last time I used the SDL version it launched but there was no graphics, So it just displayed my desktop
Reply

#6
Can you launch the game with the -developer command line option, then open the console and do
Code:
condump whatever.log
(filename doesn't matter). Look for that log file inside your data directory (where config.cfg is) and post it in a pastebin (maybe review it first if you want to hide any user names).

See the following post for how to pass command line parameters simply: http://forums.xonotic.org/showthread.php...2#pid41902
Although that might fix your problem altogether if it somehow sorts out that working directory problem.
Reply

#7
Just before I do I noticed something interesting in the console.
Code:
Invalid response from keygen server
Tongue
[hir]
Now back to the main topic of this problem.
I'm having a bit of trouble understanding how to launch the game with -developer command line option
But I can open the console while in the game. but it is telling me to
Code:
You may want to consider adding -basedir /path/to/game to your launch commandline
It doesn't take an idiot to know that what the game is telling me to something similar to what your telling me to.
I'm going to try and add it to the command line thing. I had to do it in Quake for +mlook
[hir]
Wait no I won't. With quake I use a file called 'autoexec.cfg' this seems different.

Anyway thanks for your efforts this far, The problem is I do not know how to launch with the commands Sad
Reply

#8
(06-30-2013, 06:24 AM)satuim Wrote: Just before I do I noticed something interesting in the console.
Code:
Invalid response from keygen server
Tongue
That's also interesting. Is that all there is to the error?

(06-30-2013, 06:24 AM)satuim Wrote: It doesn't take an idiot to know that what the game is telling me to something similar to what your telling me to.
I'm going to try and add it to the command line thing. I had to do it in Quake for +mlook

No. The game is telling you to set a basedir but it should have done it already. Something is working wrong, and setting the basedir would only work around the problem until next time, instead of actually finding it and fixing it. Please don't set the basedir manually.

Can you tell me what you don't understand in my post to start with -developer? Have you been able to create the shortcut as instructed? To edit it? To launch it? Please be more explicit about what you don't understand.
Reply

#9
(06-30-2013, 07:29 AM)Mr. Bougo Wrote: That's also interesting. Is that all there is to the error?
Sadly yes.

Quote:Can you tell me what you don't understand in my post to start with -developer? Have you been able to create the shortcut as instructed? To edit it? To launch it? Please be more explicit about what you don't understand.
You didn't tell me how to make the shortcut in the first place. And pretty much everything.
Reply

#10
(06-30-2013, 04:45 PM)satuim Wrote: You didn't tell me how to make the shortcut in the first place. And pretty much everything.

What? Did you notice the link in my post?
Reply

#11
Oops. http://pastebin.com/Kuxg3FF5
Reply

#12
Your data loads just fine, setting basedir would not change a thing.

Now if you'll read the actual error in the console, you'll notice that it says your campaign file is broken.

Open the console and do this:
Code:
g_campaign_name
This will tell you the current campaign name (default is "xonoticbeta"). Tell me what you get.
Code:
which maps/campaign${g_campaign_name}.txt
Again, tell me what you get.
Reply

#13
First off I would like to tell you that my game stopped working when I viewed the Single-Player screen. The last words I saw was List by Mirio or something like that.
OK did the first command:
Code:
"g_campaign_name" is "nexuiz25" ["xonoticbeta"]
As for the second one:
Code:
maps/campaignnexuiz25.txt is in package data20091001.pk3

I can't help but feel I screwed something up with the nexuiz maps. Should I delete that txt file?
It is really like a parrot telling it's owner everything it saw, really.
Reply

#14
You should not the put the data.pk3 from Nexuiz into the data folder of Xonotic! Obviously it won't work out.

>>> Different games?

You wouldn't put FIFA content in Battlefield either right? Tongue


You can make the maps work by creating pk3s, however there are a) some remakes and b) some will be ugly in Xonotic (size and stuff).
Reply

#15
I didn't Mirio the pk3 from Nexuiz is separate. Its a txt from Nexuiz that has the campaign. Thats what I'm thinking anyway

Besides both games uses the same engine (Dark Places)
FIFA and BF does not

Update: I can run the game but I removed the pk3 with all the maps. So it is a problem within Nexuiz files
Reply

#16
(07-01-2013, 05:58 AM)satuim Wrote: Update: I can run the game but I removed the pk3 with all the maps. So it is a problem within Nexuiz files

Yeah.. like I tried to point out. Different games.

The data.pk3 contains the hole game basically, was not there this situation already? jeez
Reply

#17
(07-01-2013, 04:21 AM)satuim Wrote:
Code:
maps/campaignnexuiz25.txt is in package data20091001.pk3

Yep, you have the Nexuiz data pk3 in your data directory. Don't do that, it breaks stuff. Currently you're trying to play a weird hybrid of Xonotic and Nexuiz with a mix of files from both of them. There's no wonder it doesn't work.
Reply

#18
(07-01-2013, 02:10 PM)Mr. Bougo Wrote:
(07-01-2013, 04:21 AM)satuim Wrote:
Code:
maps/campaignnexuiz25.txt is in package data20091001.pk3

Yep, you have the Nexuiz data pk3 in your data directory. Don't do that, it breaks stuff. Currently you're trying to play a weird hybrid of Xonotic and Nexuiz with a mix of files from both of them. There's no wonder it doesn't work.
But I have removed everything but the maps.
Reply

#19
You clearly haven't. It says so in your command output.

EDIT: Ah, you probably mean the maps directory. Well, that contains the nexuiz campaign, which isn't compatible with Xonotic. You have it set as your campaign, which means the nexuiz pk3 tainted your Xonotic configuration. You might want to reset that config just to be sure you didn't break anything else.

Get rid of that campaign txt file and fix your configuration.
Reply

#20
I have Removed the Nexuiz campaign files and all is well. Marking a resolved.
Reply

#21
I'd like you to fix your configuration too, so that I don't have to ask you to reset it the next time you ask for support.
Reply

#22
(07-02-2013, 05:24 AM)Mr. Bougo Wrote: I'd like you to fix your configuration too, so that I don't have to ask you to reset it the next time you ask for support.
Did Nexuiz damage my config?
Anyway to reset it do I have to delete it. Also is it in the same directory that I got the log from?
Reply

#23
Yes, it did damage your config, I said that in a post above. You had the campaign set to Nexuiz', which is why your menu VM crashed.

The config file is config.cfg. It contains your binds and everything else, so make a backup and move it away.
Reply

#24
(07-03-2013, 03:12 AM)Mr. Bougo Wrote: Yes, it did damage your config, I said that in a post above. You had the campaign set to Nexuiz', which is why your menu VM crashed.

The config file is config.cfg. It contains your binds and everything else, so make a backup and move it away.

Have done and reset my resolution
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Change mapinfo to make a CTF map a CTS map. Bhagwa-Yodhak-69 3 2,683 09-08-2020, 06:03 AM
Last Post: _para
  Change campaign last level beat permanently Pallama 2 4,135 02-07-2020, 02:22 PM
Last Post: DarkFox
  [NEED HELP] Xonotic change data directory Bla1 2 2,463 06-26-2019, 12:45 AM
Last Post: Bla1
  [NEED HELP] How to change dualshock gamepad sensitivity? NEOalquimista 2 4,468 09-04-2017, 11:25 AM
Last Post: It'sMe
  [NEED HELP] Setting up Xonotic on my school shared directory Bla1 11 7,707 03-09-2017, 03:15 PM
Last Post: Mr. Bougo
  [SOLVED] How can I change my name here on the forum? wannawin 7 5,807 08-23-2016, 06:52 PM
Last Post: wannawin
  [SOLVED] Change items models Andrii 19 16,446 09-28-2014, 04:36 PM
Last Post: Andrii
  [SOLVED] How to change Refresh Rates? kidx 1 3,562 01-04-2014, 06:59 AM
Last Post: Mr. Bougo
  [SOLVED] Can you save maps you download whilst playing online? axe 10 10,826 04-04-2013, 08:49 AM
Last Post: axe
  [SOLVED] Change level settings in single player inini 3 7,578 02-24-2013, 05:23 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

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