Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: zodiac44 on December 26, 2009, 05:34:34 PM

Title: How to add girls
Post by: zodiac44 on December 26, 2009, 05:34:34 PM
A sticky would be good, especially since .girls file support will eventually disappear from the game, and we will need some way of letting people know how to update old packs to the newer format.  I'll start a guide here; everyone feel free to chime in on things I may have missed or ways in which it can be improved.  I would really like input from new players, too: this will be for your benefit, if you can't follow it, I need to fix whatever is unclear.

How to add the girls from girl packs to Whore Master

1.  Download any girl packs you are interested in, links are located in the User mods section of the forum.

2.  Unzip/unrar the packs.

3.  Copy the folders with character names to the directory [Whore Master's root directory]\Resources\Characters\

4a.  If the pack contains a .girlsx file or files, copy those to [Whore Master's root directory]\Resources\Characters\

4b.  If the pack contains a .girls file or files, or does not contain either a .girls or .girlsx file, see the section "How to update character packs to the new format."  Copy the newly created .girlsx file(s) into [Whore Master's root directory]\Resources\Characters\

5.  You're done!  Enjoy the game.

Note: for random girl packs, substitute ".rgirls" or ".rgirlsx" for ".girls" and ".girlsx," respectively.


How to update character packs to the new format

1.  Download the latest Whore Master editor (found here (http://pinkpetal.org/index.php?topic=47.0)).

2.  Unzip the file and copy WMEdit.exe to [Whore Master's root directory]

3a.  If you have a .girls file, run the editor.  Switch to the "Girl Data" tab and click "Load Girls" on the right hand side.  Open the .girls file that came with the pack (repeat this process if there are multiple .girls files included in the pack; a list of girls included in the pack should appear in the pane) and then click "Save" on the lower right.  Enter a name for the file in the file name field (make sure it is unique, or you will overwrite another girl pack), and make sure the "Save as type" field has "Whore Master XML girls file" selected.  Save the file in the [Whore Master's root directory]\Resources\Characters\ directory.

3b.  If you do not have a .girls file, check to see if there are any .txt files included in the pack (some may have put them in the girls' folders).  Open the text file(s) and identify those which have entries that look like this:

Henrietta
Henrietta was the queen of a foreign land during a period of war. Her country lost, and was forced to free undercover to Crossgate. Old friend of Louise.
8
Big Boobs
Elegant
Great Figure
Great Arse
Meek
Dependant
Charismatic
Long Legs
0
50 100 15 45 70 30 0 50 0 0 0 0 0 20 50 30 60 0 100 0 0 0
0 10 0 0 0 0 15 15 0 5
1000
0

They may have multiple entries or they may have only one.  For each such file, rename the file "<file name>.girls" (replacing the .txt extension with .girls).  Follow step 3a from here.

3c.  If the pack contains neither .girlsx, .girls, or .txt files, then it probably is an update to existing characters.  Compare the names of the girls in the pack with the girls in your [Whore Master's root directory]\Resources\Characters\ directory to see if you have any matches.  If you do, then you probably can overwrite the contents of the existing folder with the new one.  Check the images in each folder to confirm that they of the same character before overwriting.



What do I do if I have two characters with the same name from different girl packs?

1.  Examine the images in each character's folder to see if thecharacters are the same or are different but share a common name.

2a.  If they are different characters, rename at least one of the girls' folders (I typically append the series or game the character comes from to the end).  Open the corresponding .girlsx file in the Whore Master editor (instructions are in "How to update character packs to the new format").  Locate the girl in question in the list and edit the "Girl Name" field to be the same as the name of the folder.  Click "Update selected" and then save the file, overwriting the .girlsx file.

2b.  If they are the same character, you have multiple choices available to you:
You don't have to choose only one girls entry in a .girlsx file, but if you leave multiple entries you may end up with multiple copies of the girl in your game.
Title: Re: How to add girls
Post by: DocClox on December 28, 2009, 05:11:57 PM
OK. I've stickied this. Or would it be better to start a new thread with the useful info at the top?
Title: Re: How to add girls
Post by: zodiac44 on December 28, 2009, 06:21:09 PM
Make a new thread.  The relevant information could get lost if it isn't at the top of the thread.
Title: Re: How to add girls
Post by: Solo761 on December 29, 2009, 12:06:25 PM
Now better? :)
Title: Re: How to add girls
Post by: zodiac44 on December 29, 2009, 12:31:56 PM
Yup.  How's the write up I did?  Does it need any changes/additions/subtractions?
Title: Re: How to add girls
Post by: Solo761 on December 29, 2009, 05:07:20 PM
I don't think so, I've read it few days ago and it looked fine. Although I don't have experience with custom girls, so far I didn't DL any of the packs :).
Title: Re: How to add girls
Post by: delta224 on December 29, 2009, 06:59:54 PM
Looks good, as someone who has over a gig in girl add-ons this is basically what I do.

Also as someone who has multiple installs scattered all over for testing purposes, I have instructions to have all installations point to a common directory for the girl files and images for Windows Vista and 7 if any one wants it.
Title: Re: How to add girls
Post by: zodiac44 on December 29, 2009, 10:14:03 PM
I'm interested; it would save many GB of disk space to not have to have multiple copies of all my girls.
Title: Re: How to add girls
Post by: delta224 on December 29, 2009, 10:42:14 PM
In an install that has no character folder in the resource folder, you open up a command prompt in the resource folder by shift-right click, and type mklink Characters "where ever you have the character directory you want to point to" /D enter.

I have to go at the moment will clarify later if does not work.

[edit]
clearer instructions for a fresh install.
1. Install as normal.
2. Delete the character folder in the fresh install.
3. In the resources folder open the command prompt by shift-right click.
4. Type mklink<space>Characters<space><path to the massive character directory>/D
the <space> is just hitting the space bar.  The path should be an absolute path so it should look something like c:\users\$username\games\whoremaster\resources\characters not ..\whoremaster\characters

Title: Re: How to add girls
Post by: DocClox on December 30, 2009, 04:58:41 AM
This, of course, would be where an override directory controlled by the config file would pay dividends. Keep overrides for different setups and edit the config file to switch between them.

Better yet, set it up so we can specify the config on the command line, and then create shortcuts for each configuration.

Tempting ...
Title: Re: How to add girls
Post by: Solo761 on December 30, 2009, 04:16:33 PM
Hmmm, do we have documented all the features (and their values) that can be set with config file?

I'm thinking that I could add config tab to the editor. That way those features could be edited somewhat easier. Of course that option could be added to the game menu itself, but adding it to the editor would definitely be easier adding that to the game (and one less thing that can be broken within the game :) ).
Title: Re: How to add girls
Post by: DocClox on December 30, 2009, 04:28:09 PM
Hmmm, do we have documented all the features (and their values) that can be set with config file?

I'm thinking that I could add config tab to the editor. That way those features could be edited somewhat easier. Of course that option could be added to the game menu itself, but adding it to the editor would definitely be easier adding that to the game (and one less thing that can be broken within the game :) ).

Not as yet, but I can generate some easy enough. I think sections of it are fairly well documented in the comments, probably I just need to review what's there and add sections for some of the newer stuff.

Mind, it's apt to be a bit of a moving target for a while.
Title: Re: How to add girls
Post by: Solo761 on December 30, 2009, 04:32:35 PM
Mind, it's apt to be a bit of a moving target for a while.

That's exactly why I think that currently it's better to add config edit function to editor instead of the game :). When config is settled that can be moved to the game itself.
Title: Re: How to add girls
Post by: DocClox on December 30, 2009, 04:43:18 PM
Good point.

We'll do that, then :)
Title: Re: How to add girls
Post by: reapermaan0 on April 19, 2010, 09:10:22 AM
copy and paste this file to resources\data for it to work. 
Title: Re: How to add girls
Post by: turken on June 09, 2010, 08:53:42 PM
Zup! A question i got to ask.

Quote
Note: for random girl packs, substitute ".rgirls" or ".rgirlsx" for   ".girls" and ".girlsx," respectively.

Those this mean to change:

.rgirls  INTO  .girls
and
.rgirlx  INTO  .girlsx

OR those it mean:
.rgirls  INTO  .rgirlsx

??
Title: Re: How to add girls
Post by: Dagoth on June 10, 2010, 02:15:18 AM
The new format files are ".girlsx" for unique girls and ".rgirlsx" for random girls. At this point, there's no reason to bother with making new ".girls" and ".rgirls" files.
Title: Re: How to add girls
Post by: Solo761 on June 10, 2010, 11:03:33 AM
And additionally, latest editor version can't save to girls/rgirls files, only "x" versions. It can still load old girls/rgirls files though.
Title: Re: How to add girls
Post by: turken on June 11, 2010, 09:52:37 AM
Thx for answer, though it might be a bit late/old, the main post should be changed from:
Quote
Note: for random girl packs, substitute ".rgirls" or ".rgirlsx" for     ".girls" and ".girlsx," respectively.


To:
Quote
Note: for random girl packs, substitute ".rgirls" for ".rgirlsx"
or
Quote
Note: for random girl packs, substitute ".rgirls" or ".girls" for     ".rgirlsx" and ".girlsx," respectively.


The current way its written would mean to make .rgirls/x into regular .girls/x.
Title: Re: How to add girls
Post by: kaiokami on October 22, 2011, 12:12:36 AM
My computer wont let me unrar the files, instead when I double click on it it just opens up whore master or nothing at all
Title: Re: How to add girls
Post by: fires_flair on October 22, 2011, 06:18:31 PM
what exacly are you doing? have you already unpacked the girl pack? what is the file type of the file you are trying to open?
trying to open a .girlsx file would not cause WM to open, nor would an .zip/.rar/etc.
Title: Re: How to add girls
Post by: kaiokami on October 22, 2011, 06:38:03 PM
I downloaded the rar file, and when i click on it, it opens wm but nothing happens. it wont even open up the file to unzip it  :( :'(
Title: Re: How to add girls
Post by: fires_flair on October 22, 2011, 06:42:23 PM
right click on the file then select your program and tell it to unzip. I have no clue as to why it would open WM. when ever I try to open rar files I'm asked to select a program to use.
Title: Re: How to add girls
Post by: kaiokami on October 22, 2011, 07:49:22 PM
Yeah i got the same thing, so i thought that selecting WM as its source would do it... but noooo it wants to be difficult
Title: Re: How to add girls
Post by: Augury on October 27, 2011, 12:08:21 PM
I seem to be having trouble whenever I attempt to add extra unique girls to the game.  Whenever I try to run with them,  I get the message
 "loading .\Resources\Characters\(Girl name).girlsx as XML"
"Girl has no script trigger file: .\Resources\Characters\(Girl name)\trigger.xml"

I attempted to run the game after copying the trigger.xml from Cammy White/Chun-Li's folder into each of the other girls' folders.  After doing that, running the game shows none of those error lines in the window, but I am not sure that is the proper fix for this problem.  Also, in the same test, after getting through the .girlsx files, the game hangs while loading the first .rgirlsx file.

I didn't tamper with the files directly, though I did edit some of the girls' values with WMEdit.  None of the values I had changed should be causing these problems, as I had simply added/removed traits from some girls and changed some of their base stats.
Title: Re: How to add girls
Post by: fires_flair on October 27, 2011, 01:48:59 PM
that's not an error.... really truthfully it's not. it's just saying that they have no unique trigger and will use the default trigger.
Title: Re: How to add girls
Post by: Augury on October 27, 2011, 03:06:52 PM
Ah, alright.  The only reason I thought it might be a problem is because the game hangs and ends up not responding when I try to create a Brothel name. 

Not sure what might cause this though.  Can editing some config values in WMEdit cause the game to not be able to run properly?
Title: Re: How to add girls
Post by: F-Trill on December 07, 2012, 01:54:29 AM
I haven't seen a lot of activity here of late, so I'm hoping this question will get answered...

In attempting to load a .girlsx file, I get an XML error message that reads:


Quote
Data at the root level is invalid. Line 4, position 1




Is there any way that I can fix this error from my end?


Can I tell you how STUPID I feel right now?  I wasn't counting the lines right.  Amazing how a single overlooked period can screw things up.


Sorry about that.   :-[
Title: Re: How to add girls
Post by: PinkPervert on December 13, 2012, 07:36:25 PM
Hey, dont feel dumb, at least you found the error. I spend more time fixing my errors than I do programming.. trust me.
Title: Re: How to add girls
Post by: brad on April 11, 2013, 03:58:58 AM
So if some girls are appearing in-game but without any pictures to accompany, is that a mistake in my folder structure or a misspelling in the .girlsx file somewhere? :)
Title: Re: How to add girls
Post by: DarkTl on April 11, 2013, 10:26:15 AM
if some girls are appearing in-game but without any pictures to accompany
It's most likely a typo either in the picture's folder name or inside girlsx.
Title: Re: How to add girls
Post by: hewhocumsbynight on April 11, 2013, 10:39:41 AM
It's most likely a typo either in the picture's folder name or inside girlsx.

Or it means that you don't have a corresponding folder.  Which means:  Get to work putting one together, or download one of the lovely packs floating around.
Title: Re: How to add girls
Post by: brad on April 12, 2013, 04:15:35 AM
Haha thanks guys :) i will start trawling through my packs and find the problem :/
Title: Re: How to add girls
Post by: evilmonk on July 07, 2013, 02:55:24 AM
My game hangs up and closes upon starting a new game. Is this a matter of adding too many girls to it or is there some sort of issue I can fix?  It only gives me an error as an Appcrash, and it loads fine without adding any girls
Title: Re: How to add girls
Post by: fires_flair on July 07, 2013, 03:40:12 AM
It's not a girl issue. Make sure that your game screen is either set to windowed mode or it fits your resolution.
It's in the file ScreenMode
and reads something like this
Quote
// First line is the width and height dimensions, second line is true or false for fullscreen
1366 768
true
Title: Re: How to add girls
Post by: dragonshaun9 on June 10, 2014, 06:35:00 PM
Quick question:
I downloaded....a lot of girl packs to get me started again, and placed them correctly. I'm getting the 'no trigger script' message as stated earlier in the thread, and the game locks up, becomes unresponsive. Help?
Title: Re: How to add girls
Post by: aevojoey on June 10, 2014, 07:06:01 PM
Quick question:
I downloaded....a lot of girl packs to get me started again, and placed them correctly. I'm getting the 'no trigger script' message as stated earlier in the thread, and the game locks up, becomes unresponsive. Help?
The "Girl has no script trigger file: " should not be the cause of your problem.

It seems some of the older girl packs have corrupt ".ani" files or typos in the ".girlsx" files that can cause crashes.
Try moving all of the folders in the .\Resources\Characters somewhere else and run the game with no images.
If it does not crash, then the problem is in one of them, you will have to go through all your image folders.

One other cause of crashing, not enough of a specific type of random girls, was fixed in .05p,
If you are using an older version, update to the newest version.
Title: Re: How to add girls
Post by: dragonshaun9 on June 10, 2014, 10:44:20 PM
it does let the game load now......but when i checked all my image folders i saw no '.ani' files. i tried separating the characters into individual .girlsx files, using a small test number, but it still crashes with them. so....start from scratch then? write new .girlsx files?
Title: Re: How to add girls
Post by: aevojoey on June 11, 2014, 10:35:48 AM
it does let the game load now......but when i checked all my image folders i saw no '.ani' files. i tried separating the characters into individual .girlsx files, using a small test number, but it still crashes with them. so....start from scratch then? write new .girlsx files?
No need to write all new girlsx files, if you look at them in a text editor, the most common errors are:
 - This must be the first line of the file:   "<?xml version="1.0" encoding="utf-8"?>"
 - Missing closing brackets:   look for "<girls " or "</girls " these require the closing brackets directly after so change them to "<girls>" or "</girls>"
 - Missing "</Girl>" at the end of the individual girl.
 - Anything after </Girls> should be removed.


If you want me to look at your savegame follow the Crash report steps:
1. delete gamelog.txt,
2. run the game till it crashes,
3. zip gamelog and savegame into one file and
4. attach it to your crash report
Title: Re: How to add girls
Post by: dragonshaun9 on June 13, 2014, 02:00:40 AM
i checked my folders again after reviewing a gamelog. there was indeed a set of .ani files. thanks for the tips.
Title: Re: How to add girls
Post by: aevojoey on June 13, 2014, 08:34:25 AM
i checked my folders again after reviewing a gamelog. there was indeed a set of .ani files. thanks for the tips.
So others know what to look for, In what girl's folder did you find the problem files?
Title: Re: How to add girls
Post by: Chaz on August 08, 2015, 08:15:51 PM
I'm working on a batch of new girls, and I'm coming across a peculiar problem. The "Death / Attacked" images don't appear in the gallery for all the girls. Everything else is fine, but for some reason those don't for all of them. I can't figure it out.


I assumed it was either the jpegs or the file names, but it isn't. If I swap the Death.jpgs between a girl for which they work and a girl for which they don't, the girl for which they work will display the other girl's Death.jpgs just fine.


I also tried swapping a non-working girl's data in the girlsx file for Desc and everything below it with that of a working girl. No dice.


Any ideas?
Title: Re: How to add girls
Post by: aevojoey on August 09, 2015, 09:57:08 AM
I'm working on a batch of new girls, and I'm coming across a peculiar problem. The "Death / Attacked" images don't appear in the gallery for all the girls. Everything else is fine, but for some reason those don't for all of them. I can't figure it out.
I assumed it was either the jpegs or the file names, but it isn't. If I swap the Death.jpgs between a girl for which they work and a girl for which they don't, the girl for which they work will display the other girl's Death.jpgs just fine.
I also tried swapping a non-working girl's data in the girlsx file for Desc and everything below it with that of a working girl. No dice.
Any ideas?
Can you zip up the non-working folder and upload it somewhere so I can test it?
Title: Re: How to add girls
Post by: Chaz on August 09, 2015, 01:33:02 PM
Can you zip up the non-working folder and upload it somewhere so I can test it?


Sorry: I decided to check it in the latest version (the last most recent version I haven't been using because it crashed) and find that it works perfectly fine in this one. So whatever the issue was in my older version, you've fixed it already. Thanks!
Title: Re: How to add girls
Post by: Applesauce on July 27, 2016, 03:56:06 PM
Is there a list of all image types somewhere? (strip, bunny, etc)
Or of all file formats? gif/jpeg/png seem to be supported but I saw webm in one girl pack. (Though I think they crash the game)
Title: Re: How to add girls
Post by: dmotrl on July 27, 2016, 08:29:17 PM
Is there a list of all image types somewhere? (strip, bunny, etc)
Or of all file formats? gif/jpeg/png seem to be supported but I saw webm in one girl pack. (Though I think they crash the game)
Dunno about the formats, but below is a link to the image types (at least for Crazy's Mod; the base game, if anyone still has it, is much more restricted).

http://www.pinkpetal.org/index.php?topic=3446.msg27877#msg27877
Title: Re: How to add girls
Post by: MontyPython85 on January 17, 2017, 06:23:17 PM
Quick question RE: girlsx / rgirlsx files...

How do i set where a girl is allowed to appear (Town, Catacombs, Slave Market, etc...). Also, is there a complete list of locations where girls can be generated via their girlsx files? Thanks!
Title: Re: How to add girls
Post by: Dabanisher on January 17, 2017, 08:03:00 PM
you set them in the character/item editor also you have to load teh file you want to edit but be careful you can put all the girls file in one girslx file  or you can do them seperately(i prefer this)
its in Doc&tools at the top of the wm file
Title: Re: How to add girls
Post by: MontyPython85 on January 17, 2017, 09:42:47 PM
Thanks for the reply, but I was looking more code wise, so far it seems that locations (that i know) where girls can be placed are when you set the girl's status in the girlsx file. For example, Normal (Town), Catacombs, Slave (Slave Market), Arena (Not sure about this one...)

Aside from what i've mentioned, where else (location wise) can we set the girls to appear? Thanks
Title: Re: How to add girls
Post by: aevojoey on January 17, 2017, 11:23:33 PM
Thanks for the reply, but I was looking more code wise, so far it seems that locations (that i know) where girls can be placed are when you set the girl's status in the girlsx file. For example, Normal (Town), Catacombs, Slave (Slave Market), Arena (Not sure about this one...)

Aside from what i've mentioned, where else (location wise) can we set the girls to appear? Thanks
Currently those are the only areas, Normal (Town), Catacombs, Slave (Slave Market) and Arena.
 
Title: Re: How to add girls
Post by: MontyPython85 on January 18, 2017, 12:11:50 AM
Ah, I see. Thanks aevojoey and dabanisher for your replies.

Also, are there any plans to add to those areas anytime in the future updates?
Title: Re: How to add girls
Post by: Dabanisher on January 18, 2017, 12:49:53 AM
ive been meaning to ask you aev how does one script :3

Title: Re: How to add girls
Post by: MuteDay on January 18, 2017, 02:50:31 AM
ive been meaning to ask you aev how does one script :3






use the script editor in the Doc&Tools/Scripts/ folder in your game folder
Title: Re: How to add girls
Post by: aevojoey on January 18, 2017, 11:58:43 AM
ive been meaning to ask you aev how does one script :3
I have not actually created a script from scratch, I have only edited existing ones.
I have not done much work on updating script creation in a while but I did make the game save and load xml .scriptx files.
If the game does not see one of the 2 file types (.script or .scriptx), it makes the missing one when it runs the other.

The best way is to use the old editor to get started with the basic flow.
Once you have a basic events tree, run the script in the game so the .script gets converted to .scriptx
Edit the .scriptx to edit texts.
Delete the .script file and run the script in the game to convert the .scriptx back to .script file.

If you are making a rare use script, rename the DefaultInteractDetails.script(x) files and name your new files DefaultInteractDetails.script(x) so you can test it from the girl interact button.
Title: Re: How to add girls
Post by: Dabanisher on January 18, 2017, 06:02:59 PM
much apreciated on teh description cus when i saw it i was like  :o  fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu-
Title: Re: How to add girls
Post by: MontyPython85 on January 22, 2017, 07:16:26 PM
Hi All. Question: If i have a girlsx (meaning unique girl) file with her own associated folder, and I want the girl to have a specific different name (in game) from the name on her folder... how do i go about setting it in the girlsx file? Thanks!

From what i understand, the file uses GirlName to select the appropriate folder... which is also the name that appears in game. What i'd like is the name being different, but still get the pics from the correct folder. Is there some way to set it in file?
Title: Re: How to add girls
Post by: Dabanisher on January 23, 2017, 10:04:39 PM
you set the girls file you want to name then set it to the name you want
for example: i want Tracer to have her actual name so i set the file with pics to be lena oxten then i set the girlsx file to her name lena oxten
Title: Re: How to add girls
Post by: MontyPython85 on January 27, 2017, 07:34:27 PM
Hi, sorry for replying late... I've been kinda busy.

So, just getting things straight... What you say is that the only way for me to use the name i want, is to actually rename the folder the girlsx file is associated with, because that's the name that'll appear in game? Please correct if wrong. Thanks :)
Title: Re: How to add girls
Post by: Dabanisher on January 27, 2017, 09:15:00 PM
you're completely




...correct
Title: Re: How to add girls
Post by: Nighteye on March 10, 2017, 06:15:10 AM
Is it possible to have a specific types of random girl to show up in a specific area? i.e. a Broken Slave rgirl will only appear in the market and a Bandit rgirl will only appear in the catacombs?

Also is it possible to give rgirls their own meet script?
Title: Re: How to add girls
Post by: CaptC on March 10, 2017, 09:11:13 AM
Yes, girls can get there own meet script. There are no instructions anywhere that I have found... I have followed examples and have made a few scripts.


Rgirls can be picked to only be in certain areas, but it is on a girl by girl basis.
Title: Re: How to add girls
Post by: Nighteye on March 10, 2017, 12:08:45 PM
On regards to the 2nd half of your answer, what do you by girl-by-girl basis?
And does that mean I can add a Status=Normal/Slave/Catacombs/Arena line in an rgirlsx file to have that specific rgirl to appear in the area I want?
Title: Re: How to add girls
Post by: CaptC on March 10, 2017, 03:41:49 PM
Am I misremembering? I thought the tool let you specify that.
Title: Re: How to add girls
Post by: Nighteye on March 13, 2017, 11:15:24 AM
Sorry for not answering sooner, got busy the last couple of days.

Anyway, no, the editor doesn't allow you to pick where they can only appear. There's only a tick box that decides whether or not the rgirl template can appear in the catacombs.

Also is there a way to take a unique girl out of the game? As in, if she leaves your group you never be able to recruit her again. I notice that no matter how many times I fired a girl she can show up again when I walk around town.
Title: Re: How to add girls
Post by: Dabanisher on March 14, 2017, 01:50:50 AM
its right above the traits its a drop down and lists all the places its normal girl by default tho
Title: Re: How to add girls
Post by: GigaQuad85 on October 23, 2020, 09:36:07 PM
If you have a later version of the game It comes with a file that lists many of the traits of each config file (.girlx, .rgirlx, .itemsx) type.  It's in TXT format but gives a blank XML styled setup at the top for you to build on, with instructions for what to put in.  In this file, there is a Catacombs="Yes\No" value, and an Arena="Yes\No" value.  This value is also present in the .rgirlsx version, but the .rgirlsx version has a different style list than the girlsx file.  I wouldn't bet the farm on it, but you could use this as an initial framework, and build your girl's traits that way, by copy paste and find\replace.  I've done this in Notepad++ and it works fine.  I've also used the latest WMEditor to do similar and then make edits in Notepad++.  It's worked well enough.  If you put a girl in the Catacombs, but nowhere else, she probably won't show up anywhere else.  If you want her to show up in Clinic, put in Clinic="Yes", arena, same, etc.
I've also used a txt-file joiner to take an entire list of girls and make one file for editing in WMEditor.  It works fine so long as you use the root shells only once, so you do have to remove the repeated root object calls for <Girls> so there's just one.  But each girl opens with a <Girl> Key, so leave this in place.  Now they all get loaded into WMEdit with one load command.  If you have 82 girls you want to whittle down to just a few, it works well.  If you want those girls to be repetitive in the game, I'm guessing it will allow multiple declarations of a girl in a girl file, provided the names aren't the same.  IF you do this with .girlsx files, you could separate them with a middle initial, and put in as many as you want for a particular girl, even alternate versions of her.  Then you store it all in the same .girlsx file, which needs only one folder of images.  You can then get many girls with only a few image folders.  I'm about to try this, to see how resilient the XML parser in the game really is.  If all the girls get loaded, it's a nice little harem.  I already know this works with items that have multiple versions, but the same name, as several items have varied effects and the same item file and name, but the effect shows up with different values.  Should work with girls too, but we'll see.
As for removing girls... ...This is kind of difficult.  You'd have to rewrite the XML parser to pickup a value for how common the girl is either from the girlsx file or a config file with her girlsx filename as the list item that shows up when you take a walk or use girl-search event.  That's a lot of code to insert, and it would have to be updated every time you start the game to update your Config file with the list of girlsx files and their percentages.  If a set of files is removed, it should be removed from the config file.  Then you have to run the test every time you do a random girl or girl-find event.  If somebody has the code and the experience, by all means, go ahead.  It would be an interesting balancer to the game, but it would require more parsing of the data, and it would require rewriting the WMEditor to match so girls could be updated.
Also, as a side note, I've created many symlinks to the image folders, given them new names, then created copies of the girl files and given them the same name, only to find that this works perfectly to add copies of some girls to the game quickly.  I do this with a symlink shell extention that puts it in the context menu, so I can create several at once.  Though, I don't know if that would work with girlsx files, as the extentions could prove problematic.  I may try it later, but for now, I'll be copy\pasting another girl data set into the same girlsx file and adding a middle initial or middle name adjustment to see if they show up.  If they do, I can multiply girls in multiples.  Create a girl file with many versions of the girl, dupe it with a different file name again and again, then symlink the image folders and voila.  In theory I could get hundreds of girls in one file, multiplied by the number of dupes and symlinks I create, all without taking up much extra space, and without needing randomgirlsx files, though, in theory, I could do the same with those and create versions of each for each event location.
Title: Re: How to add girls
Post by: GigaQuad85 on November 16, 2020, 01:57:41 AM
So here's an update... ...Using Notepad++, and a host of other tools I tried my initial tests with the girlsx files.  I was able to get girls to show up multiple times in the game, hundreds of times... ..even thousands, to the point that it was just ridiculous.  However, after trolling around these forums and some other girl files, I was able to pick up a few more pieces of info.  In the original girlsx files, you need to give the girl the name of the folder of images.  In the other rgirlsx files, the file name is irrelevant, but the name of the girl designed in the file must match that of the original folder of images you will use.  That means that you can streamline the "random" girls so that you have hundreds of variations in a single file, meant to describe a set for a certain location, and name the file accordingly, so you know which sets are which.  This is great because it will allow you to create multiple versions of each girl for all kinds of situations.  You can add traits to the original girls for actual people that match who they are in real life, while the randomized clones of them get a few different traits.  This really allows me to play with the personalities a bit, so your singers and movie stars can perform in porn movies, or recruit for you, while the stars of action films and fights all take on the arena.  Country girls hit the farm, or dance on the bars, singing, the drama girls do the clinic and counseling thing, and the rest just help the porn crews on set or promote... ...and you can really mix it up based on your images.
For the random girls, I keep them in the dungeon until I need them, and put them in brothels doing the menial labor, or doing the clients, whichever I think they'll fit with.


I also found that there is a "status" key in the girlsx files that tells where the girl is found commonly.  You can multiply the chances of getting her in a specific location with: Studio, Clinic, Arena, Catacombs, Slave, or Normal.  I haven't tried the suggested "Crossgate" yet, but I'm pretty sure it goes with Normal instead.  There's a similar aspect in the rgirlsx files, but you can look that one up on your own.  Ultimately, I like creating a slight difference in the properties of the girls for the different locations, so that they take on the flavor of where you find them.  Then I multiply that inside Notepad++ by repeating a copy paste many times, then I do it again and mess with the properties so that she still has the same place, but different job targets for the location.  Ultimately, it's been fun to edit the properties this way, but it takes so long to edit this way that I've taken to using the game editor with a bunch of copies of the one girl in a file, then I play with the traits of each one, export them back to a single file, fix the status property for a few of them, then copypaste with a macro in notepad++ for multiple copies of each girl, all in order, and I then go back into the game item-girl editor to make the changes in the traits.  After that, I just run the macro again in an auto mode to get hundreds of copies of the girl into a single file, which defines her as a set of those, and she will randomly show in the game with different sets of properties that vary her usefulness a bit.  This gives a more populated game, and makes it more intensive on the part of the player to chose the right operations for her to perform in a given location.  It would be great if we could "walk" or "Hunt" several times, using the interaction count perhaps, but without any definitive development of the game at this point in time, that probably won't happen.  So... ...I've taken to using the addrandom in the scripts instead of AddTargetGirl, as it allows you to loop the script back to the beginning for another run through.  Then I put in one last chance at the end of the script to pick up the girl the script is attached to, mainly because this operation can only be done one time in the script, and if you have already done it, the script may malfunction if you try to add any girl or girls.  This has caused crashes, sometimes just a loss of all the girls in the current building, and occasionally, odd behaviors in the script.


I'm also building better scripts that allow you to not only get one girl, but get several randomized girls as you loop around.  Here's a tip:  When using the script editor, you may only use AddTargetGirl one time in the entire script.  When you do a walk action or a hunt for girls etc, the trigger already attaches the normal girl.  However, if you intend to loop around the script until a final action, you can swap the AddTargetGirl for AddRandomGirlToDungeon instead.  This results in random girls instead of the normal ones, but does build up your harem quickly.  If you want to run scripts repeatedly, I suppose you could set the trigger so that there are several runs of every script that rely on a global variable to be set for the trigger to turn off.  That would allow you to repeat through several scripts with the global variable set for the particular script you wish to run through, but I haven't tried that yet.  I have been able to get the standard scripts to tell a few more colorful stories though. 
I have one script I'm building for the farmhouse area, if I can get the button to work, focusing on finding a new dimensional gate out in the woods beyond the farm, where harems of horny, monsterlike women called Celestial Children bang your brains out, usually resulting in a multitude of captures of randomized numbers of girls.  It would be great if there were a way to base a random girl on a real girl very quickly in a script, which would make such a storyline more colorful, branching one way for clones, and another for a random mix, but so far, I'm not even sure this game is still in development, so I don't know if or when it might come to fruition that we get more scripting.   If I can get the storyline built up, I'll test it in another script first.  I haven't been able to get the button into the farm screen yet, but I'm working on it.  I built the button files, I added the pictures, and I even took a look at the xml build of the page; I placed the button where I thought it should go, but it didn't show up.  That may be because the new script hasn't yet been implemented, or it may be because the farm has no trigger programmed yet.  Either way, it's still in testing, but when I get it running I'll let you know.  So far I've got the storylines finished, and they are way similar, but they do hold a few important differences.  It is those differences in the type of characters portrayed that make the actions more colorful, though the sex acts described are similar.
I'll upload a copy somewhere, if anybody would like to read it.