IterateGameDirectories
Returns a table of all game directories.
An example of an absolute path to Win64: Q:\SteamLibrary\steamapps\common\Deep Rock Galactic\FSD\Binaries\Win64.
To get to the same directory, do IterateGameDirectories().<Game Name>.Binaries.Win64.
- You can use
.__nameand.__absolute_pathto retrieve values. - You can use
.__filesto retrieve a table containing all files in this directory. - You also use
.__nameand.__absolute_pathfor files.
Return Value
| # | Type | Information |
|---|---|---|
| 1 | table | The game directories table |
Example
for _, GameDirectory in pairs(IterateGameDirectories()) do
print(GameDirectory.__name)
print(GameDirectory.__absolute_path)
end