Skip to content

Commit

Permalink
Generated from da6e101
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 29, 2024
1 parent 5b61187 commit 5f1edfc
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
4 changes: 2 additions & 2 deletions api/InscryptionAPI.InscryptionAPIPlugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h6><strong>Namespace</strong>: <a class="xref" href="InscryptionAPI.html">Inscr
<h6><strong>Assembly</strong>: InscryptionAPI.dll</h6>
<h5 id="InscryptionAPI_InscryptionAPIPlugin_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[BepInPlugin(&quot;cyantist.inscryption.api&quot;, &quot;InscryptionAPI&quot;, &quot;2.22.2&quot;)]
<pre><code class="lang-csharp hljs">[BepInPlugin(&quot;cyantist.inscryption.api&quot;, &quot;InscryptionAPI&quot;, &quot;2.22.3&quot;)]
[HarmonyPatch]
public class InscryptionAPIPlugin : BaseUnityPlugin</code></pre>
</div>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h4 id="InscryptionAPI_InscryptionAPIPlugin_ModVer" data-uid="InscryptionAPI.Ins
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const string ModVer = &quot;2.22.2&quot;</code></pre>
<pre><code class="lang-csharp hljs">public const string ModVer = &quot;2.22.3&quot;</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
Expand Down
2 changes: 1 addition & 1 deletion api/InscryptionAPI.Sound.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@

<h1 id="InscryptionAPI_Sound" data-uid="InscryptionAPI.Sound" class="text-break">Namespace InscryptionAPI.Sound
</h1>
<div class="markdown level0 summary"><p>This namespace is dedicated to managing custom sound files, as well as custom tracks for the Gramophone in Act 1.</p>
<div class="markdown level0 summary"><p>This namespace is dedicated to managing custom talking cards. Talking cards use an animated portrait rather than a static Sprite, and will speak using dialogue events.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="markdown level0 remarks"></div>
Expand Down
6 changes: 3 additions & 3 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
"api/InscryptionAPI.InscryptionAPIPlugin.html": {
"href": "api/InscryptionAPI.InscryptionAPIPlugin.html",
"title": "Class InscryptionAPIPlugin | InscryptionAPI",
"keywords": "Class InscryptionAPIPlugin Inheritance System.Object Object Component Behaviour MonoBehaviour BepInEx.BaseUnityPlugin InscryptionAPIPlugin Namespace : InscryptionAPI Assembly : InscryptionAPI.dll Syntax [BepInPlugin(\"cyantist.inscryption.api\", \"InscryptionAPI\", \"2.22.2\")] [HarmonyPatch] public class InscryptionAPIPlugin : BaseUnityPlugin Fields Directory Declaration public static string Directory Field Value Type Description System.String ModGUID Declaration public const string ModGUID = \"cyantist.inscryption.api\" Field Value Type Description System.String ModName Declaration public const string ModName = \"InscryptionAPI\" Field Value Type Description System.String ModVer Declaration public const string ModVer = \"2.22.2\" Field Value Type Description System.String Events ScriptableObjectLoaderLoad Declaration public static event Action<Type> ScriptableObjectLoaderLoad Event Type Type Description Action < Type > Extension Methods ListExtensions.Repeat<T>(T, Int32)"
"keywords": "Class InscryptionAPIPlugin Inheritance System.Object Object Component Behaviour MonoBehaviour BepInEx.BaseUnityPlugin InscryptionAPIPlugin Namespace : InscryptionAPI Assembly : InscryptionAPI.dll Syntax [BepInPlugin(\"cyantist.inscryption.api\", \"InscryptionAPI\", \"2.22.3\")] [HarmonyPatch] public class InscryptionAPIPlugin : BaseUnityPlugin Fields Directory Declaration public static string Directory Field Value Type Description System.String ModGUID Declaration public const string ModGUID = \"cyantist.inscryption.api\" Field Value Type Description System.String ModName Declaration public const string ModName = \"InscryptionAPI\" Field Value Type Description System.String ModVer Declaration public const string ModVer = \"2.22.3\" Field Value Type Description System.String Events ScriptableObjectLoaderLoad Declaration public static event Action<Type> ScriptableObjectLoaderLoad Event Type Type Description Action < Type > Extension Methods ListExtensions.Repeat<T>(T, Int32)"
},
"api/InscryptionAPI.Items.ConsumableItemManager.FullConsumableItemData.html": {
"href": "api/InscryptionAPI.Items.ConsumableItemManager.FullConsumableItemData.html",
Expand Down Expand Up @@ -952,7 +952,7 @@
"api/InscryptionAPI.Sound.html": {
"href": "api/InscryptionAPI.Sound.html",
"title": "Namespace InscryptionAPI.Sound | InscryptionAPI",
"keywords": "Namespace InscryptionAPI.Sound This namespace is dedicated to managing custom sound files, as well as custom tracks for the Gramophone in Act 1. Classes GramophoneManager A static class that contains helper methods for adding tracks to the Gramophone in Leshy's cabin. SoundManager A static class that contains helper methods for working with audio."
"keywords": "Namespace InscryptionAPI.Sound This namespace is dedicated to managing custom talking cards. Talking cards use an animated portrait rather than a static Sprite, and will speak using dialogue events. Classes GramophoneManager A static class that contains helper methods for adding tracks to the Gramophone in Leshy's cabin. SoundManager A static class that contains helper methods for working with audio."
},
"api/InscryptionAPI.Sound.SoundManager.html": {
"href": "api/InscryptionAPI.Sound.SoundManager.html",
Expand Down Expand Up @@ -1317,7 +1317,7 @@
"wiki/getting_started.html": {
"href": "wiki/getting_started.html",
"title": "Getting Started: Installation | InscryptionAPI",
"keywords": "Getting Started: Installation To begin, we'll go over how to install BepInEx, the framework all Inscryption mods use. This is a necessary step to playing modded Inscryption, so be sure to follow this carefully. Installing with a Mod Manager This is the recommended way to install BepInEx to the game. Download and install Thunderstore Mod Manager or r2modman . Click the Install with Mod Manager button on the top of BepInEx's page. Run the game via the mod manager. Installing Manually Install BepInEx by pressing 'Manual Download' and extract the contents into a folder. Do not extract into the game folder! Move the contents of the 'BepInExPack_Inscryption' folder into the game folder (where the game executable is). Run the game. If everything was done correctly, you will see the BepInEx console appear on your desktop. Close the game after it finishes loading. Install MonoModLoader and extract the contents into a folder. Move the contents of the 'patchers' folder into 'BepInEx/patchers' (If any of the mentioned BepInEx folders don't exist, just create them). Install Inscryption API and extract the contents into a folder. Move the contents of the 'plugins' folder into 'BepInEx/plugins' and the contents of the 'monomod' folder into the 'BepInEx/monomod' folder. Run the game again. If everything runs correctly, a message will appear in the console telling you that the API was loaded. Installing on the Steam Deck Download r2modman on the Steam Deck’s Desktop Mode and open it from its download using its AppImage file. Download the mods you plan on using and their dependencies.. Go to the setting of the profile you are using for the mods and click Browse Profile Folder . Copy the BepInEx folder, then go to Steam and open Inscryption's Properties menu Go to Installed Files click Browse to open the folder containing Inscryption's local files; paste the BepInEx folder there. Enter Gaming Mode and check 'Force the use of a specific Steam Play compatibility tool' in the Properties menu under Compatibility . Go to the launch parameters and enter WINEDLLOVERRIDES=“winhttp.dll=n,b” %command% . Open Inscryption. If everything was done correctly, you should see a console appear on your screen. Mac & Linux Follow the steps here first: https://docs.bepinex.dev/articles/user_guide/installation/index.html Next do steps 4-8 of the Manual Installation Your game should be setup for inscryption modding now Getting Started: Modding Modding Inscryption requires a knowledge of coding in C#, and in many cases an understanding of how to patch the game using HarmonyPatch. If you're unfamiliar with any of this, or just want to create cards and sigils, you can use JSONLoader . Modding with JSONLoader JSONLoader is a versatile mode that provides a more beginner-friendly way of creating new cards and abilities for Inscryption using JSON syntax, which is much simpler than C#. JSONLoader's documentation can be found here . A video tutorial covering how to use JSONLoader can be found here . Modding with C# To begin modding with C#, you will need to create a new C# project using a code editor. We recommend and assume you're using Microsoft's Visual Studio. Your project's target framework needs to be netstandard2.0 . Once your project's created, go to Project > Manage NuGet Packages . Click the dropdown menu for 'Package source' and check that 'BepInEx' and 'nuget' is there. If BepInEx or nuget aren't an available source, we need to add them. To add a new package source, click on the gear icon next to the package source selector, then click the large green plus-sign. To add BepInEx, change the name to 'BepInEx' and the source link to ' https://nuget.bepinex.dev/v3/index.json '. To add nuget, change the name to 'nuget' and the source link to ' https://nuget.windows10ce.com/nuget/v3/index.json '. Change the package source to 'All' then click 'Browse'. We want to install the following packages ( Make sure the version numbers match! ): BepInEx.Analyzers v1.0.8 BepInEx.Core v5.4.19 HarmonyX v2.9.0 Inscryption.GameLibs v1.9.0-r.0 UnityEngine.Modules v2019.4.24 You will also need to add the API as a reference. There are a couple ways to do this, detailed below; whichever way you choose to do this, you'll also need to need to reference InscryptionAPI.dll , which should be in your BepInEx plugins folder; copy this path for future use. To do so, go to your 'BepInEx/plugins' folder and copy the folder path. Then, navigate to Project > Add Project Reference and click 'Browse'. Copy the folder path and add 'InscryptionAPI.dll' as a reference. You can do this for other mods' .dll files if you want to reference them as a mod dependency (a separate mod that your mod relies on to work). An alternative method to adding the API (and other mods) as a reference is to use NuGet packages by adding ' https://nuget.bepinex.dev/v3/index.json ' as a package source, and then adding 'API_dev-API' as a reference. With all this, you are now ready to begin creating your mod! Some resources are provided below for you to use, including an example mod to look at for examples. Otherwise, continue reading this wiki. Modding Resources Inscryption Modding Discord BepInEx documentation Harmony patching article Example Mod using C# Vanilla and Modded Enumerations"
"keywords": "Getting Started: Installation To begin, we'll go over how to install BepInEx, the framework all Inscryption mods use. This is a necessary step to playing modded Inscryption, so be sure to follow this carefully. Installing with a Mod Manager Download and install Thunderstore Mod Manager , Gale or r2modman . Click the Install with Mod Manager button on the top of BepInEx's page. Run the game via the mod manager. If you have issues with ModmManagers head to one of these discords; Thunderstore/R2ModMan Support Discord: Here Gale Mod Manager Support Discord: Here Installing Manually Install BepInEx by pressing 'Manual Download' and extract the contents into a folder. Do not extract into the game folder! Move the contents of the 'BepInExPack_Inscryption' folder into the game folder (where the game executable is). Run the game. If everything was done correctly, you will see the BepInEx console appear on your desktop. Close the game after it finishes loading. Install MonoModLoader and extract the contents into a folder. Move the contents of the 'patchers' folder into 'BepInEx/patchers' (If any of the mentioned BepInEx folders don't exist, just create them). Install Inscryption API and extract the contents into a folder. Move the contents of the 'plugins' folder into 'BepInEx/plugins' and the contents of the 'monomod' folder into the 'BepInEx/monomod' folder. Run the game again. If everything runs correctly, a message will appear in the console telling you that the API was loaded. Installing on the Steam Deck Download r2modman on the Steam Deck’s Desktop Mode and open it from its download using its AppImage file. Download the mods you plan on using and their dependencies.. Go to the setting of the profile you are using for the mods and click Browse Profile Folder . Copy the BepInEx folder, then go to Steam and open Inscryption's Properties menu Go to Installed Files click Browse to open the folder containing Inscryption's local files; paste the BepInEx folder there. Enter Gaming Mode and check 'Force the use of a specific Steam Play compatibility tool' in the Properties menu under Compatibility . Go to the launch parameters and enter WINEDLLOVERRIDES=“winhttp.dll=n,b” %command% . Open Inscryption. If everything was done correctly, you should see a console appear on your screen. Mac & Linux Follow the steps here first: https://docs.bepinex.dev/articles/user_guide/installation/index.html Next do steps 4-8 of the Manual Installation Your game should be setup for inscryption modding now If you have any issues with Mac/Linux, Steam Deck, or Manual head over to the discord for this game: Inscryption Modding Discord: Here Getting Started: Modding Modding Inscryption requires a knowledge of coding in C#, and in many cases an understanding of how to patch the game using HarmonyPatch. If you're unfamiliar with any of this, or just want to create cards and sigils, you can use JSONLoader . Modding with JSONLoader JSONLoader is a versatile mode that provides a more beginner-friendly way of creating new cards and abilities for Inscryption using JSON syntax, which is much simpler than C#. JSONLoader's documentation can be found here . A video tutorial covering how to use JSONLoader in a basic form can be found here . Modding with C# To begin modding with C#, you will need to create a new C# project using a code editor. We recommend and assume you're using Microsoft's Visual Studio. Your project's target framework needs to be netstandard2.0 . Once your project's created, go to Project > Manage NuGet Packages . Click the dropdown menu for 'Package source' and check that 'BepInEx' and 'nuget' is there. If BepInEx or nuget aren't an available source, we need to add them. To add a new package source, click on the gear icon next to the package source selector, then click the large green plus-sign. To add BepInEx, change the name to 'BepInEx' and the source link to ' https://nuget.bepinex.dev/v3/index.json '. To add nuget, change the name to 'nuget' and the source link to ' https://nuget.windows10ce.com/nuget/v3/index.json '. Change the package source to 'All' then click 'Browse'. We want to install the following packages ( Make sure the version numbers match! ): BepInEx.Analyzers v1.0.8 BepInEx.Core v5.4.19 HarmonyX v2.9.0 Inscryption.GameLibs v1.9.0-r.0 UnityEngine.Modules v2019.4.24 You will also need to add the API as a reference. There are a couple ways to do this, detailed below; whichever way you choose to do this, you'll also need to need to reference InscryptionAPI.dll , which should be in your BepInEx plugins folder; copy this path for future use. To do so, go to your 'BepInEx/plugins' folder and copy the folder path. Then, navigate to Project > Add Project Reference and click 'Browse'. Copy the folder path and add 'InscryptionAPI.dll' as a reference. You can do this for other mods' .dll files if you want to reference them as a mod dependency (a separate mod that your mod relies on to work). An alternative method to adding the API (and other mods) as a reference is to use NuGet packages by adding ' https://nuget.bepinex.dev/v3/index.json ' as a package source, and then adding 'API_dev-API' as a reference. With all this, you are now ready to begin creating your mod! Some resources are provided below for you to use, including an example mod to look at for examples. Otherwise, continue reading this wiki. Modding Resources Inscryption Modding Discord BepInEx documentation Harmony patching article Example Mod using C# Vanilla and Modded Enumerations"
},
"wiki/index.html": {
"href": "wiki/index.html",
Expand Down
6 changes: 3 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@
"output": {
".html": {
"relative_path": "api/InscryptionAPI.InscryptionAPIPlugin.html",
"hash": "5XJgMtDFEtS4VtRIUZgigw/wH/XGMVHYwm1weWxGxIg="
"hash": "LT04Z2+fMPmvNVt+CJvbLYZdyIMp4RkWFJD1QZIzKjc="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -2317,7 +2317,7 @@
"output": {
".html": {
"relative_path": "api/InscryptionAPI.Sound.html",
"hash": "eyRuDhWWIsP3as5W6tCZ0CZVE1PrrciH0O/3uI8akaE="
"hash": "Uf1wB1xJNFjF3X33dF2/FRvSvx0l6C0xUcqWeQ5FydU="
}
},
"is_incremental": false,
Expand Down Expand Up @@ -3288,7 +3288,7 @@
"output": {
".html": {
"relative_path": "wiki/getting_started.html",
"hash": "H4Nv/l1EK/T/jg8/hLLRh/jymjjmyyE7IRi+VAtxXF0="
"hash": "fPIUFHR5BH70nqPvQ2EfTE5pU0qCqOhACOJYCWimlZo="
}
},
"is_incremental": false,
Expand Down
Loading

0 comments on commit 5f1edfc

Please sign in to comment.