Skip to content

Destuur/SkaIdFixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkaldFixer

SkaldFixer is a small utility tool designed to automatically fix the settingsX.xml file for Skald projects in Kingdom Come: Deliverance 2 mods.

What problem does this fix?

When starting Skald to edit your own mod, you might encounter an error that prevents you from continuing. This happens because Skald stores all projects in the settingsX.xml file, but it does not add a required attribute (DatabaseSchema). Without this attribute, custom mods cannot be loaded by Skald.

Additionally, every time you close Skald, the settingsX.xml is regenerated, so the error reoccurs and must be fixed repeatedly.

This tool scans the XML file automatically each time to work around this issue by adding the missing attribute.

Features

Scans the settingsX.xml file for <SkaldProject> elements missing the DatabaseSchema attribute.

  • Adds the missing attribute DatabaseSchema="kcd2" where needed.

  • Saves the modified file directly in the original directory.

  • Optionally launches the target application (e.g., the Skald editor) after applying fixes to streamline your workflow.

Benefits

  • Eliminates the need for manual XML editing.

  • Prevents errors and crashes caused by missing attributes.

  • Easily integrates into KCD2 modding workflows.

  • Simple and fast to use.

Usage

  1. Place SkaldFixer.exe in the same folder as your settingsX.xml and the target application executable (e.g., Skald2.exe).

  2. Run SkaldFixer.exe.

  3. The tool will update the settingsX.xml file and then start the target application automatically.

IMPORTANT

When you start Skald and create a new mod, or add an existing mod for the first time to edit it, you must close Skald, run this tool to fix the issue, and then reopen Skald. The reason is that after adding a new project, Skald does not include the required DatabaseSchema attribute in the settingsX.xml file, which prevents the mod from loading properly.

Requirements

  • .NET Runtime (at least .NET 6)

  • Recommended on Windows OS

License

MIT License — see LICENSE file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages