See title. I haven't found an answer
Just so you know, everything is working - GZdoom g4.14.0 found the IWADs from my Steam Copies of Doom and others, but as a fan of knowing how things work I'd like to inspect what exactly are the default paths stored in environment variables $DOOMWADDIR, $HOME and $PROGDIR and if there are ways to reconfigure these variables on windows.
The environment variables are found under [IWADSearch.Directories] in the gzdoom.ini file generated by GZDoom upon launch. But I've yet to find where these variables are configured and whether it is possible to have them point to another path.
[Windows] How to setup the environment variables GZDoom uses to searchfor IWADs?
Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers
Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
-
HenKonen
- Posts: 2
- Joined: Fri Feb 07, 2025 3:24 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
-
Rachael
- Posts: 13987
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: [Windows] How to setup the environment variables GZDoom uses to searchfor IWADs?
They are dynamically generated from hard code.
https://github.com/ZDoom/gzdoom/blob/ma ... lpaths.cpp
For finding Steam/GOG games it tries to locate your database and then search games based off of that.
https://github.com/ZDoom/gzdoom/blob/ma ... _steam.cpp
https://github.com/ZDoom/gzdoom/blob/ma ... lpaths.cpp
For finding Steam/GOG games it tries to locate your database and then search games based off of that.
https://github.com/ZDoom/gzdoom/blob/ma ... _steam.cpp