Skip to content

Commit

Permalink
iv: generate .dat on release
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed May 23, 2024
1 parent 01aabab commit 1a12ad4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ data/**/*.zip
data/**/*.exe
data/**/*.exp
data/**/*.lib
data/2DFXDataGrabber/iv_data
!data/**/SA2dfx.exe
!data/7za.exe

Expand Down
10 changes: 10 additions & 0 deletions data/release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
7za a -tzip ".\III.Project2DFX.zip" ".\IIILodLights\*" -x!*.pdb -x!*.db -x!*.ipdb -x!*.iobj -x!*.lib -x!*.exp -x!.gitkeep
7za a -tzip ".\VC.Project2DFX.zip" ".\VCLodLights\*" -x!*.pdb -x!*.db -x!*.ipdb -x!*.iobj -x!*.lib -x!*.exp -x!.gitkeep
7za a -tzip ".\SA.Project2DFX.zip" ".\SALodLights\*" -x!*.pdb -x!*.db -x!*.ipdb -x!*.iobj -x!*.lib -x!*.exp -x!.gitkeep

7za x -p1 2DFXDataGrabber\iv_data.7z -o2DFXDataGrabber -y
copy /b/v/y "2DFXDataGrabber\2DFXDataGrabber.exe" "2DFXDataGrabber\iv_data\2DFXDataGrabber.exe"
cd 2DFXDataGrabber
cd iv_data
2DFXDataGrabber.exe
cd ..
cd ..
copy /b/v/y "2DFXDataGrabber\iv_data\IVLodLights.dat" "IVLodLights\IVLodLights.dat"

7za a -tzip ".\IV.Project2DFX.zip" ".\IVLodLights\*" -x!*.pdb -x!*.db -x!*.ipdb -x!*.iobj -x!*.lib -x!*.exp -x!.gitkeep
EXIT

Expand Down

0 comments on commit 1a12ad4

Please sign in to comment.