Pink Petal Games

Game Editing And Additions => User Mods => Topic started by: aevojoey on September 14, 2014, 02:03:29 PM

Title: Moving the folders
Post by: aevojoey on September 14, 2014, 02:03:29 PM
Update: I have created an image that will hopefully explain the folders better and attached it to this post.

The Characters folder has been moved outside of the game folder to make updating the game easier.

c:\WhoreMaster\Characters\(all your .(r)girlsx and their folders)
c:\WhoreMaster\Saves\(your savegame files)
c:\WhoreMaster\DefaultImages\(images)
c:\WhoreMaster\Items\(.itemsx files) - Added for .06.02.04
c:\WhoreMaster\Config.xml (http://www.pinkpetal.org/index.php?topic=3579.msg33839#msg33839)(This config.xml will keep your settings between versions)
c:\WhoreMaster\v.06.00.06\(older versions of the game)
c:\WhoreMaster\v.06.01.16\(older versions of the game)
c:\WhoreMaster\v.06.01.19\
c:\WhoreMaster\v.06.01.19\ Whore Master.exe
c:\WhoreMaster\v.06.01.19\ config.xml(The default config.xml included with each version)
c:\WhoreMaster\v.06.01.19\ gamelog.txt
c:\WhoreMaster\v.06.01.19\ Saves\(saves specific to this version of the game)
c:\WhoreMaster\v.06.01.19\ Resources\(If you have any custom files you will have to copy these between versions)

As of .06.02.00 the game will accept any folder location, relative or direct.

Every time you move to the next version you just extract the game into its own folder in the c:\Whoremaster\ directory and it is ready to go if you use the base settings.
If you have a custom interface or anything, you would still have to move them over, but if you know how to make those, you probably know how to move them over.
Moving the folders is more a convenience for those who have trouble updating.


Questions? Suggestions? Concerns?
Title: Re: Moving the folders
Post by: CaptC on September 14, 2014, 05:38:25 PM
Given the way the updates are named and distributed, it seems an easy solution.
Title: Re: Moving the folders
Post by: 0nymous on September 14, 2014, 06:58:59 PM
Sounds great.


Now if only we could organize sub-folders inside the Characters folder I'd have all the ordnung I could ever desire.
Title: Re: Moving the folders
Post by: 63648411 on September 15, 2014, 01:00:24 AM
This is basically how I have it set up now, using a batch file to symlink everything whenever there's an update. But yeah, overall it should make updating a lot simpler.
Title: Re: Moving the folders
Post by: aevojoey on February 07, 2015, 03:23:01 AM
I'm digging up this grave and putting the old bones back to work.

Starting in version .06.01.00 you will be able to change the locations of the Characters and Saves folders.
In the config.xml, add the lines:
Code: [Select]
  <Folders
    Characters="..\Characters"
    Saves="..\Saves"
    BackupSaves="true"
  />
and the game will look for them there.
If it doesn't find any .girlsx or .gam files in the specified locations, it will use the defaults.


So for versions .06.01.00 on you can extract the game into a folder without having to move the characters, saves or config.xml over.
Your file tree would look like:
Code: [Select]
c:\WhoreMaster\WM.06.01.02\(all the game files)
c:\WhoreMaster\WM.06.01.01\(all the game files)
c:\WhoreMaster\WM.06.01.00\(all the game files)
c:\WhoreMaster\Characters\(all your characters)
c:\WhoreMaster\Saves\(all your save games)
c:\WhoreMaster\config.xml

BackupSaves="true" will save your game in the default folder even if you set a new folder.
This way, if you upgrade to the next version and it breaks your save, you can go back to the old version and recover your save.
This will cause it to take longer when saving so it may not be worth it to always have it on.
Autosaves will only be done into the specified folder.

Until I upgrade the graphics system, I am not moving the interface folder because it is going to change a lot.
If you use a custom interface, you can tell it where it is with Resolution="..\\..\\..\\J_1024x768"
Any other custom stuff you will have to copy over.


It is a good start.

Title: Re: Moving the folders
Post by: ShoHaFa on February 08, 2015, 05:26:24 AM
I usually move the new gamefiles into my gamefolder and overwrite the old gamefiles. At some point, that might result in redundant files, but ah well.
Title: Re: Moving the folders
Post by: dmotrl on February 08, 2015, 03:32:22 PM
So for versions .06.01.00 on you can extract the game into a folder without having to move the characters, saves or config.xml over.
Your file tree would look like:
Code: [Select]
c:\WhoreMaster\WM.06.01.02\(all the game files)
c:\WhoreMaster\WM.06.01.01\(all the game files)
c:\WhoreMaster\WM.06.01.00\(all the game files)
c:\WhoreMaster\Characters\(all your characters)
c:\WhoreMaster\Saves\(all your save games)
c:\WhoreMaster\config.xml
Not sure if I'm doing something wrong, or what, but it doesn't seem to work right for me.  I have:
Code: [Select]
C:\...\Desktop\Whoremaster\Characters
C:\...\Desktop\Whoremaster\Whoremaster.06.01.00
C:\...\Desktop\Whoremaster\config
... But the only part of the Config file that seemed to be used was the Display (Fullscreen), not the change to starting money.  Am I supposed to delete the Config file that's in the .06.01 folder?  And I thought it was using the characters when I first checked to see if the Config file was being used, and I think it's kind of accessing them, since I saw a couple Unique girls in the Slave Market ... but all the Randoms have no traits except Virgin (and one Alcoholic) and no pictures are being used.
Title: Re: Moving the folders
Post by: aevojoey on February 08, 2015, 04:28:26 PM
Not sure if I'm doing something wrong, or what, but it doesn't seem to work right for me.  I have:
Code: [Select]
C:\...\Desktop\Whoremaster\Characters
C:\...\Desktop\Whoremaster\Whoremaster.06.01.00
C:\...\Desktop\Whoremaster\config
... But the only part of the Config file that seemed to be used was the Display (Fullscreen), not the change to starting money.  Am I supposed to delete the Config file that's in the .06.01 folder?  And I thought it was using the characters when I first checked to see if the Config file was being used, and I think it's kind of accessing them, since I saw a couple Unique girls in the Slave Market ... but all the Randoms have no traits except Virgin (and one Alcoholic) and no pictures are being used.
Is your file "config" or "config.xml"? because that could be the problem.
It needs to be config.xml.
The config.xml in the game folder is loaded first, then the config.xml in the folder above is loaded over top of that.
If there is no config.xml in the folder above, then only the one in the game folder is used.
Title: Re: Moving the folders
Post by: dmotrl on February 08, 2015, 04:44:46 PM
Is your file "config" or "config.xml"? because that could be the problem.
It needs to be config.xml.
They're both XML files named "config".  They don't have the file-type/extension after, and haven't for ... :shrug:  Not sure if they ever did.  The 'backup' file does ("config.xml.bak").
Title: Re: Moving the folders
Post by: aevojoey on February 08, 2015, 04:49:15 PM
They're both XML files named "config".  They don't have the file-type/extension after, and haven't for ... :shrug:  Not sure if they ever did.  The 'backup' file does ("config.xml.bak").
You must be using windows.
At the top of the explorer window go to Tools > Folder Options > View > uncheck "Hide extensions for known file types".
Title: Re: Moving the folders
Post by: MuteDay on February 08, 2015, 04:50:16 PM
no, lmao, it means you need to tell windows to show know extentions
Title: Re: Moving the folders
Post by: dmotrl on February 08, 2015, 04:53:12 PM
:shrug:  Okay.  That doesn't change the other issue though - still not getting proper girls or rgirls with the Characters folder outside the game files.

EDIT:  Okay, I must've just broken something.  Re-downloading and changing it fixed the problem.  Weird.
Title: Re: Moving the folders
Post by: Aendri on March 16, 2015, 10:34:48 PM
I'm having a similar issue. Was playing around with tweaking the config file to see if I could get any of it to work, and I can't get it to recognize any external save files or even any of the changes to the config, both within the folder, and in the external folder I've set it to direct to. Attaching images that show the file structure and the config file as well.

I've also tried duplicating the config file so that it's identical in both locations, and the same results. It's like the game never calls any config file at all for me.
Title: Re: Moving the folders
Post by: aevojoey on March 16, 2015, 11:13:27 PM
I'm having a similar issue. Was playing around with tweaking the config file to see if I could get any of it to work, and I can't get it to recognize any external save files or even any of the changes to the config, both within the folder, and in the external folder I've set it to direct to. Attaching images that show the file structure and the config file as well.

I've also tried duplicating the config file so that it's identical in both locations, and the same results. It's like the game never calls any config file at all for me.
The config.xml has not been updated to use direct folder calls yet, it only does relative calls.
Code: [Select]
        Characters="F:\Misc\Whoremaster\Characters"
        Saves="F:\Misc\Whoremaster\Saves"
will not work, try
Code: [Select]
        Characters="..\Characters"
        Saves="..\Saves"

Title: Re: Moving the folders
Post by: aevojoey on April 19, 2015, 09:45:56 PM
I have created an image that will hopefully explain the folders better and attached it to the first post.
Title: Re: Moving the folders
Post by: SammeyTiger on June 22, 2015, 03:37:28 PM
Thank you for all your work on the game.
I would like to request that you be able to move the 'items' folder,
like you can with the 'Character' , 'DefaultImages' , and 'Saves' folders.
As the 'items' folder is the only folder that I need to copy when upgrading, and almost never changes between versions.
Title: Re: Moving the folders
Post by: aevojoey on June 22, 2015, 06:42:44 PM
Thank you for all your work on the game.
I would like to request that you be able to move the 'items' folder,
like you can with the 'Character' , 'DefaultImages' , and 'Saves' folders.
As the 'items' folder is the only folder that I need to copy when upgrading, and almost never changes between versions.
Done.
Actually the items do get updated often but I don't always remember to note them in the change log.

I also forgot to update this thread to make it clear that .06.02+ can now accept direct folder locations in addition to relative locations.

I will add it to WME when I can.
Title: Re: Moving the folders
Post by: Monty52 on March 05, 2016, 12:30:39 PM
What about the rest of the folders - they aren't listed in the first post here.

(ie. "scripts", "interface", Lang", "Buttons"...)
Title: Re: Moving the folders
Post by: aevojoey on March 05, 2016, 12:42:16 PM
What about the rest of the folders - they aren't listed in the first post here.
(ie. "scripts", "interface", Lang", "Buttons"...)
If they are not listed, they stay where they are in the version folders.