Skip to content

locating 3ZBConfig.cfg w/ +basedir #9

Description

@nephatrine

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions