Endskill-Auto_Publicizer icon

Auto Publicizer

Publicize game files with BepInEx.AssemblyPublicizer

Last updated 11 months ago
Total downloads 45
Total rating 0 
Categories Libraries
Dependency string Endskill-Auto_Publicizer-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Automatic Assembly Publicizer

This is a unity mod for other mod creators, to automate the process of publicizing the game files with BepInEx.AssemblyPublicizer.

It automatically enumerates through all dll files located in
MDS_Data\Managed
and creates a publicized version of it here
BepInEx\BepInEx.AssemblyPublicizer.Publicized

A check file is also created, to update the publicized files, when the game gets updated.

Use cases

It is mainly interesting for other mod creators, to more easily make non public calls. A good start for your mod is to use Dependencies.props and GameFolder.props to import the dependencies from BepInEx, other mods and the My Dream Setup Game libraries.

Create your own My Dream Setup mod, with the use of publicized game libraries:

  1. Create a new Class Library project
    Easiest framework to use, is netstandard 2.1, but .NET Framework 4.8 also works. .NET6 and higher will run into problems, since BepInEx 5.4 does not seem to support it.
  2. Copy paste, the Dependencies.props and GameFolder.props into your project.
  3. Go into your csproj file, and add <Import Project="Dependencies.props" /> inside the Project object.
    An Example is this mod.
  4. Now you have all needed dependencies to create your own BepInEx mod for the game "My Dream Setup".
    If you've run this mod atleast once, the dependencies automatically switch to publicized libraries and activate unsafe code.