diff --git a/data/Sly1_filelist.txt b/data/Sly1_filelist.txt new file mode 100644 index 0000000..3f5856c --- /dev/null +++ b/data/Sly1_filelist.txt @@ -0,0 +1,4 @@ +Sly1/SLY.WAC +Sly1/SLY_F.WAC +Sly1/SLY_S.WAC +Sly1/SLY.WAL diff --git a/sly_bake.bat b/sly_bake.bat index f79991f..31b5f48 100644 --- a/sly_bake.bat +++ b/sly_bake.bat @@ -8,13 +8,20 @@ set PSARC="D:\Nikos\Reversing\Tools\PS3 Tools\psarc.exe" REM Replace 'y' below with nothing to disable compressing the level below set ENABLE_COMPRESS_LEVEL=y -set LEVEL_PATH=D:\Nikos\Reversing\Sly\Code\sly_playground\tests\jb_intro_W.dec +set LEVEL_PATH=D:\Nikos\Reversing\Sly\Code\SlyCooper\tests\jb_intro_W.dec set LEVEL_NAME_FINAL=jb_intro_W if defined ENABLE_COMPRESS_LEVEL ( - %SLY_TOOLS%\sly_compressor.exe "%LEVEL_DIR%\%LEVEL_NAME%" "%SLY1_DATA%\%LEVEL_NAME_FINAL%" + echo --- Compressing level %LEVEL_NAME_FINAL% --- + %SLY_TOOLS%\sly_compressor.exe %LEVEL_PATH% %SLY1_DATA%\%LEVEL_NAME_FINAL% ) +echo --- Packing to .WAC/.WAL --- %SLY_TOOLS%\sly_packer.exe "%SLY1_DATA%" %SLY1_ROOT% +Robocopy %SLY_USRDIR% %CD%\data\Sly1_filelist.txt > nul + +echo --- Packaging/compressing to .psarc --- +pushd %SLY_USRDIR% %PSARC% create -y --output=%SLY_USRDIR%\Sly1.psarc --inputfile=%SLY_USRDIR%\Sly1_filelist.txt +popd