Pistonite / botw-ist

NEW IST Simulator
https://ist.itntpiston.app/
MIT License
6 stars 2 forks source link

Add Savefile Export #18

Open OnlineCop opened 1 year ago

OnlineCop commented 1 year ago

Feature Request

Allow either a Manual Save or any of the Autosaves to have an Export feature.

The exported file would contain data only for the current step:

  1. Any special flags: Has 13 bow slots, Restores TravelMedallion (example syntax for #13), etc.
  2. The count and modifiers for each item (1 HylianShield[modifier=AttackUp,hp=120]).

If it were to be exported as though it were issued by an Initialize ... or Initialize GameData ... command, the order could be preserved so items could appear to the right of Key Items.

Pistonight commented 1 year ago

What exactly do you want to do with the exported file?

OnlineCop commented 1 year ago

I'm able to see (in the browser) the order of those items when I click one of the save files, so having some way to export that in any kind of format would be useful.

I would think that something that could be copied/imported right back into the simulator, such as an Initialize ... line, would be the most convenient for users, but it could also be JSON or other format if that's easier.

Pistonight commented 1 year ago

I see, so something along the lines of “exporting a state as simulator commands (that can be used to get to that state)"?