Quixel Help Center home page

Megascan Link plugin for Substance Painter

Answered

Comments

21 comments

  • KigKadriK

    awesome ! 

     

    Thanks.

    0
    Comment actions Permalink
  • Jan Vollgod

    Thank you m8t. You're a lifesaver. Works like a charm. 

    0
    Comment actions Permalink
  • Darkimage

    KigKadriK Jan Vollgod i'm glad you guys like it :)

    0
    Comment actions Permalink
  • Juice

    Darkimage

    Hey man awesome plugin! I have the plugin enabled in the python and javascript tabs; however, I get this error every time I export from Bridge to a custom socket. Any idea on how to fix it?

    Thank you as always!

    0
    Comment actions Permalink
  • Darkimage

    hello Juice, first of all thank you for using the plugin. The error you are facing is related to the plugin not beeing able to install a python dependecy needed (socket-client ), so you have to install it manually, for install it manually you can follow the steps described in the manual dependecies installation documentation.

    Here are the same steps:

    Windows installation steps

    • open a terminal (win+r then write cmd and press enter)
    • navigate to the Substance Painter Python installation folder cd %pathtoSubtancePainterInstallation%\resources\pythonsdk

    • install the dependencies with the command python.exe -m pip install websocket-client

    i hope this helped, thank you again for using the plugin!


    0
    Comment actions Permalink
  • Kwonyo

    Hi there I'm having a little issue I ran cmd did the cd command but I'm having issues on the second third and fourth line of command please help I did what was instructed I copied the 3 remaining commands. Thanks again

    0
    Comment actions Permalink
  • Kwonyo

    It would be helpful if you can provide everyone a video of how to set it up I myself is not a programmer but It really helps us understand things on what to do and how to set it :)

    0
    Comment actions Permalink
  • Darkimage

    hi Kwonyo you were almost there, the only thing missing is to switch disk after the cd command so basically the list of commands to run is (in order)

    cd D:\Substance Painter\resources\pythonsdk

    then

    D:

    then finally install the library using

    python.exe -m pip install websocket-client

    and you'll should be good the rest of commands are just to see if the library is installed correctly there's no need to run them. 

    As you can see the terminal don't switch disk (C: -> D:) when you write the cd command you have to tell him by writing the name of the disk then press enter :) see this image 

    For the video i'll try to do one (first time so bear with me) :)

    0
    Comment actions Permalink
  • Liquid

    Well.. I'm really happy to see Substance Painter in Bridge family :) ...in fact mine is not working.. After installing, I can see python and java options in their menus which are enabled (rescaned). But I can't see that icon on the left panel in SBSTNC - to make settings for import... any advice pls? :)

    0
    Comment actions Permalink
  • Darkimage

    Hi Liquid thank you a lot for using the plugin, have you checked right below the top menu bar right below the file entry?

    this is the default location when you first install it

    0
    Comment actions Permalink
  • Liquid

    well, i think there's nothing to check for me.. the bridge plugin icon is missing on the left panel, because I assume that something's wrong with starting fo python plugin. Here's the Log:

    [Python] Adding dependecies
    [Python] [megascanlink][ERROR] Error during pip command: Command '['C:\\Program Files\\Allegorithmic\\Substance Painter\\resources\\pythonsdk\\python.exe', '-m', 'pip', 'install', 'websocket-client']' returned non-zero exit status 1.
    [Python] [megascanlink][INFO] Check installed dependecies
    [Python] [megascanlink][ERROR] Dependecies error! cannot start plugin
    [Plugin - megascan_link_js] Megascan-link-JS loaded
    [Plugin - resources-updater] No project open, resources updater discarded

     

    hmmm? :)

    0
    Comment actions Permalink
  • Darkimage

    yup Liquid you are absolutely right, the automatic dependencies installation failed, so you have to manually install the needed dependencies.

    Let me know if you need help with this procedure :)

    0
    Comment actions Permalink
  • Liquid

    Yeah.. finally, this is out of my ablities.. I tried to follow instructions, but the circumstances moved me to update python pip version ..and, to be honest - this process shows me so many bizzare processes in the command window, which are out of my skills... well, I hope that in public release will be everything user friendly to smooth instal :)

    0
    Comment actions Permalink
  • Darkimage

    Liquid I'm sorry to hear that but yeah the plugin was made this way because the currently Substance Painter Python API are still not complete and to get the plugin running I had to put in place some workaround.  I hope that in future version of the Allegorithmic software they will be more complete and stable.

    I completely get that this is not for everyone and I appreciated your feedback, but I can assure you if you are worried about malicious software that this is not the case (this is the needed dependency) so if still want to I can offer help to install it otherwise that you for trying it out and your feedback about the install process :)

    0
    Comment actions Permalink
  • Liquid

    I any case, this comfortable fusion - M-Bridge to S-Painter save some time, which is the reason that I started to find this option. I'm happy that this is in development phase. Anyway, I have no problem to try anything :) - So if you thing, that you can help me with the installation, I will be happy. But, I can't imagine how :D

    0
    Comment actions Permalink
  • Darkimage

    That is the exact reason I created this plugin to have a comfortable workflow from Megascan to the Substance suite, anyway I can offer my help if you are stuck running a command or if you are receiving an error from a command or something related to this. Just post the command and what it writes to you in the console and we can  try to find a solution :) or if you want to wait for a stable release I can totally understand, in either case I still thank you for the feedback.

    0
    Comment actions Permalink
  • Liquid

    OK, let's get things flow. I assume, that this way help, in this case will be too complicated. I mean, when you can't see live what's going on etc... Of course, I can wait for the stable release and I'm looking forward to it. Until that time, I can do things by old way... no problem :) Anyway, thanks for your time.

    0
    Comment actions Permalink
  • Darkimage

    Liquid I'm looking forward to providing to everybody a stable release as soon as possible in the mean time if you have question or feedback post them here as you have noticed I always try to be present in this forum. Have a great day and thank you for you feedback :)

    0
    Comment actions Permalink
  • Darkimage

    Hello guys,

    While we wait for a more complete set of Python APIs for Substance Painter I've updated the plugin to show the user an error dialog whenever it fails to install the needed dependencies and guides him to the Manual Installation documentation page.

    Currently the plugin is heavily based on a work around for the limited Substance painter Python APIs, I hope that in future versions of painter I can get rid of this work around and thus of the additional dependency making a more smooth end user installation process

    Download the update (v0.2.6-beta) HERE.

    Here's a screenshot of the new dialog:

    Version v0.2.6-beta Changelog:

    • [c2d71dd]: [GLOBAL] Added docs badge (Darkimage)
    • [92f16b1]: [PYTHON] Added configurable error dialog (Darkimage)
    • [8d492ac]: [PYTHON] Updated qt compiler version (Darkimage)
    • [edcc1e0]: [PYTHON] Added DependencyErrorDialog (Darkimage)
    • [623b63c]: [PYTHON] Added fallback options to getConfigSetting and checkIfOptionIsSet (Darkimage)
    • [dc80d32]: [PYTHON] Added showErrorDialog when an error occurs during the automatic dependecy installation step (Darkimage)
    • [bd59a35]: [PYTHON] Show the DependencyErrorDialog when loading dependencies fails (Darkimage)
    0
    Comment actions Permalink
  • Julianna

    Hi!,

     

    I am still stuck when it comes to installing the dependency. Im stuck on this step : navigate to the Substance Painter Python installation folder cd %pathtoSubtancePainterInstallation%\resources\pythonsdk. I am unable to locate resources > pythonsdk. Please can you let me know what to do? 

    Thankyou!

    0
    Comment actions Permalink
  • Darkimage

    hi Julianna sorry for the late reply I've been quite busy lately,

    Anyway the simplest way to get that path is (if you are on Windows) to right click the icon of Substance Painter on your desktop and click "open file location" then copy that path and use it in the cd command.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.