Request Mac/Linux test on Applet

Hi peeps. Slicks is slowly chugging along, and I’d like to hear if it’s Mac compatible.

http://test.digitalfootmark.com/slicks/applet/test.html

Other critique is welcome too - some things i’m doing this week still:

  1. ‘loading’ graphic turning wheel or something in the first black splash
  2. similar when transitioning from track select to race.

Cheers! P.S, if it doesn’t run on Mac, please please give me a trace on what is wrong, or the last line of successful sys.out from the console…

hmm sort of wrong category atm but the intention is for it to be working online 1 vs 1 soonish…
still working on the lobby and server code though.

Everything seems to work except the sound. I get the following excerpt from the Java Console:

Reading certificates from 11 http://download.java.net/media/joal/webstart/j-ogg-oggd.jar | /Users/elias4444/Library/Caches/Java/cache/6.0/2/2ad9a302-5cfd032b.idx
pageOffsets.size(): 0
caching 956/20 pages
java.lang.NoClassDefFoundError: de/jarnbjo/vorbis/VorbisStream
	at slicks.sound.OggDecoder.initialize(OggDecoder.java:46)
	at slicks.sound.OggStreamer.openUrl(OggStreamer.java:94)
	at slicks.sound.OggStreamer.loadTrack(OggStreamer.java:383)
	at slicks.sound.OggStreamer.<init>(OggStreamer.java:77)
	at slicks.sound.SoundManager.<init>(SoundManager.java:88)
	at applet.SlicksApplet.init(SlicksApplet.java:261)
	at org.jdesktop.applet.util.JNLPAppletLauncher.startSubApplet(JNLPAppletLauncher.java:1929)
	at org.jdesktop.applet.util.JNLPAppletLauncher.access$200(JNLPAppletLauncher.java:658)
	at org.jdesktop.applet.util.JNLPAppletLauncher$5.run(JNLPAppletLauncher.java:1269)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: de.jarnbjo.vorbis.VorbisStream
	at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:210)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
	at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:143)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
	... 17 more
error initing OpenAL
baseURL = http://test.digitalfootmark.com/slicks/applet/
ImageLoader2 init
ImageLoader2 getLocalGraphicsEnvironment, this probably wont be working for server
windowed renderer init
MAX_LOC_PLAYERS 2 : two keyboards

I’m using MacOS 10.6 (Snow Leopard).

Sweet! I really like the responsiveness of the car. Very cool! Making it online would be great!

thanks elias, working on that darn jarnbjo linkup. Will try to get it cleaned up soon.
EDIT: added Throwable as Matzon suggested, should keep loading past the sounds now… i think… hard to test.
That bug comes in Windows browsers as well, when they are doing the nightly build i guess.

Soon to be released, any more Macintosh / Linux users who could tell me if it’s working or not?
http://test.digitalfootmark.com/slicks/applet/test.html

The FullScreening is a bit buggy, not going to release this version but the one with decorations in place.

Everything runs really nice and smoothly (Ubuntu 8.10).

On startup there is one exception:

main initialization begins
browser applet paint
net.java.games.joal.ALException: java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
	at net.java.games.joal.ALFactory.initialize(ALFactory.java:58)
	at net.java.games.joal.ALFactory.getALC(ALFactory.java:83)
	at net.java.games.joal.util.ALut.alutInit(ALut.java:66)
	at slicks.sound.SoundManager.init(SoundManager.java:185)
	at slicks.sound.SoundManager.<init>(SoundManager.java:85)
	at slicks.client.SlicksPanel.initialize(SlicksPanel.java:141)
	at slicks.client.SlicksPanel.run(SlicksPanel.java:221)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at net.java.games.joal.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:111)
	at net.java.games.joal.impl.NativeLibLoader.access$000(NativeLibLoader.java:45)
	at net.java.games.joal.impl.NativeLibLoader$1.run(NativeLibLoader.java:71)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.java.games.joal.impl.NativeLibLoader.load(NativeLibLoader.java:64)
	at net.java.games.joal.ALFactory.initialize(ALFactory.java:54)
	... 7 more
error initing OpenAL, Sounds disabled

… which means no sound.

Good to hear it doesn’t crash out failing the sound!

now How to fix this…

ok i cleaned up the jnlp a bit, now when i load the game with

i get:
Reading certificates from 13135 http://download.java.net/media/joal/webstart/joal.jar | C:\Documents and Settings\Kaarma\Application Data\Sun\Java\Deployment\cache\6.0\56\4188b478-7f000b0b.idx
Reading certificates from 10159 http://download.java.net/media/joal/webstart/joal-natives-windows-i586.jar | C:\Documents and Settings\Kaarma\Application Data\Sun\Java\Deployment\cache\6.0\42\41bdaaea-104e845c.idx

So it is (?) automagically detecting os, i hope.

It uses os.family, os.arch and os.name to provide you the good native libraries.