Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Request Mac/Linux test on Applet  (Read 2215 times)
0 Members and 1 Guest are viewing this topic.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Posted 2009-10-26 19:46:05 »

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.

Offline elias4444

Junior Member





« Reply #1 - Posted 2009-10-27 00:04:34 »

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

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
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).


Offline Nate

JGO Kernel


Medals: 145
Projects: 4
Exp: 14 years


Esoteric Software


« Reply #2 - Posted 2009-10-27 00:24:26 »

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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #3 - Posted 2009-10-27 08:20:32 »

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.

Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #4 - Posted 2009-11-06 17:24:54 »

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.

Offline Jono
« Reply #5 - Posted 2009-11-06 21:20:43 »

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

Everything runs really nice and smoothly (Ubuntu 8.10).

On startup there is one exception:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
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.
Offline Karmington

Senior Member


Medals: 1
Projects: 1


Co-op Freak


« Reply #6 - Posted 2009-11-06 23:35:49 »

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
<extension name="joal.jnlp" href=" http://download.java.net/media/joal/webstart/joal.jnlp" />

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.

Offline gouessej
« Reply #7 - Posted 2009-11-10 14:07:02 »

So it is (?) automagically detecting os, i hope.
It uses os.family, os.arch and os.name to provide you the good native libraries.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (37 views)
2014-07-18 06:55:21

Zero Volt (35 views)
2014-07-17 23:47:54

danieldean (28 views)
2014-07-17 23:41:23

MustardPeter (31 views)
2014-07-16 23:30:00

Cero (46 views)
2014-07-16 00:42:17

Riven (47 views)
2014-07-14 18:02:53

OpenGLShaders (36 views)
2014-07-14 16:23:47

Riven (36 views)
2014-07-14 11:51:35

quew8 (32 views)
2014-07-13 13:57:52

SHC (69 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!