Pink Petal Games

Game Discussion => General Discussion & Download => Topic started by: Solo761 on October 25, 2009, 11:04:59 AM

Title: Whore Master Editor 0.7.1
Post by: Solo761 on October 25, 2009, 11:04:59 AM
Here's another new version. This one has basic support for editing config.xml, it's not much butit may help some. Currently there's no error checking so you can enterrubbish instead of required values (which you could also do withregular text editor anyway) so be careful what you enter. I suppose thegame will crash if you enter "gfde" instead of "43" or "0.75" :P ,and also, it may crash if you enter something as "1,0" instead of "1.0"(or better said, I'm pretty sure using , instead of . will not bringanything good). In boxes where values are percentages (they have (%))try to refrain yourself and enter only values from 0 to 100, I don'tknow what will happen if you enter value larger than 100.
Asbefore, when you overwrite existing file bak will be created. But ifyou messed that one already you can just press reset button and savethat. Those are (should be) default values.


(http://www.imagesforme.com/thumb/thumb_207a9e93.png) (http://www.imagesforme.com/show.php/721154_Image2.png) (http://www.imagesforme.com/thumb/thumb_7aa790c2.png) (http://www.imagesforme.com/show.php/720150_RGirls.png) (http://www.imagesforme.com/thumb/thumb_6e1428dd.png) (http://www.imagesforme.com/show.php/720149_Items.png)


Here is WMEdit 0.7.1:
http://www.mediafire.com/file/ru6o6ivy055adw5/wmedit_0.7.1.zip (http://www.mediafire.com/file/ru6o6ivy055adw5/wmedit_0.7.1.zip)


Source for 0.68 (source for newest version is now on SVN):
http://www.mediafire.com/file/rdjngkthvd2/WMEdit0.68_source.rar (http://www.mediafire.com/file/rdjngkthvd2/WMEdit0.68_source.rar)


As before, .net framework 3.5 (http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en) is required to run editor


Here's the girl I did some time ago converted in new format using the editor (actually, writing her data manually in notepad was what motivated me to make this app). It/she was posted on first reincarnation of the forum. It's no one "famous", just something I rendered for this, so in that sense it's original :P .

http://www.mediafire.com/file/1uu0zmm3joi/3DGirlXML.rar (http://www.mediafire.com/file/1uu0zmm3joi/3DGirlXML.rar)



v0.68

- added "Small Weapon item type
- removed ability to save as old items/girls/rgirls files, they don't support this and previous change anyway so there wasn't much sense to keep them any more

v0.67

- added new field to items tab, GirlBuyChance, it works (will work) as described here (http://pinkpetal.org/index.php?topic=352.msg6972#msg6972), it should only be used with XML format
- added some new fields to game config tab

v0.66

- added preliminary support for editing config.xml, based on 1.29.4.6 config.xml


v0.64

- fixed PCHate crash when clicking on an item that has it, this only happened with items saved to XML format, if you have XML file load it in this version, it'll check if there's an item with this problem and tell you if it need fixing. To fix it just resave the file, it'll fix it automatically.

- I also added drag and drop support. Now you can just drop files into program window and it'll load them and switch to corresponding tab. You can drop one or more files, it'll load all of them, even of different types. Only "drawback" is that it'll switch to the tab of last file it reads (i.e. if you drop 2 girls(x) and 1 rgirls(x), chances are rgirls(x) will be processed last so editor will switch to that tab when it finishes)

v0.63

- fixed blank line between entries when adding or updating them and saving them in old format

v0.62

- fixed another typo, this time in "Pregnant by player" string, I think this will be the last fix on item tab, I don't think I updated any of the other strings so they should be OK all over the code

v0.61

- fixed small (well, at least as bugfixing goes) issue with some traits being screwed up while adding to the list or updating that The Alpacalypse noticed. Only 0.6 was affected by this, no need to worry that 0.55 and down messed something up. This was because an oversight, while adding XML support I corrected few typos in names of these strings (libido, agility, controlled) but I missed few occurrences of them so there was a little discrepancy there.

v0.60

- added support for new XML format of girls (.girlsx file extension), random girls (.rgirlsx) and items (.itemsx)

v0.55

- fixed bug when overwriting existing files, now it should get saved in every case, also, when overwriting existing file it will now add .bak extension to old file before saving a new one, just in case

v0.54

- added ability to filter girls on girls tab by their type (normal, slave, from catacombs), should work fine, but it needs to be tested little more thoroughly before trying to implement similar feature for other tabs
- swapped places of delete selected entry and clear list buttons on all tabs. I think it's safer to have delete selected button next to save, if you press it accidentally you'll loose just one entry, which you can add easy anyway since it's data will be displayed, but if you press clear list accidentally it's all gone :)

v0.53

- girls, random girls and items in their list are now alphabetically sorted



Old:

http://www.mediafire.com/download/4m4zzhx0hy0/WMEdit0.68b.rar
http://www.mediafire.com/download/rdjngkthvd2/WMEdit0.68_source.rar

http://www.mediafire.com/file/4lohejylmtm/WMEdit0.67.rar (http://www.mediafire.com/file/4lohejylmtm/WMEdit0.67.rar)
http://www.mediafire.com/file/yzyy5owmwxm/WMEdit0.67_Source.rar (http://www.mediafire.com/file/yzyy5owmwxm/WMEdit0.67_Source.rar)

http://www.mediafire.com/file/gtmqmo3zdzm/WMEdit_0.66.rar (http://www.mediafire.com/file/gtmqmo3zdzm/WMEdit_0.66.rar)
http://www.mediafire.com/file/nzhkyodmn1f/WMEdit_0.66_source.rar (http://www.mediafire.com/file/nzhkyodmn1f/WMEdit_0.66_source.rar)

http://www.mediafire.com/file/tjmdieigdfz/WMEdit_0.65.rar (http://www.mediafire.com/file/tjmdieigdfz/WMEdit_0.65.rar)
http://www.mediafire.com/file/zvmjhzxinuh/WMEdit_0.65_source.rar (http://www.mediafire.com/file/zvmjhzxinuh/WMEdit_0.65_source.rar)

http://www.mediafire.com/file/51zj2kgzttd/WMEdit0.64.rar (http://www.mediafire.com/file/51zj2kgzttd/WMEdit0.64.rar)
http://www.mediafire.com/file/yqmy0mmzie4/WMEdit0.64_source.rar (http://www.mediafire.com/file/yqmy0mmzie4/WMEdit0.64_source.rar)

http://www.mediafire.com/file/yjjlldrkidg/WMEdit0.63.rar (http://www.mediafire.com/file/yjjlldrkidg/WMEdit0.63.rar)
http://www.mediafire.com/file/h4hz4znnikj/WMEdit0.63_source.rar (http://www.mediafire.com/file/h4hz4znnikj/WMEdit0.63_source.rar)
Title: Re: Whore Master Editor 0.52
Post by: letmein on October 25, 2009, 12:58:59 PM
Good job once again, Solo, on behalf of everyone who's used and of the mods.
Title: Re: Whore Master Editor 0.52
Post by: Solo761 on October 25, 2009, 01:48:28 PM
Thanks, but it wasn't much that I did with this version, mostly added bunch of comments so someone else would hopefully be able to adapt it later if need be.

Comments were needed since I'm no programmer so some of my solutions could seem odd (understatement :)) to someone who is so to help them understand what exactly I did there, or tried to do...
Title: Re: Whore Master Editor 0.52
Post by: zodiac44 on November 05, 2009, 02:59:31 PM
Would it be feasible to add a sorting function to the lists in the editor?  For example, sort the girls list alphabetically, by age, by Constitution, by normal/slave/catacombs status, etc.  The same would be nice for items, though I think it is less of an issue there.
Title: Re: Whore Master Editor 0.52
Post by: Solo761 on November 06, 2009, 08:18:07 AM
Possible yes, feasible so-so. Alphabetical sorting is rather easy, but would probably require change of some concepts, so list entries would remain in sync with girl data that is stored DataTable. As it is now when entry is added to list (only name is added to list) it's added at the same time to DataTable. So when you click on an entry it gets it's index and calls the item from DataTable that's under the same index. It's simple, but it works. If I sort lists that stores items and girls these index' wouldn't be in sync. There would need to be either some other memory object that would link indexes from the list to the ones in DataTable or DataTable would need to be sorted at the same time so they remain in sync. Or sort just DataTable and fill list entries from that... Hmm, that's perhaps the best solution and would require least meddling in the code, if I can figure out how exactly to do it.

As far as rest of sorting goes that would definitely require rewrite of major code behind this tool. And personally I don't see the point in it. There's no practical reason to be able to sort them by these stats. Most of them are anyway from some more or less famous anime toons/games so that really doesn't do anything. It's not that girl A will affect girl B if her stat A is higher/lower than stat A girl B has. Or interactions like that.

Alphabetical sort would help to deal with names that are used twice, but for the rest I don't see the point.
Title: Re: Whore Master Editor 0.52
Post by: zodiac44 on November 06, 2009, 03:15:34 PM
Sorting by skills and stats is not really important.  Sorting by normal/slave/catacombs status would be useful, but if it would be a PITA to code, then forget about it.
Title: Re: Whore Master Editor 0.52
Post by: Solo761 on November 06, 2009, 05:39:04 PM
Alphabetical sort is easy, I just tried it and it's easy to implement.

Other types would require more work. Adding just one more way (like normal/slave/catacombs you mention) can be made easy (I just got an idea) to do via the same method as alphabetical. Although it wouldn't be very nice solution from "good code" stand of view :). My biggest problem is how to allow users to select what sorting method to use.
Title: Re: Whore Master Editor 0.53
Post by: Solo761 on November 06, 2009, 07:05:47 PM
Updated with version 0.53, this one sorts lists automatically when you load an existing file, if you resave it output will also be alphabetically sorted.

Other potential sortings won't be so so quickly done, I'll need to rework code to do it. Although I still think it won't be that useful :P. Only one case where it will be is sorting items by category, consumable, clothing, weapon...
Title: Re: Whore Master Editor 0.53
Post by: zodiac44 on November 06, 2009, 11:23:27 PM
As an alternative to sorting by girl or item type, what if you just filtered them into different lists?  All slave girls go in one list box, all normals go in another.  Consumable items in one, weapons in another.  Maybe use a drop box that allows you to select all entries, or those in a single category.
Title: Re: Whore Master Editor 0.53
Post by: Solo761 on November 07, 2009, 07:22:46 AM
Well, doing that would require same thing as "normal" sorting as I would still need to get into data for each entry to read required value the same way as normal sort would do. Sorting now works on source data, data is read into table, that table is sorted per some key (at the moment name) and then list is updated with this sorted table. Doing different lists would require complete re haul of this as this concept wouldn't work, plus it would be pretty much harder to keep list and table data in sync. Now it's rather easy, simply after sorting that table list gets rebuild so i.e. entry 5 on the list corresponds to entry 5 in the table. If list doesn't have the same number of entries as table this doesn't work.
Title: Re: Whore Master Editor 0.53
Post by: zodiac44 on November 07, 2009, 10:30:05 AM
All right, it's cool if you can't do it.  Like I said, if it's a PITA, don't bother.
Title: Re: Whore Master Editor 0.53
Post by: Solo761 on November 07, 2009, 12:21:36 PM
When it's about programming everything can be done, it's only a matter of amount of said PITA :).
Title: Re: Whore Master Editor 0.53
Post by: Solo761 on November 08, 2009, 05:34:49 PM
New version with filtering of girls by their type is upped, so far it's only for regular girls to see if concept works before I apply it to random girls and items.

I used drop menu as you suggested, having separate listbox' for every type would need a redesign of the app interface so I think this is better solution. One idea that came to my mind after it was done is about save button. At the moment, when you press it, app will automatically switch to "All" list (if it isn't already) and then do as it did so far. I could make it ask the user if he want's to save whole list, or just currently selected one. But I'm not sure if that's really an useful feature.
Title: Re: Whore Master Editor 0.53
Post by: zodiac44 on November 08, 2009, 06:18:29 PM
Dude, that is fan-frikken-tastic!

Having the option to save the currently displayed type in a separate file would be interesting, but I don't know if anyone would use it.  I consider myself to be a bit of an organizational freak at times, but only in a fit of OCD would I find it necessary to save girls of different types into different files.

Then again, I don't think it would hurt to have it, if for no more reason than someone might forget they are working on a subset of the characters and accidentally save the whole set when they intended to save only the subset.
Title: Re: Whore Master Editor 0.53
Post by: zodiac44 on November 09, 2009, 03:32:38 PM
Found a bug in the items section: when you load an item list, delete something off the list, and save to the same file, the deleted item is saved along with everything else.  If you save to a new file, the deleted item is properly removed.
Title: Re: Whore Master Editor 0.55
Post by: Solo761 on November 09, 2009, 06:23:37 PM
That bug was present in every save operation. It seems that, although it asks if you're sure you want to overwrite it, it actually doesn't matter. Streamwriter object that is used to write it to the file works kinda strange. If I delete an entry and tried to overwrite the file it didn't actually do anything, if I added an entry at the end (alphabetically) of the list and overwrite that it did get saved, if it was somewhere within the list it also didn't get saved. It seems it works with some kind of strange append where just adds what ever is behind the last entry that's already in the file.

I guess this problem manifested itself after sort by alphabet was added, before that everything you added was at the bottom of the list, I guess delete and overwrite was also not working then, but adding new girls/items worked file since they just got appended. I've changed how this works so as far as streamwriter knows it always saves to the new file. What I did is this, before the file is saved app checks if the file to be written exists, if it exists it renames it by adding .bak extension to it, and then saves it to the new file, this time it saves as it should because it doesn't have anything to append to. And that's where little .bak files come from :).
Title: Re: Whore Master Editor 0.55
Post by: zodiac44 on November 09, 2009, 06:50:41 PM
That's a rather bizarre effect.  I would think it would have manifested the very first time I saved after the sorting was introduced, unless I misunderstand what you wrote.  The editor completely rewrote the old file with everything in alphabetical order - which I would think involves a certain amount of deletion before the write can happen.
Title: Re: Whore Master Editor 0.55
Post by: Solo761 on November 10, 2009, 04:11:12 AM
Well, beside sorting and filtering nothing else was changed. As far as saving part goes, beside getting sorted list to save, but that isn't done within save procedure, it doesn't know they even exist.

But I don't think it would manifest exactly the first time after sort was introduced. File that you have overwritten isn't sorted, list that was going to be saved is, so there wouldn't be any matches for this strange append to kick in. Second time yes, but first no.
Title: Re: Whore Master Editor 0.55
Post by: Balmung60 on November 21, 2009, 07:17:58 PM
Would it be reasonable of me to ask to be able to see what the girl's in-game looks (and other stats) are while using the editor, perhaps with a marker of how much of each is from traits (maybe like [stat] +/- amount from traits), or would that just be a massive PITA?
Title: Re: Whore Master Editor 0.55
Post by: zodiac44 on November 21, 2009, 07:30:32 PM
Most of that info is coded into the game, and not available (insofar as I am aware) to those searching for info from the outside.  We could experiment and figure out the stat/skill bonuses/penalties for every trait, and hardcode those into the editor (or put them in a config file), but they could be obsoleted if any of the effects change in the game.

I don't know how far DocClox is taking his XML approach to the game (as far as i know, it is limited to .girl files for now), but if he implements the config screen for the game, and includes an XML config file with the stat effects of traits, then we would be able to pull that info for the editor.  Until then, no such luck.
Title: Re: Whore Master Editor 0.55
Post by: DocClox on November 21, 2009, 07:40:26 PM
I don't know how far DocClox is taking his XML approach to the game (as far as i know, it is limited to .girl files for now)
Girls, rgirls and items for now. More next release.

but if he implements the config screen for the game
Next but one, I'm afraid. Necno is adding the screen this time around. I'll add stuff to it for the next release.
and includes an XML config file with the stat effects of traits, then we would be able to pull that info for the editor.  Until then, no such luck.
Eventually I want to drive trait effects based on a combination of config and script files. However, there's a chunk of work to do before that's possible.
Title: Re: Whore Master Editor 0.60
Post by: Solo761 on November 22, 2009, 08:07:43 PM
I've uploaded new version, this one has support for new XML files so it can be used to convert old files and be ready for new version :).

As for stats and other in-game values, no, it wouldn't be PITA if we knew exact formulas by which they're calculated :). So until we do...
Title: Re: Whore Master Editor 0.60
Post by: Senzuku on November 23, 2009, 12:46:16 AM
Hello, I have a question regarding the editor itself...
 
I am able to run the editor and load files from it, but I am unable to add an item into the directory or edit any files in directory.
 
This is the error log
 
------------
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at WM_Girls_Generator.Form1.button12_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
 
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll (http://pinkpetal.org/file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll)
----------------------------------------
WMEdit
    Assembly Version: 0.6.0.0
    Win32 Version: 0.6.0.0
    CodeBase: file:///E:/Documents/My%20Documents/WM/Docs%26Tools/Character%20%26%20Item%20Editor/WMEdit.exe (http://pinkpetal.org/file:///E:/Documents/My%20Documents/WM/Docs%26Tools/Character%20%26%20Item%20Editor/WMEdit.exe)
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll (http://pinkpetal.org/file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll)
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll (http://pinkpetal.org/file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll)
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll (http://pinkpetal.org/file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll)
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll (http://pinkpetal.org/file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll)
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll (http://pinkpetal.org/file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll)
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

-------------
 
So I hope someone can help me with this >_>;
Title: Re: Whore Master Editor 0.60
Post by: DocClox on November 23, 2009, 03:21:35 AM
Can't find system core? Do you have .NET installed?
Title: Re: Whore Master Editor 0.60
Post by: Solo761 on November 23, 2009, 03:50:55 AM
It looks as if you have old .net installed, 2.0, this one requires 3.5, link is in the first post.
Title: Re: Whore Master Editor 0.60
Post by: Senzuku on November 23, 2009, 09:11:17 PM
Thanks for helping, was wondering why I can't seems to do anything with the editor...

Apparently, it seems like my Vista hates me.
Title: Re: Whore Master Editor 0.60
Post by: The Alpacalypse on November 23, 2009, 09:28:00 PM
I've noticed an error with items that apply the Controlled status, and also ones that modify Libido, Agility, or Player Hate.  This error message is the result of clicking on an item in the editor that added Controlled (Willbreaker Oil from LS' item pack).

Quote
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at WM_Girls_Generator.Form1.listBox_ItemsList_SelectedIndexCha nged(Object sender, EventArgs e)
   at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListBox.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4200 (NetFxQFE.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
WMEdit
    Assembly Version: 0.6.0.0
    Win32 Version: 0.6.0.0
    CodeBase: file:///C:/Program%20Files/Windows%20Timeline/full_wm1.29_BETA/Docs%26Tools/WMEdit.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

I'm not sure what would cause this, nor if it's been brought up before.  I've noticed that clicking "Update Selected" causes the entry in question (in the case of Controlled, Agility, or Libido) to change to a different modifier.

Also, I'm fiddling with it as I type, and I've just noticed that attempting to overwrite a file causes the file to disappear.  It isn't deleted, it's just gone.  No clue, but one problem at a time, I guess.  Oh, right, I should also mention that yes, I do have .Net 3.5, just in case that's relevant.

ETA:  Apologies, I'm dumb.  I couldn't save the file because there were still errors.  Corrected them, can save again.  Other issue still applies, however.
Title: Re: Whore Master Editor 0.60
Post by: Solo761 on November 24, 2009, 07:25:53 AM
It seems that there are some problems with items generation, I'll have to look into that. Just tried one of the older version (0.53) and it doesn't have this controlled/agility/libido problems, although now that I think about it, I think I know what's the problem :) .

As for the crash I can't replicate it. Just tried LS' item pack and that item got read fine.

(http://www.imagesforme.com/thumb/thumb_21c2e22f.png) (http://www.imagesforme.com/show.php/809822_Image1.png)

It still looks as if it tries to use .net 2.0 (file path in first version points to "C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll", which is .net 2.0 and not .net 3.5. When I go to C:/Windows/Microsoft.NET/Framework64/ on my computer (I also have 64bit OS, Framework64 is where 64bit framework is stored) I have there three folders "v2.0.50727", "v3.0" and "v3.5". Try running this tool

http://www.mediafire.com/file/mdgjgyyheoz/netver2007.zip (http://www.mediafire.com/file/mdgjgyyheoz/netver2007.zip)

It should show what exact .net frameworks you have installed. This is what I get from it

(http://www.imagesforme.com/thumb/thumb_495c2dbc.png) (http://www.imagesforme.com/show.php/809823_Image2.png)


*edit*

fixed that trait/effect issue
Title: Re: Whore Master Editor 0.61
Post by: The Alpacalypse on November 24, 2009, 11:26:35 PM
Yeah, I have exactly those frameworks as well.  Fix to the version appears to have worked, haven't verified they work in game, but they should.

Also, forgot to mention this in my prior post, but it also appears that the Pregnant By Player status, and the Askprice stat are also borked.  I could fix them myself if I knew how, but I don't even know where to begin to look for a how-to.  Wish I knew more about programming, but I don't think I have the self-motivational ability to really make anything of it.
Title: Re: Whore Master Editor 0.62
Post by: Solo761 on November 25, 2009, 09:54:17 AM
Then I don't understand why it doesn't work. Only other thing that comes to my mind is that maybe some parts of your .net installation got corrupted. But I don't know how likely that is to happen.

I fixed "Pregnant by player" string, that should be the last one. I changed them when I added support for XML, so they use same strings as XML. Originally I had "Pregnant with player", not "by" as it is in game. I updated most of them, but some got by in as they were originally. That's why these errors happened. For this exact example status would have "by", when app compiles it to game format, it looks in matrix that has these strings and their associated value, but it couldn't find a match (in that matrix that string contained "with" so there was no match) and that's how it got borked. Now all should be properly associated, I changed only agility (made a type there, wrote agilty), libedo (originally I had libido, but since it's libedo in game I changed that), controlled (again typo, I had controled, I probably typed it too fast so windows "helped" by omitting one l :P ). I didn't change AskPrice, when I tried it it worked fine.

You can't really fix it, you need source code for it to make these changes and then recompile. There are sources in first post, but they're outdated now, and these things worked fine in that source. That was pre-XML code. But those files were downloaded 1-2 times so I gave up on uploading it. If you want I can upload current source. It can be edited with simple text editor like notepad and compiled via command prompt, but it's way more user friendly to use some IDE to do it. I use Visual Studio 2008, but there's free version that should be able to also do it Visual C# 2008 Express Edition (http://www.microsoft.com/express/vcsharp/).
Programming is mostly logic, like you have some X, and want it to be Y, so you need to come up with what to do to get Y out of that X, that's what code mostly does. I never really learned how to code, I knew some basic logic of how it goes, everything else I learned, or figured out, on the way. That's pretty evident in the code of this editor, similar problems solved in two different ways. I came with something that looked better so I did it that way next time. But since old stuff also worked why change it (as someone said, why reinvent the weel, if it isn't broken don't fix it). Most of the code is commented so you can figure why I did something the way I did it, only new XML parts are not really commented, but that's only few functions anyway.
Title: Re: Whore Master Editor 0.62
Post by: The Alpacalypse on November 30, 2009, 02:29:22 AM
Sorry for the delayed response, I've been a little busy.  Yes, I would greatly appreciate a copy of the most recent source code for your editor.  And thank you for the link.  The editor runs fine, but now I can't get the game itself to run; that, however, is a topic for another thread.  I'll see if patching to .3 fixes it.
Title: Re: Whore Master Editor 0.62
Post by: Solo761 on November 30, 2009, 06:40:30 AM
Here's the source then

http://www.mediafire.com/file/zqzyzmnt3mw/WMEditor0.62_Source.rar

It's not nice, and it's certainly not consistent :), I've learned stuff as I went along so as I said there are similar problems solved in two different ways. It would be best to rewrite it from the scratch, but it works as it is so... Perhaps later down the road, when old format get's dumped completely.

Or someone else can take a whack at it and make new editor :). I was thinking yesterday of writing new manual for items, girls and rgirls formats, but they're going to get dumped some time in the future so there would be no point in it. Perhaps I should write manual for XML files, what attribute can have what value and like
Title: Re: Whore Master Editor 0.62
Post by: Wispowill on December 01, 2009, 12:05:27 PM
I'm not sure if I'm the only one that has this problem, but anytime I edit with this version it adds an extra linefeed behind the character I edited. This seems to cause the main program to gag until I open up the .girls file in notepad and remove the extra linefeed.
Title: Re: Whore Master Editor 0.62
Post by: zodiac44 on December 01, 2009, 02:07:28 PM
I can confirm that.  There isn't a problem if you save in the .girlsx xml format, though.
Title: Re: Whore Master Editor 0.63
Post by: Solo761 on December 01, 2009, 05:12:35 PM
Fixed it. For XML loading I changed some things and didn't check compile function which remained with one \r\n extra at the end. That's only old format related, XML uses different compile method so it isn't affected by spaces. In few versions they're going to take over completely, so I didn't payed much attention to old formats. I was mostly concerned with loading them so they can be easily converted to new XML format, not saving.
Title: Re: Whore Master Editor 0.63
Post by: Alugere on December 01, 2009, 11:02:58 PM
Whenever I follow the instructions to make a .rgirls file into a .rgirlsx file, the girls all end up in a mess. I'm ending up with girls whose looks are limited to the range of 0-50% with 0 being the most common and generally seen in 1/4 of all girls at the slave market. Also, their ages seem to range from 18-96-unknown or somewhere in between. Some even have a constitution of 0. Currently, the only way I have to use girls is to not convert them and to keep them in the old format.
Title: Re: Whore Master Editor 0.63
Post by: zodiac44 on December 01, 2009, 11:05:02 PM
I don't think that's a problem with the editor.  The game is having issues with random girls, though the latest update may have fixed that.
Title: Re: Whore Master Editor 0.63
Post by: Solo761 on December 02, 2009, 05:20:09 AM
Start two editors, in one open rgirls and in second open rgirlsx, choose the same girl in both and compare their data, if it's the same it's not an editor issue. I just tried that on few girls and data from rgirlsx is the same as data for rgirls. Editor is just front end to make creating and editing these files easier, it has no direct effect on how girls, random girls or items are going to behave in game.

If you have this issue of different stats for girls that are loaded from rgirls, and different stats for those that are from rgirlsx you should report that in game bug thread.
Title: Re: Whore Master Editor 0.63
Post by: Dirtyxmind on December 04, 2009, 07:13:25 PM
Hello Solo761!

I am using the NEW WME 0.63 and i found that for some reason, if you create an item that affects the PCHate, after saved, when you reopen the file and try to check the item, an ERROR occurs... Could you check this, please? This only happens with the NEW XML format.

Thank you for your kind attention!

Title: Re: Whore Master Editor 0.63
Post by: Solo761 on December 05, 2009, 05:54:18 AM
Problem is in one letter, when saved in XML format string had lower case "h" in PCHate, and parse function has correct upper case. You can fix it by opening itemsx in any text editor and replace "PChate" with "PCHate". Until I upload fixed version.

*edit*

Uploaded fixed version. If you don't want to fix that item manually just open your itemsx file with this version. It should find this error and notify you, to fix it just resave the file, new one will be correct.

And since last few versions were only fixes here's something new in this one, app now supports drag and drop of girls(x), rgirls(x) and items(x) files.
Title: Re: Whore Master Editor 0.63
Post by: Dirtyxmind on December 05, 2009, 06:21:41 PM
Problem is in one letter, when saved in XML format string had lower case "h" in PCHate, and parse function has correct upper case. You can fix it by opening itemsx in any text editor and replace "PChate" with "PCHate". Until I upload fixed version.

*edit*

Uploaded fixed version. If you don't want to fix that item manually just open your itemsx file with this version. It should find this error and notify you, to fix it just resave the file, new one will be correct.

And since last few versions were only fixes here's something new in this one, app now supports drag and drop of girls(x), rgirls(x) and items(x) files.

Thank you a lot! :)
Title: Re: Whore Master Editor 0.64
Post by: WonderDog on December 09, 2009, 06:04:44 PM
On 1.29.3.v Beta there seems to be a missmatch with WMEdit

Itemtag
Code: [Select]
Special="Affects All" as converted by WMEdit .64 andwill generate an error in game and run as a normal item.

Manualy remove the space and
Code: [Select]
Special="AffectsAll"will load without errors.

Note: that items with AffectsAll tag will not work but the that is a known bug.
Title: Re: Whore Master Editor 0.64
Post by: Solo761 on December 10, 2009, 08:36:36 AM
When exactly did you download it? First version uploaded was wrong exe, it was up for really short time (less than an hour). Maybe you downloaded that version instead of fixed one. I did some code change so that's what why I uploaded wrong exe first, same version, but only under the hood changes. In current version I couldn't replicate this error. Perhaps it got fixed with that changes I did. Try redownloading and see what happens.

But I can add check that checks if original XML file has this error, like I did with "PChate" few posts back if you think that's necessary.
Title: Re: Whore Master Editor 0.64
Post by: WonderDog on December 11, 2009, 03:53:50 AM
I think I downloaded when loaded it up.

Yes redownloaded and converted the problem Item files and no errors. ;D

The file creation date is only an hour diffrent and the same size.

Confirmed that the original exe did convert incorrectly.

Looks like I was just lucky :P
Title: Re: Whore Master Editor 0.64
Post by: sgb on December 14, 2009, 10:19:48 PM
I still get the 'haha, I only pretended to save' issue.  When this happens, the backup file doesn't get generated either.  This still seems to happen if you only make a couple small changes and then try to save.
Title: Re: Whore Master Editor 0.64
Post by: Solo761 on December 15, 2009, 06:02:47 AM
There's nothing in the code to differentiate between small changes and big ones. Application stores entries in table and all changes modify this table. When you press save it simply saves data from this table to file. Before there were problems because app didn't check if file exists so there were some strange things happening. But now it deletes bak file if it exists, then renames original file to bak and saves in completely new file.

I changed something it the way it's loaded maybe it'll help.
Title: Re: Whore Master Editor 0.65
Post by: sgb on December 15, 2009, 05:31:31 PM
Quote
There's nothing in the code to differentiate between small changes and big ones
I know that logically, yet the only time I encounter this is when I make 1-2 stat changes and try to save.  I'll see if it still occurs in the new version.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on December 31, 2009, 08:43:54 PM
UL-ed new version. Added support for editing config.xml.
Title: Re: Whore Master Editor 0.66
Post by: DocClox on December 31, 2009, 08:54:50 PM
Did you get everything you needed from the xml comments? I was just looking to see if I needed to add anything, but most of it looked pretty obvious.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on January 01, 2010, 08:35:26 AM
So far editor can only load and save config.xml. Nothing more so far, I've only made textboxes for every value in xml file.

I guess game accepts only values like 0.5, and not 0,5? And for those decimal values, will it accept int numbers, without .x? That's what's troubling me the most at the moment, limiting what can be entered. I thought of using masked textboxes, but that would limit it too much (like it accepts only xx.x, or x.x). I guess I'll have to add .0 automatically at save time if it's missing from those textboxes.


Btw

I've been studying C++ a little. And from what I can tell there isn't a nice way to design GUI like there is with with C#, if I don't want .net app, I can, of course, use C++ to write .net app, designer works then. With C# I just arrange all the elements (labels, lists, textboxes, dropmenus...) and then just write some code to make everything work (more or less) as I want to.
Now, if I want to make win app I would need to use MFC, and design UI via code. But using MFC wouldn't make porting app to other OS that much easier. So I thought, if I'm going to need to use code for everything why not try some other GUI library, one that has been ported to other OS'. So far I've found that there's GTK for windows (gtkmm). Is there perhaps some other, better library? Or did I missed not only the ball, but the whole playfield?
Title: Re: Whore Master Editor 0.66
Post by: DocClox on January 01, 2010, 09:18:42 AM
I guess game accepts only values like 0.5, and not 0,5?

That's a good question. I don't do anything fancy with locales and I18N, but TinyXML might. The safe way to bet though is that it only uses a dot as a decimal point

And for those decimal values, will it accept int numbers, without .x?

Should do. It'll parse ints as floats with no problem. If I've added .0 in the file, it's only to make the format clearer. The "%" char on the end of percentage fields is optional too

I've been studying C++ a little. And from what I can tell there isn't a nice way to design GUI like there is with with C#,

Well, strictly, there isn't with C# either; the GUI designer is part of Visual Studio.

So I thought, if I'm going to need to use code for everything why not try some other GUI library, one that has been ported to other OS'. So far I've found that there's GTK for windows (gtkmm). Is there perhaps some other, better library? Or did I missed not only the ball, but the whole playfield?

GTK is probably the way to go. It's close enough to the way Windows.Forms works that you shouldn't have too many problems. There's a decent GUI designer called Glade that should let you drag widgets around the place in the same sort of way.

The other contender would be wxWidgets, which is a decent cross platform toolkit, probably best known for its use in the sound editor, Audacity.
Title: Re: Whore Master Editor 0.66
Post by: delta224 on January 01, 2010, 10:55:56 AM
wxWidgets also has a designer based on Glade called wxGlade, if you go that route.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on January 01, 2010, 11:18:37 AM
Hehe, I know that GUI desinger in C# isn't given automatically, it's IDE thing. I hoped that Visual C++ would provide something similar. But I couldn't find it :).

Thanks for those apps, I'll give it a try. I was looking for at least some design app that could give me coordinates and dimensions of elements so I don't have to calculate all that by hand. These will do nicely. In the end it's probably better to spend some more time and use some library that's cross platform than using MFC.
Title: Re: Whore Master Editor 0.66
Post by: zodiac44 on January 07, 2010, 12:13:16 AM
Found a bug: in 0.66, the traits list in the girl tab is not displayed correctly.  There are apparently entries in the list, the tooltips work, but the list is blank and there are no checkboxes to select.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on January 07, 2010, 06:02:29 AM
Nothing has been changed in the way trait list works since adding tooltip option. I've just tried it and all the traits are in the list.
Title: Re: Whore Master Editor 0.66
Post by: zodiac44 on January 07, 2010, 06:21:19 PM
I just opened and closed it a few times, and about half of the time I got nothing showing up in the trait list (there were blank entries, though, which triggered the trait description tooltips).  Weird.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on January 07, 2010, 06:53:39 PM
I just opened and closed it 10-15 times, I even started 20 instances simultaneous and no issues.

What OS do you use, is it perhaps Vista/Win7 with UAC enabled? If so that could be the culprit, some file access conflict on traits file. In that case try running it as administrator. I use Win7 but I have UAC disabled.

Or try this

http://www.mediafire.com/file/dhitznqktyd/WMEdit_0.66v2.rar

I've added one line to make sure traits file get closed after reading, but as far as loading traits goes, nothing has been change since the first editor version, literally. It simply opens the file, odd line numbers are trait names, even ones are trait description, so it reads first line, that's the first trait name, and then sends that name to lists on girls, random girls, items and trait list tabs, trait description goes to separate list so that they can be called for tooltips. Actually it reads trait name, trait description, sends them where they need to go, and then goes to next two lines. It keeps doing that until it reaches the end of the file.

I have no clue how could it read the file, miss trait names, but get trait descriptions.
Title: Re: Whore Master Editor 0.66
Post by: zodiac44 on January 07, 2010, 11:09:39 PM
The traits tab displays correctly, so it is reading the file right, it seems as if its just not displaying the entries in the list box.  I can click in the box and get the dotted-line box highlight, but there's nothing in the box and there's no checkbox next to it.

[edit]

I may have found the problem.  I discovered a 2nd instance of WMEdit.exe in the task manager when I only had one instance running.  It remained in the process list even after I closed the open instance, so I killed it.  I haven't been able to repeat the problem since, so I think it was likely due to some kind of interference from an instance that refused to terminate properly.
Title: Re: Whore Master Editor 0.66
Post by: Graen on January 14, 2010, 05:47:29 PM
Would it be possible to get another UNEDITABLE column next to the Stats and Skills boxes that displays the total value for each Stat and Skill after Traits are factored in?  This would be help for the unique girls, as well as the random ones as well.
Title: Re: Whore Master Editor 0.66
Post by: zodiac44 on January 14, 2010, 06:13:06 PM
That could be done, but since the effects of traits are (currently) hardcoded into the game, any time a change is made in the game's code for traits, the code for the editor would have to be updated to fit.  Some day in the future, if and when traits get defined in XML, the editor could easily support such a system, but until then I think it's best to leave it out.
Title: Re: Whore Master Editor 0.66
Post by: fires_flair on January 30, 2010, 10:24:56 PM
I just had an error when creating an item. I had the original editor, then updated it using the first link in the OP. I had one other item in the list, had created it, updated it, then started a new item which caused it to crash when I went to save  the new item. here's the details just in case you guys haven't had it happen before.
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at WM_Girls_Generator.Form1.listBox_ItemsList_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
   at System.Windows.Forms.ListBox.set_SelectedItem(Object value)
   at WM_Girls_Generator.Form1.SortDataTable(DataTable& dt, ListBox& lb, String Name)
   at WM_Girls_Generator.Form1.button12_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WMEdit
    Assembly Version: 0.6.5.0
    Win32 Version: 0.6.5.0
    CodeBase: file:///C:/Documents%20and%20Settings/Tracy%20Neisner/Desktop/carole's%20stuff/stories/stories%20not%20by%20me/stories%20not%20by%20me/Whore%20Master%201.29.4.6%20Beta/Docs%26Tools/Character%20%26%20Item%20Editor/WMEdit.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.21022.8 built by: RTM
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Title: Re: Whore Master Editor 0.66
Post by: Solo761 on January 31, 2010, 12:03:43 PM
Error basically says that some string that should have been converted to integer was not in correct format, i.e. it wasn't a number. What would have helped is to know exactly what values were in that item, i.e. to see if this error can be replicated.
Title: Re: Whore Master Editor 0.66
Post by: Mehzerz on February 17, 2010, 12:33:18 AM
This should be stickied in my opinion. It's a tool I certainly wouldn't want to be without.
Title: Re: Whore Master Editor 0.66
Post by: fires_flair on March 11, 2010, 04:47:43 AM
That could be done, but since the effects of traits are (currently) hardcoded into the game, any time a change is made in the game's code for traits, the code for the editor would have to be updated to fit.  Some day in the future, if and when traits get defined in XML, the editor could easily support such a system, but until then I think it's best to leave it out.
for the traits that change stats, don't they all change them at a static/nonchanging amount? if that is so could we not just create a separate task that adds it to the skill/characteristic thing (assuming we know the amount). the only time that would have to be updated would be if they changed the amount.
though I could be completely wrong, in how I think the traits work.
and I agree withMehzerz this topic should be sticked.
Title: Re: Whore Master Editor 0.66
Post by: DocClox on March 11, 2010, 05:20:38 AM
Quote
I agree withMehzerz this topic should be sticked.

Sounds reasonable to me.
Title: Re: Whore Master Editor 0.66
Post by: Solo761 on March 11, 2010, 08:15:01 AM
for the traits that change stats, don't they all change them at a static/nonchanging amount? if that is so could we not just create a separate task that adds it to the skill/characteristic thing (assuming we know the amount). the only time that would have to be updated would be if they changed the amount.
though I could be completely wrong, in how I think the traits work.
and I agree withMehzerz this topic should be sticked.

Currently traits are hardcoded in the game and there's TXT list of traits and their description. Editor loads that txt file to get list of traits and descriptions. For it to be able to show what changes would be they would also need to be hardcoded in the editor itself. Why I chose this way instead of hardcoding them in first place is that if new traits were added it wouldn't affect the editor, it would simply load new traits.traits file and new traits would be on the list.

About the suggestion to integrate the editor with the game, yes and no. Of course, game could have the editor integrated in it, but not this editor. This was written in C#, game is written in C++, plus editor uses .net framework, the game doesn't. Game version of editor would need to be written from scratch.
Title: Re: Whore Master Editor 0.66
Post by: DocClox on March 11, 2010, 08:40:25 AM
Well, seeing as how the PC doesn't get to design his girls from the ground up in the game, there's no pressing need to have an integrated editor. Better to keep them separate then. Both pieces of software will be easier to maintain that way.

Which isn't to say I couldn't find uses for in-game editing functions, mind. But even then, I think I'd prefer have access to the interface, rather than a full-on editor. Girl creation is outside the scope of the game, so girl editing should be outside the main program.

All IMHO, obviously.
Title: Re: Whore Master Editor 0.66
Post by: zodiac44 on March 11, 2010, 10:40:57 PM
Integrating the editor makes no sense.  Even if they were coded in the same language, integration would add tons of potential conflicts and bugs for no perceptible benefit.
Title: Re: Whore Master Editor 0.68
Post by: megamanx on June 11, 2010, 12:46:07 AM
Can't save even when i change nothing it says,
"Filter string you provided is not valid. The filter string must contain a description of the filter, followed by the vertical bar(|) and the filter pattern. The strings for different filtering options must be separated by the vertical bar."
What can i do to change this and allow me to save using this program.
Can change random girls but can't change/add to the unique ones.
Title: Re: Whore Master Editor 0.68
Post by: Solo761 on June 11, 2010, 05:27:59 PM
Bah, stupid error. I removed one string more from save filter than what I was supposed to when I removed old file formats save support. Version 0.68b should work fine.
Title: Re: Whore Master Editor 0.68
Post by: sgb on June 27, 2010, 09:10:41 PM
Just a suggestion for whenever you do another update; improve some of the tool tips now that we have a clear idea what most of the stats do.
A few stats that could be changed from 'I don't know what they do' or 'should be 0':

-Fame affects 'number of customers that are interested in her' and improves advertising success.  You can set the initial value higher than 0 will no problems in-game.  Goes from 0 to 100.
-Levels have small improvements on stats, and experience is obviously the amount needed for the next level up with I believe 255 needed for a levelup.  Experience also counts towards girls getting the 'her inexperience hurt her' message during whoring summary reports.  Even if a girl has 100s in all sex stats, if she has 0 experience she will get the 'her inexperience hurt her' message.  You can set both above 0 without causing problems, though there isn't any real point to setting a level above 0.
-Askprice is auto-calculated by the game IFAIK, so this ideally shouldn't even be an editable option as there's no point.
-With Obedience more definitely = less rebelliousness.
-Spirit is clearly related to rebelliousness calculations with more spirit = more rebelliousness.
-Fear, hate and love can all be set above 0 without issues, though it doesn't make much sense to do so unless you have a meetgirl script explaining why that character already hates/loves the PC.
Title: Re: Whore Master Editor 0.68
Post by: Mehzerz on July 02, 2010, 01:22:31 AM
I agree with sgb here. I had no idea that traits offered such a significant boost in stats. A description of what they alter instead of a very vague (+ looks) ect. would be a welcomed edition to the editor.
Title: Re: Whore Master Editor 0.68
Post by: DocClox on July 02, 2010, 03:28:58 AM
Well, a trait overhaul is coming. Once I finish off the basic lua functions, XML traits and lua triggers is the next thing on the list.

Hopefully I'll get some coding time next week. Things have been kind of busy lately...
Title: Re: Whore Master Editor 0.68
Post by: Mehzerz on July 02, 2010, 02:59:43 PM
An overhaul you say? Hrm.
Title: Re: Whore Master Editor 0.68
Post by: DocClox on July 02, 2010, 06:34:49 PM
An overhaul you say? Hrm.

Yeah, yeah. Probably use a syntax like this:

Code: [Select]
<traits>
 <trait name="foo">
  <handler name="on gain">
    -- lua code to do stuff
  </handler>
  <handler name="on loss">
      -- lua code to undo stuff
    </handler>
 </trait>
</traits>
 

It'll allow for user defined traits, and we can add other trait based events as things progress.  I think I'll probably not have traits affecting stats by default.
Title: Re: Whore Master Editor 0.68
Post by: Lorde on July 03, 2010, 10:45:40 AM
Yeah, yeah. Probably use a syntax like this:

Code: [Select]
<traits>
 <trait name="foo">
  <handler name="on gain">
    -- lua code to do stuff
  </handler>
  <handler name="on loss">
      -- lua code to undo stuff
    </handler>
 </trait>
</traits>
 

It'll allow for user defined traits, and we can add other trait based events as things progress.  I think I'll probably not have traits affecting stats by default.

I Like this, A lot. Recalling my new trigger request, this would fill that out nicely.
Title: Re: Whore Master Editor 0.68
Post by: Solo761 on July 03, 2010, 04:51:11 PM
Well, the editor remained as is for some time now because I don't have free time to work on it anymore. I made it while I was unemployed so I had plenty of time to spend on it. I had no previous programming experience so I learned as I went along. Starting idea was just to have something that will help me create girl files, but since other people liked it I gradually added functionality to edit all resource files from the game. I filled info with what I knew to date and it mostly remained that way since.
Currently I simply don't have time to sift through forum to try to fill these blanks. Last few updates were just bare minimum for editor to be able to support new WM features as I don't have time for more.

But that's why I also post links to source of the editor, which I tried to comment as much as I could. If need be someone else can update it and make it support new stuff, or make tweaks like this. Although better option would be to simply make new editor as this one is pretty much hack job. At time I was thinking of rewriting from scratch myself, but since I got a job that it doesn't leave me much time, even at weekends or hollydays, that idea got scraped.

It will probably stay as is, I might only update if some major bug appears or some new functionality needs to be added, but as far old stuff goes it will stay as is.

Traits and their descriptions have been discussed few times. Editor doesn't store any trait descriptions, descriptions get read from their file the same as traits themselves because this way if some new traits get added editor would be able to use them too, no update would be necessary which wouldn't be the case if they were hardcoded in the editor. You can open traits file in editor, edit trait descriptions and they will be reflected in the editor.
Title: Re: Whore Master Editor 0.68
Post by: DocClox on July 03, 2010, 05:14:18 PM
I hadn't realised you were working. The same thing happened to me, so I do sympathise. The paying gig has to come first, obviously.
Title: Re: Whore Master Editor 0.68
Post by: Mehzerz on July 03, 2010, 06:00:33 PM
Traits and their descriptions have been discussed few times. Editor doesn't store any trait descriptions, descriptions get read from their file the same as traits themselves because this way if some new traits get added editor would be able to use them too, no update would be necessary which wouldn't be the case if they were hardcoded in the editor. You can open traits file in editor, edit trait descriptions and they will be reflected in the editor.


Good luck with the job! I hadn't realized the traits came straight from the source, so maybe instead of descriptions for the traits we just need the effects they give. (Similar to how items are handled) I mean do you really need a description for huge boobs or lesbian?
Title: Re: Whore Master Editor 0.68
Post by: Solo761 on July 05, 2010, 05:16:10 AM
Thanks, luck is really what I will need to stay sane at this job. To make irony bigger it is software testing job for the goverment, and "older" testers there are not that computer savvy as I would expect testers to be. Like in thinking it's a bug if they send value 9999999999 to 10 character integer field and it turnes out to be negative value... Well, gee, what did you expect, it said it's integer field, that means maximum value is 2^32 - 1...

Traits come from the CoreTraits.traits file. It's simple txt file, first row is trait name, second is description. I think you can edit/rewrite descriptions as you want, just trait names should stay the same.
Title: Re: Whore Master Editor 0.68
Post by: Dagoth on July 22, 2010, 04:19:34 AM
Sounds like loads of fun. :D


I suppose I'll go ahead and make minor updates to your WMEdit as needed when new config values are added and such. Any objections to me adding the source to SVN?
Title: Re: Whore Master Editor 0.68
Post by: DocClox on July 22, 2010, 04:45:31 AM
mmm ... that reminds me ... the XML trait conversion belongs on my shortened TODO list since I want to have lua hooks for the gaining and loss of traits. Probably be too much work to do much more than that, but I'd still like extendable traits
Title: Re: Whore Master Editor 0.68
Post by: Solo761 on July 24, 2010, 01:36:13 PM
Of course no, that's why I upload the sources for every version. Anyone can use it as he wishes.

But I doubt it'll make much sense code wise, I just used the first thing I managed to make work. It would probably be less work to make completely new editor than for someone else to figure out how to "fix" this one :).
Title: Re: Whore Master Editor 0.7.0
Post by: Dagoth on July 26, 2010, 02:50:45 AM
Here is WMEdit 0.7.0, which fixes a bug in 0.69 that cause a crash when trying to save a unique girls file ("*.girlsx"):
http://www.mediafire.com/?x44fjpbjox3avmu
Title: Re: Whore Master Editor 0.7.0
Post by: SadPerson on August 16, 2010, 09:05:44 AM
After downloading a few (gigabyte) of Girladdons I noticed that perhaps there should be two helper functions in the editor:
1. Show if a girl does not have an associated folder.
2. Show if a folder does not have an girl associated with it.
Title: Re: Whore Master Editor 0.68
Post by: zmikez on August 26, 2010, 03:54:01 AM
Thanks, luck is really what I will need to stay sane at this job. To make irony bigger it is software testing job for the goverment, and "older" testers there are not that computer savvy as I would expect testers to be. Like in thinking it's a bug if they send value 9999999999 to 10 character integer field and it turnes out to be negative value... Well, gee, what did you expect, it said it's integer field, that means maximum value is 2^32 - 1...

Traits come from the CoreTraits.traits file. It's simple txt file, first row is trait name, second is description. I think you can edit/rewrite descriptions as you want, just trait names should stay the same.

lol where did you sign up for that job at?

apparently experience or knowledge isn't really necessary so I'm guessing people who know the difference between byte, short, int, long, char, float, double, would be highly appreciated lol.

hehe (2^31 - 1), the first of the 32 bits starts at 1 so you have to take off a power from the 2 in order to make it stop at 2.1e9.

Meh, 4am, I g2g, lots of work to do  :'(
Title: Re: Whore Master Editor 0.7.1
Post by: Dagoth on December 20, 2010, 12:43:14 PM
Version 0.7.1 is now available to go along with changes in the WM 1.30.4 r593 release:
http://www.mediafire.com/file/ru6o6ivy055adw5/wmedit_0.7.1.zip

Note that you don't actually even need to download that separately if you download the latest version, as usual it is included:
http://pinkpetal.org/index.php?topic=417.msg11504#msg11504
Title: Re: Whore Master Editor 0.7.1
Post by: Razor75 on August 27, 2011, 05:46:46 PM
I have the latest version but it wont seem to make item files for me.  It renames the current one to .bak but never produces a new one.  I am using the 635 version of the game with anon21's fixes.
Title: Re: Whore Master Editor 0.7.1
Post by: Anon21 on August 27, 2011, 08:31:38 PM
I have the latest version but it wont seem to make item files for me.  It renames the current one to .bak but never produces a new one.  I am using the 635 version of the game with anon21's fixes.

Yeah, that would be my fault. :-P I suggest you try changing the spelling of Incorporeal (correct) into Incorporial (incorrect) if the items.itemx file.  Personally I prefer to just edit the file in notepad.
Title: Re: Whore Master Editor 0.7.1
Post by: Razor75 on August 28, 2011, 08:11:21 AM
Now that I know WHY it isn't working it isn't that big a deal.  I have some phantom items showing up and I was going to try to use the program to figure out where the problem was.  All good.
Title: Re: Whore Master Editor 0.7.1
Post by: NWN12 on September 07, 2011, 05:40:23 AM
Can we create our own trait
Title: Re: Whore Master Editor 0.7.1
Post by: Lafate on September 17, 2011, 12:08:26 PM
Can we create our own trait


Yes but it does absolutely nothing.
Title: Re: Whore Master Editor 0.7.1
Post by: Sigfried666 on December 28, 2011, 07:59:00 PM
So, whenever I attempt to save a new item.itemsx file, the editor creates no file. It even ends up erasing a original fila if I try to overwrite (or turns it into the .bak file)
what am I doing wrong?
Title: Re: Whore Master Editor 0.7.1
Post by: fires_flair on December 29, 2011, 06:11:20 PM
have you tried changing the file name when you save, 'cause otherwise nothing wrong is happening
Title: Re: Whore Master Editor 0.7.1
Post by: Sigfried666 on December 30, 2011, 07:26:45 AM
Figured it out. Duh. It was me failing to understand the diferences between EX and normal Whore Masters.
Title: Re: Whore Master Editor 0.7.1
Post by: blue_rider22 on March 05, 2012, 12:28:36 AM
Question, in the item editor, it has a way to give a specific item only by a scripted event, but there doesn't seem to be anyway to give a specific item in the script editor. Has this just not been implemented yet? I hope not, a Fi girlpack just wouldn't be the same without the ability to attach a mastersword to meeting her.
Title: Re: Whore Master Editor 0.7.1
Post by: hellgate2 on April 08, 2012, 10:19:35 PM
so does item editor not work with EX, or am i missing something like usal
Title: Re: Whore Master Editor 0.7.1
Post by: GonDra on April 08, 2012, 11:00:42 PM
so does item editor not work with EX, or am i missing something like usal

Did you try the editor in the Ex installation directory? Check the "Docs&Tools" folder, I am pretty sure that there were some bugs with it but for those you will need to check the specific threads.
Title: Re: Whore Master Editor 0.7.1
Post by: Aika on April 09, 2012, 02:55:22 AM
What language is this coded in? Visual studio 2010 Express C++ won't open the project file.
Title: Re: Whore Master Editor 0.7.1
Post by: GonDra on April 09, 2012, 01:34:23 PM
The Editor is written in C#. (source files are .cs)
Title: Re: Whore Master Editor 0.7.1
Post by: hellgate2 on April 10, 2012, 10:49:58 PM
(or turns it into the .bak file)
when i save file without changing the name, it turn into a .bak file. so i removed the .bak on file name and all changes are lost.
i'm doing this with WM ex
Title: Re: Whore Master Editor 0.7.1
Post by: fires_flair on April 10, 2012, 10:51:28 PM
the original file is the .bak. the other file, without the .bak is the version with the changes
Title: Re: Whore Master Editor 0.7.1
Post by: hellgate2 on April 10, 2012, 11:08:19 PM
Items.itemsx is the origanal file and when i save changes into Itemstemsx.bak which the game won't load. i'm trying this on WM EX
Title: Re: Whore Master Editor 0.7.1
Post by: fires_flair on April 11, 2012, 12:08:34 AM
There is still an Items.itemsx file. the .bak file is the back up file created just in case you make a mistake.
Title: Re: Whore Master Editor 0.7.1
Post by: hellgate2 on April 11, 2012, 11:20:23 PM
i feel like a dumbass. i forgot i moved hte item file that i was loading changes into and saving bak files to origanal file ;D
Title: Re: Whore Master Editor 0.7.1
Post by: dom76210 on August 11, 2012, 10:18:21 AM
The 0.7.1 link is no longer valid.  Is this a dead item, or is it that we should use the 0.6.8 one?
Title: Re: Whore Master Editor 0.7.1
Post by: alfalfa140 on August 12, 2012, 12:56:59 AM
If you download R635 or crazy's mod the editor comes with them in the docs and tools folder.
Title: Re: Whore Master Editor 0.7.1
Post by: Barinthus on February 17, 2013, 12:54:19 AM
The link in the first post for 0.7.1 version isn't working.  Is there some other way of getting this?  Thanks
Title: Re: Whore Master Editor 0.7.1
Post by: Xela on February 17, 2013, 03:14:08 AM
The link in the first post for 0.7.1 version isn't working.  Is there some other way of getting this?  Thanks

This is being downloaded with the official version and properly works for it only.
Title: Re: Whore Master Editor 0.7.1
Post by: Barinthus on February 18, 2013, 10:15:24 PM
Oh I must have overlooked it, will double check.
Title: Re: Whore Master Editor 0.7.1
Post by: Nextt on April 05, 2014, 04:15:32 PM

Oto WMEdit 0.7.1:
http://www.mediafire.com/file/ru6o6ivy055adw5/wmedit_0.7.1.zip


Link wygasł należy ponownie przesłać
Title: Whore Master Editor 0.8.0
Post by: aevojoey on July 01, 2014, 11:44:11 AM
I am updating the Whore Master Editor to be 0.8.0

The thread for it is here - http://www.pinkpetal.org/index.php?topic=3456.0 (http://www.pinkpetal.org/index.php?topic=3456.0)
Title: Re: Whore Master Editor 0.7.1
Post by: visitor_81 on October 28, 2014, 04:58:24 PM
1) When editing traits, extra check is needed. When adding trait already existing in list its needed to update new value to existing trait, not to add double.
2) By pressing "remove" button in traits editor area it is expected removal of trait selected in list. It'll be better to imply such behavior.

Thanks for work.
Title: Re: Whore Master Editor 0.7.1
Post by: dylanrivers10000 on November 19, 2018, 03:34:50 PM
i am 4 years late to the party is this project dead, and if i want to install where, the links are dead
Title: Re: Whore Master Editor 0.7.1
Post by: aevojoey on November 19, 2018, 10:03:17 PM
i am 4 years late to the party is this project dead, and if i want to install where, the links are dead
The version in this thread is dead. The newer version is here: Whore Master Editor 0.8.32 (https://www.pinkpetal.org/index.php?topic=3456.0)

See Updates and Notes for Crazy's Mod --- Current Version .06.03.07 (https://www.pinkpetal.org/index.php?topic=3446.msg27861#msg27861) for the game and latest info.
The editor is included with the game in both the download and the source code.