Replace MercOpinion.xml files with the new format (#95)

Instead of storing all opinions in unique <Opinion1>, <Opinion2>, ... <Opinion254> tags for all profiles, only opinions with a value other than 0 is now stored in <AnOpinion id = "1" modifier = "-10" /> tag

This change changed the loading time for merc opinions from 4.047 s to 0.011 s

A small cmd utility tool for converting existing MercOpinions.xml data into the new format is available at https://github.com/Asdow/JA2-ConvertXMLData/tree/master
This commit is contained in:
Asdow
2024-08-13 00:29:17 +03:00
committed by GitHub
parent a57876d507
commit b9f77e8483
2 changed files with 14312 additions and 86194 deletions
File diff suppressed because it is too large Load Diff
+6232 -20147
View File
File diff suppressed because it is too large Load Diff