Skip to content

Commit

Permalink
Merge branch 'release/0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryz committed Mar 30, 2015
2 parents 5111428 + 10b510f commit 3010e45
Show file tree
Hide file tree
Showing 592 changed files with 2,012 additions and 0 deletions.
19 changes: 19 additions & 0 deletions makepk3.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
REM This script makes a ready-to-use *.pk3 file from the contents of the pk3 folder.

for /f "skip=1" %%x in ('wmic os get localdatetime') do if not defined dt set dt=%%x

SET "YY=%dt:~2,2%" & SET "YYYY=%dt:~0,4%" & SET "MM=%dt:~4,2%" & set "DD=%dt:~6,2%"
SET "HH=%dt:~8,2%" & SET "Min=%dt:~10,2%" & SET "Sec=%dt:~12,2%"

SET "FULLSTAMP=%YYYY%-%MM%-%DD%_%HH%-%Min%-%Sec%"
SET "DATESTAMP=%YYYY%-%MM%-%DD%"

SET ARCHIVENAME=tribulation_dev
SET PK3DIR=.\pk3\*


7za a -tzip "%ARCHIVENAME%-%DATESTAMP%.pk3" %PK3DIR%
move *.pk3 ..\

REM pause
Loading

0 comments on commit 3010e45

Please sign in to comment.