The Last Spell

The Last Spell

Not enough ratings
TLS - Fonts modding guide
By b.laverny
This guide will explain players how to create their font mod.
   
Award
Favorite
Favorited
Unfavorite
Fonts Module
The purpose of this Module is to bring new fonts into the game. There are 2 fonts in The Last Spell,
one used mostly for titles and the second being the “standard” one.

To learn more about how to create Mods for The Last Spell, read this article:

https://steamhost.cn/steamcommunity_com/sharedfiles/manageguide/?id=3444167475
Structure
The folder needed for this Module to work must be named Fonts (cf section “Create the structure for your mod”).

Inside of this folder will need to be the fonts (.otf and .tff extensions are supported). Those fonts can be put in subfolders, this won’t change anything.
The “config.xml” file
Unlike the Localization Module, this file is mandatory for the Fonts Module to be valid. The purpose of this config file is to declare some FontAssemblies (1 or more). To be done, the config.xml file must follow this pattern:


  • FontAssembly: It contains FontAsset elements, up to as many fonts we have ingame (currently 2
    => Titles and Standard). Requires at least one FontAsset.
    → → Id: Mandatory. This id must be unique and it allows us to link this FontAssembly to one orseveral languages.
  • FontAsset:
    → → Path: Mandatory. You need to write the path to the targeted font. The path is local to the module file, which means that if the font is at its root, you just need to write the name of the font and its extension (font.ttf/otf)
    → → Importance: Mandatory. It will allow the game to know what font to replace with this font. The available values are: 0 (Titles font) and 1 (Standard font).
  • UseFontAssemblyModList: Allows the modder to indicate to the game it needs to use a FontAssembly to display the mod’s Description, Title and Author in the ingame mod list (even before the user has selected the font in the Settings). This is especially useful when the required caracters are not available in all the fonts, for example when the Fonts Module is used in conjunction with a Localization Module using specific characters like Cyrillic, Hiragana, Katakana, etc.
Important: upgrade existing mods to modding version 3
Mods that were made before version 3 (March 14th Update) need to be updated to be compatible
with version 3.

The new major update causes the mod to be incompatible. This section is a tutorial on how to make
your mod compatible again.

To fix this you will have to change your config.xml files located in the Modules folder and your
manifest.xml file.

For the manifest.xml file you just have to add <Version>3</Version> below the Author line.

The config.xml files have a completely new structure; you will have to look at the ones from the
Example Mod. Here is how to find them:

  • The first thing is to make sure that you’ve updated/downloaded the mod named Example Mod created by Ishtar Games
  • Then go to your Steam Library folder and go to the folder SteamLibrary\steamapps\workshop\content\1105670\2607059231\
  • Inside the Modules folders you will find the new config.xml with the new structure to follow.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2607059231&insideModal=0