R2Northstar Wiki
English
English
  • Welcome to Northstar
  • Contributing
  • Installing Northstar
    • Basic Setup
    • Northstar Installers
      • FlightCore Guide
      • VTOL Guide
      • Viper Guide
    • Manual installation
    • SteamDeck and Linux
      • Installing on SteamDeck and Linux
      • Troubleshooting
    • Troubleshooting
  • Using Northstar
    • Mods
    • Packages
    • Server Browser
    • Direct Connect
    • Gamemodes
    • Commands
    • Launch arguments
    • Progression System
    • Vanilla via Northstar
    • Advanced
  • FAQ
  • Hosting a server with Northstar
    • Getting started
    • Hosting a Basic Listen Server
    • Hosting a Dedicated Server
      • Best practices
      • Hosting on Windows
      • Hosting on Linux
    • Hosting a Local-only Server
    • Server settings
      • Startup arguments
      • ConVars
      • Playlistvars
      • Name in the files
      • Banlist
    • Troubleshooting
  • Modding and Development
    • Modding
    • Development
      • Repositories
        • Atlas
        • NorthstarMods
        • NorthstarLauncher
        • NorthstarMasterServer (old)
          • Deploy
      • Contributing code to Northstar
      • Testing
      • Reviewing
      • Releases
      • Debugging
        • Visual Studio
        • x64dbg
  • Other
    • Helping
    • Discord moderation
      • Rules
    • Credits
Powered by GitBook
On this page
  • Windows
  • Linux
Edit on GitHub
  1. Modding and Development
  2. Development
  3. Debugging

x64dbg

PreviousVisual StudioNextHelping

Last updated 7 months ago

The GitBook based NorthstarWiki has been replaced in favour of the where this wiki has been integrated.

Check it out here:

The same page on the new wiki should be located here:

If you are not experienced with x64dbg it its recommended to use .

Windows

  • Download

  • Extract the release folder somewhere on your PC

  • Download the latest relase of

  • Merge the contents of the x64dbg folder into the previously extracted release folder

  • Run x96dbg.exe

    • You may receive a Windows SmartScreen prompt, x64dbg snapshots are not signed and will always cause these prompts

    • When running for the first time it will ask you some questions. After this is complete rerun the executable.

  • Select x64dbg in the Launcher

  • Do make debugging easier it is suggested to change your settings to the following:

    • Keeping System Breakpoint enabled is optional but useful

    • Skipping INT3 stepping is recommended to prevent generic breakpoints from stopping the program

    • Make sure to select the exception before disabling breaking. If you are debugging a C++ Exception you need to ignore common exceptions that occur during runtime

  • Open NorthstarLauncher.exe in x64dbg

  • You are now free to debug Northstar

Linux

Debugging Northstar under Linux is not trivial due to the direct dependency on Origin, unless you know your way around wine its recommended to debug on Windows.

To run it simply invoke it: ./nsdbg.py It supports a variety of options as well as vanilla wine and Proton, use the help flag to see all possible options: ./nsdbg.py --help

To simplify the use of x64dbg and automate running Origin a community member has created a script:

ns-linux-dbg
NorthstarDocs
https://docs.northstar.tf/Wiki/
https://docs.northstar.tf/Wiki/development/debugging/x64dbg
Visual Studio
x64dbg
SycllaHide