-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fixed genScript.py crashing #1
Conversation
No longer crashes when a scriptGAME.txt is missing
1st to 3rd slots only in Gen 6 and 7 games
Maybe I'm missing something by not being familiar with Python but why did you remove |
By deleting the folder you lose all the scripts, which isn't a big deal if they're going to be made again. But with the change, if you have scripts in the folder that aren't included in the /src/scripts.txt, they won't be deleted, the other scripts will just added. Ex: Folder contains a.pksm and c.pksm. scripts.txt is going to make b.pksm and c.pksm. |
Guess that's more of a personal workflow style (I keep all my development stuff in a different, uncommitted directory) Maybe this is just my JS experience and unfamiliarity with Python but looking over the code again it also seems that you're unnecessarily repeating some code, like the |
The way that I designed it, genScripts was meant for basically only production. Anything other than full production compilation should probably be manually copied, anyway |
Furthermore, the scriptGAME.txt files should NEVER be deleted, instead use PKSMScript directly |
What exactly do the WC renewal scripts do? At this point they're the only reason I'm keeping this open, and I'm thinking of including them when I deal with #2 |
@SpiredMoth they probably set the |
@PlasticJustice check out Also added the WC renewal scripts in 8086bd9 so this can be closed |
genScript.py no longer crashes if one (or more) of the scriptGAME.txt files are missing.