### Export PSD to GumpOverrides PNG for UO Outlands (Python) Source: https://context7.com/corvaeoboro/ultima_online_mods/llms.txt Exports PSD source files to PNG format with hexadecimal naming for UO Outlands' GumpOverrides system. This script handles image downscaling and batch processing of UI mods like spell icons. It requires PSD files with hexadecimal suffixes and outputs PNG files to a specified directory for game installation. ```python # Export UI mods for UO Outlands python Z_Tools/00_psd_to_GumpOverrides.py # Configuration options: DEFAULT_OUTPUT_PATH = "./GumpOverrides/" DESCALE_PIXEL_SIZE = 44 # Standard spell icon size # Example: Export all selected spell icons # 1. Run the tool # 2. Select mod groups (Magic Spells, Buffs, Dark UI, etc.) # 3. Check "Export all to target folder" # 4. Click "Export All" # The tool processes PSD files with hexadecimal suffixes: # Input: UI/UI_MagicSpells/ui_spell_fireball_0x4E2A.psd # Output: GumpOverrides/0x4E2A.png # For upscaled development versions (512x512): # Input: UI/UI_MagicSpells/Upscale/ui_spell_fireball_0x4E2A.psd # Output: GumpOverrides/0x4E2A.png (auto-scaled to 44x44) # Installation: # Copy the GumpOverrides folder to your UO Outlands game directory ``` -------------------------------- ### List Files in Directory (Batch Script) Source: https://github.com/corvaeoboro/ultima_online_mods/blob/main/ENV/ENV_DirtHills/00_list_files.txt This batch script is designed to list files within the current directory. It is a simple utility for project management and file organization. No specific input is required; it operates on the directory it's executed in. ```batch @echo off echo Listing files... DIR /B ``` -------------------------------- ### Multi-Image Compositor Tool (Python) Source: https://context7.com/corvaeoboro/ultima_online_mods/llms.txt An interactive Python tool for compositing multiple images, useful for assembling sliced or multi-part art assets like tree images. It supports drag-and-drop functionality, precise positioning with arrow keys, automatic composition based on overlap scoring, and edge detection with snapping. ```python # Composite multi-part tree images python Z_Tools/02_image_composite_multi.py # Features: # - Drag and drop images on canvas # - Arrow keys for precise positioning # - Auto-compose with overlap scoring # - Edge detection and snapping ``` -------------------------------- ### Run Mod Selector Tool for UOFiddler MassImport (Python) Source: https://context7.com/corvaeoboro/ultima_online_mods/llms.txt Launches the Mod Selector GUI application to select and export art mods. It generates XML files for UOFiddler's MassImport plugin and TXT files for the legacy Mulpatcher tool. The tool automatically scans ART, UI, and ENV folders for conversion into different game categories. ```python # Run the mod selector to create custom mod packages python Z_Tools/00_mod_selector.py # The tool scans mod folders automatically: # - ART folders: converted to "item" category (Art.mul) # - UI folders: converted to "gump" category (Gumpart.mul) # - ENV folders: converted to "texture" or "landtile" categories # Example XML output structure: """ """ # Usage workflow: # 1. Run the tool and select desired mod categories via checkboxes # 2. Click "Export All to MassImport XML" # 3. Output: 00_ART_MODS_MassImport.xml in project root # 4. Use this XML with UOFiddler > Plugins > MassImport ``` -------------------------------- ### Convert Textures to Isometric Land Tiles (Python) Source: https://context7.com/corvaeoboro/ultima_online_mods/llms.txt Converts square texture images into 45-degree rotated isometric land tiles in ART_M format. This process includes upscaling, rotation, edge blending, downscaling, and subtle visual adjustments like brightness reduction and sharpening. An alpha template is required for proper transparency. ```python # Convert ENV textures to isometric land tiles python Z_Tools/01_image_rotate_to_isometric.py # Place script in folder with BMP textures, then run: # Input: grass_texture.bmp (64x64 or any square size) # Output: ART_M/grass_texture.png (44x44 isometric tile) # The conversion process: # 1. Upscales texture 8x for quality (352x352) # 2. Rotates -45 degrees with edge padding # 3. Applies multiple larger versions for edge blending # 4. Downscales to 44x44 with bicubic interpolation # 5. Applies brightness reduction (12% darker) # 6. Adds subtle noise (1% blend) # 7. Applies sharpening (5% blend) # 8. Restores original alpha channel from template # Configuration variables: artm_landtile_size = 44 # Standard UO land tile size rotate_angle = -45 # Isometric rotation brightness_amount = 0.88 # Darken by 12% noise_blend_amount = 0.01 # 1% noise texture sharpen_blend_amount = 0.05 # 5% sharpening # Alpha template required: alpha_texture_filepath = './ALPHA/00_LAND_ART_M_ALPHA.bmp' ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.