commandline launch with compatmode

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

commandline launch with compatmode

Postby krutomisi » Sun Feb 28, 2021 11:27 am

Windows 10, GZDoom v4.5.0
launching via commandline using switches for compatmode i.e

+compatmode 1
+set compatmode 1

changes what is shown as the selected compat mode preset but doesn't appear to change any of the underlying variables
the numbers in the menu under compatflags/compatflags2 don't change either
User avatar
krutomisi
 
Joined: 11 Jan 2021

Re: commandline launch with compatmode

Postby Graf Zahl » Wed May 19, 2021 10:43 am

What we have here is the great undefined-ness of order of execution for static C++ constructors. In this case they pretty much mess up each other's values.
Fixing this would require some major refactoring of how CVARs get set up. It has been on my wishlist for some time, but never became urgent.

Maybe after 4.6.0 - it's something that could be useful for Raze as well.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest