Description
Everyone that makes any kind of skins for any kind of model knows that the process can be very laborious and tedious. You have to take the time to name every map or every jm and I know almost every single one of you have to go look up the dyno name on the internet so your skins show up under the right bike in game. Then you have to fire up a command prompt to scram and saf your files.
What if I told you that I have created a tool to do everything for you?
Introducing mxskinnamer.... (yeah I know the name sucks)
Mxskinnamer allows you to choose a folder that contains your skins, jms, or both at the same time and then select the dyno you want to be renamed in bulk and be named perfectly every time! You don't even have to worry about whether or not you got the right dyno name. The tool is even able to find your norm and spec maps and name them accordingly. An intuitive listbox for both the maps and jms allow you to select which files you want to include and which ones you don't. You can choose to rename maps and jm files or do each one accordingly.
Once you have your files renamed, you're going to want to protect them by sramming them. The scrammer find all the files that you renamed and runs jlv's scram binary so you get those awesome encrypted files. Following the same theme, you can choose to do this for all of your files, just the maps, or just the jm files.
The last step in the skinning process is packaging your files into a single saf file. The saf'er runs a version (updated to work with Python 3.x) of jlv's saf script to get all your files, just the maps, or just the jm files packaged into a single saf file that you can distribute anywhere for people to download.
I had a blast creating this as a way to help me learn to program in another language, Python. Since this was a learning project, there will probably be a few bugs. If anything breaks for you, feel free to let me know and I'll patch it. Otherwise, feel free to modify this to your needs, make pull requests, fork the repo, etc.
Caution!
- The scram tool will not work on MacOS since there are no Mac binaries
- I am unable to test the scram tool on my Linux machines since they are not running a gui. I will be testing in a VM soon, but I thought I should make you aware. I have a feeling you will have to run this command on the scram tool to make it executable.
Code: Select all
chmod +x plugins/mxscram
If this helped you save some time with packaging your skins, maybe consider buying me a beer.
Paypal
Link to tool:
https://github.com/hodge47/mxskinnamer/releases/tag/v3.0.0
GitHub Repo:
https://github.com/hodge47/mxskinnamer
A big thank you to jlv for letting me redistribute his tools
Changelog:
Installation:
Usage:
Scram and Saf:
Text Tutorial (will be updated for 3.0.0 soon):
How to Use
**You will need Python installed on your machine to use this*
Prep
You will need at least one diffuse map (You can use as many diffuse maps as you want). This is the map that your graphics are on. This map can be named whatever you want it to be but it cannot have 'N[n]orm' or 'S[s]pec' in it. Optionally you can also use normal and specular maps. These need to have 'N[n]orm' and 'S[s]pec' in the name, respectively.
You can also choose to rename JM files. For a bike these should include "fork_lower.jm", "fork_upper.jm", "frame.jm", and "swingarm.jm". For a rider this would need "rider_body.jm", for a helmet, "rider_head.jm". Lastly, for wheels the JMs you would need are "front_wheel.jm" and "rear_wheel.jm".
You can either rename skins and JMs separately on their own or all together at once.
Install Python
- Go to (https://www.python.org/downloads/) and download the latest release of Python
- Follow the installer instructions for your operating system
Double-Click
- Extract the script somewhere on your computer
- Double-click the script
- Extract the script somewhere to your computer
- Open a terminal or command line
- `cd` in the directory that contains the script
- Run this command `python main.py`
- Click the browse button and navigate to the directory that contains your skins (diffuse textures, normal map, and specular map) and/or JM files
- Type the model name you're saving for in the 'Model Name' text box. This is what your JM name is after the dyno
- Select the dyno that you're saving for in the 'Dyno' list. This contains bikes, rider body, helmet, and wheels
- Rename buttons
- Click the 'Rename All' button to rename skins and JM files
- Click the 'Rename Maps' button to only rename skins and maps
- Click the 'Rename JMs' button to only rename JM files
- Navigate to the directory where your skins were saved
- *Note: Skins/maps and JM files are now copied and then renamed to avoid a destructive workflow. Your files will be saved in your skins/jm directory under 'RenamedFiles/Model Name/Maps' or 'RenamedFiles/Model Name/JM
- (Optional) Scram and saf your bike maps
- Move to your game install directory or personal folder