[v1.5] gzdoom.ini to defbinds + defcvars + keyconf converter

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.1] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Rachael »

You're right, but I can stick it in the repo anyway, so that's what I did, hopefully I remember to publish a new version on GZDoom's next release.
User avatar
Nash
 
 
Posts: 17477
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [v1.1] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Nash »

Update time? =D
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.1] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Rachael »

Been working on it. Not my highest priority since this is work time for me. But I'll probably have a release sometime today.
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Rachael »

v1.2.0 - updates the cvar blacklist and adds a few new ones for GZDoom 4.8.0
User avatar
Nash
 
 
Posts: 17477
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Nash »

v1.2.0 should be compatible with GZDoom 4.8.2, right? There haven't been any CVar additions/removals since?
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf conve

Post by Rachael »

Correct, always worth testing though to see if you get console warnings. If you do, let me know.
User avatar
Nash
 
 
Posts: 17477
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Nash »

It's me again, your loyal customer, asking for GZDoom 4.9 support. ;P
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Rachael »

Nash wrote: Sun Nov 06, 2022 12:42 pm It's me again, your loyal customer, asking for GZDoom 4.9 support. ;P
There isn't much changed and admittedly every time I get into this seriously I get distracted with something and forget, sorry >.< I intend to do a new release soon.
User avatar
Nash
 
 
Posts: 17477
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Nash »

It's alright, if 4.9.1 comes out soon, maybe it can be updated to that instead. :P
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.2] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Rachael »

Oh, I keep forgetting to post here - I updated to v1.3.0 a few months ago.
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.4] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Rachael »

v1.4.0 released.
aJynks
Posts: 27
Joined: Fri Aug 30, 2024 6:19 pm

Re: [v1.4] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by aJynks »

This tool seems like it will be a life saver in making my "default" cfg setting and stuff... but eveytime I run it... the resulting defbinds.txt and keyconf.txt are empty, only defcvars.txt has stuff inside it..... ? Is there something else that needs to be present besides gzdoom.ini?
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.4] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Rachael »

The tool needs to know the names of the configs you need to use. GZDoom.ini stuffs the configs for all the games inside the same file, so if you want a new default config set it needs the proper name of the game so it knows which one to grab. Like ./convert-config doom or something like that. If everything was created because of a mod, then it needs the mod name too, like ./convert-config doom brutaldoom or whatever matches what gets put in the .ini

If you have Linux or Mac OS you can type grep Bindings gzdoom.ini and it will give you a list of header names that way. They generally will be in [GameName.ModName.Bindings] format as returned by grep.

The same thing can work for Windows except it would be find "Bindings" gzdoom.ini
User avatar
Rachael
Posts: 13881
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: [v1.5] gzdoom.ini to defbinds + defcvars + keyconf converter

Post by Rachael »

Updated to v1.5.0.

Thanks Nash for the blacklist update.

Return to “Creation, Conversion, and Editing”