LaunchBox again
Sunday, 21. June 2009, 20:39:07
UPDATE: I messed up and uploaded a rather old version by accident. Sorry about that. Correct file is now up and should hopefully have less Exceptions. (And not spew out so much debug crap.) Source is included too.
This is why QA is important, people!
Stuff I changed:
- You can now browse for levels, it will search in the mod dir, -hipnotic/rogue/quoth dirs, id1, it even finds levels inside PAK files.
- It should now use your system's default look-and-feel, so it won't appear so nastily Java.
- Prettied up the UI in general, it now uses some of the Silk icon set from FamFamFam, which uses a Creative Commons Attribution 2.5 License.
Get it if you want to. (All warranties void)
Stuff I should do:
- Pretty up the map list rendering, group and sort the bsps by various useful criteria.
- I was thinking about some way to store favourite launch configs or something. Dunno if that would be useful.
-
I forgot to include the source. Whoops.


Anonymous # 22. June 2009, 09:07
Trying to launch a mod:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at cg.launchbox.LaunchPane.launchCurrentConfig(LaunchPane.java:418)
at cg.launchbox.LaunchPane.access$9(LaunchPane.java:408)
at cg.launchbox.LaunchPane$13.actionPerformed(LaunchPane.java:277)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Going to the maps menu after the first launch (sometimes it works if quit and restart it, then it seems to work well afterwards):
Exception in thread "Thread-3" java.lang.NullPointerException
at cg.launchbox.LaunchPane.scanForMaps(LaunchPane.java:646)
at cg.launchbox.LaunchPane.access$16(LaunchPane.java:641)
at cg.launchbox.LaunchPane$19.run(LaunchPane.java:622)
at java.lang.Thread.run(Thread.java:619)
Each click on "refresh list" increments Thread-X by 2, so next click would give the error with Thread-5
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode)
on Lunix.
Looks very nice. Is this site supposed to be rather hidden or would you appreciate it if I linked it?
PS: How can I persuade you to join the Quake Injector development? :)
Christian # 23. June 2009, 22:30
Christian # 23. June 2009, 22:51