Requested by darthparametric. PR allows sorting by:
Area name description from the Name field in the ARE
the Area ID* (e.g. m01ab, 001PER)
module filename (liv_m99aa_s.rim)
This also puts all the STUNT modules at the very bottom.
*EDIT: This logic was a pain in the butt to write. The problems this PR solved:
There's like 4 different spots in the IFO where the area_id can be
The Area id doesn't always match the ARE/GIT resname
The ARE/GIT resname doesn't always match the filename
the area id doesn't always start with 'm##ab' or whatever, sometimes it's something like 153har and then you have a 153har.are file in the .rim.
the IFO/area id seem to have partial data available throughout the rim/_s.rim/_erf.dlg trio, requiring us to read all of them.
the filename itself should take priority over whether we should pull resources from _s.rim/_erf.dlg.
This pr is foolproof at the moment, but the code looks a bit messy. However messy it is it's still more accurate and faster than the current code on master. LMK
Requested by darthparametric. PR allows sorting by:
Name
field in the AREThis also puts all the STUNT modules at the very bottom.
*EDIT: This logic was a pain in the butt to write. The problems this PR solved:
This pr is foolproof at the moment, but the code looks a bit messy. However messy it is it's still more accurate and faster than the current code on master. LMK