How Plants vs. Zombies 2 Layers Its Resource Files: RSB, RTON, and Rijndael

A University of Waterloo mathematics student explains how the asset files of Plants vs. Zombies 2 are organized in layers, including the RSB container, the RTON format, and Rijndael encryption. The article compares an RSB archive with a ZIP file, noting that RSB keeps a header of offsets, a file list, and resource group tables instead of per-file compression. It describes the binary header fields and the offset-plus-length approach a parser uses to locate data. Version differences in the format are also mentioned. The author built a small RTON decoder to learn the format and verified container layers on a real build, with the code shared on GitHub. Decryption keys and steps are intentionally omitted, and the test data used is synthetic.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in