Creating RawTherapee Portable in depth.

Article update, published in Posts @ 4 December 2015

In workshop I have an article about creating a portable version of RawTherapee.
The article mentions a software program named Innoextract.
But unfortunately I discovered some problems with it, and it was no longer possible to use it to extract the RT setup file.
Meanwhile I found another solution, namely : Innounp
http://innounp.sourceforge.net/
Because the previous article was no longer up to date with the new extractor,
I made a new video and instructions on how to use it.
If you use one of my pre-configured portable RT kits, you get 3 files to set up your own personal version :
– the latest setup file from RT ( Windows 64 or 32 – look for the correct version )
– the innounp extractor
– a ready to use batch file ( pre-configured code to extract the setup file )
These two last files can be used for later extraction of new RT versions with minor adjustment of the code.

 

– Download the latest portable RT kit from http://www.digicrea.be/downloads/my-downloads/ 32 and 64 bit available
– Extract the zipped file ( find three files inside )
– Run the batch file
– Rename the {app} folder ( I use the original RT full name )
– If you want, you can copy the {fonts} folder into the new RT folder
– If needed, place the new RT folder in its final destination ( Drive, USB stick …)
– Search for options file inside RT root folder
– Open the options file with Notepad or, preferebly with Notepad++
– Find the string “MultiUser=true” and change to “MultiUser=false”
– Save and Close file
– Run the RT executable ( rawtherapee.exe )
– If you run into an error about a missing profile, then follow next steps :
To solve the “missing profile”, open the preferences menu ( here bottom left )
Go to the “image processing” tab -> click on ” for RAW photos” – automatically the correct value will be entered ( Neutral )
– In any case, close RT and restart -> after first use, RT will re-edit the options file with new parameters for next use.
– Your new Portable Rawtherapee is now ready !

How to re-use the batch file and innounp extractor with other ( later ) versions of RawTherapee :

Ok, to use the kit extractor from Digicrea with another version of RawTherapee,
you only need to change the name of the RT version.
So, these are the steps to follow:
– Download an RT version from the RT website ( http://rawtherapee.com/downloads )
– Unpack it into a folder where you have placed the innounp extractor and the innounp batch file
– Unzip the downloaded RT version in that folder
– Open the innounp batch file with Notepad or Notepad++
– Change the RT version name in the batch file into the new one ( or copy and paste from the unzipped file )
– Save the innounp batch file
– Run it by doubleclick
– Done

If you like to make your own extractor, open Notepad or Notepad++, make a new txt file with the following code :
innounp -v -x (copy/paste or type here the full RT version name – complete with .exe)
pause
Save the file with an appropriate name
Change the extention from .txt to .bat
You can download innounp here : http://innounp.sourceforge.net/
If you like to use Portable Notepad++, download here : http://portableapps.com/apps/development/notepadpp_portable


 

25 May 2015

Following my article of 23rd september 2014 and 3rd May 2015 about making your own portable version of RawTherapee and open issues,
I have made a better tutorial on creating portable RT, a workaround for the openen issues, and downloadable tools for creating a better portable RT.
Links to the old articles : http://www.digicrea.be/rawtherapee-portable-simple-how-to-make-yourselves-from-the-latest-version/
http://www.digicrea.be/rawtherapees-portable-issues/
From received questions I noticed that creating a portable version from the downloaded executable was not always clear.
As you will see in the video, you need to take a few steps to get started.
the tutorial starts at the point the RT version is already downloaded and unzipped to folder.
The extractor : “innoextract.exe” is already in place as also the batch file “innoextract.bat” to start the extraction.
If you have done this before and have all the needed files, scroll down to the tutorial itself.
If not, read further..
“Innoextract.exe” can be downloaded here :
http://constexpr.org/innoextract/
If this is your first time then look at the next video please.


The batch file can be created by making a new txt file at the location, afterwards,  save the file and change the “txt” extention to “bat”
type following text : “innoextract.exe Rawtherapee_WinVista_(version)”
on the next line of the file type “pause”,
innoextract.bat

this prevents the batch file from closing after extraction, but more, also if any problem should occur.
This way you can read the progres of the extraction and possible occured obstacles.                                                                                                                         A problem that sometimes occurs is that innoextract crashes.
Don’t worry about this, just start the extracting batch file again, it will extract the remaining files and overwrite the others.

A sample batch file can be downloaded here.

This is the point where the video tutorial starts.

After extracting the RT executable, you have a working portable RT.
However, as you have seen in the video, you need to pre-configure a few things.
Maybe you have files from a previous portable RT you like to use in the new version.
In my case I use Hald CLUT, and I have also more and special profiles than the new one.
Keep a copy of these files somewhere, so you can easily find them and copy them into a newly made portable RT.
The most important file is the options file.
It tells your new portable RT where to find all personal files, but also what theme to use, in which folder to startup the file browser – and as a workaround for the “profiles issue”, where to find your profiles folder.
You can configure this “options” file completely yourselves,
or you can copy/download it here and make the necessary corrections, afterwards save it without any extention.

P.S. there are a lot of other useful lines to change, like theme settings etc – but these are better to change within RT itselves thru “preferences”.
Once U have done this, just copy the options file and make the other changes.
Below are the most important ones.

Red = to be edited
Blue = explanation
Green = how it should be

[General]
TabbedEditor=false
StoreLastProfile=true
StartupDirectory=last
StartupPath=C:\\DEVELOPING\\05\\17May2015 ( edit this line to your pictures path – use double backslashes !, ex: C:\\Users\\Marc\\Pictures )
DateFormat=%y-%m-%d
AdjusterDelay=0
MultiUser=false
Language=English (US)
LanguageAutoDetect=false
Theme=09-Gray-Orange ( edit this in the RT GUI )
SlimUI=true
UseSystemTheme=false
Version=4.2.188
DarkFramesPath=C:\\DARKROOM\\RawTherapee_WinVista_64_4.2.188 ( edit if you use this )
FlatFieldsPath=C:\\DARKROOM\\RawTherapee_WinVista_64_4.2.188 ( edit if you use this )
Verbose=false
BotLeft=0
TopLeft=10
TopRight=40
BotRight=75
EDdetec=3
EDdetecStr=1.3
EDLow=15
EDLipinfl=0.80000000000000004
EDLipampl=1.1000000000000001

[External Editor]
EditorKind=3
GimpDir=C:\\ ( only to be used for an installed version of Gimp, not for portable use, instead use “CustomEditor” )
PhotoshopDir=C:\\ ( who uses Photoshop if there is Gimp ??? )
CustomEditor=C:\\DARKROOM\\Luminance-HDR-x64-v2.4.0\\luminance-hdr.exe ( use this line for other portable editors like Luminance and Gimp )

[File Browser]
BrowseOnlyRaw=false
BrowserShowsDate=true
BrowserShowsExif=true
BrowserShowsExpComp=false
BrowserShowsHidden=false
ThumbnailSize=240
ThumbnailSizeTab=180
ThumbnailSizeQueue=160
SameThumbSize=1
MaxPreviewHeight=400
MaxCacheEntries=20000
ParseExtensions=3fr;arw;cr2;crf;crw;dcr;dng;fff;iiq;jpg;jpeg;kdc;mef;mos;mrw;nef;nrw;orf;pef;png;raf;raw;rw2;rwl;rwz;sr2;srf;srw;tif;tiff;
ParseExtensionsEnabled=1;1;1;1;1;1;1;1;1;0;0;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;1;
ThumbnailArrangement=2
ThumbnailInterpolation=1
LiveThumbnails=true
FavoriteDirs=
RenameTemplates=
RenameUseTemplates=false
ThumbnailZoomRatios=0.20000000000000001;0.29999999999999999;0.45000000000000001;0.59999999999999998;0.80000000000000004;1;
OverlayedFileNames=false
FilmStripOverlayedFileNames=false
ShowFileNames=true
FilmStripShowFileNames=false
InternalThumbIfUntouched=true
menuGroupRank=true
menuGroupLabel=true
menuGroupFileOperations=true
menuGroupProfileOperations=true
menuGroupExtProg=true

[Clipping Indication]
HighlightThreshold=253
ShadowThreshold=8
BlinkClipped=false

[Performance]
RgbDenoiseThreadLimit=0
NRauto=10
NRautomax=40
NRhigh=0.45000000000000001
NRWavlevel=1
LevNR=2
LevNRTI=0
LevNRAUT=0
LevNRLISS=0
SIMPLNRAUT=0
ClutCacheSize=4
MaxInspectorBuffers=2
PreviewDemosaicFromSidecar=1
Daubechies=false
SerializeTiffRead=true

[Output]
Format=tif
JpegQuality=70
JpegSubSamp=2
PngCompression=6
PngBps=8
TiffBps=8
TiffUncompressed=true
SaveProcParams=true
FormatBatch=jpg
JpegQualityBatch=70
JpegSubSampBatch=3
PngCompressionBatch=6
PngBpsBatch=8
TiffBpsBatch=8
TiffUncompressedBatch=true
SaveProcParamsBatch=false
PathTemplate=%p1/converted/%f
PathFolder=
AutoSuffix=false
ForceFormatOpts=true
SaveMethodNum=0
UsePathTemplate=true
LastSaveAsPath=C:\\LIGHT_TABLE ( where do you usualy save your files ? )
OverwriteOutputFile=false
TunnelMetaData=true

[Profiles]
Directory=profiles
UseBundledProfiles=true
LoadSaveProfilePath=C:\\DARKROOM\\RawTherapee_WinVista_64_4.2.188\\profiles ( path to your profiles folder )
RawDefault=Neutral
ImgDefault=Neutral
FilledProfile=false
SaveParamsWithFile=true
SaveParamsToCache=false
LoadParamsFromLocation=1
CustomProfileBuilderPath=
CustomProfileBuilderKeys=0

[GUI]
Font=sans, 8
WindowWidth=1200
WindowHeight=680
WindowX=0
WindowY=0
WindowMaximized=true
DetailWindowWidth=-1
DetailWindowHeight=-1
DirBrowserWidth=260
DirBrowserHeight=350
SortType=0
PreferencesWidth=800
PreferencesHeight=748
SaveAsDialogWidth=920
SaveAsDialogHeight=680
ToolPanelWidth=325
BrowserToolPanelWidth=278
BrowserToolPanelHeight=600
BrowserToolPanelOpened=true
EditorFilmStripOpened=false
BrowserDirPanelOpened=true
HistoryPanelWidth=330
LastPreviewScale=5
PanAccelFactor=5
RememberZoomAndPan=true
LastCropSize=1
ShowHistory=true
ShowFilePanelState=0
ShowInfo=true
MainNBVertical=true
ShowClippedHighlights=false
ShowClippedShadows=false
FrameColor=0
ProcessingQueueEnbled=false
ToolPanelsExpanded=0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;1;1;1;1;1;1;1;0;1;1;1;1;1;1;1;1;1;1;1;1;
MultiDisplayMode=0
CutOverlayBrush=0;0;0;0.66698710612649725;
NavGuideBrush=1;0;0;1;
HistogramPosition=1
HistogramBar=true
HistogramFullMode=false
ShowFilmStripToolBar=true
ShowProfileSelector=true
FileBrowserToolbarSingleRow=false
HideTPVScrollbar=false
UseIconNoText=true
HistogramWorking=false
CurveBBoxPosition=1

[Crop Settings]
PPI=600

[Color Management]
ICCDirectory=C:\\Windows\\System32\\spool\\drivers\\color
MonitorProfile=
AutoMonitorProfile=false
Autocielab=true
RGBcurvesLumamode_Gamut=true
Intent=1
view=0
grey=3
greySc=1
AdobeRGB=RT_Medium_gsRGB
ProPhoto=RT_Large_gBT709
ProPhoto10=RT_Large_g10
WideGamut=WideGamutRGB
sRGB=RT_sRGB
sRGB10=RT_sRGB_g10
Beta=BetaRGB
Best=BestRGB
Bruce=Bruce
WhiteBalanceSpotSize=8
GamutICC=true
Ciecamfloat=true
GamutLch=true
ProtectRed=60
Amountchroma=40
ProtectRedH=0.29999999999999999
CRI=0
DenoiseLabgamma=2
CBDLArtif=4
CBDLlevel0=0
CBDLlevel123=30
ClutsDirectory=C:\\DARKROOM\\RawTherapee_WinVista_64_4.2.188\\HaldCLUT ( path to your HaldCLUT folder )

[Batch Processing]
AdjusterBehavior=1;1;1;1;1;1;1;1;1;1;0;0;1;1;1;0;1;1;1;1;1;1;1;1;1;0;0;0;0;0;0;0;1;1;0;0;1;1;1;1;1;1;1;1;1;1;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;1;1;1;1;1;1;1;1;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;

[Sounds]
Enable=false
BatchQueueDone=
LngEditProcDone=
LngEditProcDoneSecs=3

[Fast Export]
fastexport_bypass_sharpening=true
fastexport_bypass_sharpenEdge=true
fastexport_bypass_sharpenMicro=true
fastexport_bypass_defringe=true
fastexport_bypass_dirpyrDenoise=true
fastexport_bypass_sh_hq=true
fastexport_bypass_dirpyrequalizer=true
fastexport_bypass_wavelet=true
fastexport_raw_bayer_method=fast
fastexport_bypass_raw_bayer_dcb_iterations=true
fastexport_bypass_raw_bayer_dcb_enhance=true
fastexport_bypass_raw_bayer_lmmse_iterations=true
fastexport_bypass_raw_bayer_linenoise=true
fastexport_bypass_raw_bayer_greenthresh=true
fastexport_raw_xtrans_method=fast
fastexport_bypass_raw_ccSteps=true
fastexport_bypass_raw_ca=true
fastexport_bypass_raw_df=true
fastexport_bypass_raw_ff=true
fastexport_icm_input=(camera)
fastexport_icm_working=ProPhoto
fastexport_icm_output=RT_sRGB
fastexport_icm_gamma=default
fastexport_resize_enabled=true
fastexport_resize_scale=1
fastexport_resize_appliesTo=Cropped area
fastexport_resize_method=Lanczos
fastexport_resize_dataspec=3
fastexport_resize_width=900
fastexport_resize_height=900

[Dialogs] ( remove all the underlying lines )
LastIccDir=C:\\Windows\\System32\\spool\\drivers\\color
LastDarkframeDir=/
LastFlatfieldDir=/
LastRgbCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastLabCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastDenoiseCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastWaveletCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastPFCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastHsvCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastBWCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastToneCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastVibranceCurvesDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles
LastProfilingReferenceDir=C:\\DARKROOM\\RawTherapee_Winvista_64_4.2.188\\.\\profiles

Download sample options file here.

Download sample profiles folder here.

Hald CLUT can be downloaded here.

This is how it looks like at first run, all files are in place.

Enjoy your portable RawTherapee !

Leave a Reply

Your email address will not be published. Required fields are marked *