Titanfall-Mods / Titanfall-2-Icepick

Titanfall 2 mod injector
https://titanfallmods.com/
MIT License
34 stars 8 forks source link

Allow mods to be toggled #6

Closed nnsee closed 3 years ago

nnsee commented 3 years ago

This PR introduces functionality to enable or disable mods in Icepick. This can be achieved by either double clicking the mod in question, or toggling the Enabled option in its context menu:

2PdPrYpJ

Behind the scenes, this works by simply creating or deleting a file named disabled in the corresponding mod's directory. It requires https://github.com/Titanfall-Mods/TTF2SDK/commit/50c747a3f8f2d895ea6e1250b7bfb983197a1abf to have any effect in-game.

The mod packaging was also modified to disregard the disabled file when creating or importing a mod package.

McSimp commented 3 years ago

Thanks!