Open 12345-mcpython opened 4 months ago
Would it be more helpful if the respective ids were included instead so that you could combine the output with your own language source in your tools?
The export is primarily supposed to machine-readable after all.
language support is easy by simply swapping the textmap
https://github.com/Dimbreath/StarRailData/tree/master/TextMap
https://github.com/IceDynamix/reliquary-archiver/blob/main/src/export/fribbels.rs#L263
adding ids would warrant a separate export format that implements the Exporter
trait
https://github.com/IceDynamix/reliquary-archiver/blob/main/src/export/mod.rs#L5
I would argue this is not a backwards-incompatible change with the current fribbles format, but it should probably also be clarified with fribbles first, if the id is something worth adding to the general format and to be prioritized over the current string identifier, which could then of course still be included but would be more of a human-readable fallback id.
The default
archive_output.json
file's " light cone", "relic" and character name is English. I hope to support the other language's data export to use in my tools.