Morgantao
Can't script

|
Hi everybody
Is there an easy way to port a filter I just created in FF3 to FF2?
There are no FF3 exclusive components in the filter.
I have tried editing the FFXML file from majorversion=3 to majorversion=2, but when I try to load it in FF2 I get a "File format invalid" error.
Other than starting again from scratch, is there anything else you guys can suggest?
Thanks!
|
Posted: April 10, 2012 5:55 pm |
Details
E-Mail
|
Mardar
Graphics Junkie

|
Go into your FF3 program, open the filter you want to copy, then go to the "edit this filter". Left click and drag it over all the boxes to select them all, then right click on one of the selected boxes and hit copy to clip board. Then log out of FF3 and open FF2. Then go into edit "compose new filter" and right click on the space and paste. Hook it to result. See if that works.
|
Posted: April 10, 2012 7:29 pm |
Details
E-Mail
|
Morgantao
Can't script

|
That's the first thing I tried, however once you close FF3 you lose the clipboard info.
And you can't run both FF3 and FF2 at the same time
|
Posted: April 10, 2012 11:55 pm |
Details
E-Mail
|
SpaceRay
SpaceRay

|
The only way that I can think of doing this is by going to the filter editor and take a screenshot of the filter construction and then you write down the settings if needed and then go to FF 2 and reproduce this same filter construction again.
I know that this is making it ALL from the beginning but at least you have a guide of what you have to do.
Quote |
---|
Morgantao wrote:
I have tried editing the FFXML file from majorversion=3 to majorversion=2, but when I try to load it in FF2 I get a "File format invalid" error. |
There is something that will probably NOT work on this. I think that is NOT ONLY the version of the FF version that is important, ALSO the versions of all the components involved in making the filter. I mean that the components versions are NOT probably the same than the ones found on FF 2 even if they have the same name.
Quote |
---|
Morgantao wrote:
That's the first thing I tried, however once you close FF3 you lose the clipboard info. |
There are software that could help to KEEP your clipboard active probably BUT even if you could keep and paste it into FF 2 probably it would have the components version incompatibility as I have told above.
Anyway if you still want to try there are many clipboard managers available on internet, if you want to try.
Quote |
---|
Morgantao wrote:
And you can't run both FF3 and FF2 at the same time |
I think that I found a reason why this is not possible, If you have already FF open as a plugin inside Photoshop (or any other host) and you try to open FF again as standalone it could be a problem to manage the data, and would be a clash between both and could be a conflict source.
|
Posted: April 11, 2012 1:28 am |
Details
E-Mail
|
GMM
Moderator
Filter Forge, Inc
Posts: 3491
|
Quote |
---|
Morgantao wrote:
There are no FF3 exclusive components in the filter. |
I bet there are some
You seem to use a Bomber, or a Switch, or an Assemble RGB or any other component that was updated in FF3. If you replace them with their equivalents from the Obsolete category then changing the majorversion parameter to 2 will do the trick.
Please also note that the submit wizard in FF2 will probably prevent you from updating an existing library FF3 filter.
|
Posted: April 11, 2012 4:25 am |
Details
E-Mail
|
GMM
Moderator
Filter Forge, Inc
Posts: 3491
|
Quote |
---|
SpaceRay wrote:
There are software that could help to KEEP your clipboard active probably BUT even if you could keep and paste it into FF 2 probably it would have the components version incompatibility as I have told above. |
Yes, this is the reason why copying from FF3 and pasting into FF2 will never work.
|
Posted: April 11, 2012 4:27 am |
Details
E-Mail
|
Totte
Übernerd

|
You need to change the version of all controls in the XML from the versions in FF3 to versions in FF2. I did this once from FF2 to FF1 and it was a painful job. - I never expected the Spanish inquisition
|
Posted: April 11, 2012 9:49 am |
Details
E-Mail
|
Morgantao
Can't script

|
I finaly got it
As totte said, it was painful, but I found the culprit.
It was all because of the presets, darn them.
In FF3, since there's more preview images, not just the lifesaver, each preset header in the XML contains information which image to use.
Sadly, the previews are pretty much the last thing in the FFXML file, so I had to comb through 1,600 lines of filter to get to it
Also, I used a switch and an elevation gradient that needed to be replaced to the obsolete versions, but that was the easy part.
|
Posted: April 11, 2012 4:11 pm |
Details
E-Mail
|
SpaceRay
SpaceRay

|
Good that you have found a solution, although it was not easy.
Quote |
---|
Totte wrote:
You need to change the version of all controls in the XML from the versions in FF3 to versions in FF2. I did this once from FF2 to FF1 and it was a painful job. |
Oh yes, I did not thought about this, is true, that this is possible although as you say is not easy, and can be painful it there are many components.
ALSO you must know exactly which ones are only FF 2.0 components and not use any that is ONLY available in FF 3.0.
Also probably I think that AFTER changing the versions of the components it could happen that the filter does not work the same, I mean that it does not show the same result as in FF 3.0, because the SAME component in FF 2.0 could behave somewhat different than in FF 3.0 as it could have been updated with new things.
|
Posted: April 11, 2012 5:37 pm |
Details
E-Mail
|
Carl
c r v a

|
curosity - why would you want to do it?
|
Posted: April 11, 2012 6:54 pm |
Details
E-Mail
|
SpaceRay
SpaceRay

|
curosity 2 or too - why would you want to do it?
Is it that this way FF 2 users could use it or is there any other special interest ?
|
Posted: April 12, 2012 2:52 am |
Details
E-Mail
|
Morgantao
Can't script

|
I want my filters to be available to anyone who wants to use them. If I don't have any FF3 exclusive node that I need in my filter, I don't see why people with FF2 can't enjoy the filter.
Stupid me, I made the entire thing in FF3, as usual... I need to disable the FF3 editor somehow to keep me from making filters I don't have to in it.
Anyway, I submitted the filter, it should be up soon. Then I'll have to update it, because I forgot to enter keywords
I swear, if I were the moon I'd forget to come up at night
|
Posted: April 12, 2012 4:59 am |
Details
E-Mail
|
SpaceRay
SpaceRay

|
here is the EXPLOSIVE answer  to why he wanted to do it
http://filterforge.com/filters/10489.html
|
Posted: April 12, 2012 5:40 am |
Details
E-Mail
|