After creating the decoder for Papa Louie 3, I needed to create the opposite tool, so modders could re-convert their modded xmls to the format the game reads. The same day I finished the decoder I "finished" the encoder, however it was plagued with bugs which caused it to not work, which were fully fixed by March 25th.
This tool repacks LevelMaster xmls into their original format. It also turns out this works for the Cactus McCoy games. Here are the LevelMaster xml's if you need them.