News | Forum | People | FAQ | Links | Search | Register | Log in
Quake Injector Alpha2
A new version of:
The Quake Injector is a tool to download, install and play Quake singleplayer maps from the Quaddicted.com archive. Ever been annoyed by an excruciating installation process? Could not figure out how to install a certain map? Well, this tool makes it a piece of cake. Simply pick the map and click Install.

-Scan your Quake directory for already existing maps -and mods
-More stable and safe, less bugs
-Icon by the graphical genius Starbuck
-Rating is shown with golden stars
-Progressbars for anything downloading
-Better engine config dialog
-Window that shows you the engine output
-Links open in browser
-Downloads are stored locally
-Uses a custom user-agent when downloading
-Conflict handling

Screenshot: http://www.quaddicted.com/wp-content/uploads/quakeinjector-alpha2.png
Homepage: http://haukerehfeld.de/projects/quakeinjector/
Download: http://haukerehfeld.de/projects/quakeinjector/files/quakeinjector-alpha2.zip
Quaddicted Spam: http://www.quaddicted.com/quake-injector/quake-injector-alpha2/
First | Previous | Next | Last
 
it was zer.
i replaced the zer progs files with the zer11 patch, as i knew that was a patch fix.

anyways, spirit, cheers, it loads fine now!

i guess being that i'm new to these maps, i can feed yer updates on what maps/mods don't run properly in qi. 
 
i only use the injector for one off maps... anything that's a mod i just install that myself.

the big appeal of the injector is having the quaddicted library available at my fingertips. but there are few big mods so installing them myself isn't an issue.

just throwing that out there... 
Existing Maps 
let injector scan for them from the menu 
 
Playing around with Windows 7 I noticed that neither DirectQ nor Quakespasm (both slightly older versions) seem to write anything to stdout. This means we currently open an empty window just to annoy the user.

Also it looks really ugly on Windows. The serif font for the map description looks too Times New Roman I guess. 
Scratched The Quake Injector.., 
 
Nice! 
Jappers And Mobs 
It's modelled to the Quakaddict logo.

I was thinking of filling the ring with a running soldier, while the heart could be a gimmick of a demo slowly turning quakedammage.

Then I read your post again in jobs & mappers and realized you needed something tottaly different. 
A Portable Quake Injector Is Now Available. 
Hi there,
I wrote a bat file to run Quake Injector in portable mode. By portable I mean it will no longer ask you for the position of game folder or the path to quaddicted_database.xml. You can now keep the game and the launcher in a USB disk and take it with you, and whenever you want to play, simply double click the provided "run.cmd".

the download link is:
http://www.quaketastic.com/upload/files/tools/QuakeInjector_offline_pack.zip

Further info:
0. Let's assume you are in the QuakeOne\QuakeInjector folder after extraction

1. to update quaddicted_database.xml (map list), use .\Update\Update.cmd

2. place this folder (QuakeInjector) into your Quake game folder, where you can also find id1 folder

3. double click run.cmd to launch the Injector

4. downloaded maps will be stored into .\maps

5. you can download every zip file under "http://www.quaddicted.com/files/maps/singleplayer/" and store them in .\maps, and now you have a Quake SP map archive of your own! Just remember to only download one zip file at a time, to avoid placing too much stress on Spirit's server!

6. to avoid cluttering the Quake game folder, I like to place different engines into ..\Port folder, and their accompanying dll files into ..\Port\dll folder, and use "Play Quake.cmd" to launch them. Here I included darkplaces (20130621 autobuild windows) as an example. You may choose "Play Quake.cmd" as the startup file for launching a map in the Injector. 
 
That is really nice but please do it again with proper attribution of your sources. :(

PS: We really need to make those readme files Windows XP friendly. Stupid Notepad, stupid stupid Notepad... Stupid negke too! Is the Windows 7/8 Notepad still as stupid? Not worth changing things if it is just about XP.

PPS: It is called Quake, not QuakeOne FFS! 
OK Updated With Proper Credits 
New download link:
http://www.quaketastic.com/upload/files/QuakeInjector_offline_pack_update1.zip

1. credits given in a credits.txt
2. changed name of setting file in .\id1 from dooomer.txt to setting.txt
3. changed readme.txt in .\QuakeInjector\doc to be notepad friendly
4. changed darkplaces.txt in .\port to be notepad friendly
5. kept the QuakeOne folder name to avoid confusion. You may simply rename it
6. the url in point 5 of my previous post should be http://www.quaddicted.com/filebase/ 
Ah Fuck, I Uploaded The File 
to http://www.quaketastic.com/upload/files/ instead of http://www.quaketastic.com/upload/files/tools/ !


Can someone move the file to tools and update the download link in post #111? 
OK, The Updated File 
has been deleted by admin of Quaketastic because it was uploaded to the wrong place.

Will upload again to the correct path later today. 
Uploaded 
Bug Report 
Recent version of quaddicted_database.xml from quaddicted.com seems to contain incorrect information resulting in only one entry shown on injector.

I opened it up in text editor and found that id for every entry is now 1374765832, thus only one entry is shown. Manually changing the id seems to correct the issue, but it's apparently impossible to edit every entry because it's extremely time-consuming. 
 
Should be fixed by adjusting an ugly hack to a changed database scheme. Sorry and thanks for reporting!

Maybe someone knows how to make it not a hack:

My query is SELECT * FROM maps LEFT OUTER JOIN (SELECT zipname, GROUP_CONCAT(bsp) AS startmaps FROM startmaps GROUP BY zipname) AS group_subselectbsp ON group_subselectbsp.zipname = maps.zipname LEFT OUTER JOIN (SELECT zipname, GROUP_CONCAT(dependency) AS dependencies FROM dependencies GROUP BY zipname) AS group_subselectdep ON group_subselectdep.zipname = maps.zipname WHERE maps.type!=4 ORDER BY maps.zipname;

With one array per row it leads to the ['zipname'] being empty but the numeric id ([2] here) being fine:

Array
(
[0] => 1
[id] => 1
[1] => 1374765832
[timestamp] => 1374765832
[2] => 100b2
[zipname] =>
[3] => 2
[type] => 2
...


I have no clue why. 
Bug Fixed ? 
Just tried again a minute ago, and the bug seems to be gone now. Thanks Spirit! 
Spirit 
can you describe more what the problem is? what is the hack in your query? 
 
The problem is that somehow I do not get the column name of "zipname". I instead I access it by the number [2] (was [1] before I added a column, that's what broke). No idea if it is a PHP problem, if I use the sqlite3 CLI tool it does label the columns correctly.

https://github.com/SpiritQuaddicted/Quaddicted-reviews/blob/master/quakeinjectorxml.php 
 
use names instead of * ? 
 
have you tried creating views in your DB instead and then just querying the views?

also, is there somewhere i can see the DB structure? 
 
Spike: That did it. I had three "zipname" columns so no wonder it went weird. I only select what I need now and it works like a charm. Thanks!

necros: There is an older database linked in https://www.quaddicted.com/forum/viewtopic.php?id=51 . Only change since then is the addition of a timestamp column for all tables: timestamp DATE DEFAULT (strftime('%s','now'));

You mean views for the subselects, right? That might be a good idea indeed! 
 
i actually meant a view for the entire query. i don't know if it's the right thing to do, but i always prefer to store all my queries in the db itself so that my front ends are only ever doing queries like select * from my_view. this way, it simplifies my front end and hides everything about the db. 
 
There's a corollary of post #26 in the Quoth Launcher thread that might be worth dropping in here, for any Quake Injector users that are ignoring that thread...

So: For various reasons, I like to launch Quake through Steam. If you are in the same boat, it turns out it's way easy to use Quake Injector to do this. In the configuration dialog:

* Make sure that "-applaunch 2310" is at the beginning of the "Quake commandline options". You can have more options after that; it just has to be first.

* Set your "Quake Directory" to be the directory where you have installed Steam. For me this is "C:GamesSteam"; for you it might be "C:Program Files (x86)Steam".

* Set your "Quake Executable" to "Steam.exe".

Now when you launch Quake using Quake Injector, it will run Quake through Steam.

Unfortunately this is limited to running the Winquake.exe file in the Steam Quake folder, but nothing is stopping you from replacing that file with a QuakeSpasm executable or DarkPlaces or whatever. 
 
Hmm one sticking point there.

The "Quake Directory" actually has to be set to the steamapps\common\quake folder in order for new downloads to be installed correctly.

However that makes Steam print some warning messages about not being able to find a localization resource. Not sure yet how much that matters. 
 
Yeah, setting "Quake Directory" to the steamapps\common\quake folder is the way to go, and things work pretty well. To tie it all up:

1) The warning message about not finding a localization file appears to be mostly harmless. The localizations won't even be used unless the Steam bootstrapper encounters some issue running Quake.

2) You can make the message go away by copying the relevant folder and file (Public\steambootstrapper_english.txt, or whichever is appropriate for your language settings) from the Steam folder down into the Quake folder. This is kind of ugly though, and might break if a later Steam update changes the file. Actually creating a shortcut might also work; didn't try that.

3) It's easy to change the Quake Injector code to be more tolerant of these situations where the exe is not in the basedir. In the case of this Steam hack, the change would make it run Steam from the right working directory so that it finds the localization file.

4) Even if I get rid of the localization problem, I also see another warning in the case where Steam hasn't been launched yet: "[0406/174210:ERROR:resource_bundle.cc(417)] Failed to load C:\Games\Steam\bin\chrome.pak". It turns out that the current version of Steam always generates this message when I start it; I just usually won't see it unless I dig through Steam logfiles. It's harmless.


So, because of 1) and 2) it's workable. As for 3), I don't know if a new release of QI will ever be in the cards, but I'll mail Spirit about the patch. Fixing 4) is above my pay grade. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.