I share with you a little script i have made, it let you convert your xmodel and xanim by just double clicking on them. After that, it's also easy to edit CodMayaTools.py so it will automatically run (then convert) your files after export.
How to install :
1. Make a new file called export2bin.cmd and put it in the same folder as export2bin.exe 2. Copy and paste the content of the script i provide you in the end of this post and save the file. 3. Configure your xmodel and xanim files to automatically open with export2bin.cmd
Now you can convert your files easely by just opening them.
If you want to edit your CodMayaTools.py so it will automatically open your files after export, do the following :
1. Open CodMayaTools.py with a good text editor like notepad++ or sublimeText 2. Search for the following (using ctrl+F) : and add "os.startfile(filePath)" after it, so it looks like this : 3. Repeat one more time the step 2, so it will work both for xmodels and xanims
Now your files will be converted to bin automatically
If you want my script to automatically delete xmodels and xanims files after conversion, look for the following line in export2bin.cmd : and replace it with :
Hope you like it
----------------------------------------------------------------------------------------------- Code for export2bin.cmd : Double Post Merge: October 10, 2016, 06:38:44 pmOups, I should have posted it under the BO3 section, sorry for that.
7 years ago
Loading ...
New version available!
All running pages of UGX-Mods need to be reloaded for your best experience. Be sure that you finish all your work before updating!