OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: darkestaxe on May 08, 2015, 07:31:32 am

Title: We should probably automatically unload broken mods
Post by: darkestaxe on May 08, 2015, 07:31:32 am
I installed Improved Hand Obs mod incorrectly and the game crashed with a useful error, useful to any of us at least. Now most of us regulars here can solve these problems quick and easy with a text editor, I think it took me about 4 mins to just fix the mod but I could just as easily have disabled/deleted it, or worst case scenario I would have deleted my config file.

Let's pretend I'm not a geek and I don't know shit about x-com or programming.

"HAALLP! I just downloaded and got my files from steam and my xcom worked great. ;D ;D ;D But I put a mod on and now it doesn't.  :(  And every time I load the game it just has the same error.  :'(. I deleted the game and re installed it and it's still happening."

I dunno Darkestaxe, did u delete ur config file, or the mod?

"Where's that? Will I have to start over with rifles?"
Title: Re: We should probably automatically unload broken mods
Post by: myk002 on May 08, 2015, 07:51:55 am
this is something on my todo list.
Title: Re: We should probably automatically unload broken mods
Post by: Warboy1982 on May 08, 2015, 10:00:16 am
i thought we did?
Title: Re: We should probably automatically unload broken mods
Post by: SupSuper on May 08, 2015, 01:16:57 pm
We used to... https://github.com/SupSuper/OpenXcom/commit/45137fcfdbf47ad04cc935bdadb3cda544219765
Title: Re: We should probably automatically unload broken mods
Post by: myk002 on May 08, 2015, 07:05:05 pm
yeah, it's on my list to add this back in.
Title: Re: We should probably automatically unload broken mods
Post by: myk002 on May 08, 2015, 08:17:14 pm
ok, done: https://github.com/SupSuper/OpenXcom/pull/1009
Title: Re: We should probably automatically unload broken mods
Post by: tomme25 on May 09, 2015, 01:05:38 am
I'm not sure I understand 100%, but when you download 1.0 now the catalogs and such is changed from the version I have installed right now? And all the mods up still works for the old version of the game, but not the new?
Title: Re: We should probably automatically unload broken mods
Post by: myk002 on May 09, 2015, 01:45:25 am
mods will still work regardless of when they were created (as long as they worked with the nightly version before this latest change).  All that has changed is that they go in a different spot on your hard drive.  They can now also have a metadata file that will show information about the mod in the openxcom ui, but it's completely optional.
Title: Re: We should probably automatically unload broken mods
Post by: Phoenix7786 on May 09, 2015, 01:47:44 am
I deleted the game and re installed it and it's still happening."

>.>

<.<

Because I totally did didn't do that... and TOTALLY did didn't fix it by reconfigging myself on my old back-up copy of OpenXcom
Title: Re: We should probably automatically unload broken mods
Post by: tomme25 on May 09, 2015, 04:19:10 am
mods will still work regardless of when they were created (as long as they worked with the nightly version before this latest change).  All that has changed is that they go in a different spot on your hard drive.  They can now also have a metadata file that will show information about the mod in the openxcom ui, but it's completely optional.

Okay, I understand. Thanks!
Title: Re: We should probably automatically unload broken mods
Post by: darkestaxe on May 10, 2015, 01:07:50 am
>.>

<.<

Because I totally did didn't do that... and TOTALLY did didn't fix it by reconfigging myself on my old back-up copy of OpenXcom
Haha! Who me? :D

But I wouldn't recommend sharing the config between old and new. New OXC has different config options and I made a mess of a config file by doing oldOXC -> newOXC -> oldOXC -> newOXC on it.
Title: Re: We should probably automatically unload broken mods
Post by: Phoenix7786 on May 10, 2015, 01:11:11 am
Oh yeah I just ran my old OpenXcom just to change the config to something that wouldn't crashi the program so I could launch the latest OpenXcom and restore my previous working settings.