Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

keyconfig.plist problems with v1.65rc1

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

Moderators: winston, another_commander, Getafix

User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1757
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Bugreport: weird one: after updating, inflight none of my keys work, except p for pause and F1-4 ...

G3 10.3 upgrade from RC4
User avatar
Cmdr. Wombat
Deadly
Deadly
Posts: 150
Joined: Mon Jan 31, 2005 6:08 pm
Location: Kentucky

Post by Cmdr. Wombat »

Rxke wrote:
Bugreport: weird one: after updating, inflight none of my keys work, except p for pause and F1-4 ...

G3 10.3 upgrade from RC4
I've got the same problem. In addition, F6 doesn't work when docked - it gives the passenger/cargo contract screen instead of the star map. PowerBook G4, 10.4.7.
It is generally inadvisable to eject over the target you just bombed.
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

umm, umm, umm... ...errr...I've got serious problems here with this rc1 (non Universal)! :shock:

upgraded fine, shows release candidate, etc,... BUT

As soon as I start, either new or old commander, oxps or no oxps, I have problems.

When I have launched, I have no cursor control of ship, only F1-4 give me normal views, no accelerate/decelerate...!

If I try switch to rear view using 2, I get the rear view, but when I push 1, then it triggers a whole series of events - ident system activated, injectors activated, cargo dumped, but no view change!

I'm going to to do a clean system reset and see if it's my Mac, then get a new console log.

Here's the current one:
"/Games Galore/Oolite_v1.55_dev/Oolite/Oolite.app/Contents/Resources",
"/Games Galore/Oolite_v1.55_dev/Oolite/AddOns",
"/Users/peterbalcon/Library/Application Support/Oolite/AddOns",
"/Users/peterbalcon/.Oolite/AddOns"
)
2006-07-10 15:27:23.937 Oolite[2257] DEBUG ** no cache exists - yet **
2006-07-10 15:27:24.036 Oolite[2257] Vertex Array Range optimisation - supported
2006-07-10 15:27:24.037 Oolite[2257] DEBUG creating octree cache......
2006-07-10 15:27:24.211 Oolite[2257] DEBUG ** resetting track for <ShipEntity Player 100> **
2006-07-10 15:27:24.862 Oolite[2257] Populating a system with economy 5, and government 3
2006-07-10 15:27:24.862 Oolite[2257] ... adding 5 trading vessels
2006-07-10 15:27:24.862 Oolite[2257] ... adding 0 sun skimming vessels
2006-07-10 15:27:24.862 Oolite[2257] ... adding 18 pirate vessels
2006-07-10 15:27:24.862 Oolite[2257] ... adding 1 sun skim pirates
2006-07-10 15:27:24.862 Oolite[2257] ... adding 2 law/bounty-hunter vessels
2006-07-10 15:27:24.862 Oolite[2257] ... adding 1 sun skim law/bounty hunter vessels
2006-07-10 15:27:24.862 Oolite[2257] ... adding 0 Thargoid warships
2006-07-10 15:27:24.862 Oolite[2257] ... adding 4 asteroid clusters
2006-07-10 15:27:24.862 Oolite[2257] ... for a total of 31 ships
2006-07-10 15:27:55.677 Oolite[2257] Populating a system with economy 6, and government 2
2006-07-10 15:27:55.677 Oolite[2257] ... adding 4 trading vessels
2006-07-10 15:27:55.677 Oolite[2257] ... adding 3 sun skimming vessels
2006-07-10 15:27:55.677 Oolite[2257] ... adding 14 pirate vessels
2006-07-10 15:27:55.677 Oolite[2257] ... adding 3 sun skim pirates
2006-07-10 15:27:55.677 Oolite[2257] ... adding 1 law/bounty-hunter vessels
2006-07-10 15:27:55.677 Oolite[2257] ... adding 0 sun skim law/bounty hunter vessels
2006-07-10 15:27:55.677 Oolite[2257] ... adding 0 Thargoid warships
2006-07-10 15:27:55.677 Oolite[2257] ... adding 4 asteroid clusters
2006-07-10 15:27:55.677 Oolite[2257] ... for a total of 29 ships
2006-07-10 15:27:55.985 Oolite[2257] SCRIPT debug messages ON
2006-07-10 15:27:55.986 Oolite[2257] SCRIPT debug messages OFF
2006-07-10 15:27:55.987 Oolite[2257] SCRIPT debug messages ON
2006-07-10 15:27:55.987 Oolite[2257] SCRIPT debug messages OFF
2006-07-10 15:28:07.914 Oolite[2257] DEBUG ** resetting track for <ShipEntity Cobra Mark III 100> **
2006-07-10 15:28:26.979 Oolite[2257] SCRIPT debug messages ON
2006-07-10 15:28:26.979 Oolite[2257] SCRIPT debug messages OFF
2006-07-10 15:28:28.509 Oolite[2257] DEBUG ** resetting track for <ShipEntity Cobra Mark III 100> **
Nowt much there...
Very funny, Scotty, now beam down my clothes...
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

OK, switched off Mac, waited, restarted, same problems, doesn't seem to read teh keyboard properly - there is some indications of this at the end of the new log. Also it keeps taking snapshots!! ...
(
"/Games Galore/Oolite_v1.55_dev/Oolite/Oolite.app/Contents/Resources",
"/Games Galore/Oolite_v1.55_dev/Oolite/AddOns",
"/Users/peterbalcon/Library/Application Support/Oolite/AddOns",
"/Users/peterbalcon/.Oolite/AddOns"
)
2006-07-10 15:49:35.021 Oolite[211] DEBUG ** no cache exists - yet **
2006-07-10 15:49:35.113 Oolite[211] Vertex Array Range optimisation - supported
2006-07-10 15:49:35.114 Oolite[211] DEBUG creating octree cache......
2006-07-10 15:49:35.286 Oolite[211] DEBUG ** resetting track for <ShipEntity Player 100> **
2006-07-10 15:49:35.934 Oolite[211] Populating a system with economy 5, and government 3
2006-07-10 15:49:35.934 Oolite[211] ... adding 7 trading vessels
2006-07-10 15:49:35.934 Oolite[211] ... adding 3 sun skimming vessels
2006-07-10 15:49:35.934 Oolite[211] ... adding 15 pirate vessels
2006-07-10 15:49:35.934 Oolite[211] ... adding 2 sun skim pirates
2006-07-10 15:49:35.934 Oolite[211] ... adding 1 law/bounty-hunter vessels
2006-07-10 15:49:35.934 Oolite[211] ... adding 0 sun skim law/bounty hunter vessels
2006-07-10 15:49:35.934 Oolite[211] ... adding 0 Thargoid warships
2006-07-10 15:49:35.934 Oolite[211] ... adding 4 asteroid clusters
2006-07-10 15:49:35.934 Oolite[211] ... for a total of 32 ships
2006-07-10 15:49:45.745 Oolite[211] Populating a system with economy 6, and government 2
2006-07-10 15:49:45.745 Oolite[211] ... adding 5 trading vessels
2006-07-10 15:49:45.745 Oolite[211] ... adding 2 sun skimming vessels
2006-07-10 15:49:45.745 Oolite[211] ... adding 5 pirate vessels
2006-07-10 15:49:45.745 Oolite[211] ... adding 2 sun skim pirates
2006-07-10 15:49:45.745 Oolite[211] ... adding 1 law/bounty-hunter vessels
2006-07-10 15:49:45.745 Oolite[211] ... adding 0 sun skim law/bounty hunter vessels
2006-07-10 15:49:45.745 Oolite[211] ... adding 0 Thargoid warships
2006-07-10 15:49:45.745 Oolite[211] ... adding 0 asteroid clusters
2006-07-10 15:49:45.745 Oolite[211] ... for a total of 15 ships
2006-07-10 15:49:46.006 Oolite[211] SCRIPT debug messages ON
2006-07-10 15:49:46.006 Oolite[211] SCRIPT debug messages OFF
2006-07-10 15:49:46.007 Oolite[211] SCRIPT debug messages ON
2006-07-10 15:49:46.007 Oolite[211] SCRIPT debug messages OFF
2006-07-10 15:49:59.075 Oolite[211] SCRIPT debug messages ON
2006-07-10 15:49:59.076 Oolite[211] SCRIPT debug messages OFF
2006-07-10 15:50:13.526 Oolite[211] DEBUG ** resetting track for <ShipEntity Cobra Mark III 100> **
2006-07-10 15:50:37.086 Oolite[211] ***** translated key: 63275 out of range
2006-07-10 15:50:37.086 Oolite[211] ***** translated key: 63275 out of range
2006-07-10 15:50:37.374 Oolite[211] ***** translated key: 63275 out of range
2006-07-10 15:50:37.374 Oolite[211] ***** translated key: 63275 out of range
2006-07-10 15:50:37.638 Oolite[211] ***** translated key: 63277 out of range
2006-07-10 15:50:37.638 Oolite[211] ***** translated key: 63277 out of range
2006-07-10 15:50:37.878 Oolite[211] ***** translated key: 63277 out of range
2006-07-10 15:50:37.878 Oolite[211] ***** translated key: 63277 out of range
2006-07-10 15:50:38.071 Oolite[211] ***** translated key: 63276 out of range
2006-07-10 15:50:38.071 Oolite[211] ***** translated key: 63276 out of range
2006-07-10 15:50:38.311 Oolite[211] ***** translated key: 63276 out of range
2006-07-10 15:50:38.311 Oolite[211] ***** translated key: 63276 out of range
2006-07-10 15:50:53.485 Oolite[211] >>>>> Snapshot 1024 x 794 file path chosen = /Games Galore/Oolite_v1.55_dev/Oolite/oolite-004.png
2006-07-10 15:50:54.104 Oolite[211] >>>>> Snapshot 1024 x 794 file path chosen = /Games Galore/Oolite_v1.55_dev/Oolite/oolite-005.png
2006-07-10 15:50:54.874 Oolite[211] >>>>> Snapshot 1024 x 794 file path chosen = /Games Galore/Oolite_v1.55_dev/Oolite/oolite-006.png
2006-07-10 15:50:57.507 Oolite[211] SCRIPT debug messages ON
2006-07-10 15:50:57.507 Oolite[211] SCRIPT debug messages OFF
2006-07-10 15:51:01.124 Oolite[211] >>>>> Snapshot 1024 x 794 file path chosen = /Games Galore/Oolite_v1.55_dev/Oolite/oolite-007.png
Very funny, Scotty, now beam down my clothes...
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Please send me your keyconfig.plist files for I fear it is a problem with them.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Fixed.

Post by aegidian »

There was a problem with Oolite misreading ASCII keyconfig.plist files. This is fixed for v1.65final (r651).

The workaround is to edit your keyconfig.plist file replacing ascii values with (in quotes) the character the value represents. For example if you had:

Code: Select all

"key_comms_log" = 47;
you should replace it with

Code: Select all

"key_comms_log" = "/";
(Currently it's interpreting the ascii number given as a string - so all keys mapped to say 46, 47 and 48 will have been mis-mapped to the key '4').
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Re: Fixed.

Post by aegidian »

aegidian wrote:
There was a problem with Oolite misreading ASCII keyconfig.plist files. This is fixed for v1.65final (r651).

The workaround is to edit your keyconfig.plist file replacing ascii values with (in quotes) the character the value represents. For example if you had:

Code: Select all

"key_comms_log" = 47;
you should replace it with

Code: Select all

"key_comms_log" = "/";
(Currently it's interpreting the ascii number given as a string - so all keys mapped to say 46, 47 and 48 will have been mis-mapped to the key '4').
Alternatively use an XML keyconfig.plist ensuring all character codes are in <integer></integer> tags.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

Thanks Giles, that sorts it. :wink:

I used Subethedit to replace all the strings with <integer> - I tried replacing the ASCII codes, but got into trouble when it came to the direction keys!! :lol: :lol:
Very funny, Scotty, now beam down my clothes...
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1757
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

I actually can't be happier with the fix!

I hate looking up ASCII stuff.
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1757
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Star Gazer wrote:
I tried replacing the ASCII codes, but got into trouble when it came to the direction keys!! :lol: :lol:
Bummer, so will I then, too... What's the workaround?
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Rxke wrote:
Star Gazer wrote:
I tried replacing the ASCII codes, but got into trouble when it came to the direction keys!! :lol: :lol:
Bummer, so will I then, too... What's the workaround?
For the time being I can only suggest converting the file to an XML property list.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
cultist
Competent
Competent
Posts: 33
Joined: Fri Jun 23, 2006 10:08 am
Location: Romania
Contact:

Post by cultist »

cant wait for the pc version to appear
I`ll either find a way or make one!
User avatar
Cmdr. Wombat
Deadly
Deadly
Posts: 150
Joined: Mon Jan 31, 2005 6:08 pm
Location: Kentucky

Post by Cmdr. Wombat »

Rxke, replace the contents of your keyconfig.plist with:

Code: Select all

{
    "key_autodock" = <integer>68</integer>; 
    "key_autopilot" = <integer>99</integer>; 
    "key_cloaking_device" = <integer>48</integer>; 
    "key_comms_log" = <integer>96</integer>; 
    "key_contract_info" = <integer>63</integer>; 
    "key_decrease_speed" = <integer>115</integer>; 
    "key_docking_music" = <integer>115</integer>; 
    "key_dump_cargo" = <integer>100</integer>; 
    "key_ecm" = <integer>101</integer>; 
    "key_emergency_hyperdrive" = <integer>72</integer>; 
    "key_energy_bomb" = <integer>9</integer>; 
    "key_fire_lasers" = <integer>97</integer>; 
    "key_galactic_hyperspace" = <integer>103</integer>; 
    "key_hyperspace" = <integer>104</integer>; 
    "key_ident_system" = <integer>114</integer>; 
    "key_increase_speed" = <integer>119</integer>; 
    "key_inject_fuel" = <integer>105</integer>; 
    "key_jumpdrive" = <integer>106</integer>; 
    "key_launch_escapepod" = <integer>27</integer>; 
    "key_launch_missile" = <integer>109</integer>; 
    "key_map_dump" = <integer>33</integer>; 
    "key_map_home" = <integer>302</integer>; 
    "key_next_compass_mode" = <integer>92</integer>; 
    "key_next_missile" = <integer>121</integer>; 
    "key_pitch_back" = <integer>254</integer>; 
    "key_pitch_forward" = <integer>255</integer>; 
    "key_roll_left" = <integer>253</integer>; 
    "key_roll_right" = <integer>252</integer>; 
    "key_scanner_zoom" = <integer>122</integer>; 
    "key_snapshot" = <integer>42</integer>; 
    "key_target_missile" = <integer>116</integer>; 
    "key_untarget_missile" = <integer>117</integer>; 
}
Works for me.
It is generally inadvisable to eject over the target you just bombed.
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1160
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Cmdr. Wombat wrote:
Rxke, replace the contents of your keyconfig.plist with:

Code: Select all

{
    "key_autodock" = <integer>68</integer>; 
    ... etc. 
Works for me.
There is no way that should work! Instead Oolite won't be able to parse it and you'll be left with the default key layout. Which does work, but I don't think it's the desired result.

One time offer (to everyone having problems with this):-

If you email me ( at [email protected] ) your non-working keyconfig.plist files - I will quickly return a working XML replacement
Last edited by aegidian on Mon Jul 10, 2006 5:48 pm, edited 1 time in total.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Cmdr. Wombat
Deadly
Deadly
Posts: 150
Joined: Mon Jan 31, 2005 6:08 pm
Location: Kentucky

Post by Cmdr. Wombat »

My apologies - I should have looked at the console. It was complaining about the keyconfig.plist.
It is generally inadvisable to eject over the target you just bombed.
Post Reply