ClayAmore / ER-Save-Editor

Elden Ring Save Editor. Compatible with PC and Playstation saves.
Apache License 2.0
309 stars 79 forks source link

How the event_flags generated? #30

Open a361570441 opened 4 months ago

a361570441 commented 4 months ago

Hello, I am very interested in your project, especially the part about event_flag, but I don't quite understand how the boss's ID in event_flag matches the value of event_flag? (For example, 10000800 (Godrick the Grafted) corresponds to (0x151c33,7). How did you find this matching relationship? I would be grateful if you would disclose it.

EthanShoeDev commented 3 months ago

I would also like to extract some more of the event flags. Specifically, I want to know if a bell bearing has been turned in.

I have considered turning it in and checking the diff of the event buffer from before and after.

ClayAmore commented 2 months ago

The new er-save-lib has a get_event_flag_by_id and set_event_flag_by_id functions. This is gonna be on the new relaese.

TotalChaos05 commented 1 month ago

@ClayAmore are you still planning on working on this? if not i might be able to try