GithubHelp home page GithubHelp logo

originalsin2dialoggraph's Introduction

Dialog Graph for Divinity Original Sin 2

This project allows you to view real-time dialogs with NPCs in the form of a dialog graph or map.
Thanks to the visualization of the dialog map, you can view all available dialog options (for any NPC with whom you are currently in dialog) and the requirements for them.

Usage

Usage details:

  • The application should be launched after the game has started
  • The game should be run in Borderless Windowed Mode (graphics setting) so that the WPF application can render over the game
  • InjectedLogic uses an optional config located at the game's executable path, for example: ..\Steam\steamapps\common\Divinity Original Sin 2\DefEd\bin\DialogGraphMod\modConfig.json

Note

All config options can be viewed in the Config.cs file in InjectedLogic


  • DialogGraph uses an optional config located at: ..\this_application_folder\DialogGraphMod\config.json

Note

All config options can be viewed in the Config.cs file in DialogGraph

  • If you need to add a new localization for dialogs, you should unpack the game archive of the desired localization, take the .xml file and place it next to config.json. After that you should write the name of the file in config.json, for example: "localizationFileName": "german.xml"

Screenshots

Alt text
Alt text

Technical details

  • Main - injects .NET Runtime into Divinity Original Sin 2. After the injection, .NET Runtime loads the .dll file of InjectedLogic. After that, Main launches DialogGraph
  • InjectedLogic - .dll that sets several hooks in the game's native (assembly) code, then using them collects all necessary information about the current dialog and sends it to DialogGraph
  • DialogGraph - WPF project receives dialog data from InjectedLogic, then finds the current dialog file, parses it, creates a visual dialog graph and then displays it

Simplified visualization of data flow

Alt text

Installation for development

No special steps are required, just installing the dependencies. In case of problems, deleting the obj folder and using the dotnet restore command may help.

Acknowledgments

Disclaimer

This project is not affiliated with Larian Studios or Divinity Original Sin 2. It is a fan-made tool intended for creative purposes.

originalsin2dialoggraph's People

Contributors

zraydayz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.