# Struggling with howto video

**URL:** https://forum.foleysfinest.com/t/struggling-with-howto-video/120
**Category:** PluginGuiMagic
**Created:** [16 June 2022 23:13 UTC](https://forum.foleysfinest.com/t/struggling-with-howto-video/120 "2022-06-16T23:13:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dijitol](https://forum.foleysfinest.com/letter_avatar_proxy/v4/letter/d/41988e/32.png) [@dijitol](https://forum.foleysfinest.com/u/dijitol)
#### Post date: [16 June 2022 23:13 UTC](https://forum.foleysfinest.com/t/struggling-with-howto-video/120/1 "2022-06-16T23:13:45Z")

</div>

Hi I have watched the how to video a few times and between the instructions from 2020 and what must be obvious to others but now me is a how to get a clean install into an exacting project.

I had seen that tree line isn’t important now but have yet to find the full instructions for intergration.

I have removed the :

bools has editor  
Juce::plugineditor crest editor

And comments out both the get state info and set state info.

I know that I need to remove the line that specifies the old processor editor line in processor plugin but between the 2020 video and the 2021 read me I’m at a post as to what that line needs to be.

My apologies I’m a web dev working on my first cpp project and would love to get this working if possible

---

<div class="post-metadata">

### Author: ![daniel](https://forum.foleysfinest.com/user_avatar/forum.foleysfinest.com/daniel/32/5_2.png) [@daniel](https://forum.foleysfinest.com/u/daniel)
#### Post date: [17 June 2022 09:54 UTC](https://forum.foleysfinest.com/t/struggling-with-howto-video/120/2 "2022-06-17T09:54:20Z")

</div>

Hi,  
Indeed the videos are a bit more complicated than it has to.

There is a posting which summarizes the steps:

> [@New way to use PGM in plugins](https://forum2.foleysfinest.com/t/new-way-to-use-pgm-in-plugins/39):
>
> Since Version 1.3.0 there is an easier way to use PluginGuiMagic in a JUCE based plugin. What stays the same is to add the foleys\_gui\_magic to the project. Instead of inheriting juce::AudioProcessor inherit foleys::MagicProcessor You don’t need to add a magicState. It is alreadt added in the new base class You don’t need to use AudioProcessorValueTree, but you can. You need to remove the hasEditor and createEditor from your processor class, so the editor is created from the base class You sho…

If you inherit from foleys::MagicBuilder instead of juce::AudioProcessor, most of the steps in the video are already done for you.  
Loading and saving is already implemented, all the pure virtual functions like getProgram() etc. are implemented with a default, etc.

I would love to make a new video with those updated steps, but I cannot promise if and when that will happen.

Additionally you can have a look at the examples in the [examples](https://github.com/ffAudio/PluginGuiMagic)

Let me know if you still have trouble with the foleys::MagicProcessor.  
Good luck
