-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
an easy-to-use drag-and-drop wrapper and bump version to 2.0
- Loading branch information
Showing
5 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@echo off | ||
setlocal EnableExtensions EnableDelayedExpansion | ||
if exist "%SystemRoot%\SysWOW64\cmd.exe" set x64=1 | ||
set core_x64=pak_mingw64.exe | ||
set core_x86=pak_mingw32.exe | ||
set "WORK_DIR=%~dp0" | ||
set "file=%~1" | ||
set "pack_file=%~dpn1_packed.pak" | ||
if not exist "%WORK_DIR%" md "%WORK_DIR%" | ||
pushd "%WORK_DIR%" | ||
if "%x64%"=="1" ( set core=%core_x64% ) else ( set core=%core_x86% ) | ||
if not exist %core% echo core program (%core%) NOT FOUND! &pause &exit | ||
if exist "%file%" %core% -p "%file%" "%pack_file%" | ||
if exist "%pack_file%" echo packed "%pack_file%" from "%file%" | ||
timeout /t 5||pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@echo off | ||
setlocal EnableExtensions EnableDelayedExpansion | ||
if exist "%SystemRoot%\SysWOW64\cmd.exe" set x64=1 | ||
set core_x64=pak_mingw64.exe | ||
set core_x86=pak_mingw32.exe | ||
set "WORK_DIR=%~dp0" | ||
set "file=%~1" | ||
set unpack_dir=%~dpn1_unpacked | ||
if not exist "%WORK_DIR%" md "%WORK_DIR%" | ||
pushd "%WORK_DIR%" | ||
if "%x64%"=="1" ( set core=%core_x64% ) else ( set core=%core_x86% ) | ||
if not exist %core% echo core program (%core%) NOT FOUND! &pause &exit | ||
if not exist "%unpack_dir%" md "%unpack_dir%" | ||
if exist "%file%" %core% -u "%file%" "%unpack_dir%" | ||
if exist "%unpack_dir%\pak_index.ini" echo Unpacked "%file%" to "%unpack_dir%" | ||
timeout /t 5||pause |