Compare commits

...

4 Commits

Author SHA1 Message Date
Nathan 49fa5f707f zipseg limit to 1.9G instead of 2G 2026-06-23 13:37:33 -06:00
Nathan 4dd33a0142 add pptx to lfs 2026-06-17 15:47:18 -06:00
Nathan 4892f59089 Add directories for Reference audio and translations in NewProject.bat 2026-06-11 10:24:25 -06:00
Nathan 912f1d07fa Add automatic git commit for cfgdeploy changes in NewProject.bat 2026-06-11 10:18:19 -06:00
4 changed files with 15 additions and 3 deletions
+11
View File
@@ -70,6 +70,8 @@ mkdir "%projectRoot%\Deliverable\"
mkdir "%projectRoot%\Pr\RnR\RIFE" mkdir "%projectRoot%\Pr\RnR\RIFE"
:: Add project root additions :: Add project root additions
mkdir "%projectRoot%\Reference\audio"
mkdir "%projectRoot%\Reference\translations"
if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders" if not exist "%projectRoot%\Renders" mkdir "%projectRoot%\Renders"
:: Place helper scripts into Renders (config lives in .config\, deployed by CfgDeploy below) :: Place helper scripts into Renders (config lives in .config\, deployed by CfgDeploy below)
@@ -99,6 +101,15 @@ if errorlevel 1 (
echo [WARNING] Config workflow deployment failed. You may need to run CfgDeploy.ps1 manually. echo [WARNING] Config workflow deployment failed. You may need to run CfgDeploy.ps1 manually.
) else ( ) else (
echo Config workflow deployed successfully. echo Config workflow deployed successfully.
pushd "%projectRoot%" >nul
git add .
git commit -m "cfgdeploy"
if errorlevel 1 (
echo [WARNING] No cfgdeploy changes to commit, or commit failed.
) else (
echo cfgdeploy changes committed.
)
popd >nul
) )
echo Project structure created successfully in folder: %projectRoot% echo Project structure created successfully in folder: %projectRoot%
+1
View File
@@ -105,6 +105,7 @@
*.xlsx filter=lfs diff=lfs merge=lfs -text *.xlsx filter=lfs diff=lfs merge=lfs -text
*.eps filter=lfs diff=lfs merge=lfs -text *.eps filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text *.pdf filter=lfs diff=lfs merge=lfs -text
*.pptx filter=lfs diff=lfs merge=lfs -text
# Adobe files # Adobe files
*.aegraphic filter=lfs diff=lfs merge=lfs -text *.aegraphic filter=lfs diff=lfs merge=lfs -text
+1 -1
View File
@@ -4,5 +4,5 @@
"zipper": "7z", "zipper": "7z",
"compression": 0, "compression": 0,
"Max7zInst": 0, "Max7zInst": 0,
"zipsegLimit": "2G" "zipsegLimit": "1.9G"
} }
+2 -2
View File
@@ -57,7 +57,7 @@ DEFAULT_CONFIG = {
"compressionMethod": "LZMA2", # Compression method: LZMA2 (multi-threaded), PPMd (single-threaded), BZip2, Deflate "compressionMethod": "LZMA2", # Compression method: LZMA2 (multi-threaded), PPMd (single-threaded), BZip2, Deflate
"dailyFormat": "daily_YYMMDD", "dailyFormat": "daily_YYMMDD",
"Max7zInst": 0, # Maximum concurrent 7z instances (0 = auto-calculate) "Max7zInst": 0, # Maximum concurrent 7z instances (0 = auto-calculate)
"zipsegLimit": "2G", # Max bytes per 7z segment (e.g. "2G", "2GB"); 0 or omit = no segmenting "zipsegLimit": "1.9G", # Max bytes per 7z segment (e.g. "1.9G"); keep under Git LFS 2GB limit
} }
@@ -176,7 +176,7 @@ def _parse_zipseg_limit(value: str | int | float | None) -> int | None:
ZIPSEG_LIMIT_BYTES: int | None = None ZIPSEG_LIMIT_BYTES: int | None = None
if ZIPPER_TYPE == "7z": if ZIPPER_TYPE == "7z":
raw = CONFIG.get("zipsegLimit", "2G") raw = CONFIG.get("zipsegLimit", "1.9G")
ZIPSEG_LIMIT_BYTES = _parse_zipseg_limit(raw) ZIPSEG_LIMIT_BYTES = _parse_zipseg_limit(raw)
if ZIPSEG_LIMIT_BYTES is not None and ZIPSEG_LIMIT_BYTES < 100 * 1024 * 1024: if ZIPSEG_LIMIT_BYTES is not None and ZIPSEG_LIMIT_BYTES < 100 * 1024 * 1024:
ZIPSEG_LIMIT_BYTES = 100 * 1024 * 1024 # min 100MB ZIPSEG_LIMIT_BYTES = 100 * 1024 * 1024 # min 100MB