[df2b3b6b1] [all] Weird behavior detecting games

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
hjkos
Posts: 14
Joined: Thu Feb 25, 2016 9:01 pm

[df2b3b6b1] [all] Weird behavior detecting games

Post by hjkos »

Running on linux, globs * seem to work weirdly.

Code: Select all

SteamApps/common/Shadow Warrior Classic/gameroot/classic/
finds both Shadow Warrior and Wanton Desturction but

Code: Select all

SteamApps/common/Shadow Warrior Classic/gameroot/classic/*
finds only Shadow Warrior.

For long time I couldn't figure out why Raze tells me "Unable to find any game data. Please verify your settings." if i run it anywhere except for ~/.config/raze, turns out i had to add

Code: Select all

Path=$HOME/.config/raze
in addition to default

Code: Select all

Path=$HOME/.config/raze/*
, otherwise it wouldn't find the raze.pk3
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [df2b3b6b1] [all] Weird behavior detecting games

Post by mjr4077au »

Detection on Linux is probably less tested than other platforms, unfortunately. When I get a chance, I'll boot in to Arch Linux and see what I can find from my Steam library.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [df2b3b6b1] [all] Weird behavior detecting games

Post by Graf Zahl »

This is a misunderstanding. These two lines with and without an asterisk do very different things. Without an asterisk it will add the given directory and with an asterisk it will add all subdirectories of the given directory but not the directory itself. This is entirely by design because users may have a directory which has subdirectories for all games but the contents of that main directory are not supposed to be scanned
hjkos
Posts: 14
Joined: Thu Feb 25, 2016 9:01 pm

Re: [df2b3b6b1] [all] Weird behavior detecting games

Post by hjkos »

Can there at least be a different kind of error when raze.pk3 isn't found? I placed (a symlink for) it in ~/.config/raze/ and couldn't figure out why it can't find any games unless i'm in directory with it.
Post Reply

Return to “Closed Bugs [Raze]”