Open Ismoh opened 2 years ago
There is a lua file watcher, with this tool we can get the selected save slot. The save slot isnt accessible by the Noita API. Check the latest file changed date and time to find the selected save folder.
There is a lua file watcher, with this tool we can get the selected save slot. The save slot isnt accessible by the Noita API. Check the latest file changed date and time to find the selected save folder.
This might be also interested for checking changed world files.
Keep #70 in mind, when working on this!
Thanks to @dextercd for his awesome tool/mod, being able to achieve this! https://github.com/dextercd/Noita-Synchronise-Expansive-Worlds
Create a PR into #67 when done, because I'll soon merge #67 into this branch.
The most valuable issue of all issues 😞
We could use a research for beeing able to sync the world. Atm the world is synced by quitting the game, because the world is saved to disc and can be sent as a zip/archive by network.
@willjallen already had a quick look in memory to get the world shown and inside the camera bounds. Any news on that?
Do you have any ideas or suggestions to investigate research? @shebpamm @DevonX
I also had the idea to read all world files (which are binary files) in lua and sent simply the content to the clients, but I am not sure if the clients will read those files whenever those are changed. This might be an idea to investigate time.
Volunteers? Or question to this? Feel free to add comments :)