Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locating 3ZBConfig.cfg w/ +basedir #9

Open
nephatrine opened this issue Feb 29, 2020 · 0 comments
Open

locating 3ZBConfig.cfg w/ +basedir #9

nephatrine opened this issue Feb 29, 2020 · 0 comments

Comments

@nephatrine
Copy link

I'm trying to run a server on Ubuntu using their quake2-server package (which uses yamagi quake2). I've got 3zb2 installed and the game finds the game.so in /usr/lib/yamagi-quake2/3zb2 and is able to find the pak6.pak in /usr/share/games/quake2/3zb2... but doesn't appear to be able to locate the 3ZBConfig.cfg, routes, etc. even though they are in that same directory. Looking at the source a little, I think this is because the code is simply using fopen with relative paths like 3zb2/3ZBConfig.cfg which aren't guaranteed to be relative to the basedir. I think when the basedir is set, it should probably be using that as the base path to use when opening those files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant