Galactic Almanac OXP - Beta 1

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

hiran
---- E L I T E ----
---- E L I T E ----
Posts: 564
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Galactic Almanac OXP - Beta 1

Post by hiran »

Mauiby de Fug wrote: Wed Sep 08, 2021 4:17 pm I was curious so downloaded this. Things seem to run fine on my Windows machine. I opened up the descriptions.plist and downloaded a VSCode extension to try and get syntax highlighting to see if there's anything obvious there. Might be a red herring, but within

Code: Select all

// ********************************************************************************************

// Change the entry in the key below to set the Word Tables used by the Random Generator.
// HERE!

	"random_stations_generator_list" =
	(
	//"[planetFall_Surface_hoopy_name]",
	"[random_stations_generator_list_planetFall_examples]",

	//"[random_stations_generator_list_default_examples]",
	);
//"[planetFall_Surface_hoopy_name]",
and
/"[random_stations_generator_list_default_examples]",
don't look to me like they're actually commented out! Perhaps try deleting those lines and see if that works?

(Screenshot of the highlighted syntax to see what I mean - I think the red // may be being read as unexpected characters?: https://app.box.com/s/wq2iwxu0trakk92htl861ogl9g3ou9b0)
It is a bit of mystery. I'd love to have a stable definition of the file format itself. So far what I found is
https://en.wikipedia.org/wiki/Property_list#macOS
which mentioned that Apple can read the NextStep format, which is documented here:
https://en.wikipedia.org/wiki/Property_list#NeXTSTEP
And in there I see
* Comments are allowed as: /* This is a comment */ and // This is a line comment.
* As in C, whitespace are generally insignificant to syntax. Value statements terminate by a semicolon.


so it *should not* be the doubleslash. But with the error pointing to line one I also have no explanation what the root cause might be. Your suggestion is at least something we can try.
I have not failed. I've just found 10,000 ways that won't work. [Thomas Edison]
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1885
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Galactic Almanac OXP - Beta 1

Post by Cholmondely »

What about the AppleMac's famously close relationship with the Debug Console?

Image

I don't understand a word of any of this... but is there really nothing here that might help in some way?

Reference: http://wiki.alioth.net/index.php/Debug_OXP
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Galactic Almanac OXP - Beta 1

Post by phkb »

So this is really, officially, weird now.

I've got a Mac OS VM running, which has allowed me to do a Mac build of Oolite. So I thought I'd check out this OXP and see if the problem was repeatable. After compiling and running, I got the "Failed to parse" error, as others have reported.

I then put some debug code in (basically, I wrote some additional data out to the log file), but *no other changes*. I compile and run, and bingo, it's working.

I took my debug code out again, recompiled and ran again. And it still worked!

So I'm really stumped now. I still don't know what caused the error, and now I can't even reproduce it!
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 853
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Galactic Almanac OXP - Beta 1

Post by montana05 »

phkb wrote: Thu Sep 09, 2021 4:30 am So this is really, officially, weird now.

I've got a Mac OS VM running, which has allowed me to do a Mac build of Oolite. So I thought I'd check out this OXP and see if the problem was repeatable. After compiling and running, I got the "Failed to parse" error, as others have reported.

I then put some debug code in (basically, I wrote some additional data out to the log file), but *no other changes*. I compile and run, and bingo, it's working.

I took my debug code out again, recompiled and ran again. And it still worked!

So I'm really stumped now. I still don't know what caused the error, and now I can't even reproduce it!
Just a thought of mine, did you edit and save the file on the Mac ?
Scars remind us where we've been. They don't have to dictate where we're going.
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 494
Joined: Sat Aug 09, 2014 4:16 pm

Re: Galactic Almanac OXP - Beta 1

Post by Commander_X »

phkb wrote: Thu Sep 09, 2021 4:30 am [...] I still don't know what caused the error, and now I can't even reproduce it!
... that might not be entirely accurate. What if you tried to:

1. Create a new user
2. Copy your Oolite.app to your new user working area (or make it available system wide).

If when running Oolite as new user you don't have the issue, it's very likely you solved it (without knowing what it was). Otherwise ... you get my point, right?! (your "solution" might be in the user's local settings -- among the "~/Library/<Oolite's_settings_and_other_stuff_folder>)
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2812
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Dangerous.

Re: Galactic Almanac OXP - Beta 1

Post by LittleBear »

I'm not sure why not having a space after the // would make a difference. But the characters //" only appear at the line that seems to be causing a problem.

Could you try this Beta 1.2 ?

This is the same but will all the commenting out removed in the first key and just the general examples key selected (no commenting anywhere that bit).

https://app.box.com/s/visrk4tmvh0ih8ipttd2i166bbfeo14w

You need to delete the 1.1 from addons.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1885
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Galactic Almanac OXP - Beta 1

Post by Cholmondely »

Sorry... same issue I'm afraid...

Code: Select all

Opening log for Oolite version 1.90 (x86-64) under Mac OS X Version 10.15.3 (Build 19D2064) at 2021-09-09 23:23:30 +0000.
Machine type: MacBookAir9,1, 8192 MiB memory, 2 (4 logical) x x86 (family 0x38435547) @ 1100 MHz.
Build options: OpenAL, new planets.

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

00:23:30.459 [dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
00:23:30.793 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
00:23:30.793 [rendering.opengl.version]: OpenGL renderer version: 2.1.0 ("2.1 INTEL-14.4.26"). Vendor: "Intel Inc.". Renderer: "Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP".
00:23:30.793 [rendering.opengl.extensions]: OpenGL extensions (128):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_APPLE_object_purgeable, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_APPLE_vertex_array_range, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ATI_texture_mirror_once, GL_APPLE_float_pixels, GL_EXT_framebuffer_multisample, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
00:23:30.809 [rendering.opengl.shader.support]: Shaders are supported.
00:23:30.824 [dataCache.rebuild.pathsChanged]: Cache is stale (search paths have changed). Rebuilding from scratch.
00:23:30.825 [searchPaths.dumpAll]: Resource paths: 
    ~/Desktop/Oolite/Oolite 1.90.app/Contents/Resources
    ~/Library/Application Support/Oolite/Managed AddOns
    ~/Library/Application Support/Oolite/AddOns
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.LogEvents.oxz
    ~/Library/Application Support/Oolite/AddOns/GalacticAlmanacBeta1.2.oxp
00:23:30.837 [plist.parse.failed]: Failed to parse /Users/accountname/Library/Application Support/Oolite/AddOns/GalacticAlmanacBeta1.2.oxp/Config/descriptions.plist as a property list.
Unexpected character { at line 1
00:23:30.840 [shipData.load.begin]: Loading ship data.
00:23:30.850 [shipData.load.error]: ***** ERROR: the shipdata.plist entry "cb68_sodalite_station-riredi-coluber_no_beacon_version" has unresolved subentity cb68_sodalite_station-dock-riredi-coluber.
00:23:30.851 [shipData.load.error]: ***** ERROR: the shipdata.plist entry "pagroove_superhub_station_mainhull_no_beacon_version" has unresolved subentities pagroove_superhub_dock, pagroove_superhub_station_ring1, pagroove_superhub_station_ring2.
00:23:31.582 [startup.complete]: ========== Loading complete in 1.05 seconds. ==========
00:23:39.430 [shipData.load.begin]: Loading ship data.
00:23:40.068 [script.load.world.listAll]: Loaded 18 world scripts:
    logevents 1.4
    Oolite Equipment Control 1.90
    Oolite Ship Library 1.90
    oolite-cloaking-device 1.90
    oolite-constrictor-hunt 1.90
    oolite-contracts-cargo 1.90
    oolite-contracts-helpers 1.90
    oolite-contracts-parcels 1.90
    oolite-contracts-passengers 1.90
    oolite-libPriorityAI 1.90
    oolite-nova 1.90
    oolite-populator 1.90
    oolite-primable-equipment-register 1.90
    oolite-registership 1.90
    oolite-thargoid-plans 1.90
    oolite-trumbles 1.90
    oolite-tutorial 1.90
    RandomStationNames Beta Version 1.2 - 09.09.21
00:23:40.076 [LogEvents]: ship got EQ_FUEL_SCOOPS
00:23:40.076 [LogEvents]: ship got EQ_ESCAPE_POD
00:23:40.111 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to undefined
00:23:40.111 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to Nemus Lapillus (Star)
00:23:41.225 [LogEvents]: Populators:
 {"oolite-thargoid-scouts":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-hunters-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-independent-route1":{"priority":40,"location":"LANE_WP","groupCount":2},
  "oolite-pirate-independent-route2":{"priority":40,"location":"LANE_PS","groupCount":0},
  "oolite-pirate-independent-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-route1-asteroids":{"groupCount":1,"deterministic":1,"priority":20,"location":"LANE_WP","locationSeed":51728},
  "oolite-police-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-interceptors-witchpoint":{"priority":40,"location":"WITCHPOINT","groupCount":0},
  "oolite-pirate-medium-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-couriers-route3":{"priority":40,"location":"LANE_WS","groupCount":1},
  "oolite-interceptors-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-medium-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-light-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-freighters-docking":{"priority":40,"location":"STATION_AEGIS","groupCount":1},
  "oolite-freighters":{"priority":40,"location":"LANE_WP","groupCount":5},
  "oolite-hunters-medium-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-couriers-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-route2-asteroids":{"groupCount":3,"deterministic":1,"priority":20,"location":"LANE_PS","locationSeed":82715},
  "oolite-hunters-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-smugglers":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-heavy-remote":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-pirate-light-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-offlane-hermit":{"groupCount":1,"deterministic":1,"priority":99,"location":"PLANET_ORBIT_HIGH","locationSeed":71258},
  "oolite-hunters-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-police-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-police-stationpatrol":{"location":"STATION_AEGIS","priority":40},
  "oolite-hunters-heavy-route3":{"priority":40,"location":"LANE_WS","groupCount":0},
  "oolite-hunters-heavy-route1":{"priority":40,"location":"LANE_WP","groupCount":0},
  "oolite-thargoid-strike":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-pirate-medium-route1":{"priority":40,"location":"LANE_WP","groupCount":1},
  "oolite-pirate-heavy-triangle":{"priority":40,"location":"LANE_WPS","groupCount":0},
  "oolite-nav-buoy":{"deterministic":1,"coordinates":[-43461.71875,53368.9609375,430708.0625],"priority":5,"location":"COORDINATES"},
  "oolite-assassins":{"priority":40,"location":"WITCHPOINT","groupCount":2},
  "oolite-witch-buoy":{"deterministic":1,"priority":10,"location":"COORDINATES","coordinates":[0,0,0]},
  "oolite-pirate-light-triangle":{"priority":40,"location":"LANE_WPS","groupCount":1}}
00:23:41.226 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to undefined
00:23:41.226 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to Nemus Lapillus (Star)
00:23:41.226 [LogEvents]: gui screen will change from GUI_SCREEN_LOAD to GUI_SCREEN_STATUS
00:23:41.226 [LogEvents]: gui screen changed from GUI_SCREEN_LOAD to GUI_SCREEN_STATUS
00:23:41.226 [LogEvents]: mission screen opportunity
00:23:41.242 [LogEvents]: gui screen changed from GUI_SCREEN_STATUS to GUI_SCREEN_MISSION
00:23:41.422 [LogEvents]: Coriolis Station 12651 spawned at 0 km
00:23:41.422 [LogEvents]: Navigation Buoy 7280 spawned at 10 km
00:23:41.422 [LogEvents]: Cobra Mark I 15165 spawned at 21 km
00:23:41.422 [LogEvents]: GalCop Viper 10183 spawned at 33 km
00:23:41.422 [LogEvents]: Asteroid 8685 spawned at 228 km
00:23:41.422 [LogEvents]: Asteroid 10820 spawned at 236 km
00:23:41.423 [LogEvents]: Asteroid 25986 spawned at 241 km
00:23:41.423 [LogEvents]: Asteroid 19695 spawned at 347 km
00:23:41.423 [LogEvents]: Asteroid 25392 spawned at 352 km
00:23:41.424 [LogEvents]: Asteroid 27977 spawned at 356 km
00:23:41.424 [LogEvents]: Asteroid 31524 spawned at 370 km
00:23:41.424 [LogEvents]: Asteroid 19381 spawned at 508 km
00:23:41.424 [LogEvents]: Rock Hermit 25034 spawned at 523 km
00:23:41.424 [LogEvents]: Asteroid 9202 spawned at 531 km
00:23:44.193 [LogEvents]: gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:23:44.196 [LogEvents]: gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:23:44.198 [LogEvents]: mission screen ended
00:23:44.198 [LogEvents]: mission screen opportunity
00:23:49.182 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to undefined
00:23:49.198 [LogEvents]: gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
00:23:54.661 [LogEvents]: gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:23:54.666 [LogEvents]: gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:23:54.713 [LogEvents]: gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
00:24:01.868 [LogEvents]: gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:01.872 [LogEvents]: gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:01.873 [LogEvents]: gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
00:24:08.797 [LogEvents]: gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:08.801 [LogEvents]: gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:08.802 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to undefined
00:24:08.816 [LogEvents]: gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
00:24:11.031 [LogEvents]: gui screen will change from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:11.035 [LogEvents]: gui screen changed from GUI_SCREEN_MISSION to GUI_SCREEN_INTERFACES
00:24:11.036 [LogEvents]: mission screen ended
00:24:11.036 [LogEvents]: mission screen opportunity
00:24:13.645 [LogEvents]: system information changed in galaxy 0 system 7 key sun_name to undefined
00:24:13.661 [LogEvents]: gui screen changed from GUI_SCREEN_INTERFACES to GUI_SCREEN_MISSION
00:24:15.329 [exit.context]: Exiting: Cocoa terminate event.

Closing log at 2021-09-09 23:24:15 +0000.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 853
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Galactic Almanac OXP - Beta 1

Post by montana05 »

Cholmondely wrote: Thu Sep 09, 2021 11:25 pm Sorry... same issue I'm afraid...
Cholmondely, could you please try to download Gecko Dragon Class ? I would be interested if you get the same error message.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1885
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Galactic Almanac OXP - Beta 1

Post by Cholmondely »

montana05 wrote: Fri Sep 10, 2021 2:43 am
Cholmondely wrote: Thu Sep 09, 2021 11:25 pm Sorry... same issue I'm afraid...
Cholmondely, could you please try to download Gecko Dragon Class ? I would be interested if you get the same error message.
Different Error message!

Code: Select all

Opening log for Oolite version 1.90 (x86-64) under Mac OS X Version 10.15.3 (Build 19D2064) at 2021-09-10 08:53:08 +0000.
Machine type: MacBookAir9,1, 8192 MiB memory, 2 (4 logical) x x86 (family 0x38435547) @ 1100 MHz.
Build options: OpenAL, new planets.

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

09:53:08.221 [oxp.requirementMissing]: OXP Oolite.oxp.zzz.Montana05.BUS_gecko_dragon.OXZ had unmet requirements and was removed from the loading list
09:53:08.467 [joystick.error.init]: Cannot open HID manager; joystick support will not function.
09:53:08.468 [rendering.opengl.version]: OpenGL renderer version: 2.1.0 ("2.1 INTEL-14.4.26"). Vendor: "Intel Inc.". Renderer: "Intel(R) Iris(TM) Plus Graphics OpenGL Engine (1x6x8 (fused) LP".
09:53:08.468 [rendering.opengl.extensions]: OpenGL extensions (128):
GL_EXT_texture_compression_dxt1, GL_EXT_rescale_normal, GL_EXT_transform_feedback, GL_EXT_blend_func_separate, GL_EXT_framebuffer_sRGB, GL_ATI_texture_env_combine3, GL_ARB_draw_elements_base_vertex, GL_EXT_debug_label, GL_EXT_geometry_shader4, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_NV_texgen_reflection, GL_NV_blend_square, GL_ARB_texture_compression_rgtc, GL_EXT_stencil_wrap, GL_ARB_texture_env_crossbar, GL_EXT_framebuffer_blit, GL_ATI_separate_stencil, GL_APPLE_vertex_point_size, GL_EXT_texture_rectangle, GL_APPLE_specular_vector, GL_EXT_packed_depth_stencil, GL_EXT_blend_color, GL_ARB_fragment_program_shadow, GL_EXT_texture_env_add, GL_EXT_provoking_vertex, GL_EXT_texture_array, GL_ARB_texture_env_combine, GL_ARB_point_sprite, GL_ARB_multisample, GL_EXT_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_EXT_texture_lod_bias, GL_APPLE_pixel_buffer, GL_ARB_vertex_program, GL_EXT_bgra, GL_APPLE_fence, GL_APPLE_ycbcr_422, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_ARB_depth_clamp, GL_IBM_rasterpos_clip, GL_ARB_pixel_buffer_object, GL_SGIS_generate_mipmap, GL_EXT_framebuffer_multisample_blit_scaled, GL_ARB_shader_texture_lod, GL_ARB_texture_float, GL_ARB_texture_rectangle, GL_ARB_vertex_shader, GL_NV_texture_barrier, GL_ARB_provoking_vertex, GL_ARB_texture_env_add, GL_APPLE_object_purgeable, GL_ARB_texture_env_dot3, GL_APPLE_rgb_422, GL_NV_depth_clamp, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_cube_map, GL_APPLE_element_array, GL_ATI_texture_float, GL_ARB_window_pos, GL_ARB_sync, GL_ARB_vertex_buffer_object, GL_APPLE_texture_range, GL_NV_conditional_render, GL_EXT_stencil_two_side, GL_ARB_texture_compression, GL_ARB_instanced_arrays, GL_EXT_blend_minmax, GL_ARB_texture_border_clamp, GL_EXT_draw_buffers2, GL_ARB_shading_language_100, GL_EXT_blend_equation_separate, GL_ARB_vertex_blend, GL_EXT_blend_subtract, GL_EXT_packed_float, GL_APPLE_aux_depth_stencil, GL_APPLE_row_bytes, GL_NV_light_max_exponent, GL_EXT_abgr, GL_EXT_texture_filter_anisotropic, GL_ARB_vertex_array_bgra, GL_ARB_draw_buffers, GL_ARB_transpose_matrix, GL_ARB_color_buffer_float, GL_EXT_gpu_program_parameters, GL_APPLE_client_storage, GL_ARB_texture_non_power_of_two, GL_ARB_multitexture, GL_EXT_gpu_shader4, GL_APPLE_flush_render, GL_ARB_framebuffer_object, GL_APPLE_vertex_program_evaluators, GL_APPLE_transform_hint, GL_EXT_texture_compression_s3tc, GL_APPLE_flush_buffer_range, GL_EXT_texture_integer, GL_SGIS_texture_edge_clamp, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_fragment_shader, GL_ARB_texture_rg, GL_ARB_fragment_program, GL_ARB_seamless_cube_map, GL_ARB_shader_objects, GL_EXT_draw_range_elements, GL_APPLE_vertex_array_object, GL_ARB_depth_texture, GL_EXT_texture_sRGB, GL_ARB_half_float_vertex, GL_APPLE_vertex_array_range, GL_ARB_shadow, GL_EXT_multi_draw_arrays, GL_ARB_half_float_pixel, GL_APPLE_packed_pixels, GL_ARB_point_parameters, GL_EXT_debug_marker, GL_EXT_texture_sRGB_decode, GL_EXT_clip_volume_hint, GL_SGIS_texture_lod, GL_EXT_fog_coord, GL_EXT_texture_shared_exponent, GL_ATI_texture_mirror_once, GL_APPLE_float_pixels, GL_EXT_framebuffer_multisample, GL_ARB_depth_buffer_float, GL_ARB_draw_instanced
09:53:08.474 [rendering.opengl.shader.support]: Shaders are supported.
09:53:08.488 [oxp.requirementMissing]: OXP Oolite.oxp.zzz.Montana05.BUS_gecko_dragon.OXZ had unmet requirements and was removed from the loading list
09:53:08.489 [searchPaths.dumpAll]: Resource paths: 
    ~/Desktop/Oolite/Oolite 1.90.app/Contents/Resources
    ~/Library/Application Support/Oolite/Managed AddOns
    ~/Library/Application Support/Oolite/AddOns
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.Norby.LogEvents.oxz
    ~/Library/Application Support/Oolite/Managed AddOns/oolite.oxp.zzz.Montana05.resource_pack_01.oxz
09:53:08.493 [shipData.load.begin]: Loading ship data.
09:53:08.744 [startup.complete]: ========== Loading complete in 0.43 seconds. ==========
The resource pack was downloaded on the 8th December.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Galactic Almanac OXP - Beta 1

Post by phkb »

I tracked down the error in the descriptions.plist file that the Mac reader is getting upset over.

Line 3479:

Code: Select all

         "Lucia",,
Apparently a double comma is a no-no.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1885
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Galactic Almanac OXP - Beta 1

Post by Cholmondely »

I ripped open the oxp, deleted the doubled comma in the random station names.js file, and guess what! My AppleMac still had the same issues.

I then bothered to read Phkb's missive carefully, broke open the oxp again, and deleted the double comma in the .plist. That fixed it! It now works.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
phkb
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3137
Joined: Tue Jan 21, 2014 10:37 pm
Location: Between SDL and a hard place…

Re: Galactic Almanac OXP - Beta 1

Post by phkb »

Cholmondely wrote: Mon Sep 13, 2021 2:44 pm That fixed it! It now works.
Yay!
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2812
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Dangerous.

Re: Galactic Almanac OXP - Beta 1

Post by LittleBear »

Thanks Guys,

I'm totally stumped as to why windows did not throw a wobbely and refuse to run with the double comma. Not quite as dramatic as the case where "a man's life hung upon a comma" (https://www.theguardian.com/education/2 ... of-a-comma)!

I'll upload a Beta 1.3 with the fix. This will also include futher customisation of notable systems (currently 501 across the charts).

I've also worked out a more statisfactory way of dealing with new stations and for the next version it will follow the Random Ship Names format of "opt out" for stations as it currently does for planets and moon. That deals with the issues of stations such as Strangers. So the plan will be:-

1) For all station types relaesed before the Almanac V1.0, the station is assigned a custom style for that particular type. To avoid having to "monkey patch" other OXPS I have included an exclude list in the script. Basically it just checks that the station is != one of the unique stations on my exclude list. This should be everying released, but i'f I've missed one, if you do a find first in the OXZ script file for "EXCLUDE!" it will jump you to the bit of the script with the list. You can also poke a round the script by searching for "HERE!" as I've put faily extensive comments in about what each bit of the script does. Or at least what I'm meaning it to do.

2) For V1.0 the Almanac will assine a persitant name to any station (tweaked for govenment type, tech and inhabits) unless the script info is set to "off" or it is already named by V1.0. So if you are writing a new station and you don't want the Almanac to name it, then just set your script infor to "off"in the same way as you would with Random Ship Names.

3) If you would like to use the inbuild generator to whip up a batch of names for your stations, then have a poke around the descriptions file. It contains serveral thousand (if think - wrote this on and off over 18 months so a bit lost track!) lists and styles that you can combine by puting the keys you want to use in the descriptions template. Fire up Oolite and make a hyperspace jump. 256 names with be written each contained in a "", to desctiptions. Copy and paste it into your oxp's script file in an array called "this.myspecialpool". Set your script key to "myspecialpool" and the Almanac will use your list to name your stations. You can hand write the names if you like. The Almanac will just read whatever text you chose to type in to the "", in your array. It reads by system number, so your stations will always have persitant names and be the same for all players whichever method you use. If one of your stations is at system zero, then it gets the first name in the array. If it is a system 1 it gets name 2 (as Oolite counts from zero).

4) Included in the current B1.0 to B1.3 is the feature that the Almanac will show up to 200 stations and 200 planets per system. This is more meant for playtesting as if you want to test your stations, its a lot easier to spawn 200 of them at Lave and flip through the almanac and check they are working as you wanted in the wild than go and check each one indivually as 200 different systems that you are adding it to.

Just so people are aware that the following effects are featurs not bugs:-

1) The Almanac script reads the real state of the game as it exists for you each time you access it. The refresh is done each time you select it on the F4 screen. Although planets and moons cannot be destroyed (yet) this is not true of all stations. Most stations have so much energy that they cannot be destroyed by normal means. Purely for playtesting my commander carrys a special laser on his port view which can one shot a station, but generally stations are essentally indestructable. This is not true of quite a few. Witchpoint Beacons, Fuel Stations and Rock Hermits can (and often are) destroyed by raiding Thargoids, pirates and even chaotic evil players. Similarly carriers transmitting beacons such as Behomoths can be destroyed or just make a jump to another system.

The game containes running when you are docked. If you left your bridge unattended to make an evil brew / attend to one of your hatchlings / cubs / children etc the game still runs. When youi return a behmoth may have disappeared as it has jumped. A witchpoint beacon has been destroyed and (if you have RGS installed) and Amadilo tug boat transmitting a beacon will have appeared in system. If you wait long enough the Amardilo will complete its job, deploy a new witchpoint beacon and then jump out, disappearing from the Almanc as it jumps and the new witchpoint beacon it has deployed will now be shown on the Almanac Screen.

2) Some of the older oxps such as Lave Acadamy and my own Assassins OXP add their stations when the player lauches rather than when the game loads up. Under normal circumstances you would not be able to tell this as you would have the fidge door system as you cannot see the station exist until you lauch, at which point the fridge door is no loner closed / you are no longer docked. As the Almanac and In System distances both allow you to see when docked what really exists in the game, this allows you to 'peak'. If you first up a new commander at Lave and have Lave Acamady installed, when you first selected the Almanac the Acadamy will not be listed. This is because it does not exist yet. If you lauch and redock then it will be there and will now always be listed in the same game session. If you save and reload then it will disappear until you launch again. This isn't really a bug as both OXPs are doing what they are meant to do. Lave Acadmany is adding the acadamy when you launch and the Galactic Almanc is only reporting its existance once it exists. It is a minor issue, but if someone was thinking of updating the older OXPs then it might be better to add the station under this system populated rather than the old school method of adding it on a hyperspace jump / launching.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
User avatar
Cholmondely
Wiki Wizard
Wiki Wizard
Posts: 1885
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of Her Most Britannic Majesty (currently plague-ridden)
Contact:

Re: Galactic Almanac OXP - Beta 1

Post by Cholmondely »

LittleBear wrote: Tue Sep 14, 2021 12:20 am Thanks Guys,

I'm totally stumped as to why windows did not throw a wobbely and refuse to run with the double comma. Not quite as dramatic as the case where "a man's life hung upon a comma" (https://www.theguardian.com/education/2 ... of-a-comma)!

I'll upload a Beta 1.3 with the fix. This will also include futher customisation of notable systems (currently 501 across the charts).
Thank you for taking the trouble to ensure that the main orbital at Leesti is called "Leesti High". Would there be point in doing the same for Lave's Moon (if it has one)?
Basta (enough in Italian) is the name given to the moon in the Rough Guide page on Lave.

Edited to add:
Oh - further to the number of asteroid names, Asteroid Tweaks (Expansions Manager) allows one to multiply one's asteroids fivefold.
Denizen of the Dark and Dismal Deserts of Digebiti.

Milo wrote Dancing the Gavotte
User avatar
LittleBear
---- E L I T E ----
---- E L I T E ----
Posts: 2812
Joined: Tue Apr 04, 2006 7:02 pm
Location: On a survey mission for GalCop. Ship: Cobra Corvette: Hidden Dragon Rated: Dangerous.

Re: Galactic Almanac OXP - Beta 1

Post by LittleBear »

Updated the Wiki and the first post with a link to B1.3.
OXPS : The Assassins Guild, Asteroid Storm, The Bank of the Black Monks, Random Hits, The Galactic Almanac, Renegade Pirates can be downloaded from the Elite Wiki here.
Post Reply