14 Pages«<34567>»
Options
Go to last post Go to first unread
Grugaloon  
#81 Posted : Wednesday, January 20, 2021 9:41:27 PM(UTC)
Grugaloon

Rank: Newbie

Joined: 11/17/2018(UTC)
Posts: 5

Thanks: 1 times
Was thanked: 5 time(s) in 2 post(s)

Hello Everyone:


Hopefully 3feetwolf will not mind this post until he can update himself.


I took a look at the scripts and it is fairly quick and easy to get NVG8 to work on Gen 8.1.


C:\Users\Public\Documents\My DAZ 3D Library\People\Genesis 8 Female\Anatomy\New Genitalia For Victoria 8 or where ever you have your DAZ library


1. Make copies of the following script files:


New Genitalia For Victoria 8
Update The Materials Of New Gens
Remove NGV8 From Current Body


2. Rename them as follows:


New Genitalia For Victoria 8.1
Update The Materials Of New Gens8.1
Remove NGV8.1 From Current Body


You can put them in the same directory and they will show up in the Content Library alongside the others.


Open each file and change the following:


CRTL F these terms in each script:


Genesis8Female and change to Genesis8_1Female


torso and change to body


"Torso" and change to "Body"


 


below are the actual lines in each script:


in file New Genitalia For Victoria 8.1 change the following:


var g_torsoSurface = "Torso"; TO var g_bodySurface = "Body";


( g_charNode.name == "Genesis8Female" ) TO ( g_charNode.name == "Genesis8_1Female" )


var oSourceMat = g_charShape.findMaterial( g_torsoSurface ); TO var oSourceMat = g_charShape.findMaterial( g_bodySurface );


 


in file Update The Materials Of New Gens8.1 change the following:


var g_torsoSurface = "Torso"; TO var g_bodySurface = "Body";


if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){ TO if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8_1Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){


var oSourceMat = g_charShape.findMaterial( g_torsoSurface ); TO var oSourceMat = g_charShape.findMaterial( g_BodySurface );


 


in file Remove NGV8.1 From Current Body change the following:


if( g_charNode.name == "Genesis8Female" ){ TO if( g_charNode.name == "Genesis8_1Female" ){


if( oNode && oNode.className() == "DzFigure" && ( oNode.name == "Genesis3Female" || oNode.name == "Genesis8Female" ) && oObject ){ TO if( oNode && oNode.className() == "DzFigure" && ( oNode.name == "Genesis3Female" || oNode.name == "Genesis8_1Female" ) && oObject ){


 


thanks 4 users thanked Grugaloon for this useful post.
ZombiePossum on 1/21/2021(UTC), dsv4600 on 1/24/2021(UTC), TZO3K1 on 2/17/2021(UTC), 3feetwolf on 2/19/2021(UTC)
MidnightWatcher  
#82 Posted : Thursday, January 21, 2021 3:21:06 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)
Thanks Grugaloon! I'll be working on also applying this method to expansion and will post back.
MidnightWatcher  
#83 Posted : Thursday, January 21, 2021 3:42:22 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)
Fuck me, never mind they are encrypted dse.
MidnightWatcher  
#84 Posted : Thursday, January 21, 2021 4:20:03 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)
After applying your hack, which worked well. I had to change the New Genitalia for Victoria 81 UV Set to Base Female.
It doesn't apply the PBRSkin shaders from the Body. You have to apply the Daz Iray PBRSkin shader and it (for me anyways) just keeps the base color texture and all other shader settings and maps have to be reloaded.
Akirael  
#85 Posted : Thursday, January 21, 2021 6:18:54 AM(UTC)
Akirael

Rank: Advanced Member

Joined: 7/19/2017(UTC)
Posts: 85

Thanks: 126 times
Was thanked: 32 time(s) in 26 post(s)

Originally Posted by: Grugaloon Go to Quoted Post


Hello Everyone:


Hopefully 3feetwolf will not mind this post until he can update himself.


I took a look at the scripts and it is fairly quick and easy to get NVG8 to work on Gen 8.1.


C:\Users\Public\Documents\My DAZ 3D Library\People\Genesis 8 Female\Anatomy\New Genitalia For Victoria 8 or where ever you have your DAZ library


1. Make copies of the following script files:


New Genitalia For Victoria 8
Update The Materials Of New Gens
Remove NGV8 From Current Body


2. Rename them as follows:


New Genitalia For Victoria 8.1
Update The Materials Of New Gens8.1
Remove NGV8.1 From Current Body


You can put them in the same directory and they will show up in the Content Library alongside the others.


Open each file and change the following:


CRTL F these terms in each script:


Genesis8Female and change to Genesis8_1Female


torso and change to body


"Torso" and change to "Body"


 


below are the actual lines in each script:


in file New Genitalia For Victoria 8.1 change the following:


var g_torsoSurface = "Torso"; TO var g_bodySurface = "Body";


( g_charNode.name == "Genesis8Female" ) TO ( g_charNode.name == "Genesis8_1Female" )


var oSourceMat = g_charShape.findMaterial( g_torsoSurface ); TO var oSourceMat = g_charShape.findMaterial( g_bodySurface );


 


in file Update The Materials Of New Gens8.1 change the following:


var g_torsoSurface = "Torso"; TO var g_bodySurface = "Body";


if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){ TO if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8_1Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){


var oSourceMat = g_charShape.findMaterial( g_torsoSurface ); TO var oSourceMat = g_charShape.findMaterial( g_BodySurface );


 


in file Remove NGV8.1 From Current Body change the following:


if( g_charNode.name == "Genesis8Female" ){ TO if( g_charNode.name == "Genesis8_1Female" ){


if( oNode && oNode.className() == "DzFigure" && ( oNode.name == "Genesis3Female" || oNode.name == "Genesis8Female" ) && oObject ){ TO if( oNode && oNode.className() == "DzFigure" && ( oNode.name == "Genesis3Female" || oNode.name == "Genesis8_1Female" ) && oObject ){


 



I have a strange white map around the majora as well as in some parts around the anus.


Either I missed something down the line in the script or my Geos are nuts and I can't find the right maps.


Could you please upload the complete scripts?


42snoopy  
#86 Posted : Thursday, January 21, 2021 11:51:41 AM(UTC)
42snoopy

Rank: Member

Joined: 3/2/2015(UTC)
Posts: 20

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)

Originally Posted by: simontemplar Go to Quoted Post
That might get a bit dicey. Ideally, 3feetwolf himself could have fixed that but we haven't have win d of him for ages, to the point I even worry for him.
If anyone who's good with scripting can look under the hood, I guess it could be fixable.


A quick look and it should be pretty straight forward, I've not tested it. Note that someone can't distribute the full file (copywrite).


if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){
 


nightwolf1982  
#87 Posted : Thursday, January 21, 2021 3:41:01 PM(UTC)
nightwolf1982

Rank: Advanced Member

Joined: 9/15/2012(UTC)
Posts: 207

Thanks: 2 times
Was thanked: 66 time(s) in 55 post(s)
Figured out the UV issue: go to your UV folder: data\3feetwolf\New Genitalia For Victoria 8\Base Layer\UV Sets\3feetwolf\Base and make a copy of the Base Female.dsf renamed to Base 8.1 Female.dsf.

Edit the Base 8.1 Female.dsf, and find and replace "Base Female" with "Base 8.1 Female"; also find and replace Base%20Female with Base%208.1%20Female.
thanks 3 users thanked nightwolf1982 for this useful post.
Klutz on 1/21/2021(UTC), dsv4600 on 1/24/2021(UTC), 3feetwolf on 2/19/2021(UTC)
Akirael  
#88 Posted : Thursday, January 21, 2021 4:55:15 PM(UTC)
Akirael

Rank: Advanced Member

Joined: 7/19/2017(UTC)
Posts: 85

Thanks: 126 times
Was thanked: 32 time(s) in 26 post(s)

Was the UV issue also for me.  Should have thought about that beforehand.


Seven-ol  
#89 Posted : Friday, January 22, 2021 12:59:51 PM(UTC)
Seven-ol

Rank: Advanced Member

Joined: 3/31/2015(UTC)
Posts: 98

Thanks: 2 times
Was thanked: 15 time(s) in 13 post(s)
I feel sorry that 3feetwolf products are so rarely updated ...
I like them a lot, but Meipe is so much more reactive

I understand he has probably (and unfortunately for us) other important things to do in real life.
nightwolf1982  
#90 Posted : Friday, January 22, 2021 5:00:42 PM(UTC)
nightwolf1982

Rank: Advanced Member

Joined: 9/15/2012(UTC)
Posts: 207

Thanks: 2 times
Was thanked: 66 time(s) in 55 post(s)
I can't speak for 3feetwolf, but my guess would be that meipe's products just took over, despite how good New Gens is. We can only hope he'll return with new products in the future.
marble51  
#91 Posted : Friday, January 22, 2021 5:51:13 PM(UTC)
marble51

Rank: Advanced Member

Joined: 8/1/2013(UTC)
Posts: 217

Thanks: 33 times
Was thanked: 22 time(s) in 20 post(s)

Originally Posted by: nightwolf1982 Go to Quoted Post
I can't speak for 3feetwolf, but my guess would be that meipe's products just took over, despite how good New Gens is. We can only hope he'll return with new products in the future.


I agree and am sorry that 3feetwolf seems to have been unable to continue developing his products. I just wish that I could use his Pubic Hair product on Meipe's GP for G8F.


Iefke  
#92 Posted : Saturday, January 23, 2021 1:56:22 PM(UTC)
Iefke

Rank: Newbie

Joined: 9/15/2012(UTC)
Posts: 7

In trying to add the new PBR skin shader to the color layer of the New Gens, i discovered that it has no opacity channel!
MidnightWatcher  
#93 Posted : Monday, January 25, 2021 12:52:41 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)

Originally Posted by: Iefke Go to Quoted Post
In trying to add the new PBR skin shader to the color layer of the New Gens, i discovered that it has no opacity channel!


Or ScatterTransmit which are the two reasons I'm using the the G8.1 model but NOT the PBRSkin, the UberIray skin is PBR anyway, this one just has micro detail which has been done for a while with 8k maps and makeup which you can do on base maps or a geoshell or lie.


 


MidnightWatcher  
#94 Posted : Monday, January 25, 2021 1:12:36 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)

Originally Posted by: marble51 Go to Quoted Post


Originally Posted by: nightwolf1982 Go to Quoted Post
I can't speak for 3feetwolf, but my guess would be that meipe's products just took over, despite how good New Gens is. We can only hope he'll return with new products in the future.


I agree and am sorry that 3feetwolf seems to have been unable to continue developing his products. I just wish that I could use his Pubic Hair product on Meipe's GP for G8F.



You can! You'll need to first load a new g8, apply the NGen to the G8, then the Pubic Hair. Once that's done find the Pubic Hair node and right click on it and select fit, fit to Golden Palace Gens (parent.) Save as wearable preset.


 


MidnightWatcher  
#95 Posted : Monday, January 25, 2021 1:18:56 AM(UTC)
MidnightWatcher

Rank: Advanced Member

Joined: 5/8/2019(UTC)
Posts: 95

Thanks: 4 times
Was thanked: 37 time(s) in 29 post(s)

Originally Posted by: nightwolf1982 Go to Quoted Post
I can't speak for 3feetwolf, but my guess would be that meipe's products just took over, despite how good New Gens is. We can only hope he'll return with new products in the future.


I've only really used the expansion new gens, it allowed for non stretching skin closeups that the normal one couldn't. I've been sitting on GPv2 for a while and hadn't really given it much thought until now. I have to say I wish I had switched to it earlier. Much more realism and tweak control. Also I can get geoshells to work with it with much less fuss.

marble51  
#96 Posted : Wednesday, January 27, 2021 2:21:57 AM(UTC)
marble51

Rank: Advanced Member

Joined: 8/1/2013(UTC)
Posts: 217

Thanks: 33 times
Was thanked: 22 time(s) in 20 post(s)

Originally Posted by: MidnightWatcher Go to Quoted Post


You can! You'll need to first load a new g8, apply the NGen to the G8, then the Pubic Hair. Once that's done find the Pubic Hair node and right click on it and select fit, fit to Golden Palace Gens (parent.) Save as wearable preset.


 



 


Sorry - I tried but failed. I am with you to the point where I have the NGV8 loaded on a G8F and then have the PH loaded too. Then I loaded Golden Palace as well (on to the same G8F) and switched the fit of the PH from NGV8 to GP. That seemed to work because I was then able to delete the NGV8 and the PH stayed put. But I tried to save it as a wearable (not something I have any experience with, by the way) and I must have selected the wrong parameters because whatever I saved just won't load. It either loads nothing or another G8F but without the PH.


d7e6E100L  
#97 Posted : Sunday, January 31, 2021 5:23:33 PM(UTC)
d7e6E100L

Rank: Newbie

Joined: 10/16/2015(UTC)
Posts: 1

Was thanked: 4 time(s) in 1 post(s)

I took the previous solutions and added my spin by adding G8.1F to the existing G8F/G3F scripts and
I added code to detect the figure skin shader preset and switch to either PBRSkin or Iray Uber if needed.


A. Update "Base Female.dsf" UVs
    
    1. I followed nightwolf1982's instructions:
    Figured out the UV issue: go to your UV folder: data\3feetwolf\New Genitalia For Victoria 8\Base Layer\
    UVSets\3feetwolf\Base and make a copy of the Base Female.dsf renamed to Base 8.1 Female.dsf.
    Edit the Base 8.1 Female.dsf, and find and replace "Base Female" with "Base 8.1 Female"; also find and
    replaceBase%20Female with Base%208.1%20Female.


    I left the new file in the same folder rather than create a new 8.1 path


B. Update "New Genitalia For Victoria 8.dsa"


1. Replace: g_charNode.name == "Genesis8Female"
    With:  g_charNode.name == "Genesis8_1Female" || g_charNode.name == "Genesis8Female"


2. Modify the code at the bottom of the script
if ( g_charNode && g_charNode.className() == "DzFigure" && ( g_charNode.name == "Genesis8_1Female" || g_charNode.name == "Genesis8Female" || g_charNode.name == "Genesis3Female" ) && g_charObject ){
    // Add these lines
    if(g_charNode.name == "Genesis8_1Female"){
        g_torsoSurface = "Body";
    }else{
        g_torsoSurface = "Torso";
    }
    //end add lines
    g_charShape = g_charObject.getCurrentShape();
    updateGensDufPath();
    if ( addGens() ) {
        initializeGens();
    } else MessageBox.information( "Failed to apply NGV8 to this character!\nPlease contact 3feetwolf([email protected]) to get technical support.", g_appName, "&OK" );
    // And update the error message to include G8.1F
} else MessageBox.information( "Wrong object!\nPlease select a G8.1F/G8F/G3F figure and then run the script again.", g_appName, "&OK" );


3. Add these variables to the global variables at the top of the script
// Added to change shaders
var g_DazIrayUberPath = getAbsolutePath( "/Shader Presets/Iray/DAZ Uber/!Iray Uber Base.duf" );
var g_DazPBRSkinPath = getAbsolutePath( "/Shader Presets/Iray/Daz PBRSkin/Daz Iray PBRSkin.duf" );
// End change shaders


4. Modify the function copyMaterialToBaseLayer() to change shaders
    ...
                        if ( g_gensBaseLayerShape ) {
                        // Add code to change the shader preset between PBRSkin and Iray Uber
                        var oSourceMatShader = oSourceMat.getMaterialName();
                        var SwapShader=false;
                        for ( var i = 0; i < g_baseSurfaces.length; i ++ ) {
                            var Mat = g_gensBaseLayerShape.findMaterial( g_baseSurfaces[ i ]);
                            var Shader = Mat.getMaterialName();
                            if(oSourceMatShader!=Shader){
                                SwapShader=true;
                                Mat.select(true);
                            }
                        }
                        if(SwapShader){
                            g_charNode.select(false);
                            g_gensBaseLayerNode.select(true);
                            if(oSourceMatShader=="PBRSkin"){
                                execDUF(g_DazPBRSkinPath);
                            }else if(oSourceMatShader=="Iray Uber"){
                                execDUF(g_DazIrayUberPath);
                            }
                            g_charNode.select(true);
                            g_gensBaseLayerNode.select(false);
                            for ( var i = 0; i < g_baseSurfaces.length; i ++ ) {
                                var Mat = g_gensBaseLayerShape.findMaterial( g_baseSurfaces[ i ]);
                                Mat.select(false);
                            }
                        }
                        // End Shader Swap


C. Update "Update the Materials of New Gens.dsa"


    1. Repeat Steps B1, B2, B3 & B4. Note step B2 has slightly different code, but lines are added
      at the same point and messages are updated to include G8.1F


    2. Copy the function execDUF( sDufPath ) from "New Genitalia For Victoria 8.dsa" and paste it into the file.


D. Update "Remove NGV8 From Current Body.dsa"


    1. Repeat Step B1


    2. Replace: oNode.name == "Genesis8Female"
       With: oNode.name == "Genesis8Female" || oNode.name == "Genesis8_1Female"
    
    3. Update the error message only in step B4 ...G8F or G3F... to ...G8.1F/G8F/G3F...


E. Update "Zero Morphs.dsa"
    1. No Changes


thanks 4 users thanked d7e6E100L for this useful post.
Akirael on 2/7/2021(UTC), deathD58 on 2/14/2021(UTC), Epitaph on 2/17/2021(UTC), 3feetwolf on 2/19/2021(UTC)
slawdos  
#98 Posted : Monday, February 15, 2021 12:22:32 AM(UTC)
slawdos

Rank: Newbie

Joined: 7/21/2020(UTC)
Posts: 1

Can anybody share edited files for g81?
Epitaph  
#99 Posted : Wednesday, February 17, 2021 3:48:36 AM(UTC)
Epitaph

Rank: Newbie

Joined: 7/29/2017(UTC)
Posts: 2

Thanks: 1 times

Originally Posted by: slawdos Go to Quoted Post
Can anybody share edited files for g81?


+1


 


Would be nice.


deathD58  
#100 Posted : Wednesday, February 17, 2021 11:15:04 PM(UTC)
deathD58

Rank: Newbie

Joined: 12/31/2015(UTC)
Posts: 4

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)

One thing to add the part


1. Replace: g_charNode.name == "Genesis8Female"
    With:  g_charNode.name == "Genesis8_1Female" || g_charNode.name == "Genesis8Female"


 


That needs to be done to the material settings like anus color etc as well. At least I did that and they worked instead of bitching that I wasn't selecting a g8 figure.


Users browsing this topic
Guest (2)
14 Pages«<34567>»
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 1.833 seconds.

Notification

Icon
Error