these are tools for modding pvz2.
they are currently very incomplete but I will start working on them again now.
you're currently best off looking at other places for pvz2 modding tools.
like this other repo or the sunflower nation discord
- python 3.10+
- unpack the obb
- extract all of the file names and save them into a json file
- use a json file with those file names and add them back into the obb
- unpack most pgsr (aka rsgp) files
the plants vs zombies 2 quickbms script for some of the documentation this repo that documented more of the lbsr header struct