Jump to content

Strings for cockpit controls?


ArturDCS

Recommended Posts

I think what you are looking for might be this: 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\Cockpit\Scripts\clickabledata.lua'.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

The file I first noted has the device-buttons (what I call them anyway). They are the entities the game defines of things in the cockpit (but also in the DCS World, like zoom, and views) that you can manipulate, either through your controllers or cockpit-clicks.

 

The file I mentioned is for the clickable cockpit. There is a different 'default.lua' used for assigning 'key-binds' (in settings -> controls -> Spitfire Sim ->) from buttons and switches etc. on your controllers to operate these device-buttons in 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\Input\SpitfireLFMkIX\joystick\default.lua'.

 

Now, here's the sucky part; with the P-51D, Bf-109-K, and FW-190-D, the 'name' parameter of each device-button used to be that which is displayed in the tool-tips in the cockpit, or in settings-controls. With the Spitfire the displayed strings are found in 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\l10n\en\LC_MESSAGES\messages.mo', and the file is format-coded, which means some algorithm sorts out which display-text is associated with which 'name' parameter in the above files. :doh: So, if you have the display text and want to discover which device-button it is referring to, it is no longer possible to simply search through the above files for the text to find it :cry:

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

Yeah it's not optimal because the hints in the cockpit are usually how users find the control in DCS-BIOS/DCSFlightpanels.

Hopefully some dev will get back and provide a list of the English strings.

 

The file I first noted has the device-buttons (what I call them anyway). They are the entities the game defines of things in the cockpit (but also in the DCS World, like zoom, and views) that you can manipulate, either through your controllers or cockpit-clicks.

 

The file I mentioned is for the clickable cockpit. There is a different 'default.lua' used for assigning 'key-binds' (in settings -> controls -> Spitfire Sim ->) from buttons and switches etc. on your controllers to operate these device-buttons in 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\Input\SpitfireLFMkIX\joystick\default.lua'.

 

Now, here's the sucky part; with the P-51D, Bf-109-K, and FW-190-D, the 'name' parameter of each device-button used to be that which is displayed in the tool-tips in the cockpit, or in settings-controls. With the Spitfire the displayed strings are found in 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\l10n\en\LC_MESSAGES\messages.mo', and the file is format-coded, which means some algorithm sorts out which display-text is associated with which 'name' parameter in the above files. :doh: So, if you have the display text and want to discover which device-button it is referring to, it is no longer possible to simply search through the above files for the text to find it :cry:

Link to comment
Share on other sites

...

Now, here's the sucky part; with the P-51D, Bf-109-K, and FW-190-D, the 'name' parameter of each device-button used to be that which is displayed in the tool-tips in the cockpit, or in settings-controls. With the Spitfire the displayed strings are found in 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\l10n\en\LC_MESSAGES\messages.mo', and the file is format-coded, which means some algorithm sorts out which display-text is associated with which 'name' parameter in the above files. :doh: So, if you have the display text and want to discover which device-button it is referring to, it is no longer possible to simply search through the above files for the text to find it :cry:

That file "messages.mo" does not show anything useful when I open it in Notepad++. Does it contain a kind of decryption or mapping key? It seems to me that ED is moving to make user modifications more difficult.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

*achhhhh* I am an idiot :cry:

 

I was mixing up aircraft and... anyway

 

The name strings from 'c:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\SpitfireLFMkIX\Cockpit\Scripts \clickabledata.lua' can be found in 'c:\Program Files\Eagle Dynamics\DCS World\l10n\en\LC_MESSAGES\simulator.mo', but also in 'c:\Program Files\Eagle Dynamics\DCS World\l10n\en\LC_MESSAGES\input.mo'. At least some, or most, or all. I don't know. I didn't cross-check them all.

 

Why? I have real idea. Maybe it has to do with a different tweaking for overall performance, but who really knows.

 

As with the .mo file in the Spitfire path, these .mo files are formatted file with a lot of binary data. By binary I mean, there are lot and lots of characters below 0x20, starting with and above which are the printable ascii characters start.

 

Sorry I can't be of more help.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

I found this about .mo files under file.org:

"MO is an acronym for Machine Object. Files that contain the .mo file extension most commonly hold binary data files. These files store object data that is referenced by an associated software application. The MO file format is commonly used to translate application code."

Theoretically it should be possible to view these files with Poedit (free version available) but when I tried it would not allow me to select .mo files. No time now, will try again later.

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

You can use notepad++ so some extent. You'd need to make a copy of the mo file to edit first. Then you can replace all [NUL] characters with a new line, so that you can then properly copy out the texts you need.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

You can use notepad++ so some extent. You'd need to make a copy of the mo file to edit first. Then you can replace all [NUL] characters with a new line, so that you can then properly copy out the texts you need.

Sounds very mühsam!

Poedit actually is used to edit text translation files in human-readable .PO format and then outputs machine-readible .MO format. So that's why I couldn't open the .mo files with Poedit. Now downloading File Viewer Plus...

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • 2 weeks later...
  • ED Team

"Cockpit.SpitfireLFMkIX.oxygen_valve" "Oxygen Valve"

"Cockpit.SpitfireLFMkIX.safety" "Safety"

"Cockpit.SpitfireLFMkIX.trigger_0" "MG Trigger"

"Cockpit.SpitfireLFMkIX.trigger_1" "Cannons Trigger"

"Cockpit.SpitfireLFMkIX.trigger_2" "MG+Cannons Trigger"

"Cockpit.SpitfireLFMkIX.wheel_brakes" "Wheel Brakes"

"Cockpit.SpitfireLFMkIX.altimeter" "Altimeter Pressure Set"

"Cockpit.SpitfireLFMkIX.di" "Directional Gyro Adjust"

"Cockpit.SpitfireLFMkIX.fuel_gauge" "Show Fuel Contents"

"Cockpit.SpitfireLFMkIX.nav_lights" "Nav. Lights On/Off"

"Cockpit.SpitfireLFMkIX.flaps" "Landing Flaps Up/Down"

"Cockpit.SpitfireLFMkIX.uc_blind" "U/C Indicator Blind Up/Down"

"Cockpit.SpitfireLFMkIX.clock" "Winding/Adjustment Clock"

"Cockpit.SpitfireLFMkIX.magneto0" "No. 1 Magneto On/Off"

"Cockpit.SpitfireLFMkIX.magneto1" "No. 2 Magneto On/Off"

"Cockpit.SpitfireLFMkIX.supercharger_mode" "Supercharger Mode Auto/M.S."

"Cockpit.SpitfireLFMkIX.illumination_lh" "Port Flood Lamp Brightness"

"Cockpit.SpitfireLFMkIX.illumination_rh" "Stbd. Flood Lamp Brightness"

"Cockpit.SpitfireLFMkIX.starter_cover" "Starter Button Cover"

"Cockpit.SpitfireLFMkIX.starter" "Starter"

"Cockpit.SpitfireLFMkIX.booster_cover" "Booster Coil Button Cover"

"Cockpit.SpitfireLFMkIX.booster" "Booster Coil"

"Cockpit.SpitfireLFMkIX.primer" "Primer"

"Cockpit.SpitfireLFMkIX.tank_pressurizer" "Fuel Tank Pressure On/Off"

"Cockpit.SpitfireLFMkIX.compass" "Compass Course Setter Ring"

"Cockpit.SpitfireLFMkIX.gun_sight_range" "Gunsight Range"

"Cockpit.SpitfireLFMkIX.gun_sight_span" "Gunsight Base"

"Cockpit.SpitfireLFMkIX.gun_sight_tint" "Gunsight Tint Screen Up/Down"

"Cockpit.SpitfireLFMkIX.gun_sight_master" "Gunsight Master On/Off"

"Cockpit.SpitfireLFMkIX.gun_sight_illumination" "Gunsight Illumination"

"Cockpit.SpitfireLFMkIX.trim_elevator" "Elevator Trim"

"Cockpit.SpitfireLFMkIX.trim_rudder" "Rudder Trim"

"Cockpit.SpitfireLFMkIX.radio_0" "Radio Power OFF"

"Cockpit.SpitfireLFMkIX.radio_a" "Radio Channel A"

"Cockpit.SpitfireLFMkIX.radio_b" "Radio Channel B"

"Cockpit.SpitfireLFMkIX.radio_c" "Radio Channel C"

"Cockpit.SpitfireLFMkIX.radio_d" "Radio Channel D"

"Cockpit.SpitfireLFMkIX.radio_dimmer" "Radio Lights Dimmer"

"Cockpit.SpitfireLFMkIX.radio_lock" "Switch Locking Lever"

"Cockpit.SpitfireLFMkIX.radio_mode" "Radio Mode"

"Cockpit.SpitfireLFMkIX.throttle" "Throttle"

"Cockpit.SpitfireLFMkIX.trigger_bomb" "Drop Bombs"

"Cockpit.SpitfireLFMkIX.pitch" "Propeller RPM"

"Cockpit.SpitfireLFMkIX.mix" "Mixture Control Select IDLE CUT OFF/RUN"

"Cockpit.SpitfireLFMkIX.uc_down_indication" "Undercarriage Indicator On/Off"

"Cockpit.SpitfireLFMkIX.radiator_mode" "Radiator Flap Open/Auto"

"Cockpit.SpitfireLFMkIX.pitot" "Pitot Heating On/Off"

"Cockpit.SpitfireLFMkIX.fuel_pump" "Fuel Pump On/Off"

"Cockpit.SpitfireLFMkIX.carburettor_flap" "Carburettor Air Control"

"Cockpit.SpitfireLFMkIX.dilution_cover" "Oil Dilution Button Cover"

"Cockpit.SpitfireLFMkIX.dilution" "Oil Dilution"

"Cockpit.SpitfireLFMkIX.supercharger_cover" "Supercharger Test Button Cover"

"Cockpit.SpitfireLFMkIX.supercharger_test" "Supercharger Test"

"Cockpit.SpitfireLFMkIX.radiator_cover" "Radiator Test Button Cover"

"Cockpit.SpitfireLFMkIX.radiator_test" "Radiator Test"

"Cockpit.SpitfireLFMkIX.deicer" "Windscreen De-Icer On/Off"

"Cockpit.SpitfireLFMkIX.uc_emergency" "Undercarriage Emergency Release"

"Cockpit.SpitfireLFMkIX.wobble" "Wobble Type Fuel Pump"

"Cockpit.SpitfireLFMkIX.id_lamp_up_mode" "Upward Lamp Mode"

"Cockpit.SpitfireLFMkIX.id_lamp_down_mode" "Downward Lamp Mode"

"Cockpit.SpitfireLFMkIX.morse_key" "Morse Key"

"Cockpit.SpitfireLFMkIX.uc" "Undercarriage Raise/Lower"

"Cockpit.SpitfireLFMkIX.iff_b" "I.F.F. Circuit B"

"Cockpit.SpitfireLFMkIX.iff_d" "I.F.F. Circuit D"

"Cockpit.SpitfireLFMkIX.iff_cover" "I.F.F. Cover Open/Close"

"Cockpit.SpitfireLFMkIX.iff_0" "I.F.F. Detonate Button 1"

"Cockpit.SpitfireLFMkIX.iff_1" "I.F.F. Detonate Button 2"

"Cockpit.SpitfireLFMkIX.fuel_cock_primary" "Main Tank On/Off"

"Cockpit.SpitfireLFMkIX.fuel_cock_droptank" "Drop Tank On/Off"

"Cockpit.SpitfireLFMkIX.droptank_release" "Drop Tank Release"

"Cockpit.SpitfireLFMkIX.canopy_operate" "Canopy Open/Close"

"Cockpit.SpitfireLFMkIX.canopy_jettison" "Jettison Canopy"

"Cockpit.SpitfireLFMkIX.sidedoor_operate" "Side Door Open/Close"

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...