by SanyaWaffles » Fri Apr 24, 2020 1:45 am
https://github.com/coelckers/gzdoom/pull/1075
I used the code you supplied and tested it. It doesn't overwrite the settings if it's loaded from a standard WAD or PK3. However, if it loads from an IWAD/IPK3/IPK7, it will.
Tested with the following files:
https://www.dropbox.com/s/0jehjgtq9cs8q ... t.pk3?dl=1 Is just a dummy PK3 with a DEFBINDS in it and nothing more.
https://www.dropbox.com/s/h3193g4rsspad ... .ipk3?dl=1 is an IPK3 with a typical IPK3 setup - DEFBINDS, CVARDEFS, palette, IWADINFO.
https://github.com/coelckers/gzdoom/pull/1075
I used the code you supplied and tested it. It doesn't overwrite the settings if it's loaded from a standard WAD or PK3. However, if it loads from an IWAD/IPK3/IPK7, it will.
Tested with the following files:
https://www.dropbox.com/s/0jehjgtq9cs8qw4/defbinds-test.pk3?dl=1 Is just a dummy PK3 with a DEFBINDS in it and nothing more.
https://www.dropbox.com/s/h3193g4rsspadgs/defbinds-test-IPK3.ipk3?dl=1 is an IPK3 with a typical IPK3 setup - DEFBINDS, CVARDEFS, palette, IWADINFO.