Wed, Nov 20, 10:18 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 20 6:12 am)



Subject: How do you build an REM injection?


Bastep ( ) posted Tue, 07 November 2023 at 11:28 AM · edited Wed, 20 November 2024 at 8:01 AM

Hi, I made a full body morph injection for La Femme following the tutorial Full body morphs creation for la femme. Now I have the question how to make a REM injection? Can anyone help me with this?

Regards



JustBeCause ( ) posted Tue, 07 November 2023 at 1:32 PM · edited Tue, 07 November 2023 at 1:34 PM

I assume that you used the built in Export morph option in Poser ?!  There are quiet some different way's to do the Inj and Rem files, so assuming you made a Pmd Inject witch would be how poser 11-up saves internally the costume morphs then you will or can build the rem file using Notepad ++ you will have to open the Inj script and alter it a little.

Alternatives would be using the D3D Binary Morph app's  or Poser tools MorphInj , there are several older apps that write the appropriate Inj Rem files but as sail they are quiet old and most are probably not sold any longer, as for new ones i doubt that there are any. 

I will try to make it as simple as possible .... your Inj script should look somehow like this 

{

version

{

number ??

}

injectPMDFileMorphs :Runtime:Geometries:!! AAA:Bend FIX.pmd

createFullBodyMorph BEND BASE

createFullBodyMorph closebutt

createFullBodyMorph BEND FAT

createFullBodyMorph inflate

createFullBodyMorph BEND SIZE1

createFullBodyMorph BEND SIZE2

}


Now you wish having a remove script for the Pmd Inj you made then it should be looking like this .... ( As far for this example )

{

version

{

number ??

}

removePMDFileMorphs :Runtime:Geometries:!! AAA:Bend FIX.pmd

removeFullBodyMorph BEND BASE

removeFullBodyMorph closebutt

removeFullBodyMorph BEND FAT

removeFullBodyMorph inflate

removeFullBodyMorph BEND SIZE1

removeFullBodyMorph BEND SIZE2

}

If you observe carefully the create needs to be replaced with Remove as well the Inject.
This is a simple example if the Morph is build in the root of the parameter dials, if you have placed your Morph in a subcategory it might look a little different and more complex but basically you just need to remove the one morph you added the way I understand. the sample consists of 6 morphs.

Make a copy of your Inj file and rename it Rem open both in Notepad++ search for create replace with remove on top replace the inject with remove and save ... then give it a try in poser if it does not works well.


JustBeCause ( ) posted Tue, 07 November 2023 at 1:41 PM · edited Tue, 07 November 2023 at 1:51 PM

Another sample if it is just basic then your Inj File would look somehow like this .... ( No addons or sub morphs ) 

{

version

{

number ??

}

injectPMDFileMorphs :Runtime:Geometries:! My PMD:T-Others.pmd

}


Now you need to make a copy of the Inj file rename it to Rem and write it this way ... that is all the magic to it ....


{

version

{

number ??

}

removePMDFileMorphs :Runtime:Geometries:! My PMD:T-Others.pmd

}

After your change just save it and make your Tumb .... :) " remove is the magic word "

Note: Do not use compressed files in Poser this would make it difficult to alter the scripts ....


Bastep ( ) posted Tue, 07 November 2023 at 5:28 PM

Thank you for your answer. As it stands, manual work with the editor is required. Let's see if I can manage that.

Regards



JustBeCause ( ) posted Tue, 07 November 2023 at 6:42 PM

it is a good training doing things in editor. Using Notepad++ you can change all the naming's in just a click, often it is allot faster then using any app for changes, or saving things one by one in Poser ...


Bastep ( ) posted Wed, 08 November 2023 at 1:12 AM

Good Morning. I use the UltraEdit Professional Text/HEX Editor.




JustBeCause ( ) posted Wed, 08 November 2023 at 6:13 PM

actually most Txt editors should work to edit a poser file :) considering that it needs to support large files. Notepad ++ is the Free choice and very reliable for such work with many options.  Users just need to use the apps they feel Conformable with, this will give the best end results. I hope you could figure it out meanwhile and that it worked making the rem file for your morph.  


VedaDalsette ( ) posted Thu, 09 November 2023 at 2:39 PM

I spawn my full body morph and export a Morph Injection to make the INJ pz2 file. Then I open that file in a text editor and change only the full body morph MIN value to 1. This makes it so the morph will automatically be set to 1 when applied. 

actor BODY:1
	{
	channels
		{
		groups
			{
			groupNode Morph
				{
				parmNode KamariaHead
				}
			}
		targetGeom KamariaHead
			{
			name KamariaHead
			initValue 0
			hidden 0
			enabled 1
			forceLimits 1
			min 1
			max 100000

For the REM file, I copy the INJ file in the text editor and rename it. Then I change both the min and max values for the full body morph to 0. This makes it so the morph will automatically be reset to 0 when applied.

There's a lot of stuff you can delete from the INJ file (which, in turn, would also be deleted in the REM file), but that's another issue. I also have to add in stuff at the end of the INJ file whenever I'm making Transformation changes (TRANS and ROTATION and SCALE) that aren't picked up in the full body morph. Again, another issue.

I use Notepad++ like JustBeCause.



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist.

All visual art or fiction is "playing with dolls."


Bastep ( ) posted Thu, 09 November 2023 at 4:10 PM

Thanks guys. Got it working.
Regards

{

version
    {
    number 13
    build 518
    }
removePMDFileMorphs :Runtime:Geometries:Bastep:Character:Kim:Kim INJ.pmd
removeFullBodyMorph Kim


}



Bastep ( ) posted Thu, 09 November 2023 at 5:32 PM

Hi, me again. Is there any documentation about the commands used in the Poserfiles?
Because I'm pretty much in the dark at the moment. The small article in the Poser manual is not very helpful.

Good Night



VedaDalsette ( ) posted Fri, 10 November 2023 at 9:21 AM

Using the remove command is even better! Thanks!



W11,Intel i9-14900KF @ 3.20GHz, 64.0 GB RAM, 64-bit, GeForce GTX 4070 Ti SUPER, 16GB. 

Old lady hobbyist.

All visual art or fiction is "playing with dolls."


shvrdavid ( ) posted Fri, 10 November 2023 at 12:36 PM · edited Fri, 10 November 2023 at 12:36 PM

I don't think any sites that explained the file internals are still up. If there are, I don't know where that would be.

A few things to point out thou. 

Poser always adds a version number to saves, and a build. The build is ignored on load, but number is not ignored and is checked on load. If you make something in P13 and want it to work without a version warning popping up when loaded, the number line either needs changed to the lowest version you will support, or removed from the file.

Setting a morph to auto apply is best done in the keys section, versus with the min/max values. That way it is still adjustable after it is loaded, but will be set to whatever you choose on load..

pcqfuOnGsJniCupz0JQjBHbwdicrj9O47w4nacKe.jpg For some reason I can not upload formatted text, so a screenshot will have to do. lol...



Some things are easy to explain, other things are not........ <- Store ->   <-Freebies->


Bastep ( ) posted Fri, 10 November 2023 at 6:04 PM
shvrdavid posted at 12:36 PM Fri, 10 November 2023 - #4477513

I don't think any sites that explained the file internals are still up. If there are, I don't know where that would be.

I have this problem when I upload source code to the Poser Python forum. I think this is due to the forum software.

But thanks for the information on the Poser version, and applying morphs automatically.

It is unfortunate that there is no information from Bondware about the file internals. That would be a real added value, especially if you are willing to create content.

Good night



Faery_Light ( ) posted Fri, 24 November 2023 at 6:58 PM
Online Now!
Bastep posted at 4:10 PM Thu, 9 November 2023 - #4477480

Thanks guys. Got it working.
Regards

{

version
    {
    number 13
    build 518
    }
removePMDFileMorphs :Runtime:Geometries:Bastep:Character:Kim:Kim INJ.pmd
removeFullBodyMorph Kim


}

You can alse add beneathe the  removeFullBodyMorph Kim a line to delete the dial too..
deleteFullBodyMorph Kim

This cleans it from you parameters pallete.


Let me introduce you to my multiple personalities. :)
     BluEcho...Faery_Light...Faery_Souls.


Bastep ( ) posted Sun, 26 November 2023 at 4:38 AM
Faery_Light posted at 6:58 PM Fri, 24 November 2023 - #4478114

You can alse add beneathe the  removeFullBodyMorph Kim a line to delete the dial too..
deleteFullBodyMorph Kim

This cleans it from you parameters pallete.

Hello!
The command 'removeFullBodyMorph Kim' is completely sufficient. Executed and everything is gone.
The deleteFullBodyMorph command is an example of "many roads lead to Rome" in Poser.
What I really miss is a documentation of the structure of the different Poser file types.

Greetings and have a nice Sunday



Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.