Skip to content

matm-git/SkyrimScripts

Repository files navigation

CreatePBRJson

CreatePBRJson.ps1: A simple powershell script to generate a basic PBR json for PBRNifPatcher or ParallaxGen.
Run it from the main folder of your mod and it creates the folder and a basic json

nifoptall

nifoptall.bat: A simple batch script that runs SSE NIF Optimizer.exe and nifopt on all meshes in a folder.
Requires both tools to be on the Windows path environment variable. Use 'nifoptall replace' to replace unoptimise versions instead of creating new files.

Create seasonal variations

Create seasonal variations.pas: xEdit Script that duplicates FormIds from an input plugin and creates 4 seasonal copies (SPR,SUM,AUT,WIN) in a targetFileName
Needs to be placed in folder xedit\Edit Scripts
It requires to set inputFileName (default 'Seasonal variations Input.esp') in the script itself and that plugin must be loaded in xEdit. All FormIds of this plugin will be read.
It requires to set targetFileName (default 'Seasonal variations Output.esp') in the script itself and that plugin must be loaded in xEdit. This will be used to write the output FormIds.

Create Seasonal Variants.ps1: Powershell script that creates seasonal variations (SPR,SUM,AUT,WIN) for diffuse textures as well as meshes (nifs) and updates texture paths accordingly. Removes subsurface maps from the mesh, if they are being used (manual rework required, if you want to have them for seasonal variations).
Created meshes are stored in pbr_output\ and textures together with input textures in textures\ folder.
Requires: PBFNifpatcher.exe and the script needs to be run from a folder that contains the meshes\ to create variations for as well as textures\ with all related textures.

About

Some of my scripts used to create Skyrim mods

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published