Due to the SPAD.neXt Services being under DDOS-Attacks lately, some counter measures have been taken. Make sure your computer-time is up-to-date (synchronized), else you might not get any updates or are unable download any profiles/snippets

Xplane 11 Custom commands / Dataref Manipulation

General Discussions
baranismen
Flight Attendant
Posts: 47
Joined: 07 Sep 2016, 07:40
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by baranismen » 07 Oct 2017, 11:33

wazooda & berniegtr,

did you guys try the capture tool ? I've used it for Zibo's 738, sent the captured files to Ulrich, and he implemented to spad.next (thanks btw), but i've now realised that there are so little dataref's and commands captured by Ulrich's tool.

According to the DataRefTool, there are 2085 Dataref's and 502 Commands, but only few of them are detected by the tool. I've realised this when i was trying to set up my Multi Panel and Radio Panel, HDG and CRS values aren't in the spad.next. Then i've opened the .json files, created by the tool Ulrich provided and saw that there are few values there.

You guys had such a problem ?

jockeyboy2_0
Betatester
Posts: 52
Joined: 04 Sep 2017, 12:13
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by jockeyboy2_0 » 03 Nov 2017, 11:21

The easiest way I have found to get all datarefs into spad.next is to do the following :

download a plugin called : Datareftool
https://github.com/leecbaker/datareftool/releases

Start Xplane and load in the a flight with the aircraft you want to use.

Dataref tool will create a txt file that is located
X-plane11\Output\preferences
the file is called:
drt_last_run_datarefs.txt
copy this file to your aircraft folder and rename it to
datarefs.txt
with this new file you can delete all the datarefs that start with "sim/" as these are included in the default dataref.txt file
Spad.next will read this file when connected to the sim and will allow you to change the dataref values when you assign switches.

jockeyboy2_0
Betatester
Posts: 52
Joined: 04 Sep 2017, 12:13
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by jockeyboy2_0 » 03 Nov 2017, 11:43

This may help a little


baranismen
Flight Attendant
Posts: 47
Joined: 07 Sep 2016, 07:40
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by baranismen » 03 Nov 2017, 17:00

jockeyboy2_0 wrote:This may help a little

video is dead ?

jockeyboy2_0
Betatester
Posts: 52
Joined: 04 Sep 2017, 12:13
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by jockeyboy2_0 » 03 Nov 2017, 20:14

Can you try again forgot to set to Public,

Also I apologise for not editing out the waiting time for X-plane to start I done it in a complete rush this morning.

jockeyboy2_0
Betatester
Posts: 52
Joined: 04 Sep 2017, 12:13
Status: Offline

Re: Xplane 11 Custom commands / Dataref Manipulation

Post by jockeyboy2_0 » 08 Nov 2017, 19:52

The Datareftool has had an update at my request.
This update creates a second file called drt_last_run_commandrefs.txt

For it to be generated you are required to start Xplane then start a flight in your chosen aircraft.
then Quit Xplane.

This will generate the above named file.
if you copy this to the aircraft folder you were just in and rename to commands.txt
Remove all the Lines that begin with Sim/xxxx as these are already included with spad.next
you will have access to all commands that the aircraft had and allow you to utilise them within Spad.next
it will also list any Plugin commands that are available to use and give you access to these within spad.next
Once this is done just restart Xplane select the aircraft again and start your flight, then start spad.next and it will read this file you can then start assigning your switches.

Locked