Please note that this is NOT a Camouflage!
Please note that this is NOT a Camouflage!
This is a small script I frequently use, designed to automatically extract and split N maps from War Thunder.
What can this script do?
As mentioned earlier, it can automatically split N maps and supports FOUR Languages: English, Chinese, Japanese, and Russian.
How to use this script?
Extract it to any location of your choice (for me, it's the Desktop).
Open Photoshop, then click **File (F) → Scripts (R) → Browse (B)**. Navigate to the location where you just placed the script and double-click it (or press Enter, or select it and click "Load" at the bottom) to run the script.
You can view detailed instructions under the "Help" section; however, I will also explain it below.
The top button allows you to cycle through languages (English, Chinese, Japanese, Russian), with English as the default.
Click the button next to "Select Source File" to choose the file you want to process. This script processes files according to N-map splitting logic, meaning it will handle any file, so be sure to verify your selection carefully.
Click the button next to "Select Output Directory" to select the output location. By default, clicking this after selecting an image will automatically locate the folder where the image is stored, allowing you to simply confirm. You also have the option to set a custom output directory.
In the text box next to "Enter Prefix", input the desired prefix. Your final files will follow the format "prefix_suffix.png". I typically set the prefix to the **name of the vehicle** I am working on (e.g., Su30sm, L2A5, etc.).
"Customize Suffix" enables you to define suffix names for different texture channels. The default suffixes are preset as indicated in the UI, but you can modify them as needed.
Click "Confirm" to begin processing the selected image. Once the task is completed, the script will display a confirmation message.
Click "Help" to view the built-in instructions, and click "Close" or press Esc to exit the script.
Notes:
For optimal results, it's recommended to process the original DDS images
During image processing, the roughness map is automatically inverted, ensuring compatibility with standard workflows (e.g., PBR, ASM, etc.).
The script's translation was generated by AI, and there may be some errors or misinterpretations in phrasing.
A known issue is that after switching languages, **buttons and text fields may retain their maximum width, but this does not affect functionality, so I have not attempted to fix it.
Finally, as always, you are Free to Download, Use, Share, or Modify the script Without needing my permission (though I’d love to hear about any improvements you make!).
If you encounter any issues while using it, feel free to leave a comment below or send me a private message on the forum. I hope this small tool proves useful and helps you in your workflow!
#tools #texture #script