Gif-load.exe:3628 OPENĜ:\WINDOWS\ NOT FOUND Gif-load.exe:3628 OPENĜ:\WINDOWS\system\ NOT FOUND Gif-load.exe:3628 OPENĜ:\WINDOWS\system32\ NOT FOUND Gif-load.exe:3628 OPENĝ:\Downloads\_\GIMPPortable\App\gimp\lib\gimp\2.0\plug-ins\ NOT FOUND Below you will find FileMon's output monitoring gif-load.exe (I was trying to open some gif file): The plugins still call for some dlls and cannot locate it. I have followed your suggestions and removed all GTK references from nsi script. Hope above text is understandable enough to reproduce You can of course modify the nsi file and recompile the launcher so there are no GTK entries there and after that you can delete the gtk folder from GimpPortable\App directory but it is rather cosmetic step and in my opinion (after an hour of battling with this) not worth an effort.
The only thing that helps is copying this dlls to plug-ins folder. That adds GimpPortable\gimp\bin to the PATH EnvVar, I have checked with ProcessExplorer (Sysinternals) that GimpPortable.exe and gimp-2.4.exe are using it but somehow it is not passed to the plugins (like script-fu or gifload) and in result it does not work. System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("GTK_BASEPATH", "$GTKDIRECTORY").r0' System::Call 'Kernel32::SetEnvironmentVariableA(t, t) i("PATH", "$0").r0' StrCpy $0 "$GTKDIRECTORY\bin $PROGRAMDIRECTORY\bin" = Add GTK to the %PATH% directory if we have a path, otherwise, skip it I tried to modify the nsi script but nothing works. Instead, they look for this dlls in plug-ins, GimpPortable, windows\system32, etc. Using filemon (Sysinternals tool) I have noticed that script-fu.exe or gifload.exe (examples) cannot find some dlls located in bin folder. When launching gimp without the dll files copied to plugins folder, nothing works: you cannot open any graphics file. (*) This is the actual problem generating issue. Optionally, delete unneeded folders from GIMPPortable\App\gimp\lib\locale. Optionally, upx all exes and dlls to save some space. In this ini file change GIMPExecutable parameter to "gimp-2.4.exe" value (without quotes), Copy the GIMPPortable.ini from GIMPPortable\Other\GIMPPortableSource to GIMPPortable folder,
#Update gimp .dll#
dll files from GimpPortable\App\gimp\bin to GimpPortable\App\gimp\lib\gimp\2.0\plug-ins\ (*), Leave the "gtk" folder empty (launcher checks for existence of this dir), Copy the "gimp" directory content from installed Gimp 2.4 to GimpPortable\App\gimp, Delete files from "gimp" and "gtk" folders in GimpPortable\App\,
Without needing to recompile the launcher: You should also modify GIMPPortable\App\AppInfo\appinfo.ini to reflect the new version. You can delete GIMPPortable\App\gtk, since you've removed the references to that from the NSIS launcher. Once you've done that, copy the modified distribution tree - minus the setup\ directory, which contains the uninstaller - onto your thumbdrive (or wherever) in the GIMPPortable\App\gimp directory, replacing the current contents. dl~ - and after you've tested the rest of them to make sure they work, make sure to delete the backup unpacked files from your directory tree, otherwise they'll still be taking up all that space! You'll have to replace those with the unpacked versions which UPX saves as. Do make sure and test them afterwards with the -t switch, though, because some files won't work when packed. dll file in the GIMP+GTK distribution, using the command line options from.
#Update gimp install#
nsi file and it complains that a certain function or whatever is missing, that means you need to download the plugin that provides that function.Īlso, after you install GIMP 2.4 onto your hard drive, you'll want to download UPX and repack every. The file you're looking to modify is GIMPPortable\Other\GIMPPortableSource\GIMPPortable.nsi. (It's just about as easy as deleting any line with "GTK" in it- though do make a backup in case something goes wrong.) So you'll have to download NSIS (it's free, don't worry) and a couple plugins in order to compile it. You will need to recompile the launcher though, because the executable is now named gimp-2.4.exe, and (b) GTK is now no longer installed in a separate folder, so you'll need to remove the references to GTK from the installer. Do note, however, that once you diverge from the official source, you can't expect the original developers to help you with any problems that crop up, so you're pretty much on your own.
#Update gimp how to#
However, the PortableApps team frowns on promoting forks of the official source tree, so I won't be providing any actual code here, just vague hints on how to do it yourself. You can do whatever you want with your own installation. CAVEAT LECTOR: modifying source code and updating things yourself are two of the perks of Open Source software.