It is currently Mon Jul 01, 2024 10:56 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: very old scripts
PostPosted: Wed Jul 22, 2020 5:18 am  (#1) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
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 ???

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: very old scripts
PostPosted: Wed Jul 22, 2020 6:51 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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)

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: very old scripts
PostPosted: Wed Jul 22, 2020 7:40 am  (#3) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
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! .....

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
 Post subject: Re: very old scripts
PostPosted: Wed Jul 22, 2020 7:43 am  (#4) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
I will try "constantize"

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
 Post subject: Re: very old scripts
PostPosted: Thu Jul 23, 2020 4:13 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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 3311 times ]


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


Top
 Post subject: Re: very old scripts
PostPosted: Thu Jul 23, 2020 5:06 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: very old scripts
PostPosted: Thu Jul 23, 2020 5:40 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
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.


Top
 Post subject: Re: very old scripts
PostPosted: Thu Jul 23, 2020 10:11 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
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 3267 times ]
3d-outline V.2 for Gimp-2.10.zip [2.53 KiB]
Downloaded 128 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: very old scripts
PostPosted: Sat Jul 25, 2020 4:58 am  (#9) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
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 :)

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
 Post subject: Re: very old scripts
PostPosted: Sat Jul 25, 2020 5:10 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7744
Location: On the other side of this screen
@ level0 what do you mean by feast? :?: :?: :?:

_________________


Top
 Post subject: Re: very old scripts
PostPosted: Sat Jul 25, 2020 5:12 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12705
Location: Spain, Aragón
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 1256 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: very old scripts
PostPosted: Sat Jul 25, 2020 5:28 am  (#12) 
Offline
GimpChat Member

Joined: Apr 09, 2018
Posts: 1792
Location: France
sallyanne wrote:
@ level0 what do you mean by feast? :?: :?: :?:

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

_________________
Les parfums, les couleurs et les sons se répondent.Baudelaire (Les fleurs du mal)
2.10.14 (Samj),2.10.21 (Samj) and 2.10.23(Samj) OS Windows 10 Home 64 bits


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts SCRIPTS CONPATIBLE OR NOT

1

No new posts Former GIMP Scripts

8

No new posts Attachment(s) Editing scripts

7

No new posts Attachment(s) Elsamuko scripts

16

No new posts HELP: looking for page with old scripts

2


cron

* Login  



Powered by phpBB3 © phpBB Group