OpenXcom Forum

Modding => Work In Progress => Topic started by: greyassassin24 on January 14, 2017, 06:06:51 am

Title: Failed to load ruleset
Post by: greyassassin24 on January 14, 2017, 06:06:51 am
So, having an issue here. Modified my ruleset entirely to be much easier for my first playthrough, but now it tells me it can't load the ruleset when I try to load the game? The vanilla ruleset loads fine, but when I use my modded one, it gives this issue. I've tried to make it work with a modular one too, but I can't get that to work either. Any ideas? The ruleset in question has been attached if you would like to try it in any fashion.
Title: Re: Failed to load ruleset
Post by: ohartenstein23 on January 14, 2017, 06:26:35 am
Okay, we need a bit more information here, this is a long file to read and just look for generic problems.  What were you changing in the ruleset?
Title: Re: Failed to load ruleset
Post by: greyassassin24 on January 14, 2017, 06:28:44 am
Basically everything. Research time, interceptor damages, council funding, start date, score points... I wanted a whole overhaul of the ruleset.
Title: Re: Failed to load ruleset
Post by: ohartenstein23 on January 14, 2017, 06:45:57 am
Alright.  So first off, I'm guessing you're using the 1.0 build since this ruleset matches that - it's much easier to modify things (i.e. make your own mods, even just balance changes to the vanilla game) in a more recent nightly version, since the folder structure has significantly changed since 1.0, and I'd suggest switching to the nightly builds.  As for your modified ruleset:


Was the error you were getting something along the lines of 'bad YAML map'?  The syntax and spacing in the ruleset files is very important, missing a space or using TAB instead of spaces to indent will cause you problems.

Title: Re: Failed to load ruleset
Post by: greyassassin24 on January 14, 2017, 06:49:25 am
Wow, I can't believe it, but those two spaces fixed it. Bless you sir/ma'am.