šŸ“„
SPAD.neXt
  • SPAD.neXt Manual
  • About SPAD.neXt
  • Getting Started
    • System Requirements
    • Supported hardware
      • Check Hardware
    • Installation
      • Simulation Specifc Steps
        • SimConnect Configuration
        • MSFS: Enable PMDG data access
        • X-Plane Configuration
    • First Start
      • Configuration Wizard
    • Common Tasks and Issues
      • SPAD
        • Online Services
        • Fresh reinstall
        • Move SPAD.neXt to new Computer
        • License Issues
      • MSFS Specific Topics
      • X-Plane specific Topics
      • Saitek/Logitech MP/RP blinking
      • USB Powermanagement
  • Guides and Videos
    • New User Series
    • MSFS SimConnect
    • L:Vars / H:Events and B:Events
    • Features & Functions
    • Device Specific
      • Arduino / SPAD Serial
      • Authentikit
      • Cockpit Simulator CDU
      • Honeycomb
      • Joystick (Generic HID)
      • miniCockpit
      • RealSimGear
      • Saitek/Logitech
      • Script Panel
      • Stream Deck
      • Thrustmaster TCA
      • vFIP
      • Virtual Avionics
      • vJoy
      • VRinsight
      • X-Touch MC Mode
      • X-Touch Midi Mode
    • Simulation Specific
      • ATR 600 (MSFS)
      • AS CRJ 550/700/900/1000 (MSFS)
      • FBW A32NX (MSFS)
      • FFX/MG HJet (MSFS)
      • FFX Vision Jet (MSFS)
      • FSW C414AW (MSFS)
      • PMDG 737 (MSFS)
      • PMDG 777 (MSFS)
      • SWS Kodiak (MSFS)
      • WT CJ4 (MSFS)
      • WT G1000 NXi (MSFS)
      • PMDG 777 (P3D)
  • User Interface
    • UI Familiarization
      • Home Page
      • Profiles Page
  • Features
    • Expressions
      • Values
      • Referencing Simulation Data
      • Operators
      • Functions
      • Examples
    • Tuner Acceleration
    • Event Execution Order
  • Simulations
    • MSFS 2024
    • MSFS 2020
    • X-Plane
      • Pre-Requisites
      • Dataref Tool
      • Helping Spad Help You
      • Dataref vs. Command: Know Your Copilots
      • Basic Flight Controls – Axis Setup
    • P3d and FSX
    • Other
  • Hardware specific
    • USB HUB Requirements
    • CPFlight Devices
    • Saitek FIP (Flight Instrument Panel)
      • Saitek FIP: Driver & Function Check
    • Loupedeck Image Devices
    • Midi Devices
      • X-Touch Mini
    • Serial (COM) Devices
    • Skalarki
    • VRInsight Overhead
  • Extending and API's
    • Gauges and Extensions
      • SPAD Gauges: GaugeSettings
    • C# Scripting Interface
      • C# Scripting: ScriptStub
      • C# Scripting: Provide Values
      • C# Scripting: PreCompile
    • Device Interface
      • Device Communication Flow
        • Device INIT-Phase
        • Device CONFIG-Phase
          • Device options
          • Device COLORSET configuration
          • Device PROFILE configuration
          • Device OUTPUT Configuration
          • Device INPUT configuration
            • Device input AXIS
            • Device input ENCODER
            • Device input PUSHBUTTON
            • Device input ROTARY
            • Device input SWITCH
            • Device input SWITCH3
            • Device LABEL
          • Device config: Advanced topics
        • Device STATESCAN-Phase
      • Device General Commands
      • Device commands
        • Page-Control
      • Device SPAD.neXt Events (2)
      • Device Simulation Events (Channel 4)
      • Device Data (Channel 5)
      • Device LED Update (Channel 6)
      • Device Display Update (Channel 7)
      • Device Input Updates (Channel 8)
      • Device Virtual Power
      • Device Custom UI
      • Device HTML UI
      • Device preconfigured definition
      • Serial V2
        • Command 1,RAISE
        • Command: 0,AUTH
    • X-Plane Datarefs & Commands
    • FSUIPC: Custom Offsets
    • RestAPI
    • HTML Rendering API
    • Other API's
  • FAQ
    • General FAQ
    • MSFS: Lost profile aircraft assigments
  • Changes
    • 0.9.21
    • 0.9.14.0
    • 0.9.13.39
  • Glossar
  • Old-Docs
    • Old-Getting-Started-Guide
Powered by GitBook
On this page

Was this helpful?

  1. Simulations
  2. X-Plane

Helping Spad Help You

That Command File

Good news, Captain! SPAD.neXt is pretty clever when it comes to finding datarefs inside X-Plane. It can sniff them out on its own, so we don’t need to mess with the drt_last_run_datarefs.txt file anymore. That one can stay in the hangar. But when it comes to commands, SPAD.neXt still needs a little hand-holding—think of it like your co-pilot before coffee. drt_last_run_commandrefs.txt

In order for SPAD.neXt to actually recognize and use the commands from that file, we need to give it a proper callsign. That means renaming it to: commands.txt

🧩 Pro Tip: If you don’t see the .txt at the end—trust me, it’s still there. Windows likes to play hide and seek with file extensions. Just rename the file to commands (don’t add .txt yourself), and it’ll work like a charm. No mayday required.

šŸ“ Now Boarding: Your Aircraft Folder Here’s the important part—once you’ve renamed the file, drag and drop that commands.txt file into the folder for the specific aircraft you're setting up. That’s the one with the .acf file inside—you know, the aircraft’s brain. Think of it like loading the flight plan into the correct FMS. Wrong plane, wrong commands, wrong day. Once it’s in place, SPAD.neXt will be able to read those custom commands for that aircraft, and you’ll be all set for takeoff!

Clearing the Runway: Editing Your commands.txt File Alright, we’re almost there, but before we take off, there’s a little bit of housecleaning to do. SPAD.neXt is a seasoned pro—it already knows all the standard X-Plane commands (think of them as the "universal airline rules" that every aircraft follows). So, we don’t need to clutter our flight plan with them. We’re going to clear those out and just leave the custom commands that are specific to your setup. Here’s how to do it:

🧹 Step 1: Open commands.txt Personally I use notepad++ It MUST be a plain text editor. Grab that commands.txt file you just dropped into your aircraft folder and open it up. You’ll see a list of commands that looks a lot like a checklist—but be warned, some of those items are repeats. Think of it like a flight manual with a few too many pages.

šŸ—‘ļø Step 2: Remove the Standard X-Plane Commands Now here’s where we lighten the load. All the standard X-Plane commands start with: sim/ These can be safely removed, no questions asked. SPAD.neXt already knows these commands by heart, so we don’t need them in the file. Go ahead and delete any line that begins with sim/—it’s like clearing out the unnecessary weight before we hit the runway.

šŸ› ļø Step 3: Keep Everything Else (But Leave Two Blank Lines at the Top) Everything else that remains in the file should stay, as it’s likely your custom commands or unique settings. But here’s the key part: make sure there are two blank lines at the very top of the file. It’s like a runway clearance before the action begins—just a little extra space to make everything run smoothly.

āœ‚ļø Step 4: Save and Close Once you’ve cleared out the standard commands, saved everything you want to keep, and made sure those two blank lines are at the top, save the file and close it up. Now, when SPAD.neXt loads up, it’ll only care about the custom commands you've set, making the whole process faster and cleaner.

PreviousDataref ToolNextDataref vs. Command: Know Your Copilots

Last updated 28 days ago

Was this helpful?