OpenArena / engine

OpenArena modifications to the ioquake3 engine
http://openarena.ws
GNU General Public License v2.0
214 stars 51 forks source link

Missing default.cfg file causes game to crash #93

Open unrealapex opened 2 weeks ago

unrealapex commented 2 weeks ago

Issue When I try to start OpenArena, I get the error "Couldn't load default.cfg". It appears this problem originates from the pak0.pk3 file in baseoa/. Steps to Reproduce

  1. Run the OpenArena binary(openarena.x86_64): ./openarena.x86_64
  2. See error "Couldn't load default.cfg. See /home/user//.openarena/baseoa/crashlog.txt for details."

I have tried to create this file in various sub directories in ~/.openarena that I thought OpenArena would read, but that did not work. I also tried downloading OpenArena but the official website and BitTorrent, but that did not change anything either.

I am playing OpenArena 0.8.8 on Gentoo Linux.

oitzujoey commented 2 weeks ago

This is a mechanism of Q3/OA engine that was surprising to me when I first came across it. You need the "baseoa/" directory in the same directory as "openarena.x86_64". That directory should be where the pak*.pk3 files are. I do not believe this is a bug since Ioquake3 acts in a similar way.

unrealapex commented 2 weeks ago

I am running the binary in the same folder.

https://bpa.st/T3DMQ

unrealapex commented 2 weeks ago

Fixed it by running OpenArena with a different fs_homepath:

/home/aaron/Games/openarena-0.8.8/openarena.x86_64 +set fs_homepath ~/.local/share/openarena
The-Gig commented 2 weeks ago

Good that there's a workaround for that, but still sounds like a bug which should be looked into. AFAIK the default homepath under Linux should be ~/.openarena/ and that should be a shortcut for /home/username/.openarena/ Assuming you are using OpenArena engine or some other fork which keeps ioquake3-style default homepath ("quake3e" engine, for example, sets default homepath the same as basepath, like the original q3a engine)...

The-Gig commented 2 weeks ago

@unrealapex Do you want to reopen the issue?

unrealapex commented 2 weeks ago

That's probably a good idea. Setting the homepath to ~/.openarena doesn't work either.