Urgent: How to fix corrupted XML?? :(

ChakkuChakku Member Posts: 1,513
edited December 2012 in Working with GS (Mac)
My important 'Round Rules' actor is corrupted!

How can I undo that. Im on mtn lion, so i dont have lion's version history feature.

Please help me :(

Thanks

Best Answer

  • PixelMetalPixelMetal Posts: 283
    Accepted Answer
    I've had this issue as well. Its a bug. A way to avoid it is select the prototype ONLY from the actor list, not by selecting the prototype actor that shows up as a tab when you select an actor in the scene. Select the prototype from the tab is broken and disconnects the prototype, somehow, from itself, and you've got to recreate it from scratch.

Answers

  • ChakkuChakku Member Posts: 1,513
    Is it some kind of a quick fix where some bogus is mistakenly genereated in the XML file?

    Can I fix it by editing the XML file?

    Please help :(
  • ChakkuChakku Member Posts: 1,513
    edited December 2012
    EDIT: It doesen't work. There are blank spots in expression editor, and for some reason I'm getting rules that say "When attribute _______overlaps or collides with actor"
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    EDIT: It doesen't work. There are blank spots in expression editor, and for some reason I'm getting rules that say "When attribute _______overlaps or collides with actor"
    this usually happens when you either delete an attribute that was used in the rules, or copy the rule from one actor to another when a local (self) attribute is used.

  • ChakkuChakku Member Posts: 1,513
    @jonmulcahy

    Yes, I copied rules containing local attributes from an actor to its prototype.

    Any way to fix?

    Thanks for the reply.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you'll have to recreate the rules by filling in the blank spots
  • ChakkuChakku Member Posts: 1,513
    @jonmulcahy

    Yes, I tried that, but even after selecting stuff, it still shows blank, then when I hit the back button to return to the scene editor, GameSalad itself crashes.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    delete the rule and recreate it
  • ChakkuChakku Member Posts: 1,513
    edited December 2012
    Yes, I just redid the rules.

    It works, but one important change attribute is still blank. When I try to edit the prototype to fix that change attribute, all of the rules go blank :(

    What should I do?

    Thanks for the reply.
  • ChakkuChakku Member Posts: 1,513
    Also want to note that when I try and click on that actor, regardless if its prototype, or on the scene, GS gets an instant huge increase in RAM till I have 30ish MB left, and I get the colorful pinwheel loading thing also.

    Do I need more RAM (I have 4 GB, since I have base model Mac)?

    @jonmulcahy
  • ChakkuChakku Member Posts: 1,513
    @jonmulcahy

    THANKS, it worked! There was the behaviour i mentioned earlier that was blank, and when I deleted it, everything went blank. So instead, I turned it off, then re-recreated it, and it worked.

    THANKS a lot :D
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Good idea to report the bug via support.
Sign In or Register to comment.