Find c4d preferences Folder



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/08/2011 at 03:25, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :

    ---------
    Hey,

    is it possible to find the (somehow cryptic) c4d preferences directory inside of the user folder?
    this would be needed for installing plugins to this folder with an installer.
    Any chance to know how the 8 hex numbers are calculated?

    Thanks,

    Tobias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/08/2011 at 04:41, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    <ADDRESS>
    User Information:
    Cinema 4D Version:    
    Platform:      
    Language(s) :

    ---------
    </ADDRESS> Hey,

    is it possible to find the (somehow cryptic) c4d preferences directory inside of the user folder?
    this would be needed for installing plugins to this folder with an installer.
    Any chance to know how the 8 hex numbers are calculated?

    Thanks,

    Tobias

    GeGetC4DPath(LONG whichpath)

    is your friend.

    Best regards,

    Wilfried Behne



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 04/08/2011 at 05:16, xxxxxxxx wrote:

    yes, i know of that.
    any chance to calculate that path without being in cinema? as i need it for an installer to install the plugins there



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/08/2011 at 02:35, xxxxxxxx wrote:

    Originally posted by xxxxxxxx

    yes, i know of that.
    any chance to calculate that path without being in cinema? as i need it for an installer to install the plugins there

    I don't think so (esp. as there are cases you can't check without running in the app).

    I fear to make that bullet proof, we would need a different installation mechanism (e.g from inside of the app that executes an install script or similar for your plugin).

    Best regards,

    Wilfried Behne



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/08/2011 at 03:10, xxxxxxxx wrote:

    hmm, too bad.
    i don't want to install the plugin in the programs folder anymore so i thought to install it in the user's folder.
    is this path somewhere in the registry perhaps?
    is everyone else always installing in the programs folder?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/08/2011 at 04:17, xxxxxxxx wrote:

    The path is not in the registry. I had the same issue when writing my standalone plugin manager, and in the end the only way to get the path was to ask the user to locate it using explorer/finder.

    Most plugin authors don't use installers, just zip files. Personally I loathe installers, they never work in 100% of installations. There's always someone with an unusual installation that doesn't fit. Stick with simple archives if you can.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 05/08/2011 at 05:46, xxxxxxxx wrote:

    oh well...

    yes i hate installers as well, but in this case it is needed for an other reasons.

    Thanks anyway


Log in to reply