Quake Injector Qt

Mark/check the option “show hidden collumns” in configurarion/preferences. The collumn “zipbasedir” shows where to “unzip/install” the maps/mods. Empty “zipbasedir” means “quake” directory. In “quaddicted_database.xml” there is the tag “zipbasedir”.

Thanks for that, I didn’t think of looking in the database, I’ll have do do an edit there to get a new install location.

Regarding my above comment about having an option to load a customised database. QIQT already creates installedmaps.xml and this could possibly become an alternative database if the other info was copied over too, then all that is needed is the option to load it. This is just a suggestion based upon QIQT’s current behaviour.

I uploaded at sourceforge a new nersion of qiqt (0.15). This new version is working with 3 different databases:

  • quaddicted_database.xml (Old DB)
  • jsons (new DB)
  • quaddicted_database_c.xml (Customized DB)

Video showing custumized DB and Mjolnir:

https://youtu.be/tkP_LnqPULw

Configuration / Precerences:

3 Likes

Thanks for adding these features. I’ve finally found a decent editor for xml databases in Linux - BaseX, so I can get to work with this. I’m wondering if a database can be created automatically as I install maps, like installed_maps.xml is created, this would save a lot of manual editing.

I’ve never had to use a database before so I’m in a learning phase and will probably stick to xml now that I’ve found a good editor. Is there an advantage to a json database, and why is the file much larger in size?

You can use plain text editor (FeatherPad) to change the file “quaddicted_database_c.xml“

I dont know why they changed the database to json.

It's just much easier to work with and better supported in various tools, databases etc. I hope it wasn't too much work to adjust. Thanks for this great tool!

1 Like

BaseX has some good visualisation options, including the table format we see in Quake Injector so it’s good for people new to databases like me, Text editing is ok but not so much once the db get really large

BaseX will load the jsons file but doesn’t display it - either it’s not implemented properly or I need to find the right options. Are there any good json database editors for Linux? LibreOfficeBase won’t load jsons, but again I might be doing something wrong.

You can rename the file “jsons” to “jsons.json” and open the file with firefox.

Thanks Spirit.

One advantage of using the jsons database is that it includes quite a lot of newer maps that I hadn’t previously seen, so I’ll probably get to work adding these to the customised database. I’m happy to stick to xml for now as the browser method (and BaseX) only allow for editing the json in raw text mode.

I’ve only seen full json editors for Windows so far, although there are a lot of online ones which also do conversion to xml. I’m wondering why the json file size is so much larger than the xml database.

It lists all the files and their details, and that's a lot of data. This is beneficial for example because now tools can auto-detect whether you have given package already correctly installed by checking your local files against this JSON list.

I’m just getting used to xml and it seems friendlier for plain text editing. The full quaddicted database seemed daunting to me in plain text, I imagine the json one will be much harder to navigate. Until I find a dedicated editor for json in Linux I’ll be sticking to xml for now.

BaseX, when editing xml will display tables etc, but also the plain text when you click on an element, it’s pretty cool. It will load a json but only show the entire file as plain text, I’m on the 2022 version so maybe this has been improved.

Has the previous QI been fixed so it shows the newer database yet? If not then Snakeplisskinbr has done us a great service by making this work.

Yes, Quake Injector version 8 reads data from the API v1 = json, which is the only officially supported API going forward.

It’s clear to me now that the ability to load the json database is really the only way forward for Quake Injector. However the ability to load a customized database is worth keeping and is easier for me to create in xml format.

I’m finally seeing the advantage of the ‘second executable’ option. Mjolnir (mentioned above), Industrial Dreams (ad_dhsp1) and Peril3.0c don’t display properly on the latest Quakespasm (96.3) and I have to use Quakespasm-Spiked. More will probably crop up as I explore the more recent maps.