Last active
February 3, 2019 15:09
-
-
Save dzava/d98f240cee05ab9912fc7aa5e63debcf to your computer and use it in GitHub Desktop.
Upgrade Ogre meshes for RigsOfRods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env/ bash | |
rm -rf /tmp/upgrade | |
for archive in *.zip; do | |
unzip $archive -d /tmp/upgrade | |
for mesh in /tmp/upgrade/*.mesh; do | |
OgreMeshUpgrader $mesh | |
done | |
zip -j --update "$archive" /tmp/upgrade/* | |
rm -rf /tmp/upgrade | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment