Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create minified version of json export #3

Open
kevingranade opened this issue Sep 11, 2018 · 1 comment
Open

Create minified version of json export #3

kevingranade opened this issue Sep 11, 2018 · 1 comment

Comments

@kevingranade
Copy link
Member

dialogger json entities are rather verbose, we need an export option to trim them down to just the pieces that dda cares about.

We should keep the verbose version though so people can save their work without losing layout.

@kevingranade
Copy link
Member Author

This is partially implemented already by the function gameData()/exportGameFile().
Upstream dialogger has the concept of a "complete" dialogue data file that has all the metadata jointJS needs, and an "export" with just the game data. The problem with this approach is you can't re-create the "complete" data from a game export, which is what we are going to want to do.
In order to support this we will need to deserialize the minimized nodes and then add the extra metadata needed by the gui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant