Jump to content

Packaging mods for Vortex


Recommended Posts

Posted (edited)

Anyone know if there's a quick guide telling how package mods so Vortext can install them properly. I gather there are are differences from MO2 for Starfield: some mods have one package for each manager, others have fomod scripts that ask which one you're using.

 

I've tried making sure I have a top level folder called "Data" which seems to be the major difference. Is there anything else I'm missing?

Edited by DocClox
"Vortext" -> "Vortex" Honestly, I *know* how it's spelled. Why do I type things like this?
  • DocClox changed the title to Packaging mods for Vortex
Posted (edited)

Vortex expects a data folder on top level for Starfield and only the content of data folder on top level for Skyrim. Simply like that.

Edited by zaira
Posted

OK, thanks. I tried that and it didn't help with the case in question. Which means it's probably not the mod manager causing the issue.

 

Thanks for the help.

Posted

You can use FOMOD to decide between Vortex and Mod Organizer 2. Just place a directory "fomod" with the files "info.xml" and "ModuleConfig.xml" in your mod. If Vortex it will install to "data" and if Mod Organizer 2 it will install to ".". I hope this will work. At least that's how some mods did it.

 

└───readme.txt
└───MyHead.esm
├───MyHead

│   ├───meshes
│   │   └───actors
│   │       └───character
│   │           └───facegendata
│   │               └───facegeom
│   │                   └───starfield.esm
│   │                      └───MyHead.nif
│   └───textures
│       └───actors
│           └───character
│               └───facecustomization
│                   └───starfield.esm
│                      └───MyHead.dds
└───fomod
    └───info.xml

    └───ModuleConfig.xml

    └───images

       └───Mo2Logo.png

       └───MyHead.png

       └───VortexLogo.png

 

 

------ info.xml ------

<?xml version="1.0"?>
<fomod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>My new Head</Name>
  <Version>1.0.0</Version>
  <Author>Me</Author>
  <Website>https://www.loverslab.com/forum/571-downloads-starfield-adult-sex-mods/...</Website>
  <CategoryId>5</CategoryId>
</fomod>

 

------ ModuleConfig.xml ------

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xsi:noNamespaceSchemaLocation="http://qconsulting.ca/fo3/ModConfig5.0.xsd">
    <moduleName>MyHead</moduleName>
    
    <installSteps order="Explicit">
    
        <installStep name="Select installation options">
            <optionalFileGroups order="Explicit">
            
                <group name="Main files" type="SelectAny">
                    <plugins order="Explicit">
                        <plugin name="My Head">
                            <description>MyHead&#xD;
Makes everyone pretty.</description>
                            <image path="fomod\images\MyHead.png" />
                            <files />
                            <typeDescriptor><type name="Required" /></typeDescriptor>
                        </plugin>
                    </plugins>
                </group>

                <group name="Mod Manager" type="SelectExactlyOne">
                    <plugins order='Explicit'>
                        <plugin name="Vortex">
                            <description>Select this if you use Vortex</description>
                            <image path="fomod\images\VortexLogo.png" />
                            <conditionFlags>
                                <flag name="flag_vortex">Active</flag>
                            </conditionFlags>
                            <files/>
                            <typeDescriptor><type name="Optional" /></typeDescriptor>
                        </plugin>
                        
                        <plugin name="Mod Organizer 2">
                            <description>Select this if you use Mod Organizer 2.</description>
                            <image path="fomod\images\Mo2Logo.png" />
                            <conditionFlags>
                                <flag name="flag_mo2">Active</flag>
                            </conditionFlags>
                            <files/>
                            <typeDescriptor><type name="Optional" /></typeDescriptor>
                        </plugin>
                    </plugins>
                </group>
        
            </optionalFileGroups>
        </installStep>
        
        <installStep name="README">
            <optionalFileGroups order="Explicit">
                <group name="ReadNotes" type="SelectAny">
                    <plugins order="Explicit">
                        <plugin name="ArchiveInvalidation">
                            <description>You will need to enable Archive Invalidation to load loose files. If you haven't done that yet, see the mod page for detailed instructions.&#xD;</description>
                            <files />
                            <typeDescriptor>
                                <type name="Required" />
                            </typeDescriptor>
                        </plugin>
                                    
                        <plugin name="PluginTxt">
                            <description>You need the mod Plugins.txt Enabler installed.&#xD;https://www.nexusmods.com/starfield/mods/4157&#xD;</description>
                            <files />
                            <typeDescriptor>
                                <type name="Required" />
                            </typeDescriptor>
                        </plugin>
                        
                        <plugin name="PluginTxtLines">
                            <description>You need the following line in Plugin.txt.&#xD;
*MyHead.esm&#xD;</description>
                            <files />
                            <typeDescriptor>
                                <type name="Required" />
                            </typeDescriptor>
                        </plugin>
                    </plugins>
                </group>
            </optionalFileGroups>
        </installStep>
    
    </installSteps>
    
    <conditionalFileInstalls>
        <patterns>
            <pattern>
                <dependencies operator="And">
                    <flagDependency flag="flag_vortex" value="Active" />
                </dependencies>
                <files>
                    <folder source="MyHead" destination="data" />
                </files>
            </pattern>
            <pattern>
                <dependencies operator="And">
                    <flagDependency flag="flag_mo2" value="Active" />
                </dependencies>
                <files>
                    <folder source="MyHead" destination="." />
                </files>
            </pattern>    
        </patterns>
    </conditionalFileInstalls>

</config>

 

 

 

 

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...