Potentially lost my game

OurJud
27 Dec 2015, 00:11
I have a possible big problem. I tried to install an .aslx file which styles the default map, but when I try to open the game for editing, I get an error dialogue box which pops up while it's trying to load the libraries.

The error is:

Failed to load game due to the following errors:
*Included file 'mapstyle.aslx' is not a library
*Error: An item with the same key has already been added.



I think the problem was created because I (probably wrongly) added:

<include ref="mapstyle.aslx" />

Into my code along with all the other .aslx files

The only option I get from the error pop-up is 'OK'. When I hit this, is reverts to the 'Recent' list of my games.

So, I have absolutely no way of opening my game to fix the error :shock:

jdpjdpjdp
27 Dec 2015, 02:14
If you're comfortable enough with the code, you can open it in a text editor and make the changes there.

OurJud
27 Dec 2015, 02:23
jdpjdpjdp wrote:If you're comfortable enough with the code, you can open it in a text editor and make the changes there.

Oh, marvellous! I think I just need to take out <include ref="mapstyle.aslx" /> so that it doesn't clash with the library file.

Thank you very much. I''l let you know if I succeed.

[edit] Phew! That fixed it. I'm not going to bother with maps until I know what I'm doing when adding .aslx files to the library.

Thanks again :)