Megascan Link plugin for Substance Painter
AnsweredHello guys,
Since I made the Megascan Link Plugin for Substance Designer I decided to the same for Substance Painter.
With the Megascan Link for Substance Painter plugin you can import Megascan Assets directly into an opened project or create one if you export from Quixel Bridge a Megascan Asset with a 3D mesh.
The plugin is completely Free and OpenSource, you can Download it here and you can find the complete Documentation here.
Quick start guide
- Download the plugin from the Release Page on GitHub
- Install it by extracting the zip file in the documents folder of Substance Painter:
-
For Windows 10
%userprofile%\Documents\Allegorithmic\Substance Painter
-
For Linux
~/Documents/Allegorithmic/Substance Painter
-
For MacOS
/Users/%username%/Documents/Allegorithmic/Substance Painter
-
In Substance Painter enable both plugins (yup there are two: Python and JS)
Examples
Import into project
Auto Bake when creating project
since the gif is too large here is a link to it
Remember to change Color Space for Normal Maps
same thing as before the gif is too large here is a link to it
Updates
Version v0.2.6-beta Changelog:
the plugin now shows the user an error dialog whenever it fails to install the needed dependencies and guides him to the Manual Installation documentation page.
- [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)
Thank you guys, I hope you like it!!!
-
KigKadriK Jan Vollgod i'm glad you guys like it :)
-
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!
-
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 writecmd
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!
- open a terminal (
-
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) :)
-
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? :)
-
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
-
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 discardedhmmm? :)
-
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 :)
-
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 :)
-
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 :)
-
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
-
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.
-
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.
-
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 :)
-
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)
-
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!
-
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.
Please sign in to leave a comment.
Comments
21 comments