sannybuilder/dev

SBL auto-update improvements

x87 opened this issue · 3 comments

x87 commented

currently auto-update only works for base modes: gta3, vc, sa, sa mobile.
it does not auto-update other modes (e.g. sa v2 or sa sbl).
it only downloads *.json file. it does not download other important syntax files, such as classes.db, enums.txt, opcodes.txt. Updating JSON file alone cause discrepancy in syntax where command have one interface in JSON and another in classes.db/opcodes.txt

Need:

  • update JSON in all available modes that use it
  • when a new version of JSON file downloaded for a SBL mode also update classes.db, enums.txt, opcodes.txt, keywords.txt.
  • new files should be automatically updated in current session, so restart is not needed.
x87 commented

keywords.txt needs to be excluded from SBL auto-update as any command name can be used directly

x87 commented

classes.db, enums.txt, opcodes.txt in legacy modes can not be auto-updated with SBL files

x87 commented

released in 4.0.0