Merge pull request #3459 from JosJuice/custom-texture-all-regions-2 HiresTextures: Refactor getting directory