Skip to content

Adding metadata for mod

ALIENQuake edited this page Jul 30, 2019 · 35 revisions

How to add metadata for mod:

  1. Inside the same folder where you .tp2 file is present, create a file called: TheNameOfYouTp2File.ini, use "UTF8 without BOM" encoding.
  2. Copy and paste everything below then edit accordingly.
# Filename must be the same as tp2 name, placed at the same folder where .tp2 file is present,
# "UTF8 without BOM" encoding, everything is optional

# ini section header is required to avoid false detection
[Metadata]

# Full name of the mod, without version number
Name = Mod Example - Optional Features

# Author name or nick, don't use email address
Author = AL|EN

# Short description of the mod, main goals, features etc
Description = This mod is a guide how to use optional 'Project Infinity' features.

# Web address of mod Homepage
Homepage = http://www.example.com

#  Web address of mod dedicated forum or forum thread 
Forum = http://www.example.com/forums/categories/...

# if you use Github.com, simply use https://github.com/AccountOrOrgName/RepositoryName
# read more about Delta Updates https://github.com/ALIENQuake/ProjectInfinity/wiki/Delta-Updates-for-mods-hosted-at-Github
Download = https://github.com/AccountOrOrgName/ModExample-OptionalFeatures

Example presentation for Tweaks Anthology:

Real mod examples:
https://github.com/InfinityMods/LongerRoadEE/blob/master/LongerRoadEE/LongerRoadEE.ini

Clone this wiki locally