[Solved] Berf Engineer quite mute

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

Moderators: winston, another_commander

manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

[Solved] Berf Engineer quite mute

Post by manumie »

Hi there,

I'm a new Oolite commander and I'm definitely addicted.

Thanks to the Wiki and other resources I've found my way in the Ooniverse quite easily.

Recently I tried to add some OXPs, namely CustomSounds and Berf Engineer.
CustomSounds seems to work, but I've never heard Berf Engineer's chatter.
Latest.log shows that the OXP is loaded without warning.

I thought maybe CustomSounds was interfering so I removed it and left only Berf Engineer, but I still can't hear Berf Engineer.

Here's the Latest.log :

Code: Select all

17:59:40.148 [log.header]: Opening log for Oolite version 1.75.3 (x86-64) under Linux at 2012-05-13 17:59:40 +0200.
2 processors detected.
Build options: mass/fuel pricing.

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

17:59:40.310 [display.mode.list.native]: X11 native resolution detected: 1920 x 1080
17:59:40.734 [joystick.init]: Number of joysticks detected: 0
17:59:40.751 [dataCache.rebuild.explicitFlush]: Cache explicitly flushed with shift key. Rebuilding from scratch.
17:59:40.751 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
    /usr/lib/GNUstep/Applications/oolite.app/Resources
    ~/.Oolite/AddOns
    ~/.Oolite/AddOns/Captain Berf Engineer.oxp
17:59:40.752 [rendering.opengl.version]: OpenGL renderer version: 2.1.2 ("2.1.2 NVIDIA 173.14.30"). Vendor: "NVIDIA Corporation". Renderer: "GeForce 6150/PCI/SSE2".
17:59:40.752 [rendering.opengl.extensions]: OpenGL extensions (122):
GL_ATI_texture_mirror_once, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_ARB_depth_texture, GL_ARB_texture_env_add, GL_EXT_pixel_buffer_object, GL_NV_vertex_array_range, GL_EXT_depth_bounds_test, GL_NV_vertex_program2, GL_EXT_texture3D, GL_NV_vertex_program3, GL_EXT_compiled_vertex_array, GL_NV_vertex_program1_1, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_texture_cube_map, GL_EXT_rescale_normal, GL_ATI_draw_buffers, GL_ARB_transpose_matrix, GL_EXT_stencil_two_side, GL_ARB_texture_border_clamp, GL_ARB_multisample, GL_ARB_half_float_pixel, GL_NV_fog_distance, GL_ARB_texture_non_power_of_two, GL_EXT_bgra, GL_EXT_texture_env_dot3, GL_NV_light_max_exponent, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_SGIX_depth_texture, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_vertex_program, GL_NV_framebuffer_multisample_coverage, GL_KTX_buffer_region, GL_NV_texture_env_combine4, GL_ARB_texture_float, GL_ARB_imaging, GL_NV_register_combiners, GL_NV_multisample_filter_hint, GL_EXT_stencil_wrap, GL_NV_primitive_restart, GL_EXT_framebuffer_blit, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_NV_register_combiners2, GL_SUN_slice_accum, GL_EXT_texture_lod, GL_EXT_texture_compression_s3tc, GL_ARB_point_sprite, GL_NV_texture_shader, GL_NV_depth_clamp, GL_EXT_vertex_array, GL_EXT_abgr, GL_NV_blend_square, GL_ARB_vertex_buffer_object, GL_EXT_framebuffer_multisample, GL_NV_texture_rectangle, GL_ARB_multitexture, GL_ARB_shadow, GL_EXT_blend_subtract, GL_ARB_fragment_program_shadow, GL_NV_fragment_program_option, GL_ARB_window_pos, GL_NV_fence, GL_IBM_texture_mirrored_repeat, GL_EXT_texture_lod_bias, GL_ARB_point_parameters, GL_NV_fragment_program2, GL_NV_float_buffer, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_texture_sRGB, GL_ARB_texture_env_combine, GL_ARB_fragment_program, GL_SGIX_shadow, GL_EXT_texture_filter_anisotropic, GL_NV_vertex_program2_option, GL_NV_vertex_array_range2, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_NV_pixel_data_range, GL_EXT_packed_depth_stencil, GL_ARB_texture_rectangle, GL_EXT_fog_coord, GL_NV_half_float, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_ARB_shading_language_100, GL_EXT_secondary_color, GL_NV_occlusion_query, GL_EXT_point_parameters, GL_EXT_Cg_shader, GL_NV_vertex_program, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_NV_copy_depth_to_color, GL_NVX_conditional_render, GL_NV_texture_compression_vtc, GL_EXT_blend_func_separate, GL_NV_fragment_program, GL_ARB_texture_cube_map, GL_S3_s3tc, GL_NV_point_sprite, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXT_packed_pixels, GL_EXT_framebuffer_object, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_EXT_blend_equation_separate, GL_NV_texture_expand_normal, GL_ATI_texture_float, GL_ARB_color_buffer_float, GL_EXT_texture_env_add, GL_EXT_texture_env_combine
17:59:40.762 [rendering.opengl.shader.support]: Shaders are supported.
17:59:40.766 [shipData.load.begin]: Loading ship data.
17:59:41.096 [script.load.world.listAll]: Loaded 5 world scripts:
    oolite-cloaking-device 1.75.3
    oolite-constrictor-hunt 1.75.3
    oolite-nova 1.75.3
    oolite-thargoid-plans 1.75.3
    oolite-trumbles 1.75.3
17:59:41.959 [loading.complete]: ========== Loading complete. ==========
18:00:08.154 [script.load.world.listAll]: Loaded 5 world scripts:
    oolite-cloaking-device 1.75.3
    oolite-constrictor-hunt 1.75.3
    oolite-nova 1.75.3
    oolite-thargoid-plans 1.75.3
    oolite-trumbles 1.75.3
I thought maybe it was a problem with reading ogg files, but since CustomSounds works, it's got to be something else.

Has anyone got an idea as to what I should do to to feel less lonely aboard my ship ?

Thanks !
Last edited by manumie on Mon May 14, 2012 11:33 am, edited 1 time in total.
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: Berf Engineer quite mute

Post by Smivs »

manumie wrote:
Has anyone got an idea as to what I should do to to feel less lonely aboard my ship ?
Thanks !
You could always get a trumble! :twisted:

On a serious note, firstly Welcome!
Your log doesn't show any reason why the OXP is not working, and it does look as though it's installed OK. Oolite uses Ogg files, so if there was a generic problem with them you wouldn't hear anything.
It sometimes happens that something breaks or gets corrupted during download and/or un-zipping, so it might be worth trying a re-install. Remove the OXP, re-download it and try again.
Commander Smivs, the friendliest Gourd this side of Riedquat.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: Berf Engineer quite mute

Post by another_commander »

Hi and welcome

I don't think that this is the reason for your actual issue with the Berf Eng OXP, but you seem to be using an older version of the game, which is built without many of the features we normally have active (you are running Deployment configuration from what it looks like, which is a configuration we have never officially released). I would recommend upgrading to version 1.76, which is the current stable regardless of whether it fixes the problem or not.
manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

Re: Berf Engineer quite mute

Post by manumie »

Wow ! Faster than light answers ! Thanks guys.

I installed the version shipped with Ubuntu (11.10), but I'll try installing 1.76 right away.

I'll keep you informed.
manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

Re: Berf Engineer quite mute

Post by manumie »

I removed the older version and installed 1.76 from oolite.org

I also followed Smivs advice (not the one about the trumble :P ) : removed the OXP, downloaded a fresh copy, and installed it.

I tried to make a jump without enough fuel and got a nice warning from Captain Berf's Engineer !
So it's working ! Thank you guys.

However, giving a look at Latest.log, I notice a few things :

Basic-debug OXP seems to be having trouble connecting to some debug console.. Could you give me a hint on what to do about that ?
And also, how can I turn speech synthesis on ?

Here's the brand new Latest.log :

Code: Select all

11:40:33.822 [log.header]: Opening log for Oolite version 1.76 (x86-64 test release) under Linux at 2012-05-14 11:40:33 +0200.
2 processors detected.
Build options: spoken messages, mass/fuel pricing, JavaScript console support, OXP verifier, localization tools, debug GraphViz support, JavaScript profiling.

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

11:40:33.998 [display.mode.list.native]: X11 native resolution detected: 1920 x 1080
11:40:34.214 [joystick.init]: Number of joysticks detected: 0
11:40:34.245 [dataCache.rebuild]: Data cache version (1.75.3) does not match Oolite version (1.76), rebuilding cache.
11:40:34.245 [searchPaths.dumpAll]: Unrestricted mode - resource paths:
    ~/GNUstep/Applications/Oolite/oolite.app/Resources
    AddOns
    ~/.Oolite/AddOns
    AddOns/Basic-debug.oxp
    ~/.Oolite/AddOns/Captain Berf Engineer.oxp
11:40:34.245 [rendering.opengl.version]: OpenGL renderer version: 2.1.2 ("2.1.2 NVIDIA 173.14.30"). Vendor: "NVIDIA Corporation". Renderer: "GeForce 6150/PCI/SSE2".
11:40:34.246 [rendering.opengl.extensions]: OpenGL extensions (122):
GL_ATI_texture_mirror_once, GL_NV_texture_shader2, GL_NV_texture_shader3, GL_ARB_depth_texture, GL_ARB_texture_env_add, GL_EXT_pixel_buffer_object, GL_NV_vertex_array_range, GL_EXT_depth_bounds_test, GL_NV_vertex_program2, GL_EXT_texture3D, GL_NV_vertex_program3, GL_EXT_compiled_vertex_array, GL_NV_vertex_program1_1, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_texture_cube_map, GL_EXT_rescale_normal, GL_ATI_draw_buffers, GL_ARB_transpose_matrix, GL_EXT_stencil_two_side, GL_ARB_texture_border_clamp, GL_ARB_multisample, GL_ARB_half_float_pixel, GL_NV_fog_distance, GL_ARB_texture_non_power_of_two, GL_EXT_bgra, GL_EXT_texture_env_dot3, GL_NV_light_max_exponent, GL_ARB_vertex_shader, GL_ARB_shader_objects, GL_SGIX_depth_texture, GL_NV_texgen_reflection, GL_EXT_multi_draw_arrays, GL_IBM_rasterpos_clip, GL_EXT_texture_object, GL_ARB_vertex_program, GL_NV_framebuffer_multisample_coverage, GL_KTX_buffer_region, GL_NV_texture_env_combine4, GL_ARB_texture_float, GL_ARB_imaging, GL_NV_register_combiners, GL_NV_multisample_filter_hint, GL_EXT_stencil_wrap, GL_NV_primitive_restart, GL_EXT_framebuffer_blit, GL_NV_packed_depth_stencil, GL_ARB_texture_compression, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_NV_register_combiners2, GL_SUN_slice_accum, GL_EXT_texture_lod, GL_EXT_texture_compression_s3tc, GL_ARB_point_sprite, GL_NV_texture_shader, GL_NV_depth_clamp, GL_EXT_vertex_array, GL_EXT_abgr, GL_NV_blend_square, GL_ARB_vertex_buffer_object, GL_EXT_framebuffer_multisample, GL_NV_texture_rectangle, GL_ARB_multitexture, GL_ARB_shadow, GL_EXT_blend_subtract, GL_ARB_fragment_program_shadow, GL_NV_fragment_program_option, GL_ARB_window_pos, GL_NV_fence, GL_IBM_texture_mirrored_repeat, GL_EXT_texture_lod_bias, GL_ARB_point_parameters, GL_NV_fragment_program2, GL_NV_float_buffer, GL_EXT_timer_query, GL_EXT_texture_edge_clamp, GL_EXT_texture_sRGB, GL_ARB_texture_env_combine, GL_ARB_fragment_program, GL_SGIX_shadow, GL_EXT_texture_filter_anisotropic, GL_NV_vertex_program2_option, GL_NV_vertex_array_range2, GL_EXT_draw_range_elements, GL_ARB_pixel_buffer_object, GL_NV_pixel_data_range, GL_EXT_packed_depth_stencil, GL_ARB_texture_rectangle, GL_EXT_fog_coord, GL_NV_half_float, GL_SGIS_texture_lod, GL_EXT_gpu_program_parameters, GL_ARB_fragment_shader, GL_ARB_shading_language_100, GL_EXT_secondary_color, GL_NV_occlusion_query, GL_EXT_point_parameters, GL_EXT_Cg_shader, GL_NV_vertex_program, GL_ARB_draw_buffers, GL_SGIS_generate_mipmap, GL_NV_copy_depth_to_color, GL_NVX_conditional_render, GL_NV_texture_compression_vtc, GL_EXT_blend_func_separate, GL_NV_fragment_program, GL_ARB_texture_cube_map, GL_S3_s3tc, GL_NV_point_sprite, GL_ARB_occlusion_query, GL_EXT_texture_mirror_clamp, GL_EXT_packed_pixels, GL_EXT_framebuffer_object, GL_ARB_texture_mirrored_repeat, GL_ARB_texture_env_dot3, GL_EXT_blend_equation_separate, GL_NV_texture_expand_normal, GL_ATI_texture_float, GL_ARB_color_buffer_float, GL_EXT_texture_env_add, GL_EXT_texture_env_combine
11:40:34.254 [rendering.opengl.shader.support]: Shaders are supported.
11:40:34.255 [speech.synthesis]: Spoken messages are off.
11:40:34.476 [shipData.load.begin]: Loading ship data.
11:40:34.833 [script.javascript.init]: JavaScript reset successful.
11:40:34.845 [script.load.world.listAll]: Loaded 5 world scripts:
    oolite-cloaking-device 1.76
    oolite-constrictor-hunt 1.76
    oolite-nova 1.76
    oolite-thargoid-plans 1.76
    oolite-trumbles 1.76
11:40:36.343 [debugTCP.disconnect]: No connection to debug console: "Connection to debug console failed: 'NSPOSIXErrorDomain 111' (outStream status: 7, inStream status: 7)."
11:40:36.344 [debugTCP.disconnect]: No connection to debug console: "Connection to debug console failed: 'unknown error.' (outStream status: 0, inStream status: 0)."
11:40:36.344 [debugTCP.connect.failed]: Failed to connect to debug console at address 127.0.0.1:8563.
11:40:36.423 [loading.complete]: ========== Loading complete. ==========
11:40:50.297 [script.javascript.init]: JavaScript reset successful.
11:40:50.307 [script.load.world.listAll]: Loaded 5 world scripts:
    oolite-cloaking-device 1.76
    oolite-constrictor-hunt 1.76
    oolite-nova 1.76
    oolite-thargoid-plans 1.76
    oolite-trumbles 1.76
11:41:52.911 [gameController.exitApp]: .GNUstepDefaults synchronized.

Closing log at 2012-05-14 11:41:52 +0200.
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Berf Engineer quite mute

Post by cim »

Welcome to the forum!
manumie wrote:
However, giving a look at Latest.log, I notice a few things :

Basic-debug OXP seems to be having trouble connecting to some debug console.. Could you give me a hint on what to do about that ?
And also, how can I turn speech synthesis on ?
The debug console is a tool for OXP developers. If you're playing the game you can ignore that error.

Speech synthesis: make sure "espeak" packages are installed, and then it can be turned on in Game Options on the F2 screen.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Berf Engineer quite mute

Post by Diziet Sma »

Welcome to "The friendliest board this side of Riedquat", manumie!

This brings up an interesting point.. do all the various Linux flavours out there somehow know we have a new official Stable version released, or do we have to inform them of that fact?
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Re: Berf Engineer quite mute

Post by Thargoid »

From memory, I think when I put PP 12.04 onto my netbook a couple of weeks back it tried to put 1.75.3 on when I looked in the package manager. So it does seem to be a bit behind the times (although at least it didn't try to punt 1.65).
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Berf Engineer quite mute

Post by Cody »

cim wrote:
The debug console is a tool for OXP developers. If you're playing the game you can ignore that error.
I wonder if the install default for that should be 'no' in the release version?
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

Re: Berf Engineer quite mute

Post by manumie »

Thank you !

Actually, I'm pretty familiar with Javascript, and I'd like to contribute in a way or another to Oolite.
I've got tons of work at the moment (says the guy posting on a game's forum on a working day... ;-) ), so I can't really get into it right now, but I will certainly some day soon.

In the meantime, I figure I could learn plenty from a working debug console, couldn't I ?

@Diziet Sma and Thargoid
I think the software included in Ubuntu software center goes through some kind of tweaking or at least validation process.
I don't how big the team in charge of the games is. It might worth letting them know about Oolite 1.76

Man, this forum is _really_ the frindliest place this side of Riedquat !
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Berf Engineer quite mute

Post by Cody »

manumie wrote:
In the meantime, I figure I could learn plenty from a working debug console, couldn't I ?
This dumb pilot says 'yes'... and welcome aboard!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: Berf Engineer quite mute

Post by cim »

manumie wrote:
In the meantime, I figure I could learn plenty from a working debug console, couldn't I ?
Download and documentation at [wiki]Debug OXP[/wiki] - on Linux you'll need to download the separate Python debug console as well.
manumie wrote:
I think the software included in Ubuntu software center goes through some kind of tweaking or at least validation process. I don't how big the team in charge of the games is. It might worth letting them know about Oolite 1.76
Debian unstable has 1.76 packaged, so it should be fairly easy for them to pull it across into Ubuntu. I haven't looked into how you go about requesting that sort of thing, though.
manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

Re: [Solved] Berf Engineer quite mute

Post by manumie »

I downloaded Debug OXP and the external Python console, gave myself execution rights and ran DebugConsole.py :

Code: Select all

bash: (...)/oolite OXPs/DebugConsole/DebugConsole.py : /usr/bin/python^M : bad interpreter: no such file or directory
(the error message is translated from French, so it might not be the exact same message in English)

/usr/bin/python exists

The ^M makes me think of some kind of line break and/or encoding issue ?
I checked : DebugConsole.py is encoded in UTF-8, so it should go just fine.

Any idea ?
User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4072
Joined: Fri Nov 11, 2011 6:19 pm

Re: [Solved] Berf Engineer quite mute

Post by cim »

manumie wrote:
I downloaded Debug OXP and the external Python console, gave myself execution rights and ran DebugConsole.py :

Code: Select all

bash: (...)/oolite OXPs/DebugConsole/DebugConsole.py : /usr/bin/python^M : bad interpreter: no such file or directory
The ^M makes me think of some kind of line break and/or encoding issue ?
Probably. Try running fromdos or dos2unix on DebugConsole.py (I think it's in the tofrodos package, if you don't already have it)
manumie
Poor
Poor
Posts: 6
Joined: Mon May 14, 2012 8:03 am

Re: [Solved] Berf Engineer quite mute

Post by manumie »

Thanks cim, that was it.

The console is running, with Oolite connected to it.
I am now entering a whole new galaxy inside the Ooniverse !

Thank you all for your answers !
Post Reply