GoldHEN/GoldHEN_Plugins_Repository

Optimize how game patches are loaded

illusion0001 opened this issue · 0 comments

Currently we open it by procInfo.titleid.
Plans are:

  • Generate list of files from patches folder into an ini file.
  • Open file by getting title id as key, absolute path as value.
[/data/GoldHEN/patches/xml]
CUSA00001=/data/GoldHEN/patches/xml/my_patch.xml
CUSA00002=/data/GoldHEN/patches/xml/my_patch.xml
CUSA00003=/data/GoldHEN/patches/xml/my_patch.xml
CUSA00004=/data/GoldHEN/patches/xml/my_patch.xml

This will mean that multiple games can reference the same file, thus reducing duplicate data and cut down on files generated from CI.