You are viewing a potentially older version of this package. View all versions.
20MTDAssetReplacer-AssetReplacer-20.0.1 icon

AssetReplacer

Plugin to replace assets in 20 Minutes Till Dawn and support the creation of asset mods.

Date uploaded 3 years ago
Version 20.0.1
Download link 20MTDAssetReplacer-AssetReplacer-20.0.1.zip
Downloads 433
Dependency string 20MTDAssetReplacer-AssetReplacer-20.0.1

This mod requires the following mods to function

BepInExPackMTD-BepInExPack_20MTD-1.0.0 icon
BepInExPackMTD-BepInExPack_20MTD

BepInEx pack for 20 Minutes Till Dawn.

Preferred version: 1.0.0

README

20MTD AssetReplacer

BepInEx plugin to replace assets in 20 Minutes Till Dawn.

Can currently replace:

  • Textures of Sprites
  • Audio

Usage

Thunderstore

  1. Install through Thunderstore
  2. Install any Asset-Mods based on AssetReplacer
  3. See Configuration

Manual

  1. Install BepInEx
  2. Add the plugin DLL to BepInEx\plugins
  3. Install any Asset-Mods based on AssetReplacer
  4. See Configuration

Configuration

  1. Enable/Disable which assets to replace
  2. Add the Mods directory names to the proper ModFolders configuration comma seperated
    Thunderstore Format: ModCreator-Modname
    Example:
    [Textures]
    
    EnableTextureMods = true
    
    TextureModFolders = Zeprus-ExampleTextureMod,Zeprus-ExampleTextureMod2
    

Setup

  1. Clone the repo
  2. Add libs to /lib:
    • Add all the DLLs from the game's Managed folder
    • Add all BepInEx DLLs
  3. Install any pre-requisite stuff (see BepInEx setup docs)
  4. Open in Visual Studio
  5. Build via Build » Build Solution
    • Compiled DLL will be in /bin/Debug

Create Asset-Mods

Thunderstore

  1. Create your Thunderstore package
  2. Create a "plugins" folder inside your package
  3. Create a folder inside plugins named after the asset type you want to replace (e.g. textures or audio)
  4. Place your replacement assets inside the proper subfolder following any structure

Structure examples:

MyThunderStorePackage.zip
|README.md
|icon.png
|manifest.json
|--Plugins
	|--Textures
	|	|--Enemies
	|	|	|EyeMonster.png
	|	|	|T_TreeMonster.png
	|	|
	|	|--Projectiles
	|		|T_GunFX.png
	|		|T_FireParticles.png
	|--Audio
		|title.mp3
		|battle.mp3
MyThunderStorePackage.zip
|README.md
|icon.png
|manifest.json
|--Plugins
	|--Textures
	|	|EyeMonster.png
	|	|T_TreeMonster.png
	|	|T_GunFX.png
	|	|T_FireParticles.png
	|
	|--Audio
		|title.mp3

Links

Credits

Changelog

  • 20.0.1 Updated README
  • 20.0.0 Thunderstore release