IFID: Difference between revisions

From IFWiki

No edit summary
Line 10: Line 10:
STEP ONE: Determine the IFID of your game.
STEP ONE: Determine the IFID of your game.
* If your game was previously released to the public, use the MD5 hash of the earliest released version of the main "[[story file]]" for your game.
* If your game was previously released to the public, use the MD5 hash of the earliest released version of the main "[[story file]]" for your game.
* If your game has never been released to the public, visit the [http://www.tads.org/ifidgen/ifidgen TADS IFID Generator] page to get one.
* If your game has never been released to the public, use any UUID generator (such as the [http://www.tads.org/ifidgen/ifidgen TADS IFID Generator] page) to get one.


STEP TWO: Insert the string "UUID://''XXXXXXXXXXXXXXXX''//" into your story file, where ''XXXXXXXXXXXXXXXX'' is the IFID you determined in step one.
STEP TWO: Insert the string "UUID://''XXXXXXXXXXXXXXXX''//" into your story file, where ''XXXXXXXXXXXXXXXX'' is the IFID you determined in step one.

Revision as of 04:42, 11 March 2019

An IFID is a specific type of UUID used for uniquely identifying both new and legacy works of interactive fiction.

An IFID may only contain digits, letters, and hyphens.

See section 2.2 of the Treaty of Babel.

How to add an IFID to your game if your authoring system isn't covered by the Treaty of Babel

Since this is not part of the Treaty of Babel, this advice can't be official, but here's what to do.

STEP ONE: Determine the IFID of your game.

  • If your game was previously released to the public, use the MD5 hash of the earliest released version of the main "story file" for your game.
  • If your game has never been released to the public, use any UUID generator (such as the TADS IFID Generator page) to get one.

STEP TWO: Insert the string "UUID://XXXXXXXXXXXXXXXX//" into your story file, where XXXXXXXXXXXXXXXX is the IFID you determined in step one.

For example, in a Undum, ChoiceScript, or other Web browser game, you may insert

<!-- UUID://XXXXXXXXXXXXXXXX// -->

as a comment anywhere in your HTML file.

By putting UUID:// in front of your IFID, and // after your IFID, you make it possible for automated tools like Babel to find it.

Links

This article is a stub. You can help IFWiki by expanding it.
TODO: Everything. This is a NEW topic.