Skip to content

Releases: gurrenm3/BTD-Mod-Helper

3.1.7

25 Apr 19:05
Compare
Choose a tag to compare

If you haven't already seen, there is now a website version of the 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 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 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
  • Fixed the ModTower Instas blocker not knowing about Beast Handlers and ignoring Primary/Military/Magic only (thanks @Jonyboylovespie)
  • Fixed using Number keys for ModSettingHotkeys

3.1.6

04 Apr 04:42
Compare
Choose a tag to compare
  • Recompiled and fixed patches for BTD6 v36.0
  • Added new VanillaSprites references for v36.0 images

3.1.5

25 Mar 15:48
Compare
Choose a tag to compare
  • @GrahamKracker has started an AdvancedBloonsTD6Mod class that has pre/post versions and ref parameters for hooks
  • .wav files in your project will now be automatically included as embedded resources and loaded into AudioClips
    • To directly get and play a custom sound "MySound.wav" AudioClip, you'd do ModContent.GetAudioClip<YourBloonsTD6Mod>("MySound").Play()
    • To use the custom sound in a SoundModel you'd do soundModel.assetId = ModContent.CreateAudioSourceReference<YourBloonsTD6Mod>("MySound")
  • Fixed FileIOHelper.LoadObject
  • Updated VanillaSprites with v35 textures
  • Fixed Open Local Files Directory button
  • Re enabled Monkey Knowledge getting exported from the Game Model
  • Game Model Export also will create a resources.json file listing the GUID / resource mappings
  • Added LateApplyUpgrade and EarlyApplyUpgrade methods to simplify having some parts of upgrade effects apply after/before all others

3.1.4

16 Feb 06:09
Compare
Choose a tag to compare

3.1.3

28 Jan 21:42
Compare
Choose a tag to compare
  • Fixed ModSettingHotkeys to allow easier overlap with vanilla hotkeys
  • Fixed filtering mods menu empty page
  • Fixes for ModSettingEnums (thanks Baydock!)
  • Added BuffLocsName and BuffIconName properties to ModBuffIcons for clarity when manually applying them

3.1.2

05 Jan 03:21
Compare
Choose a tag to compare
  • Fixed Exporting Game Data button for modders
  • Added application/x-msdos-program as an allowed download content type for the Mod Browser
  • Increased the default mod browser download limit from 50 MB to 75 MB
    • Added a more descriptive error message for mods that are too big
  • Fixed some upgrade screen UI glitches

3.1.1

27 Dec 01:06
Compare
Choose a tag to compare
  • Fixed a crash that a couple people were getting when placing down a Tower
  • Custom tower sets will work in game again, but will still not yet be back to appearing in the Monkeys screen
  • Added the "Hide Broken Mods" Mod Browser option (default true) to only show mods that have been updated to work with MelonLoader 0.6.0

For those still having trouble switching to MelonLoader 0.6.0, see this page

3.1.0 for MelonLoader 0.6.0

26 Dec 07:21
Compare
Choose a tag to compare

Same features as 3.1.0-a1, but now updated for the official 0.6.0 alpha release of MelonLoader.

Note that this MelonLoader update breaks compatibility with old mods. Practically all mods will need to be updated for this new version.

Will soon put together a quick migration guide for the refactoring that needs to happen.

Mod Helper v34 Preliminary Fix

22 Dec 19:14
Compare
Choose a tag to compare

This is a preliminary fix for Mod Helper on v34.2 using the MelonLoader build found in the 1330 studio server.
https://discord.gg/1330studios
https://discord.com/channels/758553724226109480/1055280598891110441/1055280799760519293

Reminder: MANY mods will still need to be fixed themselves to work with v34 / the new MelonLoader. Only some smaller mods will already be back working, e.g. Faster Forward

Known Issues:
Custom Tower Sets broken by v34
The usual falling back to no custom load tasks
For modders, exporting game data won't fully work

More things will likely be found as more people try it.

3.0.9

10 Dec 23:27
Compare
Choose a tag to compare

While LavaGang continues working to get MelonLoader compatible with the new v34 update, this is a temporary fix to allow people to more easily continue playing on v33 in the meantime (and in similar situations like this in the future).

Changes:

  • Disables the mandatory Popup that forces you to update, so that you can keep playing
  • Doing the above will disable Mod Helper's saving fixes to prevent data corruption

If you've already updated to v34, here is a way you can downgrade:

  1. Copy/paste the following into your web browser search bar and allow it to open Steam to access the console: steam://nav/console
    • This can sometimes take a couple seconds to open
  2. Copy in the command download_depot 960090 960091 8819303902483866961 to download the files for v33
    • There will be no progress indicator, so just let it run for a minute or two
    • When it's finished it'll say "Depot download complete: (path it downloaded to)"
  3. Optional but recommended: create a copy of your ...\Steam\steamapps\common\BloonsTD6 folder as backup
  4. Copy (not move) the newly downloaded game files from ...\Steam\steamapps\content\app_960090\depot_960091 into the
    normal game directory ...\Steam\steamapps\common\BloonsTD6, telling it to replace the existing files
    • If you copy instead of move you can leave the base files there to copy again if Steam ever auto-updates on you
    • To help prevent auto-updating, you can go into the Steam properties page for BloonsTD6 and switch the Updates -> Automatic
      Updates option to "Only update this game when I launch it"
  5. Run the game as before, and noticed the inescapable Update popup is replaced with a quite escapable one about Mod Helper
    disabling saving

This is a stop gap measure until MelonLoader is fixed, so please do not annoy staff in the Discord servers trying to get help with this. Depending on how much you've already been playing v34 on your account, your profile may not be reconcilable with v33 anymore one way or another, and this change will just let you know that for sure.