Closed greysondn closed 3 years ago
Hey,
Thanks for your interest in adding features. I am no longer maintaining this program, but feel free to have a chat with the PK Hack people to see if they'd be interested in integrating their changes to the version of CCScripttWriter that gets bundled with CoilSnake.
Hi.
I've written a trio of really ugly helper functions - a general wrapper, a single internal for the wrapper, and the "do everything using this wrapper now" - to help translate CC codes to their stdlib ccscript counterparts. You are more than welcome to rename the helper functions, I just was being lazy about avoiding naming conflicts.
Anyway... It definitely outputs CCScript.
I don't know if the output is 1:1. I don't know how to decomp/recomp the rom to check for 1:1. I have not thoroughly checked the output.
I am cautiously optimistic, but this needs tested. I don't really know CCScript. I do actually know python well enough. The performance hit is not enough to cry about for the extra functions compared to the utility value if they actually work. The wrapper will be useful for other ccscript functions.
I am tired and rambling. I just thought it was so silly that we hadn't made the output more human readable and wound up diving down a rabbit hole.