⭐Flow for VEGAS Pro(Extension for animations based on bezier curves)⭐

Comments

m3lquixd wrote on 3/28/2023, 12:45 PM

Thanks for the tip, but I get the same error message there:

System.ApplicationException: Failed to create instance of main class: 'EntryPoint'.
   at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
   at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)


@jetdv Do you know any solution?

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 7 5700G 3.80 GHz
RAM:
    32,0GB Dual-Channel DDR4 3200MHz
Motherboard:
    ASRock B450M Steel Legend (AM4)
Graphics:
    MSI RTX 4060 Ventus 2X Black OC 8GB
Storage:
    476GB ADATA SU650 (SATA (SSD))
    931GB KINGSTON SNV2S1000G (SATA-2 (SSD))

jetdv wrote on 3/28/2023, 3:23 PM

Make sure you have the "EntryPoint" class.

That's why all of the scripts I've given you have:

 

public class EntryPoint
{
    public void FromVegas(Vegas vegas)
    {
        Test_Script.Class1 test = new Test_Script.Class1();
        test.Main(vegas);
    }
}

 

A compiled DLL file should not have that issue and it can't be resolved by the end user. It almost sounds like they're trying to run a custom command as a script and that won't work.

RatinFX wrote on 3/29/2023, 9:16 AM

I had wondered if he had built that based off of my tutorials. If he did - GREAT! The functionality looks very similar. The interface is cleaner but my purpose was to show the process, not make a perfect interface.

Funny enough I was finishing up the first version for testing when you started releasing the easing videos :D We've exchanged a few emails before and your videos definitely helped a ton especially when I started testing Vegas Scripting projects.

RatinFX wrote on 3/29/2023, 9:18 AM

It still doesn't show up in my extensions in V20, I tried different folder locations and paste methods.
I see it in the V20 script menu, but when I click on it there, I get this:

System.ApplicationException: Failed to create instance of main class: 'EntryPoint'.
   at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
   at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)

This error is only possible if you try to run it as a Script from "Tools - Scripting - Run Script..." which is not the correct way to run this extension. After placing the .dlls in the folder it should just show up under "View - Extension - Vegas Pro Flow" (you might need to restart Vegas if it was open during this time).

RatinFX wrote on 3/29/2023, 9:24 AM

To confirm, you're adding the folder into "My Documents" - wherever that happens to be.

If you're on Windows 11, there's a differences between [user name]\Documents (which won't be seen by VEGAS) and [user name]\OneDrive\Documents (which will be seen by VEGAS)

That's why I always say to put custom commands in:

[My Documents]\Vegas Application Extensions

and regular scripts in:

[My Documents]\Vegas Script Menu

Very interesting, I had no idea this could even be a possible problem. I'll add this to the description, thank you for sharing it!

m3lquixd wrote on 3/29/2023, 9:45 AM

Welcome @RatinFX! 😁🙌

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 7 5700G 3.80 GHz
RAM:
    32,0GB Dual-Channel DDR4 3200MHz
Motherboard:
    ASRock B450M Steel Legend (AM4)
Graphics:
    MSI RTX 4060 Ventus 2X Black OC 8GB
Storage:
    476GB ADATA SU650 (SATA (SSD))
    931GB KINGSTON SNV2S1000G (SATA-2 (SSD))

jetdv wrote on 3/29/2023, 10:50 AM

@RatinFX, I figured it sounded like running as a script instead of a custom command.

Yes, Win11 certainly added a new twist. I figure just saying "[My Documents]\Vegas Application Extensions" will work everywhere as Win11 points to the One Drive folder for "My Documents". When I first got my Win 11 machine, I tried both places just to see what would happen. Even though I've turned off "One Drive", it's still used for "My Documents".

Glad to see this new extension available.

Mindmatter wrote on 3/29/2023, 12:38 PM

It still doesn't show up in my extensions in V20, I tried different folder locations and paste methods.
I see it in the V20 script menu, but when I click on it there, I get this:

System.ApplicationException: Failed to create instance of main class: 'EntryPoint'.
   at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
   at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)

This error is only possible if you try to run it as a Script from "Tools - Scripting - Run Script..." which is not the correct way to run this extension. After placing the .dlls in the folder it should just show up under "View - Extension - Vegas Pro Flow" (you might need to restart Vegas if it was open during this time).

Thank you, I was aware of that. I tried every possible location for the files, as well as having it as a timeline tool icon. Even when pressing the icon I get an error message.

System.ApplicationException: Failed to create instance of main class: 'EntryPoint'.
   at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
   at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)

 

Last changed by Mindmatter on 3/29/2023, 12:39 PM, changed a total of 1 times.

AMD Ryzen 9 5900X, 12x 3.7 GHz
32 GB DDR4-3200 MHz (2x16GB), Dual-Channel
NVIDIA GeForce RTX 3070, 8GB GDDR6, HDMI, DP, studio drivers
ASUS PRIME B550M-K, AMD B550, AM4, mATX
7.1 (8-chanel) Surround-Sound, Digital Audio, onboard
Samsung 970 EVO Plus 250GB, NVMe M.2 PCIe x4 SSD
be quiet! System Power 9 700W CM, 80+ Bronze, modular
2x WD red 6TB
2x Samsung 2TB SSD

RatinFX wrote on 3/29/2023, 12:55 PM

@jetdv Any idea why it wouldn't show up for some people in either folder without any errors or exceptions on any Windows version?

jetdv wrote on 3/29/2023, 1:04 PM

@Mindmatter, it has to be started as a custom command/extension. It's not a "script".

@RatinFX, really the only case I can think of that would cause it to not work would be trying to load the "13" version in 14 or newer or the "14" version in 13 or older.

I've discovered you can have two version, both 13/older and 14/newer, installed at the same time and VEGAS will pick the one it can use. That's what I've done with Excalibur, both "Sony" and "ScriptPortal" can be installed at the same time and they both share the common folders and config files.

Mindmatter wrote on 3/29/2023, 1:15 PM

Thanks jetdv, I know.
I found it and feel pretty silly...all this time I've looked under "tools---> extensions" instead of "view...extensions"

sorry for the mess!

AMD Ryzen 9 5900X, 12x 3.7 GHz
32 GB DDR4-3200 MHz (2x16GB), Dual-Channel
NVIDIA GeForce RTX 3070, 8GB GDDR6, HDMI, DP, studio drivers
ASUS PRIME B550M-K, AMD B550, AM4, mATX
7.1 (8-chanel) Surround-Sound, Digital Audio, onboard
Samsung 970 EVO Plus 250GB, NVMe M.2 PCIe x4 SSD
be quiet! System Power 9 700W CM, 80+ Bronze, modular
2x WD red 6TB
2x Samsung 2TB SSD

m3lquixd wrote on 5/14/2023, 7:10 AM



Release: 1.0.2 Mar 29, 2023

Added Settings option to toggle "Check for Updates on Start"
Refactored the About tab

Release: 1.0.3 Mar 29, 2023

Fixed multiple issues with Adding new Custom Curves
Added a warning for Track Motion animating, make sure you close the window before applying curves!
Slightly increased the size of the curve name boxes

Release: 1.4.1 May 14, 2023

Changed versioning
Moved from Views to Tools - Extensions
Renamed Track Pan/Crop to Track Motion
Added support for Parent Track Motion, Parent Track Glow and Parent Track Shadow
Added support for Track Envelopes: Mute, Composite level, Fade to color
Added support for Event Envelopes: (Fade in & Fade out) Transition Progress, Velocity
Check for Updates on Start is enabled by default on the first start
Display all selectable Track, Event, and Envelope options by default

Release: 1.4.2 May 14, 2023

Removed Mute from supported Track Envelopes
Fixed various Fade in/out Transition Progress Envelope issues

Last changed by m3lquixd on 5/14/2023, 7:11 AM, changed a total of 1 times.

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 7 5700G 3.80 GHz
RAM:
    32,0GB Dual-Channel DDR4 3200MHz
Motherboard:
    ASRock B450M Steel Legend (AM4)
Graphics:
    MSI RTX 4060 Ventus 2X Black OC 8GB
Storage:
    476GB ADATA SU650 (SATA (SSD))
    931GB KINGSTON SNV2S1000G (SATA-2 (SSD))

set wrote on 5/14/2023, 7:38 AM

Thanks for the update.

Just a note, that the default installation goes to C:\Users\[username]\AppData\Roaming\VEGAS Pro\Application Extensions , and I can't find in the Tools - Extension.

Like above's previous post (and in my Win10 O version), it should be copied to C:\Users\[username]\Documents\Vegas Application Extensions

Setiawan Kartawidjaja
Bandung, West Java, Indonesia (UTC+7 Time Area)

Personal FB | Personal IG | Personal YT Channel
Chungs Video FB | Chungs Video IG | Chungs Video YT Channel
Personal Portfolios YouTube Playlist
Pond5 page: My Stock Footage of Bandung city

 

System 5-2021:
Processor: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz   2.90 GHz
Video Card1: Intel UHD Graphics 630 (Driver 31.0.101.2127 (Feb 1 2024 Release date))
Video Card2: NVIDIA GeForce RTX 3060 Ti 8GB GDDR6 (Driver Version 551.23 Studio Driver (Jan 24 2024 Release Date))
RAM: 32.0 GB
OS: Windows 10 Pro Version 22H2 OS Build 19045.3693
Drive OS: SSD 240GB
Drive Working: NVMe 1TB
Drive Storage: 4TB+2TB

 

System 2-2018:
ASUS ROG Strix Hero II GL504GM Gaming Laptop
Processor: Intel(R) Core(TM) i7 8750H CPU @2.20GHz 2.21 GHz
Video Card 1: Intel(R) UHD Graphics 630 (Driver 31.0.101.2111)
Video Card 2: NVIDIA GeForce GTX 1060 6GB GDDR5 VRAM (Driver Version 537.58)
RAM: 16GB
OS: Win11 Home 64-bit Version 22H2 OS Build 22621.2428
Storage: M.2 NVMe PCIe 256GB SSD & 2.5" 5400rpm 1TB SSHD

 

* I don't work for VEGAS Creative Software Team. I'm just Voluntary Moderator in this forum.

RatinFX wrote on 5/14/2023, 10:54 AM

Quoting from the VEGAS Scripting FAQ, any of the following folders should work for an extension:

  • C:\Users\<username>\Documents\Vegas Application Extensions\
  • C:\Users\<username>\AppData\Local\VEGAS Pro\17.0\Application Extensions\
  • C:\Users\<username>\AppData\Roaming\VEGAS Pro\17.0\Application Extensions\
  • C:\ProgramData\Vegas Pro\17.0\Application Extensions\
  • C:\Users\<username>\AppData\Local\Vegas Pro\Application Extensions\
  • C:\Users\<username>\AppData\Roaming\Vegas Pro\Application Extensions\
  • C:\ProgramData\Vegas Pro\Application Extensions\

I tried to find the most reliable path but it seems like no one choice worked for everyone so far.

At the same time showing all these options to the end user is just asking for trouble as I would end up becoming Customer Support.

lan-mLMC wrote on 5/18/2023, 3:32 AM

If it is Sony Vegas, the .dll should be placed in the directory here (don't create any subfolder):

  • C:\Users\<username>\Documents\Vegas Application Extensions\
  • C:\Users\<username>\AppData\Local\Sony\Vegas Pro\13.0\Application Extensions\
  • C:\Users\<username>\AppData\Roaming\Sony\Vegas Pro\13.0\Application Extensions\
  • C:\ProgramData\Sony\Vegas Pro\13.0\Application Extensions\
  • C:\Users\<username>\AppData\Local\Sony\Vegas Pro\Application Extensions\
  • C:\Users\<username>\AppData\Roaming\Sony\Vegas Pro\Application Extensions\
  • C:\ProgramData\Sony\Vegas Pro\Application Extensions\

Therefore, the best path to place the .dll is: 
C:\ProgramData\VEGAS Pro\Application Extensions\ 
or 
C:\ProgramData\Sony\Vegas Pro\Application Extensions\  
It can make suer that all versions of Vegas Pro can load them, and does not contain any system user name or Vegas version name.

jetdv wrote on 5/18/2023, 7:39 AM
Therefore, the best path to place the .dll is: 

C:\ProgramData\VEGAS Pro\Application Extensions\ 
or 
C:\ProgramData\Sony\Vegas Pro\Application Extensions\  

I disagree. I still say the best place is:

[My Documents]\Vegas Application Extensions (for extenstions)

[My Documents]\Vegas Script Menu (for regular scripts)

Much easier to find and will work with ALL versions of VEGAS installed.

RatinFX wrote on 5/18/2023, 7:58 AM
Therefore, the best path to place the .dll is: 

C:\ProgramData\VEGAS Pro\Application Extensions\ 
or 
C:\ProgramData\Sony\Vegas Pro\Application Extensions\  

I disagree. I still say the best place is:

[My Documents]\Vegas Application Extensions (for extenstions)

[My Documents]\Vegas Script Menu (for regular scripts)

Much easier to find and will work with ALL versions of VEGAS installed.

I would love to keep things in [Documents] but from the feedback I received it looks like not one single path worked consistently for all users.

jetdv wrote on 5/18/2023, 9:35 AM

All of my installers (Excalibur, Montage Magic, Auto Save, Project Inspector, etc...) install into [My Documents]\Vegas Application Extensions and I've never had anyone tell me it doesn't work from there.

lan-mLMC wrote on 5/18/2023, 10:47 AM

In fact, every one of these paths works for me (You need to make sure the dlls are in these paths, not in their subfolders.). I like C:\ProgramData\VEGAS Pro\Application Extensions\ because it is an absolute path. I just need Copy&Paste it to any computer, to open it. And it will never stop working even though different computers have different user names.

RatinFX wrote on 5/24/2023, 3:48 AM

All of my installers (Excalibur, Montage Magic, Auto Save, Project Inspector, etc...) install into [My Documents]\Vegas Application Extensions and I've never had anyone tell me it doesn't work from there.

I have multiple Vegas Pro 18 and 20 users telling me it's not working meanwhile every path works on my PC for Vegas 14 and 18, I'm not sure what's going on at this point.

Sadly I don't have Vegas 20 so I can't even test some other problems they shared 😓

jetdv wrote on 5/24/2023, 7:37 AM

@RatinFX The key is that it MUST go under the actual "My Documents" folder which, on my Win11 system, is now under "OneDrive". When installing, my installer users they actual "My Documents" variable to get the correct install location.

You CANNOT just install under "Users\[user name]\Documents" anymore as that may or may not be the correct location. On my Win10 system, that is where "MY Documents" is located. On my Win11 system, it is not.

That's why I'm trying to be very clear that it must be "My Documents" and not just a "Documents" folder under "User name".

RatinFX wrote on 5/24/2023, 9:05 AM

@jetdv I understand, it must be the Environment.SpecialFolder.MyDocuments enum in C# and %userprofile%/Documents in Windows Explorer, right?

jetdv wrote on 5/24/2023, 3:15 PM

@jetdv I understand, it must be the Environment.SpecialFolder.MyDocuments enum in C# and %userprofile%/Documents in Windows Explorer, right?


@RatinFX, yes. But when the user is manually doing it, they must make sure they browse to "My Documents". Telling them to go to "[Username]\Documents" is not a definite solution anymore. They must make sure they go to the folder with the purpleish folder icon. That's the great thing about using an installer, it can locate the correct place automatically.