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

[Possibly already in] Launch the game specifiying CVAR values from command line? #600

Open
hfc2x opened this issue Sep 2, 2023 · 1 comment

Comments

@hfc2x
Copy link

hfc2x commented Sep 2, 2023

Hey, I don't know if this is already a feature, but if it's not, it would be nice to have the possibility of adding user-defined values to certain CVARs like Quake games (for example) allow to do.

This is mostly because I'm having trouble getting Eternity to detect my Master Levels folder by default on Linux, and the master_levels_dir CVAR can be directly written to in the console, but I wanted to know if there's a way of setting it from the terminal.. at least for the first launch. Currently, the only ways I know this is done is either by using the WAD options when the game is running, or by editing the system.cfg file.

I mentioned the Quake games, because I was thinking probably it could work like this: ./eternity -iwad ./DOOM2.WAD +set master_levels_dir "./Master Levels WADs/".

Can this already be done and it's just not documented, or is it not a feature?

@hfc2x
Copy link
Author

hfc2x commented Oct 29, 2023

I figured out that there's a way around this by making a custom console command script (*.csc file) that sets this CVAR on launch, and using the -exec command to call the desired script, and although this solves the problem it's still not really ideal.

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

1 participant