GIMP Chat
http://gimpchat.com/

very old scripts
http://gimpchat.com/viewtopic.php?f=8&t=18590
Page 1 of 1

Author:  level_0 [ Wed Jul 22, 2020 5:18 am ]
Post subject:  very old scripts

GIMP Version: 2.10.14
Operating System: Windows
GIMP Experience: New User



:wvy
I am trying to clean a "scripts" folder (gimp-data-extras-2.0.4) and all the ones I wanted to test are unusable with error messages, and the one that comes up often is "Error : (: 1) eval: unbound variable: NORMAL-MODE ".
Is there any modification I could make with notepad ++ to fix this but is it really worth it ???

Author:  MareroQ [ Wed Jul 22, 2020 6:51 am ]
Post subject:  Re: very old scripts

Gimp-data-extras-2.0.4 includes 47 scripts:
...scripts obsoleted in GIMP 2.10
('File > Create' and 'Filters > Alpha to Logo'
and update some PDB use to match changes in 2.10 ...


Tin Tran create 2 plugins for fixing basic errors:
GIMP10 Constantize Plug-in
https://gimplearn.net/viewtopic.php?f=3 ... onstantize

GIMP10 Constantize Batch Plug-in
https://gimplearn.net/viewtopic.php?f=3&t=2097

Gimp-2.10 tolerates a lot of bugs because it still works in many cases with the compatibility mode with the older version of the procedures - but it is not known how long deprecated will be accepted. :hoh
When I try to fix something I am also trying to repair the deprecated (but still accepted ones) - sometimes it's simple and quick, but some scripts or plugins requires knowledge of the basics of coding - and it can take up to 1 hour to improve.

Is it worth repairing them?
I think so that you can try at least once and decide if it will be useful for me now (and maybe someday and archive it in a package, e.g. zip)

Author:  level_0 [ Wed Jul 22, 2020 7:40 am ]
Post subject:  Re: very old scripts

MareroQ :wvy
To choose which filters to repair, I first need to see the effects they produce. However, I wanted to test the filters in the gimp-data-extras-2.0.4 folder because I didn't know any. Discovery..
So I don't know which ones are likely to interest me! .....

Author:  level_0 [ Wed Jul 22, 2020 7:43 am ]
Post subject:  Re: very old scripts

I will try "constantize"

Author:  Nidhogg [ Thu Jul 23, 2020 4:13 am ]
Post subject:  Re: very old scripts

level_0 wrote:
GIMP Version: 2.10.14
Operating System: Windows
GIMP Experience: New User



:wvy
I am trying to clean a "scripts" folder (gimp-data-extras-2.0.4) and all the ones I wanted to test are unusable with error messages, and the one that comes up often is "Error : (: 1) eval: unbound variable: NORMAL-MODE ".
Is there any modification I could make with notepad ++ to fix this but is it really worth it ???


Constantize is a quick fix, the bad side is that if you get that old script working with it alone (old scripts have sometimes other errors too) your image will switch to legacy mode. If you want to use the new layer blending modes that were introduced in 2.10 you have to switch back to default.
That's why I recently started to fix manually.
Using constantize replaces NORMAL-MODE with LAYER-MODE-NORMAL-LEGACY (Gimp 2.8), in 2.10 default is LAYER-MODE-NORMAL.

Attachment:
procedure-browser-layer-modes.jpg
procedure-browser-layer-modes.jpg [ 356.13 KiB | Viewed 3324 times ]


You can always mass-rename bigger scripts with search & replace in Notepad++/Geany to work faster.

Author:  MareroQ [ Thu Jul 23, 2020 5:06 am ]
Post subject:  Re: very old scripts

Hi Nidhogg.

Not necessarily so - when the old scripts were created there was one mode (now called "Legacy") - and to get the effect that the script author had planned, the old modes should be used.

Author:  Nidhogg [ Thu Jul 23, 2020 5:40 am ]
Post subject:  Re: very old scripts

I see MareroQ. I want to avoid Legacy Mode and prefer to use the 2.10 default when possible.
Are there differences? I compared some legacy modes with the default and they looked exactly same.

Author:  MareroQ [ Thu Jul 23, 2020 10:11 am ]
Post subject:  Re: very old scripts

3D Outline
First script from " Gimp-data-extras-2.0.4" - update to new features Gimp-2.10 (especially vertical text).
Rel 2: procedures adapted to Gimp-2.10, added adjust and text direction.

@Level_0
What is Your progress?

@Nidhogg
I don't see the difference either :oops: - but in some cases it does.

Attachments:
New in 3D Outline.png
New in 3D Outline.png [ 48.94 KiB | Viewed 3280 times ]
3d-outline V.2 for Gimp-2.10.zip [2.53 KiB]
Downloaded 129 times

Author:  level_0 [ Sat Jul 25, 2020 4:58 am ]
Post subject:  Re: very old scripts

MareroQ wrote:

@Level_0
What is Your progress?[b][color=#4000BF]


Mareroq, the day before yesterday it was my feast and nobody wished it to me, because some died and others forgot so I have no morale for these "Alpha to logo" filters and more they don't show up in file / create / logos but in x different places.And moreover i think it must be possible to get similar effects in proceeding otherwise.So I take a break :)

Author:  sallyanne [ Sat Jul 25, 2020 5:10 am ]
Post subject:  Re: very old scripts

@ level0 what do you mean by feast? :?: :?: :?:

Author:  Issabella [ Sat Jul 25, 2020 5:12 am ]
Post subject:  Re: very old scripts

Thank you so much for your constant update of those old scripts. I am happy they work again. :tyspin :clap

Attachments:
Thanks_MareroQ_Issa.jpg
Thanks_MareroQ_Issa.jpg [ 129.41 KiB | Viewed 1269 times ]

Author:  level_0 [ Sat Jul 25, 2020 5:28 am ]
Post subject:  Re: very old scripts

sallyanne wrote:
@ level0 what do you mean by feast? :?: :?: :?:

sallyanne :wvy
https://calendrier-agenda.fr/calendrier ... e-brigitte

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/