v1.73.4, Ubuntu 9.04: Key and sound problems

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
jkn
Poor
Poor
Posts: 5
Joined: Sat Nov 21, 2009 4:03 pm

v1.73.4, Ubuntu 9.04: Key and sound problems

Post by jkn »

Oolite v1.73.4, Ubuntu 9.04
(are there packages for 9.10?, I could test.)

I cannot 'Switch Advanced Space Compass mode'. I need 'Alt Gr'
for \. Perhaps this confuses Oolite.


I have
/usr/lib/GNUstep/Applications/oolite.app/AddOns/Config/keyconfig.plist
/usr/lib/GNUstep/Applications/oolite.app/Resources/Config/keyconfig.plist

Oolite does not read either of these. I did 'strace oolite'. It does
not even look for keyconfig.plist.

I also would like to change key_inject_fuel. I want to steer, fire
laser and inject fuel at same time. It is not easy with a & i.

Spoken Messages do not work. Perhaps spoken messages are stored with
x b/s and replayed with 10*x b/s. Voices seem to be compressed at least by factor 10. My brain cannot uncompress that!

Other sounds are perfect as almost everything else.

- jkn
User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 979
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Post by Getafix »

Hello jkn, and welcome to the friendliest board this side of Riedquat!

For Ubuntu9.10, you could try the autopackage package from here,
which is tested to run OK on both 9.04 and 9.10.
However, remove any other oolite installations first.

The autopackage package, does not support spoken messages. This is a feature that is not stabilized yet.

If you install this package as root (supplying your password,
when requested by the installation) then the keyconfig.plist is in:
/usr/lib/Oolite/oolite.app/Resources/Config/keyconfig.plist

If you install this package as a simple user (without giving your
password, when requested by the installation) then the keyconfig.plist is in:
~/.local/lib/Oolite/oolite.app/Resources/Config/keyconfig.plist
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

Hi jkn,

There's also maintenance (and trunk) builds for Oolite for Ubuntu 9.10 in .deb format (just fixed the nightly build server) here.

Maintenance is the current 'test' release + a handful of fixes since then. Unfortunately we haven't gotten as far as making another 'test' release yet and I haven't bothered to make a current 'test' build for Karmic.

- Micha.
The glass is twice as big as it needs to be.
jkn
Poor
Poor
Posts: 5
Joined: Sat Nov 21, 2009 4:03 pm

Post by jkn »

Hello and thanks for your replies!

Oolite 1.73.5 reads keyconfig from
/usr/lib/GNUstep/Applications/oolite.app/Resources/Config/keyconfig.plist

Normally in Unix and Linux 'ls -lu' tells when file was last read. But not in Ubuntu 9.10 :( This confused me. Usually games have configuration file in users home dir. oolite-saves already exists, so perhaps Oolite could read keyconfig from there also.

I have got almost all keys working. Some strange problems: '-' does work but '+' does not. Both keys have moved in my keyboard (compared to US keyboard).

key_advanced_nav_array What should this do? Perhaps I don't have all equipment.

key_contract_info I have no cargo contracts, so perhaps this should not do anything.

key_dump_target_state what should this do?

key_cloaking_device I don't have it.

key_mouse_control I see no difference.

key_snapshot I have not tested.

I tried key_inject_fuel = "W" but then I cannot shoot, because it is not possible to define a and A for shooting. Or is it?

This version has crashed twice with:
oolite: vbo/vbo_save_api.c:217: map_vertex_store: Assertion `vertex_store->buffer' failed.

Passengers seem to pay more than they promise! Perhaps they are happy to get out of my ship.

I managed to give two cargo canisters inject_fuel speed. I had to use a lot of fuel to catch those!

I have seen ship coming out of space station, turning 180 degrees and crashing to station. I have seen convoy of ships to crash into planet.

Changing key_yaw_left and key_yaw_right to arrow keys would make flying lot easier, perhaps too easy. In space you can of course turn in any direction, but changing direction of velocity is very difficult. So yaw keys do not add realism. Did original Elite have those?

Thankyou!

- jkn
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

It's bad practice to edit the files in the Oolite distribution directly.

Oolite will overwrite any default settings with settings in the AddOns folder. Under Linux it's in ~/.Oolite/AddOns

Within the AddOns folder, any folder ending in ".oxp" is read as an OXP (Oolite eXpansion Pack).

I put my custom settings into a "MySettings.oxp" or similar, and then have, for example, the "keyconfig.plist" in the "Config" folder in that.

ie, ~/.Oolite/AddOns/MyConfig.oxp/Config/keyconfig.plist

This also has the benefit that when/if you upgrade your Oolite, your custom settings aren't overwritten :)
The glass is twice as big as it needs to be.
User avatar
Micha
Commodore
Commodore
Posts: 815
Joined: Tue Sep 02, 2008 2:01 pm
Location: London, UK
Contact:

Post by Micha »

Hey jkn,
jkn wrote:
key_dump_target_state what should this do?
This dumps your current target's state into the Oolite log (~/.Oolite/Logs/Latest.log) - useful for debugging, not much else.
jkn wrote:
key_mouse_control I see no difference.
Only works in full-screen mode, toggles mouse-control.
jkn wrote:
key_snapshot I have not tested.
Takes a screenshot and stores it in your oolite-saves folder.


Current trunk versions of Oolite fix a lot of AI problems (ie, ships crashing into planets/stations etc). There's also more keymappings - I -think- + should be mappable now.

Original Elite did not have yaw keys.

Cheers,
- Micha.
The glass is twice as big as it needs to be.
Post Reply