Resource listing is possibly corrupt :-(

20hz20khz

  • Posts: 2
I just started using StencylWorks this weekend. So far I've tried making two games and have gotten this same error twice.

I've attached the log and zip file for my second game. I put a lot more effort into the second game and I'm hoping it can be salvaged.

Thank you for your help!

YellowWolf

  • Posts: 16
I just tried some more times with making a new game, then I just raged and wrote "Please do not corrupt or error" in the description when I tried to make a new game. It worked, for some reason.
Signature :S

Jon

  • *
  • Posts: 17524
Open games/Phantom Power/resources/data.xml

Scroll to the bottom. Replace all the text after the final </tileset> with </pack>

It seems like you'll lose the town tileset, I'm guessing and need to reimport it.

Do you recall what you were doing before this happened? How did you perform the last 'save' before I assume you closed out of SW and opened it back up? Did you save and then close, or did you close and then elect to save?


« Last Edit: June 05, 2011, 12:02:06 pm by Jon »

Jon

  • *
  • Posts: 17524
If you were fiddling around with fonts and think that the corruption happened due to that, check out this patch for that (unofficial for now until I get internal and external confirmation):

http://community.stencyl.com/index.php/topic,1047.15.html (Second post on this page)

20hz20khz

  • Posts: 2
Thank you! That worked, but there is soooo much missing that it would probably be easier to start over.

I don't remember exactly what I was doing before the last save, but I didn't change or add any fonts. I was probably working with some tilesets.

Sorry, I don't remember if I saved then closed or closed and then saved.

Thank you for your help!

Zander400

  • Posts: 2
I wasn't entirely sure where to post this, and I saw this thread already, and this is my exact problem I just encountered.

I downloaded Stencyl a few days ago and have been fooling around with it, trying to teach myself the program and figure out how to create and edit behaviors using the design mode. Needless to say it's been fun. Until, I too just got this same error.

The game is nothing that completely formed yet. I was just using Mario sprites to teach myself this program, but I still had some of my own behaviors I was working on, and trying to figure out. Any ideas what made this become corrupt?

Jon

  • *
  • Posts: 17524
Were you playing with fonts by chance? If you were, downloading the patch resolves the issue. If you weren't, attaching your logs would be mighty helpful.

http://community.stencyl.com/index.php/topic,1131.0.html

Jon

  • *
  • Posts: 17524
Do answer my question still, but to get past the error, replace the last 3 lines in [your game]/resources/data.xml with </custom-block></pack>

« Last Edit: June 11, 2011, 12:25:38 am by Jon »

Zander400

  • Posts: 2
Thank you very much. That helped. To answer your question, I didn't even touch the fonts. Has there been issues happening with fonts?