nani Posted January 11, 2020 Share Posted January 11, 2020 (edited) Made a script that I think would be useful for the modders out there. What it does: Creates a mod pyromod file Creates a mod zip file Creates a backup file of the original folder Names all generated files with the corresponding mod.json version defined Does some sanity checks. You can define a .gitignore file on the root folder of the mod Requirements: Python 3.8.0 or above Optional: gitignore_parser (to install use pip3) How to use: Execute with python3 make_pyromod.py from the command line and read options outputted. The three arguments: "origin", "destination" and "backup" default values are hard-coded as is easier for me this way. You can change them to your liking. make_pyromod.py Edited January 11, 2020 by nani 2 1 Link to comment Share on other sites More sharing options...
Stan` Posted January 11, 2020 Share Posted January 11, 2020 @nani That's nice. Good job. It doesn't do the most important part though. Caching files :/ XML → XMB, DAE → PMD → PSA, PNG → DDS with mipmaps. 1 Link to comment Share on other sites More sharing options...
nani Posted January 11, 2020 Author Share Posted January 11, 2020 True I guess I didn't take into account the caching as I mostly create js files for my mods. I wonder if it's worth it for me tho to change it :/ Link to comment Share on other sites More sharing options...
Stan` Posted January 11, 2020 Share Posted January 11, 2020 38 minutes ago, nani said: True I guess I didn't take into account the caching as I mostly create js files for my mods. I wonder if it's worth it for me tho to change it :/ Probably not. Maybe it could be worth improving the archive builder though Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now