How detlefs/export-vertexmodlist works
Main Components
a) Input Sources:
• A sub-component for "state_backups_full/*.json" files in %APPDATA%\Vortex\temp
b) Processing Components:
• A sub-component for the ModData Type Definition
c) Output Handlers:
• Potential output processing streams (PowerShell pipeline)
• Common filtering/formatting components (Where-Object, Select-Object, etc.)
Flow Representation
• JSON backup file → Script Input
• Script Processing → ModData Objects
• ModData Objects → PowerShell Pipeline
• Pipeline → Various Output Formats (Table, Markdown, etc.)
Specific Implementation Details
• Blue: External components (Vortex Application)
• Green: Core script components
• Yellow: Data transformation components
• Gray: Output formats
Elements
a) Input Section:
• Vortex Backup Location: %APPDATA%\Vortex\temp\state_backups_full\*.json
• About backup file selection (newest file)
b) Processing Section:
• ModData Type with key properties
• Filtering logic for "Uninstalled" mods
c) Output Section:
• PowerShell pipeline options
• Common output formats (Table, Markdown, etc.)
Important Notes
• Version compatibility (Vortex 1.10.8)
• Backup file refresh requirements
• Pipeline integration points