| 1 |
@echo off |
| 2 |
setlocal |
| 3 |
|
| 4 |
if not "%~1"=="" ( |
| 5 |
if not "%~2"=="" goto single |
| 6 |
) |
| 7 |
|
| 8 |
call :createpreset "Default" "default" |
| 9 |
call :createpreset "eeColor" "video_eeColor" |
| 10 |
call :createpreset "Laptop" "laptop" |
| 11 |
call :createpreset "madVR" "video_madVR" |
| 12 |
call :createpreset "madVR ST.2084" "video_madVR_ST2084" |
| 13 |
call :createpreset "Office & Web" "office_web" |
| 14 |
call :createpreset "Photo" "photo" |
| 15 |
call :createpreset "Prisma" "video_Prisma" |
| 16 |
call :createpreset "ReShade" "video_ReShade" |
| 17 |
call :createpreset "Resolve" "video_resolve" |
| 18 |
call :createpreset "Resolve ST.2084" "video_resolve_ST2084_clip" |
| 19 |
call :createpreset "Softproof" "softproof" |
| 20 |
call :createpreset "sRGB" "sRGB" |
| 21 |
call :createpreset "Video" "video" |
| 22 |
goto :EOF |
| 23 |
|
| 24 |
:single |
| 25 |
:createpreset |
| 26 |
echo %1 |
| 27 |
colprof -ql -aG -C "Created with DisplayCAL and ArgyllCMS" -D "DisplayCAL calibration preset: %~1" "%~dp0..\misc\ti3\%~2" |
| 28 |
move /-Y "%~dp0..\misc\ti3\%~2.ic?" "%~dp0..\DisplayCAL\presets\%~2.icc" && if not exist "%~dp0..\misc\ti3\%~2.ic?" python "%~dp0update_presets.py" "%~2" |
| 29 |
echo. |
| 30 |
goto :EOF |