Closed erysdren closed 11 hours ago
We could borrow some relevant code from Chocolate Doom:
https://github.com/chocolate-doom/chocolate-doom/blob/master/src/d_iwad.c
I'm also looking at Ironwail:
https://github.com/andrei-drexler/ironwail/blob/master/Quake/steam.c
Here are some default *nix installation paths for ROTT on digital storefronts:
I was thinking that these could be queried to see if they exist, and if so, add them as a data path. Not all of them at once, just the one/s that exist. The Ironwail Quake sourceport does a similar thing with the Quake and Quake Remastered data from Steam.
Not sure what to do if the user has customized it. Under Windows, you could pull registry keys to find out the Steam library locations and iterate over them (maybe the same for GOG?). These paths will also be different under Mac OSX.