Genesis 1/2/3/8/9 to Genesis 2/3/8/9 Pose Converter (Updated 2025-01-03)

13

Comments

  • bilyatboringbilyatboring Posts: 10
    edited June 2024

    Thanks for this script.

    Post edited by bilyatboring on
  • Luv LeeLuv Lee Posts: 230

    n_alexandru said:

    Genesis 1/2/3/8/9 pose preset conversion scripts for Genesis 3/8/9.


    Installation:
        1. Copy the contents of the Content directory to your content library
        2. Go to the script in the Content Library (Scripts > n_alexandru > G9 Pose Converter), right click and select Create Custom Action and click OK.
        - repeat for the G3 and G8 scripts


    Usage:
        1. Select a Genesis 3/8/9 figure in your scene
        2. Select a pose preset from the Smart Content or Content Library pane
        3. Run the script from Scripts > G9/G8/G3 Pose Converter (the custom action added in step 2 of the installation)
            - If the source figure generation can’t be detected automatically, a dialog will appear asking you to select it


    Options: (hold down the key when running the script)
        - Alt (Option on macOS) will force the figure select dialog to appear
        - Ctrl (Command on macOS) will zero the G9 pose first.


    Known Issues & Limitations:
        - Poses will require a little adjustment after conversion.
        - The face rig with the exception of the eyes is not converted.
        - This scripts supports only .DUF files, because of this some Genesis 1 poses that come as .DSB files are not supported.


    Update 2022-12-04:
        - Fixed incorrect right toes mapping for G9
        - Added G8 and G3 scripts
        - Added pose control properties (fingers, toes, foot, hand)

    Update 2022-12-07:
        - Fixed animation time step

    Update 2023-02-21:
        - Fixed hierarchical pose loading
        - Restore instead of zero figure pose when holding Ctrl/Command (this is needed due to changed in the Daz 4.21.1 public beta)
        - Fixed crash if the "Smart Content Pane" or "Content Library Pane" plugins are disabled

     

     

     

    YOU RAWK beyond all good reason! THANKYOU!

  • this is beautiful and super hayper helpfull ,thanks.

  • I hate to ask but if it's not too much trouble, would you be willing to do one where the destination figure is Genesis 2?

  • ElorElor Posts: 3,135

    I'm using timeline to gradually dial in a character morph then, once it's at 100%, the second third of the timeline will be used to do the transition to the final pose (and the last third is used to let the clothes stabilize), so I have three key frames for the figure:

    • one with the base shape and base pose at 0
    • one with the final shape and base pose at 15
    • one with the final shape and the final pose at 30

    With native pose, when the timeline is at 30, I can apply the pose and it'll not be retro-actively applied to the previous keys.

    But with a pose converted with this script, when the timeline is at 30, the pose seems to only be applied to the key at 0, so by default, every other key will have it, but if I'm applied a Restore Figure pose to any key at 0 or 15, the following keys will lose the pose too.

    Is there a way to apply a converted pose only to the frame selected in a timeline like it's possible with native poses ? Am I doing something wrong (I have the figure selected in the scene tab, the pose selected in my content library panel and I launch the correct script through the script menu) ?

  • Hmmm.... getting an error; am I using it correctly?  Trying to go from G8 to G3.  My DAZ library is not on my C: drive (for privacy purposes and snooping bots).  Hope that's not a concern.  This is from the log file:

    2024-10-29 17:31:00.330 [INFO] :: Error in script execution: /DAZ 3D/My Library/Scripts/n_alexandru/G8 Pose Converter.dsa
    2024-10-29 17:32:21.557 [INFO] :: Loading script: /DAZ 3D/My Library/Scripts/n_alexandru/G8 Pose Converter.dsa
    2024-10-29 17:32:21.561 [WARNING] :: Script Error: Line 791
    2024-10-29 17:32:21.561 [WARNING] :: SyntaxError: Unable to parse JSON string
    2024-10-29 17:32:21.561 [WARNING] :: Stack Trace:
        <anonymous>()@/DAZ 3D/My Library/Scripts/n_alexandru/G8 Pose Converter.dsa:791
    2024-10-29 17:32:21.562 [INFO] :: Error in script execution: /DAZ 3D/My Library/Scripts/n_alexandru/G8 Pose Converter.dsa

    Any ideas?  Thank you!

  • Sorry to jump in late here, and I'm not sure if it was pointed out, but going from a G8 anim script to a G3 fig... the animation is seemingly skipping pose correction every 3 frames.  Did I do something wrong?  Otherwise it saves me 67% of my needing to apply the pose correction one frame at a time!

    Thank you!!!

  • Padone Renderosity might lag a bit due to the needing approval from their staff when i make changes.

    Diaspora I made a version that targets G2 but the accuracy of the conversion is lower than for other generations. I've updated the zip in the OP with it.

    Elor Please try the updated scripts, the problem should be fixed.

    Miss Animated
        1) The location of your Daz library is not relevant for this script (I keep mine on a network drive and it works without issues). I found some pose presets that contain extra data after the JSON which could be the cause. What pose(s) are you getting that error with ?.

        2) I'm unable to reproduce the problem with the presets that I have. Same as above - what preset are you having issues with, and would you be willing to send it to me so I can see what is happening ?

  • nonesuch00nonesuch00 Posts: 18,714
    edited December 2024

    n_alexandru said:

    Padone Renderosity might lag a bit due to the needing approval from their staff when i make changes.

    Diaspora I made a version that targets G2 but the accuracy of the conversion is lower than for other generations. I've updated the zip in the OP with it.

    Elor Please try the updated scripts, the problem should be fixed.

    Miss Animated
        1) The location of your Daz library is not relevant for this script (I keep mine on a network drive and it works without issues). I found some pose presets that contain extra data after the JSON which could be the cause. What pose(s) are you getting that error with ?.

        2) I'm unable to reproduce the problem with the presets that I have. Same as above - what preset are you having issues with, and would you be willing to send it to me so I can see what is happening ?

    Thanks for the bug fixes. 

    Post edited by nonesuch00 on
  • ElorElor Posts: 3,135
    edited January 3

    n_alexandru said:

    Elor Please try the updated scripts, the problem should be fixed.

    It is fixed, thank you smiley

    Regarding the error Miss Animated had, I had a similar one:

    2025-01-03 10:10:23.794 [WARNING] :: Script Error: Line 833
    2025-01-03 10:10:23.795 [WARNING] :: Error: Invalid arguments passed to DzUri()
    2025-01-03 10:10:23.796 [WARNING] :: Stack Trace:
        <anonymous>()@/Users/[username]/Documents/DAZ 3D/Studio/My Library/Outils/Pose Converter/G9 Pose Converter.dsa:833

    It's happening with older DMs products

    • Moon Circle
    • Ivy Alley N7
    • Le Sanctuaire
    • Cave of Secrets

    At best, the converter will temporarly move some parts of the body (it will only happen when Daz is asking about removing the limits) but will reset the pose once the error happened, and the character stay in their previous pose:

    If I load the same pose on the intended figure, then save it as a pose preset, the pose will be converted without any problem, so it's maybe a problem in the pose files themselves, not in the converter. But I have no idea how to investigate further (no enough knowledge of Daz script or the way a pose file is written).

    pose.jpg
    1600 x 930 - 176K
    Post edited by Elor on
  • Elor said:

    n_alexandru said:

    Elor Please try the updated scripts, the problem should be fixed.

    It is fixed, thank you smiley

    Regarding the error Miss Animated had, I had a similar one:

    2025-01-03 10:10:23.794 [WARNING] :: Script Error: Line 833
    2025-01-03 10:10:23.795 [WARNING] :: Error: Invalid arguments passed to DzUri()
    2025-01-03 10:10:23.796 [WARNING] :: Stack Trace:
        <anonymous>()@/Users/[username]/Documents/DAZ 3D/Studio/My Library/Outils/Pose Converter/G9 Pose Converter.dsa:833

    It's happening with older DMs products

    • Moon Circle
    • Ivy Alley N7
    • Le Sanctuaire
    • Cave of Secrets

    At best, the converter will temporarly move some parts of the body (it will only happen when Daz is asking about removing the limits) but will reset the pose once the error happened, and the character stay in their previous pose:

    If I load the same pose on the intended figure, then save it as a pose preset, the pose will be converted without any problem, so it's maybe a problem in the pose files themselves, not in the converter. But I have no idea how to investigate further (no enough knowledge of Daz script or the way a pose file is written).

    I don't have any of the products you mentioned but i was able to reproduce the problem with DM's Sensual Aiko 6. I've updated the scripts, it should be fixed now.

  • ElorElor Posts: 3,135

    Oh, it's Christmas all over again, so soon after the real deal laugh

    Thank you very much: I checked with all the products I listed and everything work perfectly now.

  • DustRiderDustRider Posts: 2,878
    edited January 15

    Wow! Thanks so much for the script(s), and your generosity.

    Being here since the V3/V4 days, I have several pose converters, but with most of them you convert the poses to the new generation in a batch process, so you have to remember to convert any new pose sets you might get (plus your just cluttering up your library/hard drive more). I bought a pose converter for Genesis 3/8 to 9 that functions similar to your script, and I found I prefer this method, but wasn't able to convert the Genesis 2 and Genesis poses with it. Plus I still use G8 a lot, and occasionally G3, and sometimes G2. thanks to your script I can use my entire pose library for any figure from G2 to G8. Your script is so easy to use and so flexible it will be my go to script for pose conversion from now on.

    Below is an example of a G2 character with some more extreme morphs with a G9 pose (only adjustments were a slight head/neck side-slide and I added an expression.

    Thanks again!!!!!!

    Opps!!! Edited to remove original image that had parts that shouldn't be seen showing blush

    Bridged with g( pose 3.png
    1000 x 1333 - 470K
    Post edited by DustRider on
  • Hey! whenever i try to convert an animation and i select the genesis 9 figure it tells me "there is a problem with the script". Any idea of what that actually is? I cannot seem to figure it out, ive also updated the script but it does not work. I use the 4.23 version of daz. That might be why... I will be waiting for feedback.

    Screenshot 2025-02-05 201432.png
    1065 x 486 - 64K
  • DamyStark said:

    Hey! whenever i try to convert an animation and i select the genesis 9 figure it tells me "there is a problem with the script". Any idea of what that actually is? I cannot seem to figure it out, ive also updated the script but it does not work. I use the 4.23 version of daz. That might be why... I will be waiting for feedback.

    From the screenshot, I believe you tried running the script directly (it's selected in the Content Library). This caused the script to attempt loading itself as a pose preset, which will not work.
    The scripts are designed to be added as custom actions (step 2 of Installation in the OP); For them to work, you must have a pose preset selected in the Content Library pane (or Smart Content) and run the script from the Daz Studio menu (the menu item added in step 2 of the installation).

  • epl379epl379 Posts: 5

    I get the same issue as with the Zev0 converter. When the pose includes a prop, I receive a message stating "The selected item is not a pose preset." Then nothing happens after that. Poses with no props work just fine. Converting G9 poses for my G8 characters.

  • ElorElor Posts: 3,135
    edited February 13

    They are indeed not pose presets: to apply a prop and a pose in one action, you have, AFAIK, to use a wearable preset saved with the pose.

    While creating metadata for that wearable preset, you can decide to categorize it as a pose, which is done to make the life of people easier, as long as they are not trying to use a pose converter on a wearable preset.

    To check, just let your mouse cursor hovers over the icon in your Content Library (doesn't seem to work in Smart Content) and here's what you'll likely see:

    I know next to nothing about Daz scripting, so I don't know if converters can work with wearable presets, keeping only the pose part and discarding the rest.

    wearable_preset.jpg
    784 x 365 - 81K
    Post edited by Elor on
  • Possibly need to include a /Preset/Wearable option into this part of the script code:

    	var hierarchical = false;	if (preset.asset_info.type == "preset_hierarchical_pose") {		hierarchical = true;	} else if (preset.asset_info.type != "preset_pose") {		MessageBox.critical(qsTr("The selected item is not a pose preset"), qsTr("G9 Pose Converter"), qsTr("&amp;OK"));		return;	}

    To enable it to work on a pose with a wearable component.

    Quite how that'd work.. yes. quite.

    Regards,

    Richard

  • Hey everyone , this works great with gen 8 and 3 figures however for the life of me I cannot get v4 / gen 2 to work?

    It does get into the pose of that animation start frame however , the keyframes sadly do not translate and hence its just a frozen pose.

    Not sure what I'm doing wrong and I really need this as there are some V4 and m4 animations that have never been converted to gen 8 or 3 or 9.

  • seascapeclseascapecl Posts: 3

    Thank you.

  • pauldb13pauldb13 Posts: 18
    edited September 16

    The instructions aren't very clear. I still can't get this to work.

    I am trying to convert a G8 pose to a G9 character but it asks me to select a G8 figure which there isn't a figure that is G8 in my scene. What am I doing wrong?

    The original character was a G8 but it was redesigned for G9 but the poses were never converted by the author. Now the original G8 character no longer exists due to the remastering by the author and they have removed all G8 actors.

    The figure is now this one: https://www.daz3d.com/wise-wizard-remastered-hd-character

    but the original poses are in this: https://www.daz3d.com/wise-wizard-poses-and-magic-props-for-genesis-8-males

    The original G8 actor is no longer available anywhere.

    Post edited by pauldb13 on
  • @pauldb13 : Please see private message.

    Regards,

    Richard

  • justmarkusjustmarkus Posts: 1
    edited September 16

    pauldb13 said:

    The instructions aren't very clear. I still can't get this to work.

    I agree, what I had trouble with was the step in which you need to add the custom action to your menu in order for it to work. I couldn't find my custom scripts anywhere in the menu.

    Go to top menu Window -> Workspace -> Customize

    Find the custom action you created earlier according to the instructions, i'll be under [+] custom.

    Then, go to [menus] in the right-hand pane, and under [+] main menu bar create a new folder like "Scripts" and drag the custom action to it. If the Scripts folder aldready exists, use that one.

    Then:

    1) e.g. apply the g8 pose to a g9 figure

    2) apply the g9 converter custom action from your (new) main menu Scripts

    3) and you're done

    Post edited by justmarkus on
  • pauldb13pauldb13 Posts: 18
    edited September 16

    I did all that and now the pose just has the actor laying on the ground in a t-pose.
    The image of the wizard standing is before and the one with him sideways is after using the pose converter. The selected pose in the menu on the right is what I wanted to use. 

    I really don't know what I'm doing wrong. I have tried using the pose converter both before and after applying the pose and I still get the same result.
     

    Before pose.png
    1920 x 1032 - 752K
    After using pose converter.png
    1920 x 1032 - 436K
    Post edited by pauldb13 on
  • pauldb13pauldb13 Posts: 18
    edited September 16

    I forgot to add that these are my menu choices. I at first tried the G9 option and it told me to pick a G8 figure. I then tried to select the G8 option and it told me to also pick a G8 figure with the results as shown.

     

    Menu choices.png
    177 x 151 - 3K
    Post edited by pauldb13 on
  • richardandtracy said:

    @pauldb13 : Please see private message.

    Regards,

    Richard

    Did you intend to send me an ad? The only message I got was "30 Gets You 30: Extra 30% Off Today's Featured Artists"
    There were no other messages 

  • No. In the Inbox that appears in the menu that drops down when you click on the gear wheel at the extreme right of the blue bar towards the top of the screen. I don't do ads, would prefer to exterminate them entirely.

    Regards,

    Richard

  • ElorElor Posts: 3,135

    pauldb13 said:

    I forgot to add that these are my menu choices. I at first tried the G9 option and it told me to pick a G8 figure. I then tried to select the G8 option and it told me to also pick a G8 figure with the results as shown.

    It's strange, I never had this problem.

    You can also get the G9 script from n_alexandru's renderosity's page and you can try to replace the version you downloaded here (it should be fine, I got mine version from here) by the version from Renderosity

    https://www.renderosity.com/freestuff/items/93511/genesis-1238-pose-converter-for-genesis-9

     

  • riuken1riuken1 Posts: 156
    edited September 16
     

    It's strange, I never had this problem.

    You can also get the G9 script from n_alexandru's renderosity's page and you can try to replace the version you downloaded here (it should be fine, I got mine version from here) by the version from Renderosity

    https://www.renderosity.com/freestuff/items/93511/genesis-1238-pose-converter-for-genesis-9

     

    In the past I had problem using the Rendorosity version, I think the one for G8 was not working, but the one here work really nice, I wonder if the pose the OP are trying to use are for the staff or the character. 

     

    Post edited by riuken1 on
  • pauldb13 said:

    I did all that and now the pose just has the actor laying on the ground in a t-pose.
    The image of the wizard standing is before and the one with him sideways is after using the pose converter. The selected pose in the menu on the right is what I wanted to use. 

    I really don't know what I'm doing wrong. I have tried using the pose converter both before and after applying the pose and I still get the same result.
     

    If not resolved: if the selected pose in the screenshot is the pose you are trying to apply, that pose is for the staff prop instead of the figure. I have just tried this pose set with G9 and am not having an issue.

    My steps:

    1. have G9 selected
    2. select the non-G9 figure pose you want to use (in this case, one of the Wise Wizard pose presets that do not have a prop name in the thumbnail picture)
    3. select G9 Pose Converter from the custom Scripts menu
    4. if prompted, select the pose's original figure (not needed for Wise Wizard)

    On another note, instead of being name "G9 Pose Converter" it would be more intuitive to name the script "Convert Pose to G9", which I'm now doing instead of trying to remember which script I'm needing to use. :D

Sign In or Register to comment.