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, 08: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, 07: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, 01: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, 10: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, 08: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 21, 2011, 11:12:36 PM
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, 05: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, 05: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, 05: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, 06: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, 11:08:21 AM
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, 12: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, 02: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, 02: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, 09: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, 09: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, 03: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, 01: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, 02: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, 05: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, 06: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, 09: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, 09: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, 01: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, 07: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, 07: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, 08: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, 12: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, 02: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, 07: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, 10: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, 12:50:50 AM
its right above the traits its a drop down and lists all the places its normal girl by default tho