You are viewing a potentially older version of this package. View all versions.
Piepieonline-DDSLoader-1.1.0 icon

DDSLoader

Library. Loader for (new and patch overrides) DDS Tree/Message/Block content and localised strings

Date uploaded 4 days ago
Version 1.1.0
Download link Piepieonline-DDSLoader-1.1.0.zip
Downloads 311
Dependency string Piepieonline-DDSLoader-1.1.0

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.738 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.738
Piepieonline-Asset_Bundle_Loader-2.0.4 icon
Piepieonline-Asset_Bundle_Loader

Library. Provides helpers to load new assets into Shadows of Doubt. Includes functions for creating ScriptableObjects from raw JSON files, as well as built Unity AssetBundles

Preferred version: 2.0.4

README

Piepieonline's DDSLoader

Library. Loader for both new and patch based overrides DDS content (Trees/Messages/Blocks) and localised strings

Content Layout

Content is loaded from any folder named DDSContent, in one of two ways:

  • Folder scan (default): files are found by where they sit, eg DDSContent/DDS/Trees/*.tree, DDSContent/Strings/English/*.csv
  • Manifest: if DDSContent/ddsmanifest.sodso.json exists, only the files it lists are loaded, from wherever they actually sit

The manifest's files keys are file paths relative to the manifest (so a bare filename is a sibling), and the values are the folder the file would have sat in if it were a folder layout:

{
  "enabled": true,
  "files": {
    "MyConversation.tree": "DDS/Trees",
    "Messages/MyConversation.msg": "DDS/Messages",
    "MyStrings.csv": "Strings/English/DDS"
  }
}

Setting enabled to false skips that DDSContent folder entirely.

Debugging

The library provides some useful features for debugging

  • Logging of all conversations that begin
  • Pausing when a specific conversation begins

For executing in UnityExplorer:

  • DDSLoader.DDSDebugHelper.StartConversation("DDS_Tree_ID", new string[] { "Human_1", "Human_2" });

Manual Installation

  • Ensure you have BepInEx BE installed
  • Extract the mod to ".\BepInEx\plugins", so you should have ".\BepInEx\plugins\DDSLoader\DDSLoader.dll"

Source:

https://github.com/piepieonline/ShadowsOfDoubtMods/tree/master/DDSLoader

CHANGELOG

1.1.0

  • DDSContent folders can now use a ddsmanifest to list which files to load, and where to put them

1.0.9

  • Made compatible with both 42.01 and 42.02

1.0.8

  • Updated for game version 42.02

1.0.7

  • Fixed content (csv) overrides, vanilla content can be overridden by using the same GUID

1.0.6

  • Fixed patches, removed dlls from this library (Now requires the bundle loader instead)

1.0.5

  • Better warning messages for empty files

1.0.4

  • Fixes for the experimental branch
  • Removed newspaper support

1.0.3

  • Added newspaper article support

1.0.2

  • Fixed comma handling, added debug tools

1.0.1

  • Added BepInEx BE dependency properly.

1.0.0

  • Initial Thunderstore (BepInEx BE) version