Unfortunately such is an undocumented feature. The first thing would probably be the licenses, then the money, but at the moment, it would require cross-referencing scripts to see what would be recorded, then have it compile the information into arrays, but after that...
Since 1.18 doesn't work with armalib, I don't see how to write and read outside the game, except through hinting the RPT null messages with associated data and run an external program to parse it, with an internal script to reiterate the data.
RPT would work externally (As it operates by incremental write i/o), and only outwards, to have the game consume it for uses is not straightforward, and again, not documented.