http://javagamesfactory.org/views/view-game?name=Cosmic%20Trip
I recently changed it to use the latest version of LWJGL, so I think it should work on a Mac now but I have no way to make sure, except asking you guys to give it a go
http://javagamesfactory.org/views/view-game?name=Cosmic%20Trip
I recently changed it to use the latest version of LWJGL, so I think it should work on a Mac now but I have no way to make sure, except asking you guys to give it a go
from safari : Java we start doesn’t … start ! (it needs a file with .jnlp extension, the mime type is not enough ).
So i tried with IE… and it started, went to full screen… and crashed.
Cannot have a stack trace (JWS crash without flushing the console to the log file). I think I had time to read something about native cursor (but i’m not sure).
Lilian
no mac, but I can’t start it.
java.lang.reflect.InvocationTargetException
winxp
[quote]from safari : Java we start doesn’t … start ! (it needs a file with .jnlp extension, the mime type is not enough ).
[/quote]
Damn, Apple are crap. Thanks for the heads-up.
Grumble now I have to go and rewrite lots of code to workaround their bug.
I’ll try and change that this weekend, but … got lots to do before the GDC!
Any other bug reports, please post as much info as possible - just in case something is a JGF problem, I’ll be debugging in parallel with erikd (don’t want him wasting time trying to debug something if it turns out to be a JGF bug)
This is my webstart log. Hope this helps.
Java Web Start 1.4.2_05 Console, started Thu Mar 03 14:49:06 GMT 2005
Java 2 Runtime Environment: Version 1.4.2_05 by Apple Computer, Inc.
Logging to file: webstart_log
Game starting.
Init config…
Config not present.
-> Directory ./.cosmictrip created at /Users/ribot/.cosmictrip
Saving config…Saving config complete!Entering set-up…
Maybe selecting mode 800 x 600 x 16 @0Hz
Maybe selecting mode 800 x 600 x 32 @0Hz
Setting display mode 800 x 600 x 32 @0Hz…
OK. Setting vsync to true…
OK. Setting up keyboard + buffer…
OK. Setting up mouse and setting native cursor to null…
java.lang.Exception: Problem starting loop
at net.movegaga.BaseWindow.start(BaseWindow.java:256)
at net.movegaga.GameWindow.main(GameWindow.java:334)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:848)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:808)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:682)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:397)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
at com.sun.javaws.Launcher.run(Launcher.java:167)
at java.lang.Thread.run(Thread.java:552)
Caused by: java.lang.Exception: Problem initialising GL
at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:203)
at net.movegaga.BaseWindow.start(BaseWindow.java:217)
… 12 more
Caused by: java.lang.IllegalStateException: Mouse doesn’t support native cursors
at org.lwjgl.input.Mouse.setNativeCursor(Mouse.java:165)
at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:194)
… 13 more
Game Ended.
Thanks for the feedback
I made a small update, I think it should work now. Could you give it another try, please?
Hansdampf, do you have log output for me?
* Impatient bump * ;D
web server not responding… sorry.
will try later.
Lilian
[quote]web server not responding… sorry.
will try later.
[/quote]
likewise
If the server is up, I will test this first thing tomorrow morning (I left my laptop at work).
[quote]web server not responding… sorry.
will try later.
Lilian
[/quote]
Sorry, still haven’t worked out what’s wrong with the server (why it’s running out of file handles, why jvm is crashing on buffer allocations), so haven’t patched yet. restarted it just now, should be ok for a few days at least
Ok, it seems to work fine on my G5 (but i haven’t played for a long time).
(but still no support for safari browser).
Lilian
Works now here too! Here’s an extract from my webstart log (I’ve removed the asset loading logs to save space):
Java Web Start 1.4.2_05 Console, started Wed Mar 09 11:33:47 GMT 2005
Java 2 Runtime Environment: Version 1.4.2_05 by Apple Computer, Inc.
Logging to file: webstart_log
Game starting.
Init config…
Loading config…Loading config complete!Entering set-up…
Maybe selecting mode 800 x 600 x 16 @0Hz
Maybe selecting mode 800 x 600 x 32 @0Hz
Setting display mode 800 x 600 x 32 @0Hz…
OK. Setting vsync to true…
OK. Setting up keyboard + buffer…
OK. Setting up mouse and setting native cursor to null…
OK. Calling resizeGLScene()…
OK. Calling initGL()…Entering scene index 0
initialized ok.
GL_VENDOR:ATI Technologies Inc.
GL_RENDERER,:ATI Radeon 9600 XT OpenGL Engine
GL_VERSION:1.5 ATI-1.3.42
GL_EXTENSIONS:GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_shadow_ambient GL_ARB_fragment_program GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_vertex_buffer_object GL_EXT_compiled_vertex_array GL_EXT_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_texture_compression_s3tc GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_APPLE_pixel_buffer GL_NV_blend_square GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix
OK. Initialization seems to be ok.
initing hsclient.
hsclient inited.
endState -1
setState 0
I also have to manually rename the alpha file to include a .jnlp suffix which would be a little confusing for players not in the know.
Thanks!
It’s so cool to only comment out 1 line (which shouldn’t have been there in the first place) to have it working on Mac
As for the .jnlp suffix, that’s one for blah^3
Out of curiosity, what was that ‘1 line’?
it was
Mouse.setNativeCursur(null);
I used it to get rid of the mouse pointer in an earlier LWJGL build. Now I use Mouse.setGrabbed(true), but forgot to delete the old method.
[quote]Hansdampf, do you have log output for me?
[/quote]
I just tried to reproduce the exception but no chance, works without problems now ???
Oops, I had the webstart window still open, so here is the trace
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl 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 org.lwjgl.Sys.<clinit>(Sys.java:69)
at net.movegaga.BaseWindow.start(BaseWindow.java:211)
at net.movegaga.GameWindow.main(GameWindow.java:334)
... 11 more
works great on my Mac too.
Will.
Works really well on mine as well.
The cursor did not go away though, which was a tad annoying.
blah3 - Why is it Apple’s stupid fault for not running when there isn’t a jnlp extension? Thats the only way I’ve seen any JWS apps work on my Mac.
Dr. A>