Page 1 of 1

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

PostPosted: Tue Dec 31, 2019 3:36 am
by Rachael
v1.1 released!

This is a project that converts your .ini file into a defbinds/defcvars/keyconf equivalent.
v1.1 is updated to work with the newest version of GZDoom

This program is a command-line application - meaning you will have to run it from the command prompt or terminal screen/window appropriate to your system.

Download

Source repo: https://github.com/madame-rachelle/gzdo ... -converter
Spoiler: v1.0

Spoiler: older crap

Re: [v0.0] gzdoom.ini to defbinds + defcvars + keyconf conve

PostPosted: Tue Dec 31, 2019 6:25 am
by Redneckerz
This will come in handy. Stuff like this is something you only come up with when the existing methods are not very user-friendly, to say the least.

Thanks for this Rachael, and a happy NY to you aswell :)

Re: [v0.0] gzdoom.ini to defbinds + defcvars + keyconf conve

PostPosted: Tue Dec 31, 2019 6:32 am
by Rachael
Thank you Redneckerz. :)

I plan to rewrite this in C++ (or possibly BASIC, since it's easier) completely, the batch script was mainly to get an idea of the final structure of the program when I do.

Re: [v0.0] gzdoom.ini to defbinds + defcvars + keyconf conve

PostPosted: Tue Dec 31, 2019 7:17 am
by Enjay
I haven't had a chance to try this yet but thank you very much. As soon as I saw the defcvars lump being discussed, I knew that it would be something that I would find useful for stand-alone projects and I knew that it would mean me writing new lumps (and learning their format). If this tool can give me some help in at least making the initial files, then the final polish that I'd need to put in by hand should be so much easier. Thanks again. :)

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

PostPosted: Thu Jan 02, 2020 10:58 pm
by Rachael
First stable release!

This is now a full C++ program. Note that you will have to run it from the command line, and likely in its own folder.

Also, for Windows it currently does not check for gzdoom-%username%.ini - so you'll have to rename your gzdoom.ini file. (gzdoom_portable.ini will work though, if you insist on running it inside your gzdoom folder)

Re: [v0.0] gzdoom.ini to defbinds + defcvars + keyconf conve

PostPosted: Sat Jan 04, 2020 7:54 am
by Redneckerz
Rachael wrote:Thank you Redneckerz. :)

I plan to rewrite this in C++ (or possibly BASIC, since it's easier) completely, the batch script was mainly to get an idea of the final structure of the program when I do.

You are welcome, Miss Rachael :) And congratulations on the conversion to C++.

Just to confirm what Enjay postulated - This is, among other things, handy for Standalone games, right? I noticed that a basic ''purpose'' text was missing in the OP.

Ill put this on the work queue for R667.

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

PostPosted: Sat Jan 04, 2020 8:12 am
by Rachael
Yeah it's mostly meant for standalone games.

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

PostPosted: Sat Jan 04, 2020 11:58 am
by Redneckerz
Rachael wrote:Yeah it's mostly meant for standalone games.

Perfect, that's the description needed then.

Again - Thanks for this kind of thing. 8-)

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

PostPosted: Sat Jan 04, 2020 2:10 pm
by Rachael
You're welcome.

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

PostPosted: Sun May 15, 2022 9:30 am
by Rachael
A long overdue update.

Works with the latest version of GZDoom now, plus many more platforms/architectures available. You can run this thing on your overly heat-tortured potato.

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

PostPosted: Sun May 15, 2022 10:01 am
by Enjay
Thank you kindly. I had used the previous version for a couple of projects to good effect. Nice to see you're still giving it love.

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

PostPosted: Sun May 15, 2022 10:26 am
by Rachael
Nice to hear that and thank you for the kind words :)

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

PostPosted: Fri May 20, 2022 5:44 am
by Nash
Thanks for the update, Rachael. I have been using this tool a lot for packaging my standalones. :)

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

PostPosted: Fri May 20, 2022 8:04 am
by Rachael
Thank you, Nash, it's always nice to know how something is being used and that I did create a tool that ended up being useful for other people. :)