YOUR ACCOUNT

Login or Register to post new topics or replies
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
I just revisited my older filters to update obsolete components, and it occured to me that there really should be a more elegant way to update those.

I propose an 'Update Obsolete Component' option on the context-menu of a selected component. This would replace the component, copy all its settings, and - most importantly - keep all the connections and remappings intact, so that we don't have to manually recreate them.

--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Hi Crapadilla

I am writing some code to do this, It should be ready soon.

Ken.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Sweet.

I'm guessing this would work outside of FF by modifying the xml files directly?
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
Quote
Crapadilla wrote:
I'm guessing this would work outside of FF by modifying the xml files directly?


Yes. The code for the 3 blends is finished. I just need to to write code to update
Min, Max and 2 switches.

I have written it so that I creates an entirely new filter (with a new name) for safety

I can change this later to overwrite the old filter

Ken.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Ken, I'm definitely looking forward to that nifty little tool.

Although, I still think this should be an FF feature. And I'd also love to see an option somewhere in the program to automatically update ALL obsolete components inside a filter.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Ken
CameraKen
Posts: 136
Filters: 16
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Dilla, that was sweet!!! It would have been a nightmare to manually swap all of those out....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
I got nothing to do with it, Stevie! smile;) smile:D
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
if the programmers do add an auto-update of older components, PLEASE make it optional. i LIKE some of the old components (for certain things) and have even copied them into newer filters!
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Kraellin wrote:
if the programmers do add an auto-update of older components, PLEASE make it optional.


Of course, it can't be mandatory because we don't guarantee that the updated component will produce the same output as the old component with identical inputs.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
ah, good smile:)
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
Crapadilla wrote:
I just revisited my older filters to update obsolete components, and it occured to me that there really should be a more elegant way to update those.


Bump!

Just had another session of updating obsolete components via notepad, searching and replacing 'Blend3's with 'Blend4's in the xml text.

smile:hammer:

While that was easy enough for a lazy type like me who abhors repetitive manual labor (and who doesn't), I'm wondering why this option still isn't available from inside FF! Can't be too hard to code up a 'Replace All Obsolete Components' option for the Filter Editor menu, eh?

smile;) smile:dgrin: smile:devil:
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Retraction......figured it out...... smile;) smile:D
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Yup, it's quite straightforward, isn't it! smile:D

Basically you replace all <Blend3> tags with <Blend4> tags in a text editor. This turns all Blend 1.005 components into up-to-date Blend components (1.010). The same procedure can be performed for other obsolete components, of course, and the good thing is that it spares us from having to manually redo all connections and remappers inside the Filter Editor.

Still, I wish there was an option inside FF that would run a swift 'replacement' pass over the ffxml.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
That would make it quick and painless..... smile:devil:

Question......from notepad, how do you save a copy in ffxml format???
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
CTRL+S smile;)
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Bump!

I'd even be happy with a command-line utility.

FF Team! Please, pretty please! Don't tell us you've been updating all those obsolete components by hand! We needs it automated... We needs it!

smile:hammer: smile:loveff: smile:D
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Crapadilla wrote:
We needs it automated... We needs it!

+ 1,000,000,000 Definite must have!!! Manually trying to update all those components is beyond a ridiculous time-consuming task!!!

If this happens, I would also like to have the reverse ability....batch revert V2 filter components (for filters that don't incorporate any of the new components) back to V1.xx versions....for those who have built filters with all "common" V2 components and want to submit filter as a V1.xx to obtain better usage stats towards getting HU....due to there being far more V1 than V2 users.....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
screw this! i'm holding out for the auto-build-my-filter-for-me slider(s) smile:D
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
I'm working on a script to do that.... smile:dgrin:
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Equator
Posts: 32
May be it would be better to post here list for find-replace in ffxml-files?
In this case each user can update filters manually.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
Quote
Crapadilla wrote in 2007:

I propose an 'Upd ate Obsolete Component' option on the context-menu of a selected component. This would replace the component, copy all its se ttings, and - most importantly - keep all the connections and remappings intact, so that we don't have to manually recreate them.


OH yes!! this would be a good idea and very useful and interesting, but regretably if this was requested in 2007 and 5 years after in 2012 is still not implemented is like MANY other requests that are not done smile:( smile:cry:

Quote
Ken wrote:

Hi Crapadilla

I am writing some code to do this, It should be ready soon.

Ken.


OH YES!! This will be also possible to make using an external tool and is a good idea BUT regretably Ken uploaded this tool in this thread here BUT the downloads links are not available anymore smile:( smile:cry:

Quote
Crapadilla wrote:

I'd even be happy with a command-line utility.

FF Team! Please, pretty please! Don't tell us you've been updating all those obsolete components by hand! We needs it automated... We needs it!



YES!! It does not have to be included inside FF, with just a command-line utility I would be happy too IF this is easier and more possible to make

Pretty Please! Would be possible to have a tool to convert old filter with newer versions of the components ?

Quote
+ 1,000,000,000 Definite must have!!! Manually trying to update all those components is beyond a ridiculous time-consuming task!!!


I totally agree with you and this would be a must have, and is true that manually updating a filter that have LOTS of components is really tedious, boring and time-consuming.
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12298
Filters: 35
This was already requested in March 2007 and still in September 2015 there is no news about this

It would be good if there could be known if this is a very difficult and hard thing to implement, and this is why it may not have a high priority, or maybe is not possible to do, or maybe there is other possible reasons why this has not been included.

Considering that it has not been included since 2007, I think I can´t expect and think that it may be included in FF 5.0

Anyway I repeat here my request I have done for FF 4.0

Thanks for any possible news about this

Quote
Be able to replace and update obsolete components in some easy way

Now that the FF 4.0 is going on the works, it would be good to be able to have some old filters that are great and very useful BUT that have some possible problems with the new version that could be able to have some way to replace or upd ate old obsolete components of some old filters with the new versions and so be able to solve some problems.

As it is now there is no easy way to do it, and it is many times a tedious, boring and complex thing to do, specially on complex filters where this old components is already attached to many others components, and the only way I see to replace it is to put the new component and rebuild all the complex mesh of links with the other components, AND also you have to copy and modify the settings of the replaced component so it has the same settings as the old one, so after this, is not something that you would like to do often. smile:(

Would be great if there could be a way where you could:

1 - select a component and then after select an option where could be for example "upd ate component version" and then it would replace the old one with the new version and keeping the same links to others components and it´s own settings.

2 - Select the new version component fr om the components menu and drag and drop it over the old obsolete version of the same component and so then it would replace the old one with the new version and keeping the same links to others components and it´s own settings.

3 - An automatic way to update all the old components of any filter you may choose

4 - or any other possible way that could be for replacing old obsolete components.
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
Difficult thing to pull off, given that some components exhibit very different behaviors with the same input at the same settings (for example, Elevation Gradient 3.004). Also different versions sometimes have different controls?! Image 2.009 allows for a built in Particle Adapter, to modernize would be 2 components if I'm not mistaken.
"
So, it is doable, but it is not a "drop in" replacement scheme, and on some components warnings would have to be issued for changes in behavior in the newer component.

Which then begs the question: is it worth it? I suppose if you have groups full of old components...
Math meets art meets psychedelia.
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
My feature request: a list (spreadsheet?) of differences between the versions of Components including any changes in the math used or other changes to the output, plus a description or snippet for converting from an old version to the current version (especially needed if multi-components are needed to simulate the old version).

At the very least, this would be the first step in creating a full conversion filter, if such a thing is worth the time or feasible.
Math meets art meets psychedelia.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

18 unregistered users.