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

Feature Request - Hot Reloading Modules, Scripts, and Dialogues #44

Open
lachjames opened this issue Jan 17, 2022 · 0 comments
Open

Feature Request - Hot Reloading Modules, Scripts, and Dialogues #44

lachjames opened this issue Jan 17, 2022 · 0 comments

Comments

@lachjames
Copy link

Hi :)

As you probably know, the original KotOR games are difficult to mod because of the way save games work - when you save a game in a particular module, the game will load many resources from that module (overriding any resources in the base game folder). This is troublesome when modding the games, sometimes requiring a bit of in-game play for every test of a dialog or module edit.

What would be great is if Reone had a "developer" mode that:

  • Saves a checksum of the original game file for each item saved in a game save
  • When loading while in developer mode, if an original file has changed (i.e. different checksum), override the save game file with it.

Now, this is not a perfect solution - what would be fantastic would be to somehow intelligently diff the save-game and the original, and diff the new version and the original, and then reconcile the two... but I think such a feature would not be reliable enough, which defeats the point of including it at all. The ability to hot-swap module and dialog files, perhaps while keeping the state-variables the same (that is, variables that were not in the original file at all, but were added during the game save) would be a good compromise here?

Even just allowing the hot-swapping of dialog files would be incredible, and that shouldn't require much work because dialog files aren't edited in saves anyway.

Thanks for the awesome project!

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