Difference between revisions of "Premium Play Darkness/Modding"
Line 1: | Line 1: | ||
{{Premium Play Darkness}} | {{Premium Play Darkness}} | ||
How to install mod | How to install mod | ||
+ | =='''Index'''== | ||
+ | 1.1 Installing a Mod | ||
+ | |||
+ | 1.2 Creating a .pp file | ||
+ | |||
+ | 1.3 Costume Modding/Packaging | ||
+ | ==1.1 Installing a Mod== | ||
1. Most modders includes a readme which contains information on how to install their mod. | 1. Most modders includes a readme which contains information on how to install their mod. | ||
− | 2. Costume mods may at most require to be dropped into PPD and/or PSP data folders. | + | 2. Costume mods may at most require to be dropped into PPD and/or PSP(aka PRO) data folders. |
− | 3.Custom Studio Objects requires altering of StudioItemList.lst in either prpr_10_00.pp or prpr_20_00.pp, depending on which version of the game you got | + | 3.Custom Studio Objects requires altering of StudioItemList.lst in either prpr_10_00.pp(PPD) or prpr_20_00.pp(PRO), depending on which version of the game you got. |
The modder is most likely to including the snip of text that you'd have to add to the list. | The modder is most likely to including the snip of text that you'd have to add to the list. | ||
Line 13: | Line 20: | ||
''(updating later unless someone gets to it before me.)'' | ''(updating later unless someone gets to it before me.)'' | ||
− | =='''Custom Costume''' '''Modding''' - Packing it right!== | + | |
+ | |||
+ | ==1.2 Creating a .pp file (Guff)== | ||
+ | ''I have some time to think and write, so I will use it to explain the process again of creating .pp files and inserting .xx files into the Studio.<br />fenrir72 had/has an issue with one of my 3D model mods, so I sent him some of this via a pm. But I will expand a little in this post.''<br /> | ||
+ | '''How to create a self-contained .pp file for Studio item .xx files, and adding it to the StudioItemList.lst.''' | ||
+ | <br />Create a new folder and name it something that defines it's contents.<br />Use a format of '''prpr_10_mod_<insert whatever you like>''', as this format seems to be more readily accepted with PPVERDecrypt.exe.<br />For this example, I will create a folder named '''prpr_10_mod_teddy_bear'''.<br />Copy and paste the teddy_bear.xx into this folder.<br />Drag the folder over the top of PPVERDecrypt.exe and release it.<br />PPVERDecrypt.exe should automatically create a .pp file of the same name, '''prpr_10_mod_teddy_bear.pp'''. If a window pops up asking for the format to use during the process, choose PPD.<br />You now need to edit your StudioItemList.lst to add the item to the drop down menu list.<br />For this step, I will use PPVERDEcrypt.exe to unpack the required .pp files.<br /> | ||
+ | '''***PPD Studio Users***''' - Copy and paste the prpr_10_mod_teddy_bear.pp file into the PPD/data folder.<br />Use PPVERDecrypt to unpack the prpr_10_00.pp found in the PPD/data folder.<br />Use Notepad.exe to open the StudioItemList.lst found in the created prpr_10_00 folder.<br />Add the line listed below to the bottom of the list, and then "Save" the list.<br /> | ||
+ | '''Teddy Bear data/prpr_10_mod_teddy_bear.pp teddy_bear.xx 0 0 0 0''' | ||
+ | <br /> | ||
+ | '''***Premium Studio Pro Users***''' - Copy and paste the prpr_10_mod_teddy_bear.pp file into both the PPD/data folder and the PSP/data folder.<br />Use PPVERDecrypt to unpack both copies of the prpr_20_00.pp found in the PPD/data and PSPS/data folders.<br />Use Notepad.exe to open both copies of the StudioItemList.lst found in the created prpr_20_00 folders.<br />Add the line listed below to the bottom of both lists, and then "Save" the lists.<br /> | ||
+ | '''Teddy Bear data/prpr_10_mod_teddy_bear.pp teddy_bear.xx 0 0 0 0''' | ||
+ | <br />Repack the prpr_10_00 folder and/or the prpr_20_00 folders using PPVERDecrypt.exe.<br /> | ||
+ | **********<br /> | ||
+ | Note: If you want to manually type out the above item listing, use this format<br /> | ||
+ | '''Teddy Bear[single TAB keystroke]data/prpr_10_mod_teddy_bear.pp[single TAB keystroke]teddy_bear.xx[single TAB keystroke]0[single TAB keystroke]0[single TAB keystroke]0[single TAB keystroke]0''' | ||
+ | <br />Do not type '''[single TAB keystroke]''', simply use a single TAB keystroke between the item name, data path, file name, and the four individual zeroes.<br /> | ||
+ | That's it, you should now have the items visible in the menu list and usable in Studio.<br />You can add whatever .xx files you like to the folder prior to the step of creating the .pp file, just remember to add them all to the StudioItemList.lst using the above format.<br /> | ||
+ | **********<br /> | ||
+ | I will also use this opportunity to again tout the advantage of using a master copy of the StudioItemList.lst and the StudioMapList.lst.<br />It allows for a lot less work when inserting items and maps, as you only open and edit one copy of the .lst file, and then insert it into the required .pp files via SB3UGUI's menu of "Subfiles"/"Add Files".<br />It also allows you to have access to all maps and items in both the Standard PPD Studio, and in Studio Pro.<br />In order to do this, all copies of your StudioItemLsit.lst and StudioMapList.lst need to be identical. You can achieve this by opening all copies and viewing any differences between them, and then adjust one copy to list all of the items or maps, then save it to your main Illusion folder.'''(NOTE) Using a master copy may cause issues with any saved scenes that have items inserted, if the order of the items in the .lst are changed from when the scene was saved'''.<br /> | ||
+ | 1. Copy the mod's .pp file into the data folder(s), or create the necessary .pp file using the above steps and copy and paste it into the data folder(s).<br />2. Open, edit, and save the required .lst file you saved to the main Illusion folder using the above steps.<br />3. Use SB3UGUI to open the require .pp files, prpr_10_00.pp and/or prpr_20_00.pp (both copies).<br />4. Click on "Subfiles" then chose "Add Files".<br />5. Navigate to the master copy of the .lst file you want to insert and select it.<br />6. Save the .pp file.<br /> | ||
+ | Repeat step 6 for all of the require .pp files, prpr_10_00.pp and both copies of prpr_20_00.pp. | ||
+ | =='''1.3 Custom Costume''' '''Modding''' - Packing it right! (bdpq)== | ||
''(Most of the text is from a post made by bdpq, it have been altered a bit.)'' | ''(Most of the text is from a post made by bdpq, it have been altered a bit.)'' | ||
Line 54: | Line 82: | ||
---- | ---- | ||
+ | '''What files to include into your own costume mod? (Syncroz)''' | ||
− | |||
Down below you can see what files that you need to include into your own costume mod. Take note of that this particular suit will not be able to display semen on it or the character in '''dressed''' or '''half dressed''' mode. | Down below you can see what files that you need to include into your own costume mod. Take note of that this particular suit will not be able to display semen on it or the character in '''dressed''' or '''half dressed''' mode. | ||
Line 84: | Line 112: | ||
[[File:Siru.png|thumb|left|400px]] | [[File:Siru.png|thumb|left|400px]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[User:Syncroz|Syncroz]] ([[User talk:Syncroz|talk]]) 21:02, July 26, 2013 (UTC) |
Revision as of 22:02, 26 July 2013
How to install mod
Contents
Index
1.1 Installing a Mod
1.2 Creating a .pp file
1.3 Costume Modding/Packaging
1.1 Installing a Mod
1. Most modders includes a readme which contains information on how to install their mod.
2. Costume mods may at most require to be dropped into PPD and/or PSP(aka PRO) data folders.
3.Custom Studio Objects requires altering of StudioItemList.lst in either prpr_10_00.pp(PPD) or prpr_20_00.pp(PRO), depending on which version of the game you got.
The modder is most likely to including the snip of text that you'd have to add to the list.
4. Installing Custom Characters
(updating later unless someone gets to it before me.)
1.2 Creating a .pp file (Guff)
I have some time to think and write, so I will use it to explain the process again of creating .pp files and inserting .xx files into the Studio.
fenrir72 had/has an issue with one of my 3D model mods, so I sent him some of this via a pm. But I will expand a little in this post.
How to create a self-contained .pp file for Studio item .xx files, and adding it to the StudioItemList.lst.
Create a new folder and name it something that defines it's contents.
Use a format of prpr_10_mod_<insert whatever you like>, as this format seems to be more readily accepted with PPVERDecrypt.exe.
For this example, I will create a folder named prpr_10_mod_teddy_bear.
Copy and paste the teddy_bear.xx into this folder.
Drag the folder over the top of PPVERDecrypt.exe and release it.
PPVERDecrypt.exe should automatically create a .pp file of the same name, prpr_10_mod_teddy_bear.pp. If a window pops up asking for the format to use during the process, choose PPD.
You now need to edit your StudioItemList.lst to add the item to the drop down menu list.
For this step, I will use PPVERDEcrypt.exe to unpack the required .pp files.
***PPD Studio Users*** - Copy and paste the prpr_10_mod_teddy_bear.pp file into the PPD/data folder.
Use PPVERDecrypt to unpack the prpr_10_00.pp found in the PPD/data folder.
Use Notepad.exe to open the StudioItemList.lst found in the created prpr_10_00 folder.
Add the line listed below to the bottom of the list, and then "Save" the list.
Teddy Bear data/prpr_10_mod_teddy_bear.pp teddy_bear.xx 0 0 0 0
***Premium Studio Pro Users*** - Copy and paste the prpr_10_mod_teddy_bear.pp file into both the PPD/data folder and the PSP/data folder.
Use PPVERDecrypt to unpack both copies of the prpr_20_00.pp found in the PPD/data and PSPS/data folders.
Use Notepad.exe to open both copies of the StudioItemList.lst found in the created prpr_20_00 folders.
Add the line listed below to the bottom of both lists, and then "Save" the lists.
Teddy Bear data/prpr_10_mod_teddy_bear.pp teddy_bear.xx 0 0 0 0
Repack the prpr_10_00 folder and/or the prpr_20_00 folders using PPVERDecrypt.exe.
Note: If you want to manually type out the above item listing, use this format
Teddy Bear[single TAB keystroke]data/prpr_10_mod_teddy_bear.pp[single TAB keystroke]teddy_bear.xx[single TAB keystroke]0[single TAB keystroke]0[single TAB keystroke]0[single TAB keystroke]0
Do not type [single TAB keystroke], simply use a single TAB keystroke between the item name, data path, file name, and the four individual zeroes.
That's it, you should now have the items visible in the menu list and usable in Studio.
You can add whatever .xx files you like to the folder prior to the step of creating the .pp file, just remember to add them all to the StudioItemList.lst using the above format.
I will also use this opportunity to again tout the advantage of using a master copy of the StudioItemList.lst and the StudioMapList.lst.
It allows for a lot less work when inserting items and maps, as you only open and edit one copy of the .lst file, and then insert it into the required .pp files via SB3UGUI's menu of "Subfiles"/"Add Files".
It also allows you to have access to all maps and items in both the Standard PPD Studio, and in Studio Pro.
In order to do this, all copies of your StudioItemLsit.lst and StudioMapList.lst need to be identical. You can achieve this by opening all copies and viewing any differences between them, and then adjust one copy to list all of the items or maps, then save it to your main Illusion folder.(NOTE) Using a master copy may cause issues with any saved scenes that have items inserted, if the order of the items in the .lst are changed from when the scene was saved.
1. Copy the mod's .pp file into the data folder(s), or create the necessary .pp file using the above steps and copy and paste it into the data folder(s).
2. Open, edit, and save the required .lst file you saved to the main Illusion folder using the above steps.
3. Use SB3UGUI to open the require .pp files, prpr_10_00.pp and/or prpr_20_00.pp (both copies).
4. Click on "Subfiles" then chose "Add Files".
5. Navigate to the master copy of the .lst file you want to insert and select it.
6. Save the .pp file.
Repeat step 6 for all of the require .pp files, prpr_10_00.pp and both copies of prpr_20_00.pp.
1.3 Custom Costume Modding - Packing it right! (bdpq)
(Most of the text is from a post made by bdpq, it have been altered a bit.)
This is a basic .pp costume packaging guide. If you are a costume modder, or if you want to be a costume modder, this post maybe of interest to you.
Proper numbering
One of the most common errors encountered by PPD costume modders is the undocumented limit in costume numbers. Your costume must be numbered within 0 to 254. However, 0 -100 are mostly occupied by Illusion official costumes, so I would recommend you find a number that, to your best knowledge, has not been used by other custom costumes. This is difficult, however, unless we have an costume manager application, this is just the way it has to be for now.
If you exceed the 254 number, your character will show different costumes when switching between the fully-clothed and semi-nude state.
Correct Reference to the .pp and .xx file
Your .pp file, must be correctly referenced in the ched*.lst file within your .pp package. There is currently no commonly-agreed naming convention for custom costumes, however I would recommend you start with the prpr_99_* naming standard. This way your custom costume will always show up near the end. In other words, if you name your .pp file something such as 100.pp, your costume will be ordered at the top.
If you changed the .pp name without changing the reference in the ched*.lst file. your costume window will only show a darkened head floating in midair. Then your game will crash.
ex1: 169 costumename NULL NULL cw_body_123_00.xx data/prpr_filenamehere.pp 0 0 0 0
Correct lst syntax, referencing and formatting
the ched*.lst contains important referencing information for your costume. the name of the costume, the filehname for the .xx file, and the reference to the .pp file are all here. The space in the lst might looked like space to you, but they are actually tabs. turn on the "visualize space" function in your text editor, you should see several ">>" symbols. They are the tabs. If you change them to spaces, your costume will always crash.
Dealing with bra and Panties
The reference to the underwear of choice is ALSO in the ched*.lst file!! if you are encountering issue such as your character is showing different underwear in the semi-nude and fully-nude state, you most likely have this problem.
In a typical ched*.lst file, you should see something like this:
// File Pack File Pack kind index 1001 costumename NULL NULL cw_body_111_00.xx data/prpr_99_111_costume_name.pp 1 1 0 0
The 1 1 0 0 at the end is the important part for bra and pantie assignment.
The first two numbers
Take a look at your *01.xx file, and look for the texture on the bra. let's assume the texture name for the bra is cw_t_bura_01_01.tga
that's what the first two "1"s are for. If you wanted something like the school girl blue strip bra, then you have to:
1. change the texture in your *01.xx file to cw_t_bura_00_00.tga, and
2. change the reference to the underwear in the ched file to 0 0 * * (more on the 3rd and 4th number later)
The 3rd and 4th number.
In our example, the code showed "0 0" as the third and fourth reference. This means that the costume has NO bra NOR pantie!
1 0 would mean bra + no pantie, and
0 1 would mean no bra, but with pantie.
What files to include into your own costume mod? (Syncroz)
Down below you can see what files that you need to include into your own costume mod. Take note of that this particular suit will not be able to display semen on it or the character in dressed or half dressed mode.
To be able to do display semen(siru), include these files in your package: