Skip to content

Commit

Permalink
Updated the package contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
apanteleev committed Jan 12, 2022
1 parent e17e076 commit 3c5818a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup/package_media.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
PUSHD ..\baseq2
SET SEVENZIP="C:\Program Files\7-Zip\7z.exe"
SET SOURCES=env maps models overrides pics sound sprites textures materials prefetch.txt pt_toggles.cfg q2rtx.cfg q2rtx.menu sky_clusters.txt cameras.txt
SET SOURCES=env maps models overrides pics sound sprites textures materials prefetch.txt pt_toggles.cfg q2rtx.cfg q2rtx.menu sky_clusters.txt
SET DEST=q2rtx_media.pkz
IF EXIST %DEST% DEL %DEST%
%SEVENZIP% a -tzip %DEST% %SOURCES%
Expand Down
1 change: 0 additions & 1 deletion setup/package_media.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ SET(MEDIA_SOURCES
${SOURCE}/baseq2/q2rtx.cfg
${SOURCE}/baseq2/q2rtx.menu
${SOURCE}/baseq2/sky_clusters.txt
${SOURCE}/baseq2/cameras.txt
)
set(out_file "${SOURCE}/baseq2/q2rtx_media.pkz")
exec_program(7za ARGS "a -tzip" ${out_file} ${MEDIA_SOURCES})
4 changes: 4 additions & 0 deletions setup/setup.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Section "Engine Files (Required)" Section_Game
File "${SOURCE_DIR}\q2rtx.pdb"
File "${SOURCE_DIR}\q2rtxded.exe"
File "${SOURCE_DIR}\q2rtxded.pdb"
File "${SOURCE_DIR}\q2rtxded-x86.exe"
File "${SOURCE_DIR}\q2rtxded-x86.pdb"
File "${SOURCE_DIR}\license.txt"
File "${SOURCE_DIR}\notice.txt"
File "${SOURCE_DIR}\readme.md"
Expand All @@ -70,6 +72,8 @@ Section "Engine Files (Required)" Section_Game
SetOutPath "$INSTDIR\baseq2"
File "${SOURCE_DIR}\baseq2\gamex86_64.dll"
File "${SOURCE_DIR}\baseq2\gamex86_64.pdb"
File "${SOURCE_DIR}\baseq2\gamex86.dll"
File "${SOURCE_DIR}\baseq2\gamex86.pdb"

SetCompress OFF
File "${SOURCE_DIR}\baseq2\shaders.pkz"
Expand Down

0 comments on commit 3c5818a

Please sign in to comment.