Jump to content

Is there a file-system level way to disable an add-on?


Recommended Posts

For instance, by creating a ".disabled" file in a given directory?

It gets tedious having to remove addons all the time for debugging, and an option like this would make ckan's life easier, maybe.

I would suggest:


GameData/
| bar/
| | baz/ <-- loaded

| foobar.disabled <-- don't go into foobar from here
| foobar/ <-- not loaded
| | stuff/ <-- not seen to be loaded

| foobaz/
| | .disabled <-- don't load from me, but continue descending if you will
| | stuff/ <-- loaded

| mario.dll <-- loaded
| luigi.dll <-- not loaded
| luigi.dll.disabled

Link to comment
Share on other sites

As of <some-ancient-version>, "chmod a-rx BadPlugin.dll" would cause the game to hang when it tried to load the plugin.

I don't have 1.0.5 set up to test with (due to disk space issues + a heavily-modded career save), but I can test with 1.0.4 within the next few hours.

EDIT: Looks like this was fixed; the game now logs an UnauthorizedAccessException and skips the plugin instead of freezing.

Edited by Fail-Man 3D
Link to comment
Share on other sites

Really? How did that come about?

This is the first I've heard about it and it seems rather arbitrary.

D.

This is old. It's used for storing files and data that a plugin needs to load/save itself rather than having the game put it into the memory without it being needed. Dates from when plugins started being loaded in the game around... .14? I think?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...