This implements support for reading and writing the PackFile Index (list of PackFiles names between the header and the PackedFile Index) of a PackFile. This is needed for RPFM, as currently uses it as a way to set dependencies for specific PackFiles. Only confirmed to work in normal PackFiles, as I haven't seen it used in any encrypted PackFile.
About some functions now having one arg per line, I did it because it was hard to read the type of seven different args in a row. Not really needed for the patch, but as it affects the same rows I included it.
This implements support for reading and writing the PackFile Index (list of PackFiles names between the header and the PackedFile Index) of a PackFile. This is needed for RPFM, as currently uses it as a way to set dependencies for specific PackFiles. Only confirmed to work in normal PackFiles, as I haven't seen it used in any encrypted PackFile.
About some functions now having one arg per line, I did it because it was hard to read the type of seven different args in a row. Not really needed for the patch, but as it affects the same rows I included it.