From 4dccd9fbd4c688fd39fc0ad4baa6a3b71ba7ea5f Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 4 Mar 2020 23:58:55 +0100 Subject: [PATCH] Describe how to load a C# DLC (#3242) Explains how to load a PCK made from a C# project. Co-authored-by: Hugo Locurcio --- getting_started/workflow/export/exporting_pcks.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/getting_started/workflow/export/exporting_pcks.rst b/getting_started/workflow/export/exporting_pcks.rst index 92432d422..2ac2d540d 100644 --- a/getting_started/workflow/export/exporting_pcks.rst +++ b/getting_started/workflow/export/exporting_pcks.rst @@ -120,6 +120,11 @@ file in the directory of the games executable. The PCK file contains a subfolder). However, it is also a way of creating patches for one's own game. A PCK file of this kind can fix the content of a previously loaded PCK. +.. note:: + For a C# project, you need to build the DLL and place it in the project directory first. + Then, before loading the resource pack, you need to load its DLL as follows: + ``Assembly.LoadFile("mod.dll")`` + Summary -------