sultim-t / vkquake-rt

GNU General Public License v2.0
345 stars 14 forks source link

Relative path support #10

Open faelnor opened 1 year ago

faelnor commented 1 year ago

vkquake-rt differs from all other Quake ports (including vanilla vkQuake) in that it needs the id1 folder (and other game folders) to be in the same root as the executable.

Trying to start it from another directory results in RG_ERROR_CANT_FIND_BLUE_NOISE. This breaks the way I typically manage my maps and executables (i.e. put the engine in a dedicated folder and invoke it from one level above where all game folders including id1 reside).

Would be great if normal behaviour could be restored.

Calinou commented 1 year ago

Trying to start it from another directory results in RG_ERROR_CANT_FIND_BLUE_NOISE. This breaks the way I typically manage my maps and executables (i.e. put the engine in a dedicated folder and invoke it from one level above where all game folders including id1 reside).

As a workaround, you can write a script that cds to the game folder then runs the executable directly.

This should probaly be fixed in vkQuake upstream regardless.