This is a tool that can unminify and split my plugins that I made for VAM, for people that want to change code or inspect it. It should work retroactively with all the plugins I made. I didn't test it much with other scripts but it should work as a general purpose C# script deminimizer. It could work with vam2 plugins too, if those will be readable and not hidden in the new addon packages format.

HOW TO USE
open "SPQR Deminimizer.html" in any web browser
copy paste a minimized script in the input and hit Deminimize and wait, or drag and drop it over the input and wait
hit download zip if you want to download the deminimized & split files. The zip should also include a .cslist file of all the split files for use in VAM
ABOUT MY PLUGINS
I'm not a game dev, my coding is not great and it's very messy. I don't have time nor motivation for code cleanup and refactoring. Feel free to get inspired from my code but I don't recommend copy-pasting blindly my code, there's lots of redundant stuff and inefficiencies. If you have questions about how to do something complex, feel free to ask, it's probably quicker than trying to figure it out
LICENSE