PRPC broken again

JQPJQP Posts: 526
edited July 2014 in Daz Studio Discussion

I find myself (again) unable to make PRPC (last version) work for DAZ Studio (4.6.3.50). Thus, I am unable to use Advanced Library. Before consigning myself to DAZ Studio's content library, which I find much inferior, I was wondering if anyone had any troubleshooting tips that might help me get PRPC working again. I don't think it's my firewall, as I disabled it and was still unable to start PRPC server (I get the "is another application active?" thing). I have solved this problem when it arised previously, but can't remember what I did. I seem to remember it might've been some kind of conflict with DS Content Managment service, but turning it off didn't fix the problem, either.

In any event, assuming I can't get PRPC to work again, suggestions for alternate content management software would be welcome. I've heard of PzDB and P3DO Explorer. I don't know anything about PzDB, and P3DO was last updated in 2012, which doesn't inspire confidence.

The most important feature in Advanced Library for me is the ability to create virtual folders so I can sort content according to my preference, rather than according to the content's location in Windows' file structure.

Post edited by JQP on

Comments

  • ZebratechZebratech Posts: 24
    edited December 1969

    I love Advanced Library and have been through some issues with it myself. My suggestion is to find out what is tying up the port that PRPC uses to communicate with DS. One way to do this is to get a free app called TCPView (you would have to Google for it). It is a pretty simple free proggie which when run will list all of your open Local Ports. I BELIEVE the default port which PRPC uses is port 49160. So you would open TCPView and look for that port number down the list and see what application/process is using it.

    Then, you can either kill the process (depending on what it is of course), or merely set PRPC to use a different port, and then set that same port in Advanced Library. Whichever is easier.

    Hope this helps!

  • msorrelsmsorrels Posts: 44
    edited December 1969

    If PRPC can't start it's because another copy of DAZ Studio is running (and thus another copy of PRPC is in use) or because some other application is using the same port as PRPC.

    You may still have a copy of Daz Studio, invisible because it's exiting but is stuck. Open the windows task manager to make sure. If that's not the problem then it's because some other application or service is using the port number that PRPC is set to use.

    Sadly Microsoft has begun to use the default PRPC port for something (can't remember what) which causes this problem. I didn't define the default PRPC port, it was picked along time ago when the Poser version of PRPC was written. But these days that default number really isn't free.

    The work around is pretty simple, inside DAZ Studio change the port PRPC is using to another free number. Do this in the PRPC Options dialog.
    Then change the port # inside Advanced Library.

    On my personal DS I'm using 49000 now since Microsoft started taking port 49160 (the standard PRPC port).

  • X3ZX3Z Posts: 16
    edited June 2025

    Hi there! Any news about new version of plugin with support of Daz Studio 6?

    Post edited by X3Z on
  • TromNekTromNek Posts: 58

    I wrote the original PRPCd. At that time I requested a 'well-known port' from IANA, but was denied.

    But like msorrels mentioned, it's easy enough to change the PRPCd port in Daz Studio.

    You probably also need to change the port in Advanced Library. Not sure where to do that (I use P3DO)

    To see what ports are currently in use on your (windows) computer. Open a dos command prompt, and issue the following command;

    netstat -an

     

     

  • X3ZX3Z Posts: 16

    Up?

    Still no hope in getting updated plugin for daz6?

  • namffuaknamffuak Posts: 4,467

    Probably not going to happen until the DS6 SDK is released out of beta.

  • LeanaLeana Posts: 12,975

    X3Z said:

    Up?

    Still no hope in getting updated plugin for daz6?

    The SDK for DS6 has still not been released publicly.

  • X3ZX3Z Posts: 16

    Leana said:

    X3Z said:

    Up?

    Still no hope in getting updated plugin for daz6?

    The SDK for DS6 has still not been released publicly.

    Got it, thank you!

  • TromNekTromNek Posts: 58

    We would still need msorrels to recompile his daz studio prpc add-in when the SDK for DS6 is released.

    I don't think he is very active in Daz Studio these days.

    I did think of a 'workaround' for this.

    If someone were to write a program to listen on the prpc socket port. Then it could intercept the request to load a file. Then load it into Daz Studio directly.

     

     

  • TromNekTromNek Posts: 58

    I roughed out a python program to allow the use of the PRPC protocol on Daz Studio 6. ( attached as a .txt file )

    I tested it using SenoSoft's Library manager (P3DO) and it works as planned.

    I don't have Advanced Libary to test with. If someone has python installed and wants to test Advanced Library on DS6. Try the attached code.

    If someone confirms that it works with Advanced Library, then I can install a C++ compiler and create and .exe so people can use it without needing to install python.

    The concept is:

    PRPCdBridge.py creates a server daemon that listens for the TCP connection from Advanced Library with a filename to load into DS

    Then it submits that file to DS through the operating system (no prpc plug-in needed in DS)

    --TromNek

    txt
    txt
    PRPCdBridge.txt
    3K
Sign In or Register to comment.