Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2] 3
  ignore  |  Print  
  Cosmic Trip to be released  (Read 12121 times)
0 Members and 1 Guest are viewing this topic.
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #30 - Posted 2004-02-25 12: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.

Offline EgonOlsen
« Reply #31 - Posted 2004-02-25 14:14:42 »

Quote

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.

Offline zparticle

Senior Member




Thick As A Brick


« Reply #32 - Posted 2004-02-25 14: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!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #33 - Posted 2004-02-25 16:32:30 »

@Orangy Tang:
I doubled the sparks Smiley

@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

Offline ChrisM

JGO Coder


Medals: 1
Projects: 1


END OF LINE.


« Reply #34 - Posted 2004-02-25 18: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 Smiley

-ChrisM

Offline EgonOlsen
« Reply #35 - Posted 2004-02-25 20:03:33 »

Quote

@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... Cry

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #36 - Posted 2004-02-25 20:38:05 »

That's strange  Embarrassed 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

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #37 - Posted 2004-02-25 23:28:06 »

Quote
@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

Offline elias

Senior Member





« Reply #38 - Posted 2004-02-26 04: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

Offline EgonOlsen
« Reply #39 - Posted 2004-02-26 05:27:46 »

Quote
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!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #40 - Posted 2004-02-26 07: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.");
              }
               
                // Try to select a preferred display mode (800x600, 32 or 16 bit, 60Hz preferred any other accepted)
             for (int i = 0; i < modes.length; i++) {
                  if (modes[i].width == width && modes[i].height == height // screen dimensions must be correct
                        && modes[i].bpp >= bits // prefer highest bit depth possible
                    && modes[i].bpp != 24 // except 24 bits
                    && modes[i].freq <= 90 // filter out high refresh rates,
                                           // some video drivers incorrectly report too high rates
                    // choose 1st potential mode or mode with higher color depth or a mode with preferred refresh rate
                        && (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 no mode is found, do a loose selection of any display mode reported by the driver as available.
             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.create(modes[mode], fullscreenflag);
           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

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #41 - Posted 2004-02-26 07:23:28 »

@EgonOlsen:

Could it be that you also have a .cosmictrip/config.xml in C:/Program Files/Java Web Start by any chance?

Offline EgonOlsen
« Reply #42 - Posted 2004-02-26 14:30:35 »

Quote
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.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #43 - Posted 2004-02-26 16: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

Offline zparticle

Senior Member




Thick As A Brick


« Reply #44 - Posted 2004-02-26 17:05:19 »

Crashed my machine on exit again  Cry 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

Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #45 - Posted 2004-02-26 18: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.
...

Offline EgonOlsen
« Reply #46 - Posted 2004-02-26 19: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.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #47 - Posted 2004-02-26 21:09:19 »

Thanks a lot guys. You are a great help.

Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #48 - Posted 2004-02-26 21: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  Grin).

Erik

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #49 - Posted 2004-02-27 07:36:25 »

Heh, I found the problem  Cheesy
I'll upload a new version tonight.

Erik

Offline elias

Senior Member





« Reply #50 - Posted 2004-02-27 12:31:42 »

and what was it then? "I found the problem" is waaaay too easy :-)

- elias

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #51 - Posted 2004-02-27 13: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

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #52 - Posted 2004-02-27 15: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 Wink), 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. Smiley

Erik

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #53 - Posted 2004-02-27 15: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.

Offline zparticle

Senior Member




Thick As A Brick


« Reply #54 - Posted 2004-02-27 17:16:05 »

confirmed the menu shows up now.

Offline elias

Senior Member





« Reply #55 - Posted 2004-02-27 18:57:29 »

Yep, it shows up here too. Nice game btw!

- elias

Offline javatypo

Junior Member





« Reply #56 - Posted 2004-02-27 23:41:10 »

kool looking screen shots, although i have to get lwjgl running first to play it.

looks real nice tho  Cool
Offline swpalmer

JGO Coder




Where's the Kaboom?


« Reply #57 - Posted 2004-02-28 02: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.

Offline elias

Senior Member





« Reply #58 - Posted 2004-02-28 06:33:26 »

swpalmer: that's a bug with LWJGL when used with swing (and therefore JWS). We're working on it....

- elias

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #59 - Posted 2004-02-28 10:01:29 »

Quote
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 Huh.
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)

Pages: 1 [2] 3
  ignore  |  Print  
 
 

 
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!