Created build script for Flowframes archives, removed rifeMode option

This commit is contained in:
N00MKRAD
2020-12-08 21:46:17 +01:00
parent f968db6180
commit 567569e406
10 changed files with 100 additions and 85 deletions

BIN
Build/7za.dll Normal file

Binary file not shown.

BIN
Build/7za.exe Normal file

Binary file not shown.

View File

@@ -0,0 +1,37 @@
@echo off
echo ===============================
echo == NMKD'S FLOWFRAMES BUILDER ==
echo ===============================
echo.
echo This script makes a build ready for distribution by creating two 7z archives, one with and one without embedded python.
echo.
set "ver=16"
set /p ver="Enter the version number: "
cd ..\Code\bin\x64\Release
rmdir /s/q FlowframesApp%ver%
mkdir FlowframesApp%ver%
mkdir FlowframesApp%ver%/FlowframesData
mkdir FlowframesApp%ver%/FlowframesData/pkgs
xcopy "../../../../pkgs" "FlowframesApp%ver%/FlowframesData\pkgs\" /E
echo %ver% >> "FlowframesApp%ver%/FlowframesData/ver.ini"
xcopy Flowframes.exe FlowframesApp%ver%
cd ../../../../Build
7za.exe a FlowframesApp%ver%-Full.7z -m0=flzma2 -mx7 "..\Code\bin\x64\Release\FlowframesApp%ver%"
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-tu
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%\FlowframesData\pkgs\py-amp
7za.exe a FlowframesApp%ver%-NoPython.7z -m0=flzma2 -mx5 "..\Code\bin\x64\Release\FlowframesApp%ver%"
rmdir /s/q ..\Code\bin\x64\Release\FlowframesApp%ver%
pause

9
Build/HowToInstall.txt Normal file
View File

@@ -0,0 +1,9 @@
1) Download the 7z file with "-Full" if you want all dependencies (Python/Pytorch, etc) included, or the file with "-NoPython" if you already have a system pytorch installation, or if you have an AMD GPU that can't use pytorch anyway
2) Extract the 7z file using 7zip or any other program that supports it
3) Run Flowframes.exe
If you updated from an older version, you can optionally copy "FlowframesData/config.ini" to your new installation if you want to keep your settings.
You can delete your old installation after updating.
IT IS NOT RECOMMENDED TO OVERWRITE YOUR OLD INSTALLATION!
Instead, delete it first or install the new one to a different/empty folder.