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
W7/Vista Problems 
We had problems on Vista like that before, but I don't have a Vista machine, so I can't check myself. I recently got a W7 Starter machine though...

That check is a simple File.canWrite() (or something similar) check to the java api. Either I'm doing something stupid, the api is doing something weird, or Vista/W7 is fucked.

On my W7 laptop (where I disabled that weird service that controls file access), I can select my home dir fine, but NOT the Desktop (cannot be written to). What path do you try to set as Quake dir?

Johnny Law: Yeah, atm it's always downloading the list, caching is a planned feature.
And yeah, Spirit's the only one with access to the list, but we've been talking about this. A submission page for map authors would be nice. The problem is that some authority needs to double-check the files, because there could be malicious files in the zips. 
Submission Page? 
Not really worth the effort for the small number of new releases each year. Just stop slothing away all the time, Spirit! >:) 
Megaman 
The JavaDoc says that File#canWrite() "Tests whether the application can modify the file denoted by this abstract pathname."

Since you're trying this on a directory, I think that the behavior may simply be nondeterministic because it is not specified.

http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/java/io/File.html#canWrite() 
Nah 
Read a bit more, it seems to be ok to call canWrite on a directory, but it seems to have problems in Windows with NTFS ACLs and stuff. Maybe you can work around that shit by just trying to create a file in the Quake dir and catch any exceptions if it fails. 
Actually 
yeah, maybe that check is stupid. But then, it's perfectly plausible (and important?) to do it on unix.

http://www.google.de/search?num=100&hl=en&lr=&safe=off&as_qdr=all&q=java+file+canwrite+directory&aq=f&aqi=&aql=&oq=&gs_rfai=

Although that first bug has fix-delivered status?! 
Nice... 
the fact that it plays nicely with an existing maps directory makes this something i will now use constantly.

Some notes:

- console output might be nice as a panel on the main window rather than a modal dialog?

- i launched "rubicon" and it went straight to the main map; mods that contain a start map should load the start map instead.

- instead of user specifying "rogue" and "hipnotic" packs, could you detect them automatically? 
Oh.. 
found a bug... it did not detect that i had chaos.bsp already installed.

BUT... i realized now, this is actually becuase i have version 1.1 installed and the quaddicted file is the original release.

So it's not a bug, it handled the file mismatch pretty gracefully i think (asked me if i wanted to overwrite those files) 
 
necros if isn't w7 administrator is the windows firewall... for me no problems at all 
Metl 
The Rubicon start map issue is actually an issue with the information in the database. rubicon has no start map defined, if it had it would start the start map. Spirit! :D

The Bug: yeah, it's crc checking the files.

rogue/hipnotic: of course, that's a good idea ;-) 
Windows 7/Java Problem 
You can either set the ACL on your Quake directory to allow writing (use the "Everyone" security principal) or else configure C:\Program Files\Java\jre6\bin\javaw.exe (or C:\Program Files (x86)\Java\jre6\bin\javaw.exe) to use elevation and this should work. 
Megaman 
That bug was fixed before Vista came out I think, so it may have popped up again. Also, the bug was for a specific directory, maybe that directory still works, but others don't. It seems plausible that File#canCheck() should work for what you want, but since there's a simple workaround (create file, catch exception, finally delete file) I wouldn't waste too much time on this nonsense ;-). 
VirtualStore 
It's annoying but with Vista (I don't have W7 but it is likely the same) Quake doesn't write files in Program Files\Quake\id1 and such but rather the operating system transparently redirects it to say ... c:\Users\Main\AppData\Local\VirtualStore\Program Files\Quake\id1 
 
Baker Vista and W7 dont have nothing to do...

Vista = mister big bug
W7 = almost perfect system 
 
well, i've tried a whole bunch of different ways to get around it but no luck.

quake is in c:\games\quake.
i don't understand why, but ONLY the quake directory has this problem. i can select every other folder without problems. i tried messing around with security permissions for the quake folder, i tried different ways of elevating java when running the jar file and nothing worked. 
Do You 
have a custom icon / custom folder settings for that dir? 
I'll Try To Hotfix Soon, Btw 
 
 
have a custom icon / custom folder settings for that dir?

not that i know of. my quake folder has migrated from machine to machine over the years though, unlike, say, quake3 which i just reinstall whenever i switch. 
That Is Fucking Weird Then 
Can you do me a favor and test this some more?

0) see if anything in your quake dir is read only and try disabling read only mode on those files. Check if QI can write to your quake dir now.
1) if it cannot write, copy the complete folder to somewhere else (preferably in the same parent dir) and see if it works on that
2) if not, try moving it somewhere else
3) if it's still not working, try to delete the contents (but only the contents) of the subdirectories in that copy of your quake dir
4) if that still doesn't work, delete everything inside it
5) if it's still not working, try to reset the folder options for that particular folder. I don't know how exactly this works in Win 7, in XP there's view > customize folder in explorer that kinda looks like what I want. Maybe you can figure out how to reset it and try it.


Maybe we can figure out what's causing this. Thanks in advance! (And make sure you're not deleting your actual quake folder!) 
Argh 
i only recently installed the first QI.. wish i'd waited for this now. completely rebuilt my quake directory from scratch based on it and subsequently renamed many of the bsps & txts that didn't fit neatly in order (OCD habit)

would an installedMaps.xml generated by an earlier version still be compatible with this? so i could bypass the scanning (as it would miss a fair few) 
Yep, Most Probably 
I can't remember any changes, but then, it has been a while (and lots of commits) 
Well................... 
my quake folder is 8+ gb so i didn't copy the whole thing, just the root (quake executables) and the id1 folder.

and it works.

so... i just moved all the files in the original quake folder to the new one and it's fine. obviously there's some security setting or something i'm missing because even while empty, the original quake folder still cannot be written to.

now to go play some random quake maps. :) 
After Playing A Single Map 
initial impression:

-very cool, i'll come back to this again to play more maps.

-since this already connects to the internet and downloads files off of quaddicted, it would be great if we could see user comments as well as leave some ourselves from within the program. obviously, you'd need to enter your username/password into the injector.

-there needs to be like a 'recently downloaded' list so we can keep track of what we've downloaded. say i'm skimming through the list and download 4 maps.
-OR: alternatively, make a new sorting column called 'download date' or somesuch and then we can organize the files by download date.
-OR: keep track of which maps have been played or not in some manner that is visible to the user and let us sort that way (played vs unplayed)

in any case, very cool program. i love gui-fying these kinds of stuff lately. 
It Would Be Awesome 
if you could find out what happens there, so I can work-around/bug-report/warn in the readme. I'm trying to think of a way you could transfer that folder to me while preserving the windows specific settings... but I can't come up with something. Or we'd need a tool that lists all file/directory properties. 
 
Comments is something I first have to provide an API for at Quaddicted. Definitely something I will do.

Having maps marked as played is one of my wishes too. 
We Still Need A Good Concept For That 
 
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.