Page 1 of 1

Running Windows Oolite on macOS Sonoma

Posted: Mon Feb 10, 2025 9:52 pm
by maik
I am playing around with Whisky, which combines Wine with Apple's game porting toolkit to translate OpenGL and DirectX to Metal (if I understand it correctly). Installing, loading, running and playing the vanilla 1.90 version seems to work fine, I flew from Lave to Diso without a glitch. So far I did not manage to convince it to take the new OXZ download URL, although I successfully updated the plist in ~/Library. The copy it creates in the oolite.app folder gets mangled, I cannot open it in Xcode either.

Below is the latest.log, could someone who understands this topic please take a look if the OpenGL version is what Oolite needs and if the required extensions are listed? Also, which extensions should I install (manually if all else fails) to test OpenGL extensions?

Just as an fyi, I have been trying the latest 1.91 build as well, but it did not start and I did not investigate further so far. Let me know if you need additional information. Same for OoliteStarter, also no further investigation done so far.

Thanks for any help :)

Opening log for Oolite version 1.90 (x86-64) under Windows 6.1.7601 Service Pack 1 64-bit at 2025-02-10 22:38:15 +0100.
VirtualApple @ 2.50GHz 4 processors detected.
Build options: OpenAL, new planets.

Note that the contents of the log file can be adjusted by editing logcontrol.plist.

22:38:15.781 [display.mode.list.native]: Windows native resolution detected: 1920 x 1200
22:38:16.803 [joystick.init]: Number of joysticks detected: 0
22:38:16.803 [rendering.opengl.version]: OpenGL renderer version: 2.1.0 ("2.1 Metal - 89.3"). Vendor: "Apple". Renderer: "Apple M1".
22:38:16.804 [rendering.opengl.extensions]: OpenGL extensions (135):
GL_ARB_framebuffer_sRGB, GL_ARB_depth_texture, GL_ARB_texture_env_add, GL_NV_texture_barrier, GL_ARB_draw_instanced, GL_APPLE_texture_range, GL_APPLE_specular_vector, GL_ARB_half_float_vertex, GL_NV_vertex_program3, GL_EXT_texture_shared_exponent, GL_EXT_separate_specular_color, GL_ARB_framebuffer_object, GL_EXT_shadow_funcs, GL_EXT_rescale_normal, GL_ARB_shader_texture_lod, GL_ARB_transpose_matrix, GL_EXT_stencil_two_side, GL_ARB_texture_compression_rgtc, GL_ARB_texture_border_clamp, GL_ARB_multisample, GL_ARB_half_float_pixel, GL_NV_fog_distance, GL_ATI_separate_stencil, GL_ARB_texture_non_power_of_two, GL_EXT_bgra, GL_ARB_sync, GL_NV_light_max_exponent, GL_APPLE_packed_pixels, GL_EXT_provoking_vertex, GL_APPLE_aux_depth_stencil, GL_EXT_clip_volume_hint, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_IBM_rasterpos_clip, GL_ARB_vertex_program, GL_ATI_texture_env_combine3, GL_EXT_framebuffer_sRGB, GL_ARB_texture_float, GL_ARB_imaging, GL_EXT_stencil_wrap, GL_EXT_bindable_uniform, GL_EXT_framebuffer_blit, GL_APPLE_row_bytes, GL_ARB_vertex_array_bgra, GL_EXT_debug_marker, GL_APPLE_fence, GL_ARB_texture_compression, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_APPLE_vertex_array_object, GL_EXT_texture_integer, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_EXT_transform_feedback, GL_EXT_texture_compression_s3tc, GL_APPLE_pixel_buffer, GL_ARB_point_sprite, GL_ARB_depth_clamp, GL_NV_depth_clamp, GL_APPLE_ycbcr_422, GL_EXT_abgr, GL_NV_blend_square, GL_ARB_vertex_buffer_object, GL_ARB_instanced_arrays, GL_APPLE_transform_hint, GL_EXT_framebuffer_multisample, GL_NV_conditional_render, GL_ARB_multitexture, GL_EXT_vertex_array_bgra, GL_ARB_seamless_cube_map, GL_ARB_draw_elements_base_vertex, GL_ARB_shadow, GL_EXT_blend_subtract, GL_ARB_fragment_program_shadow, GL_NV_fragment_program_option, GL_APPLE_flush_buffer_range, GL_ARB_window_pos, GL_EXT_texture_lod_bias, WGL_EXT_extensions_string, WGL_EXT_swap_control, GL_ARB_texture_env_crossbar, GL_ARB_point_parameters, GL_NV_fragment_program2, GL_ARB_shadow_ambient, GL_ARB_depth_buffer_float, GL_EXT_texture_sRGB_decode, GL_EXT_timer_query, GL_ARB_texture_rg, GL_EXT_texture_sRGB, GL_EXT_texture_compression_dxt1, GL_ARB_texture_env_combine, GL_SGI_color_matrix, GL_ARB_vertex_blend, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_fragment_program, GL_EXT_packed_float, GL_EXT_texture_filter_anisotropic, GL_NV_vertex_program2_option, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_APPLE_float_pixels, GL_APPLE_element_array, GL_EXT_packed_depth_stencil, GL_APPLE_vertex_program_evaluators, GL_ARB_texture_rectangle, GL_EXT_geometry_shader4, GL_EXT_fog_coord, GL_SGIS_texture_lod, GL_APPLE_rgb_422, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_fragment_shader, GL_ARB_shading_language_100, GL_EXT_secondary_color, GL_EXT_debug_label, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_EXT_texture_rectangle, GL_EXT_draw_buffers2, GL_EXT_blend_func_separate, GL_ARB_texture_cube_map, GL_EXT_texture_array, GL_ARB_occlusion_query, GL_EXT_framebuffer_object, GL_APPLE_vertex_point_size, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_ARB_provoking_vertex, GL_EXT_blend_equation_separate, GL_ATI_texture_float, GL_ARB_color_buffer_float, GL_EXT_texture_env_add, GL_SGIS_texture_edge_clamp
22:38:16.830 [rendering.opengl.shader.support]: Shaders are supported.
22:38:16.842 [searchPaths.dumpAll]: Resource paths:
Resources
../AddOns
22:38:20.765 [shipData.load.begin]: Loading ship data.
22:38:21.101 [startup.complete]: ========== Loading complete in 5.66 seconds. ==========
22:38:26.488 [plist.parse.failed]: Failed to parse C:\Program Files/Oolite/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist as a property list.
Parse failed at line 1 (char 2) - unexpected character (wanted '>')
22:38:26.488 [oxz.manager.error]: Downloaded manifest was not a valid plist, has been left in C:\Program Files/Oolite/oolite.app/GNUstep/Library/Caches/org.aegidian.oolite/Oolite-download.plist
22:38:29.884 [exit.context]: Exiting: Exit Game selected on start screen.
22:38:29.889 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2025-02-10 22:38:29 +0100.

Re: Running Windows Oolite on macOS Sonoma

Posted: Mon Feb 10, 2025 11:56 pm
by MrFlibble
maik wrote: Mon Feb 10, 2025 9:52 pm
I am playing around with Whisky, which combines Wine with Apple's game porting toolkit to translate OpenGL and DirectX to Metal (if I understand it correctly).
...
22:38:16.803 [rendering.opengl.version]: OpenGL renderer version: 2.1.0
I think that may be the issue. >1.90 needs OpenGL 3.

Re: Running Windows Oolite on macOS Sonoma

Posted: Tue Feb 11, 2025 6:30 am
by another_commander
Yup, OGL 3.3 is needed for 1.91+.

Also, you may want to try setting up Whisky as a Windows 10 machine for improved compatibility. Right now it seems to be emulating Windows 7 Service Pack 1.

As for the .GNUstepDefaults file edit needed to enable the new url for OXPs, keep in mind that in Windows this file is using OpenStep syntax, not XML. That might be the reason it failed to work for you but I'm only guessing without some more information.