XP DatarefTool

Playrec

Frederic
FLIGHTPILOTE
Messages
6 955
Réactions
2 568
24/12/2020 : Nouvelle version de DatarefTool ;

attention version beta :

This is a big release. The UI has been completely redesigned, and much of the plugin rewritten to be a bit more ergonomic.

Changes:​

  • A completely new UI, matching X-Plane 11
  • Search windows can now be popped out, like many XP11 windows
  • Even more datarefs are identified automatically
  • A greatly improved UI for editing arrays
  • Some support for XP10 is back
 
DataRefTool _2021_04_21

Changes:
  • You can now edit dataref values directly from the search window. This streamlines lots of workflows.
  • Added dozens of new keyboard shortcuts. See datareftool.com for details.
  • You can now navigate around DRT without using a mouse (i.e. entirely by keyboard) using standard keyboard shortcuts.
  • Identified a workaround for a common crash with the Bell 407 helicopter plugin See datareftool.com FAQ (#33, #81)
  • Fixed and issue where the ignore list (drt_ignore.txt) did not take effect for datarefs in the first aircraft loaded (#81)
  • A new multithreaded logging system fixes corrupted log messages in Log.txt.
 
DataRefTool_2021_07_14.zip
  • Read, write, and search for datarefs
  • Search for and execute commands
  • Case insensitive search
  • Regex search
  • Supports Windows/Linux/Mac on X-Plane 10 and 11
  • Filter only recently changed datarefs, and color datarefs that recently changed
  • Displays all data types
  • Display multiple elements of an array at once
  • Make it easy to deselect the search field (unlike DRE). Use enter, return, escape, or tab, or click elsewhere in the DRT window.
  • Cut/copy/paste/select all in search field and for datarefs (uses standard keyboard shortcuts)
  • Multiple DRT windows viewable at once

1636118236434.png
 
DataRefTool v.2.03

  • Font rendering improved at 100% and 150% UI scaling; should fix blurriness.
  • Linux version now supports Ubuntu 20.04 in addition to 22.04.
  • Add commands to DRT; you can program a keyboard shortcut or joystick button to open a search window or reload plugins.
  • Re-add keyboard shortcuts for new window, close window, etc.
  • Avoid reading zero-length arrays; improves stability.
  • Remember window positions and settings when restarting X-Plane or reloading plugins.
  • Fixed: after restarting X-Plane, results in restored search windows may not be accurate.

Known issues

  • No known issues
 
DataRefTool v.2.05

v2.05
- Change values from the main window, and some UI fixes
changes :
- Fix: Dataref values can now be set in the main window, matching DRT version 1.
- UI: Tweaks to scroll handles and horizonal bar UI elements.
  • v2.04 - Bugfix: incorrectly displayed float values
  • v2.03 - Minor fixes and updates. Fix blurry text, and numerous small fixes.
  • v2.02 - Minor fixes and updates. Now supports Linux.
  • v2.01 - Minor fixes and updates
  • v2.00 - DRT has been rewritten in Rust; this is the first release of this codebase, and the first release to support XP12.
 
DataRefTool v.2.06

  • VR support; X-Lua datarefs are now found; bug/stability fixes
  • VR should now work. I've been waiting for Laminar to fix one of the features I need for development (the --fake_vr flag) in XP12. This didn't happen, but I realized I could just use XP11 instead.
  • DRT now scans the XLua code included with aircraft to find datarefs. This finds additional datarefs for some users, with the biggest impact is for people using DRE and DRT simultaneously, since running DRE prevents DRT from being notified of the existence of some datarefs.
  • Lots of comments on the X-Plane.org forums pointed to me to various issues. I've fixed the ones that I could reproduce from this forum thread.

Changes

  • Improvement: DRT should now work in VR. (Thanks for the reminder @DiggerD)
  • Improvement: The Lua files in <aircraft>/plugins/xlua/scripts/ are now scanned by DRT; datarefs created in XLua should now be found. (Thanks @Osprey12 and others)
  • Fix: In change-detect mode, commands should appear immediately when triggered (Thanks @enjxp)
  • Fix: When clicking an editable dataref in a small window, the window shouldn't dramatically resize. (Thanks @enjxp)
  • Fix: When opening a new search window using a keyboard shortcut mapped to a command, only one new window is opened instead of two. (Thanks @JeB1952)

Known issues

  • There seems to be a crash related to deleting text in the search bar. I can't seem to reproduce this. (thread)
  • One user has reported text overlayed over DRT results. I can't seem to reproduce this. (post)
 
DataRefTool v2.0.7

Bug fix when deleting text, and more snappiness!

released 27/12/2022

This release fixes a crash when deleting text in the search bar. The crash took a while to track down because while it occurs when text is being deleted, it actually depends on how the text was selected. If you happened to use Shift+Home or a similar keyboard combo to select all the text in the search box before deleting it, you may have seen this.

A big thanks to the 10+ people that reported this bug and helped narrow it down.


I also performed some optimization around the text rendering of the search results. By avoiding rendering text that isn't onscreen, lots of CPU time can be changed. There are 5 primary causes of the text being rendered on screen, and this should improve all of them, perhaps avoiding hits to your FPS:
  • A new search window is opened
  • The search term is modified
  • The window is resized
  • Dataref values change
  • The UI scaling setting is changed

Changes

  • Optimization: The search window should be more responsive; text in the search results that is not onscreen is not rendered.
  • Fix: Don't crash when deleting certain selected text in the search field.
 
DataRefTool v2.1.0

Add selectable color theme

Published 2023-01-23

The color palette used to display datarefs is now selectable. There are two options:
  • The default color palette (now on by default) is almost identical to what DRT 1.0 used. Most colors are the same; the color used to indicate large changes has been changed to a kind of light magenta-lilac color that should really stand out. To me, the datarefs of this type are usually what is being searched for, and so they should have the most visually obvious color (that isn't distracting).
  • A "Reduce colors" palette is also available via a menu option. This should be a bit more usable for colorblind users.
I really didn't want to make colors configurable; adding more options makes software more complex, and sometimes makes support more complicated, but it seemed like there really was no other way to provide the best experience here without making the color palette selectable.


Changes​

  • New feature: The color used to indicate the state of a dataref is now selectable ("Default" (aka DRT 1), and "Reduce colors" (previously the only option in DRT 2))
  • Fix: Datarefs coming from FlyWithLua scripts are no longer marked as deprecated. (Geoff Lohr and others)
 

DataRefTool Version 2.2.1

Published 2023-02-26
  • Work around X-Plane crash
  • Sweet and simple- this ignores dataref sim/atc/user_aircraft_transmitting, which causes X-Plane to crash if it is read too early.
  • This bug is being tracked as XPD-13887; once this appears as fixed in X-Plane release notes, I'll un-ignore this dataref.

Version 2.2.0

More robust discovery of datarefs in X-Plane 12; discover which plugin 'owns' a dataref.
Published 2023-02-26

X-Plane 12.04 includes new APIs for discovering datarefs; this release uses those to more efficiently discover datarefs. There are a few implications of this:
  • DRT now comes with separate versions for X-Plane 11 and 12. The X-Plane 12 version requires X-Plane 12.04.
  • All datarefs, regardless of plugin, should now be found when using X-Plane 12.04+; X-Plane has a new way of helping DRT discover datarefs (but not commands).
  • In X-Plane 12.04 and later, we can now detect which plugin has created a dataref and is providing the value. This is in the "Owner" field (see image below).
  • A big refactoring of some internal code was necessary to support these changes.
Dataref inspection window, showing the dataref's owner


Changes​

  • New feature: Datarefs are now discovered via X-Plane's new APIs
  • New feature: Identify which plugin created a dataref
  • Fix: Crash when typing multiple whitespace characters in a row, e.g. two spaces
  • Fix: Crash when trying to set a dataref to an empty string
 
Salut, salut

suivant les conseils de Fredo ( Playrec ) j'ai installé tout le truc afin de régler les commandes de mon TQ qui fonctionnent mais dont les diverses commandes manquent de précision .
si je prends la commande flap j'obtient cela qu'en fais je ??
merci par avance

RoRo

DRT version 2.2.1

flap b738.png
 
Dernière édition:
suivant les conseils de Fredo ( Playrec ) j'ai installé tout le truc afin de régler les commandes de mon TQ qui fonctionnent mais dont les diverses commandes manquent de précision .
si je prends la commande flap j'obtient cela qu'en fais je ??
merci par avance
Salut !

Si tu parles du script et si j'en crois mon expérience , je n'écris pas ces choses là par message , t'as qu'à m'appeler ! :p :LOL:
 
Salut, salut
he ben voilà , les commandes du TQ sont parfaitement paramétrées et calibrées pour le B738 .
Valeurs modifiées dans les scripts Lua de l'avion tout est Ok

un grand merci à toi Fredo , pour l'apport de tes connaissances mais aussi leurs transmissions et ça c'est important ;)

RoRo
 
Salut, salut
he ben voilà , les commandes du TQ sont parfaitement paramétrées et calibrées pour le B738 .
Valeurs modifiées dans les scripts Lua de l'avion tout est Ok

un grand merci à toi Fredo , pour l'apport de tes connaissances mais aussi leurs transmissions et ça c'est important ;)

RoRo
De rien Roland , c'est toujours avec plaisir tu sais bien !
 

v2.3.0 Changes

  • New feature: Adjusting the base font size in the Accessibility section of Graphics settings will now control DRT's font size.
  • Change: Font sizes and layout of UI components has been slightly tweaked to bring them somewhat closer to what X-Plane has by default.
  • Fix: When toggling case sensitivity and other options, the datarefs were filtered by the options selected before the most recent button was clicked. E.g., when turning on the case-insensitive search, the results would be updated to be case-sensitive -- the opposite of what was desired. This has been fixed.
1678661610394.png
 
Dernière édition:

There are 4 goals with version 2.4.0 :

  • Fix all the known crashes
  • Make VR support great again
  • Make it easier to exclude big numbers of datarefs from DRT by prefix
  • Performance
Changes :
  • Fix: Crash when typing a number when a row in the dataref search screen was selected (Thanks Jim!)
  • Fix: Crash when entering / exiting VR with DRT windows open (Thanks Bill!)
  • Fix: Crash when detecting changes in plugins (Thanks @Pikitanga and others)
  • Performance: Refactoring how dataref information is stored has improved search performance somewhat
  • Feature: Entries in drt_ignore.txt will cause datarefs to be ignored that have any entry as a prefix
  • Fix: The search window now appears at the correct size in VR mode
  • Change: No longer ignore dataref sim/atc/user_aircraft_transmitting since X-Plane has fixed a crash (XPD-13887)
  • Fix: When an array dataref changes length, DRT could potentially crash
 
Retour
Haut