Menu
 

Marvel Mods GIMP Scripts

Started by BaconWizard17, February 15, 2024, 09:09AM

Previous topic - Next topic
February 15, 2024, 09:09AM Last Edit: Today at 02:36PM by BaconWizard17
Marvel Mods GIMP Scripts
v3.0.0

This is a set of scripts for GIMP that automate several processes used with modding, including setting up textures, exporting textures, and editing skin screenshots.


Features:
  • A set of scripts for GIMP with the following features:
    • Export textures by asset type or texture format
    • Crop skin screenshots and set up skin previews
    • Scale images
    • Prepare textures

Changelog:
Expand to see changelog
  • Version 1.0.0:
    • Initial Release
  • Version 1.1.0:
    • Added MUA Normal Map Conversion script by ak2yny. Exporters for skins are now split into primary and secondary texture options, which allows secondary textures to be exported in the same format as primary textures, regardless of their size.
  • Version 1.1.1:
    • Environment map processing now has a correct option to match the format to the primary texture, benefitting igbFinisher.
  • Version 1.2.0:
    • Added the ability to export the yellow-colored normal maps used by the Xbox 360 and Steam versions of MUA1. Both green and yellow normal maps can be exported from a green normal map.
  • Version 1.2.1:
    • Added the ability to pick between yellow or blue normal maps for Steam/360. Both work the same way, but the blue ones have their blue channels full of white instead of black. Both are in the Steam/360 version, so both are supported by the script now.
  • Version 2.0.0:
    • Redesigned all scripts so that all common processes are handled in an external process, greatly increasing processing speed.
    • Added export scripts for power icons, comic covers, loading screens, concept art, and map models.
    • Added support for indexed-alpha textures using pngquant.
    • Changed processing for environment maps to use plain png textures instead of dds textures because 3ds Max 5 doesn't support dds environment maps.
    • Added a script that crops and exports game screenshots based on layer names.
  • Version 3.0.0
    • Coding for 2D and 3D asset textures has been reduced, with alternate formats removed, as igbFinisher can now perform all texture optimizations using different versions of Alchemy.
    • Scripts for secondary textures have been removed, as this distinction is no longer required.
    • Lots of code has been rewritten to a better format.


Installation Instructions:
Expand to see installation instructions for this tool
  • Download GIMP 2.10 (the link is to version 2.10.38; version 3.0 and its previews are not yet supported).
  • If updating from version 2.0.0, delete the following folders:
    • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Basic_Gimp_Procedures
    • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Export_Previews
    • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Export_Textures
  • Download gegl-python-fu & gegl_graph Ver.3.0.zip by MareroQ and install it to your GIMP plugins directory (default location is C:\Users\(Your Username)\AppData\Roaming\GIMP\2.10\plug-ins).
  • Download pngquant (the "Binary for Windows" version) and install it to C:\Windows
  • Download the Marvel Mods GIMP Scripts.
  • Open update.bat with Notepad++ or another text editor.
  • Edit the file paths in line 6 and line 8 to reflect your GIMP configuration.
  • Save update.bat
  • Run update.bat as an administrator, which will allow you to access the necessary folders.


Tutorials:
Expand to see tutorials featuring this tool


Credits:
  • ak2yny: Early script assistance, MUA Normal Map Conversion script
  • BaconWizard17: Script creation


The Marvel Mods GIMP scripts have been updated with the following changes:
  • Environment map processing now has a correct option to match the format to the primary texture, benefiting igbFinisher.

April 17, 2024, 09:14AM #3 Last Edit: April 17, 2024, 09:45AM by BaconWizard17
The Marvel Mods GIMP Scripts have been updated to version 1.2.0 with the following updates:
  • Added the ability to export the yellow-colored normal maps used by the Xbox 360 and Steam versions of MUA1. Both green and yellow normal maps can be exported from a green normal map.

Version 1.2.1 was released right after with the following updates:
  • Added the ability to pick between yellow or blue normal maps for Steam/360. Both work the same way, but the blue ones have their blue channels full of white instead of black. Both are in the Steam/360 version, so both are supported by the script now.

The Marvel Mods GIMP Scripts have been updated to version 2.0.0 with the following updates:
  • Redesigned all scripts so that all common processes are handled in an external process, greatly increasing processing speed.
  • Added export scripts for power icons, comic covers, loading screens, concept art, and map models.
  • Added support for indexed-alpha textures using pngquant.
  • Changed processing for environment maps to use plain png textures instead of dds textures because 3ds Max 5 doesn't support dds environment maps.
  • Added a script that crops and exports game screenshots based on layer names.

The Marvel Mods GIMP Scripts have been updated to version 3.0.0 with the following updates:
  • Coding for 2D and 3D asset textures has been reduced, with alternate formats removed, as igbFinisher can now perform all texture optimizations using different versions of Alchemy.
  • Scripts for secondary textures have been removed, as this distinction is no longer required.
  • Lots of code has been rewritten to a better format.

This update has some file names changed. Before installing, delete the following folders:
  • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Basic_Gimp_Procedures
  • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Export_Previews
  • (GIMP installation)\GIMP 2\lib\python2.7\site-packages\Marvel_Mods_Export_Textures

If you use igbFinisher, be sure to update to the latest version as well.