Well, it works, you can even find game variables. Using items() was a good idea. Although strange, this function, as I read, just formats the view. But without it, the data is immediately written to the file, without waiting for the key to be pressed, and the necessary variables are not recorded.
I can add this function to the tool, although I don't see a reason why, given that the file still needs to try to figure out which variables will be needed. Wouldn't it be easier to just get into the code and view it?