-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposal: API for modded ecl scripts and hypothetical th185 replay mod #90
Comments
(I'm not sure who's invited to participate in this discussion, but I'll throw in my two cents in the hopes that they're welcome. 😅) I do like the idea. If I'm understanding this correctly, this would eliminate the need for the I imagine the format of the Regarding Lastly, regarding the version number: I don't have any particular objections, but perhaps we could also consider using semantic versioning for thprac? |
Regarding the format, I'm actually thinking about it right now and would like it implemented not that far into the future. And yes, I am using JSON for this. It would make a lot more sense for The reason I'm saying that this warrants bumping the version to 3.0.0.0 is because it's a massive change that completely changes everything about the very core of thprac, for the better |
I could have a go at moving the I imagine this would require making changes to thprac_utils? Since I'm not familiar with that codebase, I'd appreciate some general guidance, if you're willing to provide it. (I'm fairly certain we're both in the thpatch Discord?) |
I moved an older program called "thprac_multi" into "thprac_devtools". I don't actually know how any of the code that generates |
I’m wondering whether thprac_locale_def.h generation could be somehow omitted by direct json serialisation with the help of library such as https://github.com/nlohmann/json. Didn’t work with json so much in C++ but that seems like a good idea, as this is the strategy for most modern languages. |
@Lmocinemod I've been talking a lot in ZUNcode about this proposal |
What if thprac had some sort of API that could be used by third party mods to create custom practice menus for their custom stages?
zero318 came up with the idea of .prac files that could go either in thXX.dat or could be provided by thcrap, that would tell thprac what the practice menu should look like, and which parts of the ecl file should be modified in what way depending on the menu entry selected. This system could also replace the entire current system for patching stages that thprac has, which would lead to:
I think that this change would warrant bumping the version number all the way to 3.0.0.0
The text was updated successfully, but these errors were encountered: