There were only 31 files in the folder, and inv.b2 was missing. Created a new file with that name, and it worked.

Thanks Raze, you're my new hero.