Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: Valth on May 31, 2013, 11:27:23 PM

Title: WM Editor deleting Items.itemsx
Post by: Valth on May 31, 2013, 11:27:23 PM
I am trying to add a item that will get rid of Sterility, and every time I try to save the item list with this item included, the editor deletes the Items.itemsx file, rather than actually saving it.

Just in case it makes a difference, I am using WM EX.
Title: Re: WM Editor deleting Items.itemsx
Post by: hewhocumsbynight on May 31, 2013, 11:42:34 PM
When it goes to Save As, rename the file to something other than Items.itemsx
Title: Re: WM Editor deleting Items.itemsx
Post by: Valth on June 01, 2013, 12:36:12 AM
Just tried that, it doesn't save at all.
Title: Re: WM Editor deleting Items.itemsx
Post by: Xela on June 01, 2013, 04:02:50 AM
Try running it as Admin. That might solve your issue.

//PS: You ca just open the file with any decent text editing software and add to it manually...
Title: Re: WM Editor deleting Items.itemsx
Post by: Valth on June 01, 2013, 04:16:27 AM
Running Windows XP at the moment, also I tried adding it manually, but the game just hangs when I try starting it with a modified file.
Title: Re: WM Editor deleting Items.itemsx
Post by: hewhocumsbynight on June 01, 2013, 08:48:08 AM
Might be different since you're using EX...
Title: Re: WM Editor deleting Items.itemsx
Post by: DarkTl on June 01, 2013, 10:34:50 AM
As far as I remember, wm ex and vanilla wm both use the same items, but in wm ex they were nerfed a lot. While wm ex does have some new traits, it doesn't have items utilising those traits, so items editor should work fine.
Even more strange that the game hangs after manual editing. I tried it once, and it worked perfectly. So I guess that either you made a mistake during editing, or something wrong with your copy of the game.
Title: Re: WM Editor deleting Items.itemsx
Post by: Valth on June 01, 2013, 01:16:01 PM
   Here is my manual edit, tell me if anything seems out of place that would cause the game to hang.

    <Item
        Name="Cure Sterile"
        Desc="Cure Sterile"
        Type="Food"
        Badness="0"
        Special="None"
        Cost="400"
        Rarity="Shop50"
        Infinite="false"
        GirlBuyChance="0">
        <Effect
            What="Trait"
            Name="Sterile"
            Amount="0" />
    </Item>
Title: Re: WM Editor deleting Items.itemsx
Post by: DarkTl on June 01, 2013, 01:58:27 PM
Nothing wrong here. Maybe you accidentally messed with the global <Items></Items> teg?

Anyway, I have encountered a similar problem recently with another game. For some reason a game refused to accept my code even though it didn't have any mistakes. I solved it by using notepad++ instead of usual notepad.
Title: Re: WM Editor deleting Items.itemsx
Post by: Valth on June 01, 2013, 03:20:02 PM
That worked, it allowed me to edit the file manually and add a item, thank you.