#101 posted by Spirit on 2012/03/07 18:48:50
Hm, did you launch zer or zer11? zer11 was broken, I fixed it now.
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.
#103 posted by necros on 2012/03/07 21:16:12
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
#104 posted by megaman on 2012/03/11 16:26:02
let injector scan for them from the menu
#105 posted by Spirit on 2012/11/15 17:46:13
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..,
#106 posted by madfox on 2012/11/28 09:23:30
#107 posted by Spirit on 2012/11/28 16:21:52
Nice!
Jappers And Mobs
#108 posted by madfox on 2012/11/28 21:40:24
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.
#109 posted by dooomer on 2013/06/24 16:07:45
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.
#110 posted by Spirit on 2013/06/24 16:40:59
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
#111 posted by dooomer on 2013/06/25 03:56:05
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
#112 posted by dooomer on 2013/06/25 04:02:54
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
#113 posted by dooomer on 2013/06/27 03:57:12
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
#114 posted by dooomer on 2013/06/27 13:01:31
Bug Report
#115 posted by dooomer on 2013/07/27 05:36:02
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.
#116 posted by Spirit on 2013/07/27 10:57:39
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 ?
#117 posted by dooomer on 2013/07/27 15:39:59
Just tried again a minute ago, and the bug seems to be gone now. Thanks Spirit!
Spirit
#118 posted by necros on 2013/07/27 18:47:13
can you describe more what the problem is? what is the hack in your query?
#119 posted by Spirit on 2013/07/27 21:00:27
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
#120 posted by Spike on 2013/07/27 21:05:53
use names instead of * ?
#121 posted by necros on 2013/07/27 23:58:25
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?
#122 posted by Spirit on 2013/07/28 12:21:46
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!
#123 posted by necros on 2013/07/28 17:41:58
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.
#124 posted by Joel B on 2014/04/06 21:36:34
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.
#125 posted by Joel B on 2014/04/06 21:50:03
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.
|