swpalmer
|
 |
«
Reply #30 - Posted
2004-02-25 11:58:31 » |
|
Mac OS X 10.3.2 JRE 1.4.2_03
Java Web Start 1.4.2_03 Console, started Wed Feb 25 09:53:34 EST 2004 Java 2 Runtime Environment: Version 1.4.2_03 by Apple Computer, Inc. Logging to file: /Users/scottpalmer/webstart.log Game starting. Init config... Config not present. -> Directory ./.cosmictrip created at /.cosmictrip Saving config...Ok. Entering set-up... Maybe selecting mode 800 x 600 x 16 @0Hz Maybe selecting mode 800 x 600 x 32 @0Hz /data/ship1.jpg /data/txtr17-256.jpg /data/smoke5.png /data/flare2.png /data/expl_0.png /data/expl_1.png /data/expl_2.png /data/expl_3.png /data/expl_4.png /data/expl_5.png /data/expl_6.png /data/expl_7.png /data/expl_8.png /data/expl_9.png /data/target.png /data/score.png /data/level.png /data/dist.png /data/fuel.png /data/19x16Lucida.png /data/ct.png /data/menu.png /data/flare3.png /data/difficulty.png /data/bgrad.png
It just sat there with a blank black screen - I had to kill the process. I half expected to see an exception reported in the log.
|
|
|
|
EgonOlsen
|
 |
«
Reply #31 - Posted
2004-02-25 13:14:42 » |
|
But can you set 800*600*32@60 without a problem? It crashes on Display.setDisplayMode(mode).
No, i can't. Maybe that's because i'm using refresh-force, a tool that forces a fixed refresh-rate (of 85Hz in my case). I'm doing this, because i simply can't stand the 60Hz flickering many OpenGL games are showing otherwise and this tool was the only thing that worked on my machine.
|
|
|
|
zparticle
|
 |
«
Reply #32 - Posted
2004-02-25 13:35:32 » |
|
tryied again, this time no crash so the log doesn't show anything useful but the menu still doesn't show up.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
erikd
|
 |
«
Reply #33 - Posted
2004-02-25 15:32:30 » |
|
@Orangy Tang: I doubled the sparks  @EgonOlsen: On the desktop, there's a .cosmictrip folder with a config.xml file. You can set the refresh rate from 60 to 85 there. (If there's also a .config.xml, delete it. It's from the previous version and doesn't have the //video/refresh tag). There will be a GUI for that at startup. @zparticle, swpalmer, elias, matzon: I moved the near clipping pane a bit closer in a vague attempt to solve the black screen problem (the menu was draw exactly on the near clipping pane, although the overlays do not do any depth testing). You could also try pressing return after a few secs of black screen (maybe after a mouse click for focus which seems somtimes to be necessary with jws). It should enter the game then. Erik
|
|
|
|
ChrisM
|
 |
«
Reply #34 - Posted
2004-02-25 17:46:32 » |
|
Ona little bit different note, EricD, the demo you let me see a few weeks ago looks great. I am keen to show whatever you have have on a demo pod in our booth at GDC and point people to your site. Very cool and quite addictive  -ChrisM
|
|
|
|
EgonOlsen
|
 |
«
Reply #35 - Posted
2004-02-25 19:03:33 » |
|
@EgonOlsen: On the desktop, there's a .cosmictrip folder with a config.xml file. You can set the refresh rate from 60 to 85 there. (If there's also a .config.xml, delete it. It's from the previous version and doesn't have the //video/refresh tag). There will be a GUI for that at startup.
I've deleted the JWS cache and downloaded the whole stuff again. Now i have a config.xml-file in that directory and i changed the refresh-rate to 85. But it still gives me the same error. It still tries to set 800*600@60Hz and exits... 
|
|
|
|
erikd
|
 |
«
Reply #36 - Posted
2004-02-25 19:38:05 » |
|
That's strange  It works here by just changing the refresh tag in the config.xml. The latest version also has a bit more logging. Could you post the log again? Erik
|
|
|
|
swpalmer
|
 |
«
Reply #37 - Posted
2004-02-25 22:28:06 » |
|
@zparticle, swpalmer, elias, matzon: I moved the near clipping pane a bit closer in a vague attempt to solve the black screen problem (the menu was draw exactly on the near clipping pane, although the overlays do not do any depth testing). You could also try pressing return after a few secs of black screen (maybe after a mouse click for focus which seems somtimes to be necessary with jws). It should enter the game then.
Erik Nope still blank & black. Though the webstart log now has the OGL capabilities: ... /data/bgrad.png initialized ok. GL_VENDOR:ATI Technologies Inc. GL_RENDERER,:ATI Radeon 9000 OpenGL Engine GL_VERSION:1.3 ATI-1.3.4 GL_EXTENSIONS:GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos 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_APPLE_texture_range GL_APPLE_vertex_array_range GL_APPLE_ycbcr_422 GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ATI_array_rev_comps_in_4_bytes GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_text_fragment_shader GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_compiled_vertex_array GL_EXT_secondary_color GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_EXT_texture_filter_anisotropic GL_NV_blend_square GL_NV_fog_distance GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
|
|
|
|
elias
|
 |
«
Reply #38 - Posted
2004-02-26 03:22:55 » |
|
Ok, I tried it again, this time music started and I could enter the game by pressing enter. But still no menu :/
- elias
|
|
|
|
EgonOlsen
|
 |
«
Reply #39 - Posted
2004-02-26 04:27:46 » |
|
The latest version also has a bit more logging. Could you post the log again?
Sure, but it's basically the same as before. The line numbers have changed, but that's it. Anyway: 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
| Game starting. Init config... Loading config...Ok. Entering set-up... Maybe selecting mode 800 x 600 x 32 @70Hz Maybe selecting mode 800 x 600 x 16 @60Hz Maybe selecting mode 800 x 600 x 32 @85Hz Maybe selecting mode 800 x 600 x 32 @60Hz java.lang.Exception: Problem starting loop at net.movegaga.BaseWindow.start(BaseWindow.java:254) at net.movegaga.GameWindow.main(GameWindow.java:317) 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.Exception: Problem initialising GL at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:204) at net.movegaga.BaseWindow.start(BaseWindow.java:217) ... 12 more Caused by: java.lang.Exception: Failed to set display mode. at org.lwjgl.Display.setDisplayMode(Native Method) at net.movegaga.BaseWindow.createGLWindow(BaseWindow.java:185) ... 13 more Game Ended. |
|
|
|
|
Games published by our own members! Check 'em out!
|
|
erikd
|
 |
«
Reply #40 - Posted
2004-02-26 06:10:26 » |
|
@egon: Hmmm :-/ Here's the mode selection. width, height and refresh come from config.xml 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
| DisplayMode[] modes = Display.getAvailableDisplayModes();
if (modes.length < 1) { throw new Exception("Could not set a display mode."); } for (int i = 0; i < modes.length; i++) { if (modes[i].width == width && modes[i].height == height && modes[i].bpp >= bits && modes[i].bpp != 24 && modes[i].freq <= 90 && (mode<0 || modes[i].bpp > modes[mode].bpp || (modes[mode].freq != refresh && modes[i].freq == refresh)) ) { System.out.println("Maybe selecting mode " + modes[i].toString()); mode = i; } } if (mode == -1) { System.out.print("Failed to choose preferred display mode, falling back to any mode:"); mode = 0; System.out.println(modes[mode].toString()); } Display.setDisplayMode(modes[mode]); |
I can't see the error and it works for me when I set the refresh rate at 85 in config.xml, although I could probably make the code a bit more clever. Does someone spot the error? As for the black screen problem, I'm still totally lost about why this happens on some machines. There's nothing special in the menu. Just a couple of quads. :-/ If it would have something to do with depthbuffer/near clipping, you wouldn't see the hud in the game as well. And you do see it there, do you? (I have the same problem on my PC at work and I can see the hud in the game). Again, thanks for testing everybody. Erik
|
|
|
|
erikd
|
 |
«
Reply #41 - Posted
2004-02-26 06:23:28 » |
|
@EgonOlsen:
Could it be that you also have a .cosmictrip/config.xml in C:/Program Files/Java Web Start by any chance?
|
|
|
|
EgonOlsen
|
 |
«
Reply #42 - Posted
2004-02-26 13:30:35 » |
|
Could it be that you also have a .cosmictrip/config.xml in C:/Program Files/Java Web Start by any chance? I searched for config.xml on the all hard discs and found another one in "F:\Programme\Gemeinsame Dateien\System\Mapi\1031\.cosmictrip\config.xml". I modified the refresh rate and it works now. But what the hell is "Mapi\1031"? Anyway, i don't see the menu. The game itself looks fine.
|
|
|
|
erikd
|
 |
«
Reply #43 - Posted
2004-02-26 15:25:49 » |
|
Hm, I should store the config in a more controlled way I think.
I put up a new version with more logging and which bails out if a GL error occurs. If anyone experiencing the absent menu (black screen) could give it a try and post the log, that would be great!
Erik
|
|
|
|
zparticle
|
 |
«
Reply #44 - Posted
2004-02-26 16:05:19 » |
|
Crashed my machine on exit again  still no menu 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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
| Java Web Start 1.4.2_01 Console, started Thu Feb 26 11:58:35 MST 2004 Java 2 Runtime Environment: Version 1.4.2_01 by Sun Microsystems Inc. Logging to file: c:\temp\webstart.log Game starting. Init config... Loading config...Ok. Entering set-up... Maybe selecting mode 800 x 600 x 32 @70Hz Maybe selecting mode 800 x 600 x 32 @60Hz /data/ship1.jpg /data/txtr17-256.jpg /data/smoke5.png /data/flare2.png /data/expl_0.png /data/expl_1.png /data/expl_2.png /data/expl_3.png /data/expl_4.png /data/expl_5.png /data/expl_6.png /data/expl_7.png /data/expl_8.png /data/expl_9.png /data/target.png /data/score.png /data/level.png /data/dist.png /data/fuel.png /data/19x16Lucida.png Entering scene index 0 Entering AttractMode. /data/ct.png title inited. s_title inited. /data/menu.png /data/flare3.png menu inited. /data/difficulty.png difficulty inited. /data/bgrad.png bg inited. scores inited. initialized ok. GL_VENDOR:Intel GL_RENDERER,:Intel Brookdale-G GL_VERSION:1.3.0 - Build 4.13.01.3069 GL_EXTENSIONS:GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_env_crossbar GL_ARB_transpose_matrix GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_cull_vertex GL_EXT_fog_coord GL_EXT_packed_pixels GL_EXT_packed_pixels_12 GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_filter_anisotropic GL_3DFX_texture_compression_FXT1 GL_IBM_texture_mirrored_repeat GL_NV_texgen_reflection GL_WIN_swap_hint ERROR: Can't end invalid AttractMode state! Title should show now. Title spawn. initing hsclient. hsclient inited. initing hsclient. hsclient inited. initing hsclient. hsclient inited. Ending STATE_TITLE. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Entering scene index 3 /data/gaga2.png /data/space30s.jpg /data/txtr14-256.jpg /data/txtr13-256.jpg /data/fireblurred.jpg /data/disp02.png /data/glass1.png /data/glass2.png /data/txtr12-256.jpg /data/concrete1.jpg /data/window1.jpg /data/window2.png /data/window3.png /data/window4.png /data/window5.jpg /data/b5.jpg /data/bg3.jpg /data/bg1.jpg /data/bg7.jpg /data/bg6.jpg /data/space30.jpg /data/bg4.jpg |
|
|
|
|
swpalmer
|
 |
«
Reply #45 - Posted
2004-02-26 17:45:42 » |
|
Mac OS X 10.3.2 JRE 1.4.2_03
Still black screen - enter does nothing.
Here's the log - I've trimmed out huge runs of "Drawing scores.OK." Note the ERROR message re: Invlaid Attract Mode State...
Java Web Start 1.4.2_03 Console, started Thu Feb 26 15:38:29 EST 2004 Java 2 Runtime Environment: Version 1.4.2_03 by Apple Computer, Inc. Logging to file: /Users/scottpalmer/webstart.log Game starting. Init config... Loading config...Ok. Entering set-up... Maybe selecting mode 800 x 600 x 16 @0Hz Maybe selecting mode 800 x 600 x 32 @0Hz /data/ship1.jpg /data/txtr17-256.jpg /data/smoke5.png /data/flare2.png /data/expl_0.png /data/expl_1.png /data/expl_2.png /data/expl_3.png /data/expl_4.png /data/expl_5.png /data/expl_6.png /data/expl_7.png /data/expl_8.png /data/expl_9.png /data/target.png /data/score.png /data/level.png /data/dist.png /data/fuel.png /data/19x16Lucida.png Entering scene index 0 Entering AttractMode. /data/ct.png title inited. s_title inited. /data/menu.png /data/flare3.png menu inited. /data/difficulty.png difficulty inited. /data/bgrad.png bg inited. scores inited. initialized ok. GL_VENDOR:ATI Technologies Inc. GL_RENDERER,:ATI Radeon 9000 OpenGL Engine GL_VERSION:1.3 ATI-1.3.4 GL_EXTENSIONS:GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos 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_APPLE_texture_range GL_APPLE_vertex_array_range GL_APPLE_ycbcr_422 GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ATI_array_rev_comps_in_4_bytes GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_text_fragment_shader GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_blend_color GL_EXT_compiled_vertex_array GL_EXT_secondary_color GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_lod_bias GL_EXT_texture_rectangle GL_EXT_texture_filter_anisotropic GL_NV_blend_square GL_NV_fog_distance GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod ERROR: Can't end invalid AttractMode state! Title should show now. Title spawn. initing hsclient. hsclient inited. Ending STATE_TITLE. High scores should show now. Drawing scores.Ok. ... Drawing scores.Ok. Ending STATE_HIGHSCORES. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Title should show now. Title spawn. Ending STATE_TITLE. High scores should show now. Drawing scores.Ok. ... Drawing scores.Ok. Ending STATE_HIGHSCORES. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Title should show now. Title spawn. Ending STATE_TITLE. High scores should show now. Drawing scores.Ok. Drawing scores.Ok. ...
|
|
|
|
EgonOlsen
|
 |
«
Reply #46 - Posted
2004-02-26 18:15:28 » |
|
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
| Java Web Start 1.4.2 Konsole, gestartet Thu Feb 26 22:07:25 CET 2004 Java 2 Runtime Environment: Version 1.4.2 von Sun Microsystems Inc. Protokolldatei: c:\temp\cslog6.txt Game starting. Init config... Loading config...Ok. Entering set-up... Maybe selecting mode 800 x 600 x 32 @70Hz Maybe selecting mode 800 x 600 x 32 @85Hz /data/ship1.jpg /data/txtr17-256.jpg /data/smoke5.png /data/flare2.png /data/expl_0.png /data/expl_1.png /data/expl_2.png /data/expl_3.png /data/expl_4.png /data/expl_5.png /data/expl_6.png /data/expl_7.png /data/expl_8.png /data/expl_9.png /data/target.png /data/score.png /data/level.png /data/dist.png /data/fuel.png /data/19x16Lucida.png Entering scene index 0 Entering AttractMode. /data/ct.png title inited. s_title inited. /data/menu.png /data/flare3.png menu inited. /data/difficulty.png difficulty inited. /data/bgrad.png bg inited. scores inited. initialized ok. GL_VENDOR:ATI Technologies Inc. GL_RENDERER,:RADEON 9700 PRO x86/SSE2 GL_VERSION:1.4.4145 WinXP Release GL_EXTENSIONS:GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_NV_point_sprite GL_ARB_point_sprite GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control ERROR: Can't end invalid AttractMode state! Title should show now. Title spawn. initing hsclient. hsclient inited. initing hsclient. hsclient inited. Ending STATE_TITLE. High scores should show now. Drawing scores.Ok. . . . Drawing scores.Ok. Ending STATE_HIGHSCORES. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Entering scene index 3 /data/gaga2.png /data/space30s.jpg /data/txtr14-256.jpg /data/txtr13-256.jpg /data/fireblurred.jpg /data/disp02.png /data/glass1.png /data/glass2.png /data/txtr12-256.jpg /data/concrete1.jpg /data/window1.jpg /data/window2.png /data/window3.png /data/window4.png /data/window5.jpg /data/b5.jpg /data/bg3.jpg /data/bg1.jpg /data/bg7.jpg /data/bg6.jpg /data/space30.jpg /data/bg4.jpg Entering scene index 4 /data/gameover.png Entering scene index 0 Entering AttractMode. title inited. s_title inited. menu inited. difficulty inited. bg inited. scores inited. ERROR: Can't end invalid AttractMode state! Title should show now. Title spawn. Ending STATE_TITLE. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. . . . Menu destroyed. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Menu should show now. Title spawn. Menu spawn. Ending STATE_MENU. Menu destroyed. Entering scene index 3 Entering scene index 4 Entering scene index 5 /data/flare1.png GL_ERROR Occurred : GL_INVALID_VALUE java.lang.Exception: GL_ERROR Occurred : GL_INVALID_VALUE java.lang.Exception: GL_ERROR Occurred : GL_INVALID_VALUE at net.movegaga.BaseWindow.drawGLScene(BaseWindow.java:140) at net.movegaga.GameWindow.drawGLScene(GameWindow.java:207) at net.movegaga.BaseWindow.loop(BaseWindow.java:265) at net.movegaga.BaseWindow.start(BaseWindow.java:235) at net.movegaga.GameWindow.main(GameWindow.java:317) 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) Loop ended. >killWLWindow() Mouse destroyed. Keyboard destroyed. GL destroyed. Game Ended. |
|
|
|
|
erikd
|
 |
«
Reply #47 - Posted
2004-02-26 20:09:19 » |
|
Thanks a lot guys. You are a great help. 
|
|
|
|
erikd
|
 |
«
Reply #48 - Posted
2004-02-26 20:28:52 » |
|
Unfortunately, the logs don't show anything out of the ordinary. The invalid Attract state error is a red herring, the GL error is correct (some fog value gets out of range, although when I disable GL error checks, it seems to work just fine. I should still fix it though) I'll try to do some bug hunting at work, where I have the same problem, (if my boss is not watching  ). Erik
|
|
|
|
erikd
|
 |
«
Reply #49 - Posted
2004-02-27 06:36:25 » |
|
Heh, I found the problem  I'll upload a new version tonight. Erik
|
|
|
|
elias
|
 |
«
Reply #50 - Posted
2004-02-27 11:31:42 » |
|
and what was it then? "I found the problem" is waaaay too easy :-)
- elias
|
|
|
|
erikd
|
 |
«
Reply #51 - Posted
2004-02-27 12:47:04 » |
|
When the app starts, somewhere along the way a 'Fog' object is created which isn't updated until the actual game starts. In the Fog constructor code I set the initial fog values to start=0, end=0, rgb=0, alpha=1.0, density=0. As it turns out, these values cause a black screen on many cards except my nvidia. So I changed the initial values. It works on the Intel card of my PC at work anyway (had the same problem there) so I expect it to work on other machines too. I'll update the webstart version when I get home and post here when it's done.
Erik
|
|
|
|
erikd
|
 |
«
Reply #52 - Posted
2004-02-27 14:21:42 » |
|
The new version is online now. I hope it works now. I tested it on a PC with Intel Crap-O-Matic video card(I might have got that name wrong  ), and a laptop with ATI Radeon something. The demo is now 5 levels. I'd like to know if it still works in level 4 and 5 as the fog values get out of range. Works fine here, but that obviously doesn't say anything.  Erik
|
|
|
|
erikd
|
 |
«
Reply #53 - Posted
2004-02-27 14:25:39 » |
|
BTW, if you get low framerates, lower the resolution in the /.cosmictrip/config.xml file. The framerate very much depends on fill rate. You can even get it to run quite smooth on an Intel video card when you set the resolution low enough.
|
|
|
|
zparticle
|
 |
«
Reply #54 - Posted
2004-02-27 16:16:05 » |
|
confirmed the menu shows up now.
|
|
|
|
elias
|
 |
«
Reply #55 - Posted
2004-02-27 17:57:29 » |
|
Yep, it shows up here too. Nice game btw!
- elias
|
|
|
|
javatypo
|
 |
«
Reply #56 - Posted
2004-02-27 22:41:10 » |
|
kool looking screen shots, although i have to get lwjgl running first to play it. looks real nice tho 
|
|
|
|
swpalmer
|
 |
«
Reply #57 - Posted
2004-02-28 01:36:54 » |
|
Good new and bad news:
The good news: I now see a menu screen on the Mac. It flips between title, highscores, and menu.
The bad news: I can't start the game because it doesn't respond to input from any device.
There doesn't appear to be any related info in the webstart log.
|
|
|
|
elias
|
 |
«
Reply #58 - Posted
2004-02-28 05:33:26 » |
|
swpalmer: that's a bug with LWJGL when used with swing (and therefore JWS). We're working on it....
- elias
|
|
|
|
Matzon
|
 |
«
Reply #59 - Posted
2004-02-28 09:01:29 » |
|
swpalmer: that's a bug with LWJGL when used with swing (and therefore JWS). We're working on it.... Just to expand on this. The cause is that any application that isn't a bundle doesn't receive input from the "input server" or whatever controls input. It's *really* a stupid design decision from Apple. It's blatantly obvious when doing a simple console application that opens a simple alert dialog (using CreateStandardAlert) - you are allowed to show it, but you can't dismiss it  . Creating a lwjgl lib as a bundle should fix this - but since none of us "ordinary" devs are mac users, mac tends to stall a bit (untill we get a hold of a mac, or an active mac developer)
|
|
|
|
|