devreorder icon indicating copy to clipboard operation
devreorder copied to clipboard

feature request: custom path for config file

Open amir-arad opened this issue 3 years ago • 3 comments

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?

amir-arad avatar Sep 01 '21 11:09 amir-arad

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?

briankendall avatar Sep 01 '21 14:09 briankendall

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

amir-arad avatar Oct 28 '21 21:10 amir-arad

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.

briankendall avatar Oct 29 '21 03:10 briankendall