Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: custom path for config file #41

Open
amir-arad opened this issue Sep 1, 2021 · 3 comments
Open

feature request: custom path for config file #41

amir-arad opened this issue Sep 1, 2021 · 3 comments

Comments

@amir-arad
Copy link

amir-arad commented Sep 1, 2021

Hi
I'm using devreorder as part of my LAN setup. for managability purposes, I'd like to be able to set a custom parameter for devreorder for the configuration file location.
so instead of running mygame.exe I could run mygame.exe --devreorder_path="C:\My Folder\devreorder123.ini"
or, using an environment variable perhaps:

set devreorder_path=C:\My Folder\devreorder123.ini
mygame.exe

and have devreorder load its configuration from C:\My Folder\devreorder123.ini instead of the working directory / ProgramData etc.

is this possible?

@briankendall
Copy link
Owner

Yes, it's possible, and I think it's a good idea, but it would require making a change to devreorder. In the meantime, is it possible for you to create a symlink at C:\ProgramData\devreorder\devreorder.ini that points to the ini file you want to use?

@amir-arad
Copy link
Author

not really. my use case is running two game instances on the same machine, each with its own config file.

@briankendall
Copy link
Owner

Have you tried putting devreorder.ini in the same folder as the game's exe? It will look for config files in the directory of the running exe first, which is how it's intended to allow different configs for each game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants