Skip to content

Commit

Permalink
Update to 3.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
doombubbles committed Apr 25, 2023
1 parent 2bc3ff6 commit b32fb75
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions BloonsTD6 Mod Helper/LATEST.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
**If you haven't already seen, there is now a [website version of the Mod Browser](https://gurrenm3.github.io/BTD-Mod-Helper/mod-browser) on the new github pages site.**

- Regenerated UpgradeType constants for v36
- Added a stopgap patch onto `Il2CppDetourMethodPatcher_RaiseException` to make "During invoking native->managed trampoline" errors also print their full exceptions
- This will eventually be removed once MelonLoader fixes it
- Added a "Dependencies" field to ModHelperData, letting modders specify a comma separated list of "owner/repository" format GitHub mod dependencies
- When a user first downloads a mod, they will be prompted to also download the dependencies (including dependencies of dependencies)
- If not all of a mod's dependencies are active, a load error will be displayed for it in the Mods Menu
- If not all of a mod's dependencies are active when trying to use a mod, a load error will be displayed for it in the Mods Menu
- For modders: the BtdModHelper.xml documentation file will now be automatically downloaded for you when you first use a new Mod Helper version
- Added the `ModTower.GetBaseTowerModel(int[] tiers)` override that lets you copy from different base TowerModels depending on what tier/crosspath your using.
- Added the `ModTower.GetBaseTowerModel(int[] tiers)` override that lets you copy from different base TowerModels depending on what tier/crosspath you're using.
- Added `BloonsMod.OnSaveSettings(JObject settings)` and `BloonsMod.OnLoadSetings(JObject settings)` hooks
- Modded Towers with Custom Tower Sets now appear in the Monkeys menu once again (thanks MelonLoader 0.6.1)
- Fixed internal GitHub API pagination, aka there should be less mods slipping through the cracks and sometimes not being shown in the Mod Browser
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ internal class Model_IsEqualAfterReferenceCheck
{
private static IEnumerable<Type> ModelsNeedingPatches()
{
// TODO expand this list with anything else that causes issues
yield return typeof(SingleEmissionModel);
yield return typeof(ArcEmissionModel);
}
Expand Down
2 changes: 1 addition & 1 deletion Shared/ModHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static class ModHelper
#region ModHelperData for the Mod Helper

internal const string Name = "BloonsTD6 Mod Helper";
internal const string Version = "3.1.6";
internal const string Version = "3.1.7";
internal const string RepoOwner = "gurrenm3";
internal const string RepoName = "BTD-Mod-Helper";
internal const string Description = "A powerful and easy to use API for modding BTD6. Also the mod that is allowing all of this UI to happen right now :P";
Expand Down
4 changes: 3 additions & 1 deletion Wiki/Appearing-in-the-Mod-Browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ AuthorRegex = "\\bAuthor\\s*=\\s*\"(.+)\";?[\n\r]+";
SubPathRegex = "\\bSubPath\\s*=\\s*\"(.+)\";?[\n\r]+";
```

</details/>
</details>


If you do use the *.cs way, you can also then directly use the values in your MelonInfoAttribute, so you only have to keep track of them in one place
Expand Down Expand Up @@ -102,6 +102,8 @@ If you do use the *.cs way, you can also then directly use the values in your Me

`SubPath` (string): See Experimental: MonoRepo support below

`Dependencies` (string): Comma separated list of strings for what other dependencies from the Mod Browser this mod has (other than Mod Helper). Reference mods using the "owner/repository" format, using the GitHub owner name (not the mod's display Author) and the GitHub repository name (not the mod's display name). Example: "doombubbles/paths-plus-plus" or "doombubbles/paths-plus-plus,doombubbles/ultimate-crosspathing"

## Updating

If an installed mod has `ModHelperData.cs` in their code or `ModHelperData.json / `ModHelperData.txt` included as an embedded resource, it will be used to populate that mods information in the Mods Screen.
Expand Down

0 comments on commit b32fb75

Please sign in to comment.