How to specify custom default conf filename in Windows build? #5461
Unanswered
emendelson
asked this question in
Q&A
Replies: 3 comments
-
Config::ParseConfigFile in setup.cpp may be the first place you should look into. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@maron2000 - Thank you! I've looked there and in sdlmain.cpp, but I can't find anyplace where this kind of default filename gets constructed:
Probably it's staring me in the face, but I've managed to miss it.... |
Beta Was this translation helpful? Give feedback.
0 replies
-
Cross::GetPlatformConfigDir in cross.cpp seems to be the answer. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The answer to this should be obvious, but I can't find it in the code. I want to make a custom build of DOSBox-X for Windows that will use a different default conf file from the conf file used by the custom build. I want to do this so that I can distribute a copy of DOSBox-X with custom settings built in by being specified in sdlmain.cpp and other files, and I want to make sure that this custom build won't pick up the default settings from a different copy.
Is this possible? Again - I'm trying to do this without expecting the user to specify a conf file in the command-line. I'm trying to do this so that the default conf filename is built into the app itself.
Many thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions