aliens

Author Topic: We should probably automatically unload broken mods  (Read 2865 times)

Offline darkestaxe

  • Colonel
  • ****
  • Posts: 256
  • Emissary of the Brain
    • View Profile
We should probably automatically unload broken mods
« 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?"

Offline myk002

  • Colonel
  • ****
  • Posts: 224
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #1 on: May 08, 2015, 07:51:55 am »
this is something on my todo list.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2334
  • Developer
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #2 on: May 08, 2015, 10:00:16 am »
i thought we did?

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2153
    • View Profile

Offline myk002

  • Colonel
  • ****
  • Posts: 224
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #4 on: May 08, 2015, 07:05:05 pm »
yeah, it's on my list to add this back in.

Offline myk002

  • Colonel
  • ****
  • Posts: 224
    • View Profile

Offline tomme25

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #6 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?

Offline myk002

  • Colonel
  • ****
  • Posts: 224
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #7 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.

Offline Phoenix7786

  • Colonel
  • ****
  • Posts: 139
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #8 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

Offline tomme25

  • Sergeant
  • **
  • Posts: 22
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #9 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!

Offline darkestaxe

  • Colonel
  • ****
  • Posts: 256
  • Emissary of the Brain
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #10 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.

Offline Phoenix7786

  • Colonel
  • ****
  • Posts: 139
    • View Profile
Re: We should probably automatically unload broken mods
« Reply #11 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.