Jump to content

FOMod Format Specification


Karandra

Recommended Posts

Hi everyone. First, sorry for my English, if it bad. If not, i don't have to apologize. :smile:

 

Not long ago, I decided to add FOMod installing functionality to my own Mod Manager (you don't know about it, though it was on Nexus for some time). I almost done conversion to my own (again this word) installer format. I did conversion of "Info.xml" and partially "ModuleConfig.xml". In ModuleConfig.xml I can convert data from "config/moduleDependencies", "config/requiredInstallFiles", "config/installSteps" and "config/conditionalFileInstalls".

Currently i have problems with "config/installSteps/installStep/optionalFileGroups/group/plugins/plugin/typeDescriptor" block. I don't know how to interpret it.

 

In simple form it look like this:

<typeDescriptor>
	<type name="Required"/>
</typeDescriptor>

In extended form like this:

<typeDescriptor>
	<dependencyType>
		<defaultType name="Optional"/> -- 1
		<patterns>
			<pattern> -- 2
				<dependencies operator="Or">
					<flagDependency flag="Flag Name" value="Active"/> -- 3
				</dependencies>
				<type name="Optional"/> -- 4
			</pattern>
		</patterns>
	</dependencyType>
</typeDescriptor>

1. Is this element equivalent to the simple form?

2. Can be there more than one block?

 

3. It’s clearly a flag checking. I also know there can be fileDependency entry. What happens when condition isn’t true? The element will not be shown in installer? Apparently not, due to NMM behavior. Then what sense of that block?

4. Considering #1, what this entry does?

Also, is there a FOMod format specification? I know only about XML sheme (ModConfig5.0.xsd). But it's not helpfull at all.

Edited by Kerber100
Link to comment
Share on other sites

  • Recently Browsing   0 members

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