|
|
| Posted by Spirit on 2009/05/28 19:46:58 |
megaman and Spirit present: A first alpha version of the Quake Injector.
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.
Features
All Quake singleplayer maps ever made (900+ in the database)
Simply pick a map, click install and play
Filter, sort, browse to find your favourite map
Automatically installs dependencies (e.g. Quoth)
Cross-Platform
Free, Open Source Software, released under the GPL.
Screenshot: http://www.quaddicted.com/wp-content/uploads/quakeinjector_20090528.png
Check it out: http://haukerehfeld.de/projects/quakeinjector/ |
|
 |
#43 posted by JneeraZ on 2009/05/30 20:39:57
"I don't really see how I can 'fix' the behaviour then. I really don't want os specific code in there... I could possibly drop the executable check, but that would have consequences for the *nix guys. Also, I think it checks if the exe is a file, too... any ideas? "
Can't you just check the extension of the file and allow anything with ".app"?
 Well
I doubt that allowing .app directories would work. You have to point it to the actual executable inside the bundle I think - depends on whether processbuilder can execute .app bundles directly (doubtful). There is a system command to start an .app bundle called 'open', see here:
http://osxdaily.com/2007/02/01/how-to-launch-gui-applications-from-the-terminal/
But that's platform specific code again. On the other hand, do you want to be a purist and have an app that's sub-par for a bunch of users, or eat some dirt in the form of platform specific code and deliver a program that runs great for everybody? ;-)
#45 posted by JneeraZ on 2009/05/31 02:44:45
Well, "sub par" is a bit of a stretch as:
a) There are only handful of Mac users, and
b) Once you set it up once, you never have to look at it again.
I agree that it would be nicer if it worked slicker but ... I dunno, I think it's fine for a community based project. Rock on, guys!
Although I do agree that removing the progress bars once the download is done would be nice.
 It's Not Only The Purist Side
#46 posted by megaman on 2009/05/31 03:16:20
another - practical - problem is that i wouldn't be able to test mac-specific code :(
I'll look into it though.
 Yeah, What Willem Said
i tend to nitpick ;-)
 Hehe
#48 posted by megaman on 2009/05/31 10:37:00
that's a good thing!
#49 posted by Spirit on 2009/05/31 10:39:34
If .app would get an exception, then what about .sh, .bat etc...
How about a "ignore" option in the config dialog and have people who use non-executables as executables use that? Maybe not disable the save button but prompt with a "ignore errors?" box when there are errors?
Alternatively you can simply enter the filename in the config.properties file.
 OR
Maybe you can set a swing property to allow people to browse into the .app bundles. Problem solved. Check this out:
FileChooser. There are two properties for dictating the treatment of .app and .pkg files when using JFileChooser. Both properties need to be set programmatically in your application (you will need to make changes to your code). The properties for .pkg installer packages and .app application bundles, respectively, are
JFileChooser.packageIsTraversable
JFileChooser.appBundleIsTraversable
Possible values for these properties are always (treat as folders, the default behavior) and never (treat as files). These properties are set on a per-instance basis via the putClientProperty() instance method inherited from JComponent.
There are a few known issues that currently exist with using these properties:
* Setting JFileChooser.packageIsTraversable to never will currently do so for both .pkg and .app files
* Setting JFileChooser.appBundleIsTraversable to never will cause packageIsTraversable to be ignored, effectively causing the default behavior of navigable .pkg files in JFileChooser.
In other words, you may currently use these properties to make only .app files, or both .app and .pkg files, navigable.
Note: The JFileChooser properties only have an effect when using the Aqua look and feel in Swing, since it is the only look and feel which Apple controls.
From here http://developer.apple.com/technotes/tn/tn2042.html#TNTAG10
The information might be outdated, but I'd think that these properties still work.
 Ijed
#51 posted by gb on 2009/05/31 18:23:29
heh heh, snicker.
 Ass Injector More Like
#52 posted by Shambler on 2009/06/02 09:59:02
...I always knew there was something sinister about the pink syringe n shit...
#53 posted by Spirit on 2009/06/02 10:08:29
Actually this would fit perfectly in terms of weapon design: http://en.wikipedia.org/wiki/File:Clyster_syringes.jpg
 Spirit
#54 posted by JPL on 2009/06/02 10:22:24
Clyster was highly recommended by Hippocrate in any "hole wash"... have fun :P
 Nitpick
#55 posted by bear on 2009/06/02 16:22:46
"All Quake singleplayer maps ever made" is obviously not true
 Of Course
#56 posted by Spirit on 2009/06/02 17:44:01
It's all about marketing. ;-)
I even have several on my harddisk that are not included yet.
But I think from some percentage upwards one can say it's "all".
 So I Guess Theres No Fix For My Issue?
#57 posted by meTch on 2009/06/03 02:10:21
damn...
#58 posted by Spirit on 2009/06/03 08:05:45
Could you try a "normal" path like c:\games\quake\ ?
The pak files are just about 50 MB so that shouldn't be a problem.
 Finally Tried This...
#59 posted by metlslime on 2009/06/03 09:20:11
awesome. it just works. (windows xp)
#60 posted by meTch on 2009/06/03 19:31:26
"Could you try a "normal" path like c:\games\quake\ ?
The pak files are just about 50 MB so that shouldn't be a problem."
mmm...maybe
 Metch
#61 posted by megaman on 2009/06/05 02:16:02
i still don't really get what's happening on your side, on what paths, etc., sry :(
It would be awesome if you could describe it once more, with all the detail, so i can reproduce the bug.
#62 posted by Spirit on 2009/06/15 09:43:48
One of these days I will install all the packages for science. Yay science!
 Wow
#63 posted by than on 2009/06/17 18:36:13
not been playing Quake much recently but decided to have a look at this. Seems like very impressive stuff so far; Everything I tried worked a charm on a clean install of Quake (yeah, didn't dare let it loose on my mess of a Quake folder).
Nice work.
 -quoth
The user should be able to select Quoth as an installed expansion pack (just like hipnotic and rogue), though. I tried to download a Quoth map and injector tried to download the entire quoth pack again, with me having already installed it...
 Nope
#65 posted by Spirit on 2009/06/21 14:24:30
Sorry. Quoth is just a package like all others. rogue and hipnotic only get special treatment because they are not free.
I understand that the inability to scan an existing Quake installation is frustrating but the work required for something that must be immense.
If you do not want to install Quoth through the Injector but want it to show as installed you can edit the installedMaps.xml file (same directory as the quakeinjector.jar). Put this inside there somewhere:
<map id="quoth">
</map>
I have not tested it but it should work.
 Understandable
Alright, thanks. :-E
 That Works!
|
 |
|
You must be logged in to post in this thread.
|
|
Website copyright © 2002-2026 John Fitzgibbons. All posts are copyright their respective authors.
|
|