Anyone have time to test...

Me again
Having pointed out to me my mistake, I only thought it fair to point out kev’s :), he forgot the flag in the jnlp file. It’s now back in and working fine.

Endolf

I know I proposed it a while back and was outvoted, but I still believe that until that issue is fixed in linux,
XITH3D_USER_VERTEX_BUFFER_CACHING should be set to false.

People can always turn it on - and it can be overridden in the Java code as well (the developer can query an Option to see if the user wants to override it with the isDefaultSetByProperty method and then decide if they want to honour that or not).

Will.

For anyone interested, I’ve added a whole bunch of stuff to the game (although not much graphically) including JInput support (tested only on windows).

Not sure I posted the new location:

http://www.newdawnsoftware.com/martian/jnlp/martian.jnlp

Kev

Good news.

Old version worked on my OS X tiBook once I got my JDK path problem fixed.

Bad news, new version fails to launch :frowning:

If I can coax an error message out I’ll post it.

The game is great. :slight_smile:

One good hint: Do not create a usual directory in the home directory of a Linux user. It’s better to put a point (".") in front of it to mark it as “hidden” (".MartianMadnessConfig"). Personally I’d delete every program which wants to have its own directory in my $HOME. ;D

That’d be great if you could Jeff, I’m really keen on getting it running on a Mac as it seems like a great market atm.

Thanks. Interesting thing about the config directory. In my last game attempt I put a “.” infront and some Linux bods complained they didn’t like the game creating a directory they didn’t see straight away… I prefer it hidden and was pandering to the masses I suppose. Back in the “.” goes :slight_smile:

Cheers for checking guys,

Kev

Definitally have the “.”

Almost all linux programs create such a directory in the users home dir - other than that there is no way for them to store settings (unless the user has write access the the programs directory which is unlikely and there is no such thing as a registry - thankfully).

I’m surprised people complained about that actually…

Will.

Once again my system works differntly than Jeff’s… go figure.

It DID take a long time to show the game screen after the little setup/config thingy.

BUT… No controls work on the main game screen. The music is happily playing away, I see a screen, the FPS counter is updating… but nothing I press does anything. :frowning:

Oh, and my game pad was not available to select as a controller, so I’m guessing the JInput stuff isn’t working on Mac either.

Ack, I take it back… I started it once with webstart, and once from the zip version (I ran update.jar first)…

Now it seems to deadlock after you press “start game”

Fantastic!! :slight_smile:

Ok, the jinput stuff is on windows only atm, but I’m about to change that. However, from a post I see from you in JInput, its unlikely to make any difference :frowning:

Interesting about the controls, in now creates control configuration files so maybe I need to try wiping mine out and check if that prevents running first time. Incidently, the keyboard input doesn’t use JInput so shoud always work.

Now, to the dead lock… Did the menu disappear? If so do you see the level with the alien and his yellow rings around him. If it stops there, could you just try running it again. I had an issue (which I thought I’d resolved) with that particular effect where it can stack overflow.

Incidently… any stack traces from the installable version?

Kev

PS. Thanks to all for continuing to try this out, real pain not having access to a whole suite of machines :wink:

Time permitting I’m happy to test anyone’s project on my Mac, so long as it isn’t too much of a pain to start. Web Start or executable Jars preferred.

When it dead locks the menu does disappear. I couldn’t get any stack traces or other useful information.

If possible could you try turning sound and music off. Maybe they’re some conflict with Java Sound on the Mac.

Kev

Brillant!
Nice little game. Well done Kev :stuck_out_tongue:

Really nice! Works quite well!

Yuri

Tried again (with no sound)…

After waiting for some time i saw the openGL extensions dump to the console… and then the game screen appeared. It looked like it was stuck with no response from the keyboard as it was before…

But i left it going for a while this time… And after lets say about a minute the selection moved down a line… then a minute later it moved again… I think at some point in there I actually saw the rings around the alien step to a new position, but I’m not sure.

It appears to be running but EXTREMELY slow. Even though the FPS indicator is updating frequently and shows around 100 fps.

Odd.

More info… I can tell when it is about to actually process a keystroke because the FPS indicator stops updating for several seconds… then when the FPS display resumes updating the selection steps to the next choice in the game menu.
Earlier times of 1 minute are actually low. it takes a LONG time before a keystroke is recognized. I wonder if something is starving the AWT thread from processing events? Probably not… the process seems to take about 45% of my CPU.

This is going to get painful, but did you actually get rid the menu and manage to start the game?

If not, the rings wouldn’t have moved (since the game doesn’t start running until the menu disappears). If this is the case it may just be really really slow at updating textures. Could you try just hitting Escape which should remove the menu and allow you to “play” in the startup level. Or hit Enter straight away which shoudl start the game.

If so, then hmmmmmmm… Don’t think I added anything significantly new. Did the last version you saw have a the health bar/face/coin counter etc ? When was the last version that worked for you.

I’m even more worried that it takes such a long time to start up, its not actually doing much (initialising sound, xith etc…) I’ll take a look at that part in more detail. Whats worrying me more is that it could be some oddity with the Apple VM atm and I could spend an age trying to figure it out :slight_smile: Still, atm getting the release to work on Win32, Linux and Mac is my top priority.

Cheers for the continued testing,

Kev

I reakon this has something to do with generating the texture for the menu item. Are there any known bugs with buffered image performance on MacOS?

There’s a new version posted with a smaller menu, since it was causing problems everywhere… I’ve another idea so there may be an even newer version before you get there.

Oh, in addition I’ve added a bunch of logging as the game initialises. Hopefully this will help working out whats taking all the time. Should dump a log.txt in the config directory each run.

Cheers

Kev

Okie dokie, yet a newer version. The menu might be quicker this means there might be performance issues the Xith GUI stuff on Mac generally…

Let me know how it goes,

Kev

Much better… New version works normally. Menu speed is fine. However the menu doesn’t go away when you start the game.

I completed that level (I think) and ended up sliding forever to the right. with no floor beneath me.

answering some other questions: the last version that worked
prior to this did not have the health bar & stats.
Mac platform IS sensitive to image format. Always use compatible formats… other formats may render very slow. (I can’t see why it would be so slow as to cause the massive slowdown I was seeing though!)

The log:

Scotts-Laptop:~/Desktop/Games/Java/mm-macos scottpalmer$ java -jar martian.jar
1070302602803 : Starting Martian Madness
1070302602809 : Initialising Keyboard Handler
1070302603767 : Attempting to read configuration from: /Users/scottpalmer/.MartianMadnessConfig/config.props
1070302614386 : Attempting to read configuration from: /Users/scottpalmer/.MartianMadnessConfig/config.props
1070302614409 : Attempting to establish controller
1070302614421 : Using default swing keyboard controller device
1070302614423 : Building rendering window
1070302615137 : Initialising visual frame
1070302616124 : Initialising music system, play? : false
1070302616950 : Initialising sound effects system, on? : false
1070302616962 : Building scoreboard
1070302617457 : Building menu system
1070302623187 : Creating score table class and the game logic
1070302623208 : Starting new level with map: maps/startup
1070302626702 : Starting Xith Renderer
Init GL is net.java.games.jogl.impl.macosx.MacOSXGLImpl
OpenGL Renderer = ATI Radeon 9000 OpenGL Engine
OpenGL Version = 1.3 ATI-1.3.0
OpenGL Vendor = ATI Technologies Inc.
OpenGL 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
1070302636171 : Starting new level with map: maps/test2
Scotts-Laptop:~/Desktop/Games/Java/mm-macos scottpalmer$