/installer/hrp_extract.sh |
---|
0,0 → 1,624 |
#!/bin/sh |
# Duke Nukem 3D High Resolution Pack Extractor v0.3 2012-03-24 |
# |
# Author: LeoD |
# License: ISC license : http://opensource.org/licenses/isc-license.txt |
# |
# This script extracts a PolyMER or PolyMOST only HRP from your working copy |
# of the Duke Nukem 3D High Resolution Pack's Subversion repository. |
# On Windows you might want MSYS' zip to create package files. |
# ("mingw-get install msys-zip") |
# MinGW/MSYS performance is horrible, better go Linux. Even my virtual Debian |
# machine accessing the Windows drive is 5 to 10 times faster. |
# But it still sucks. This needs to become a Perl script one day. |
# Or maybe MSYS' bash gets finally updated to 4.* and I'll use its regex engine. |
DEF_TOP=UNDEFINED |
SET_VERSION=YES # [YES|NO] |
EXTRACT_COMMENTED_FILES=NO # [YES|NO] |
DUKEPLUS_POLYMOST_COMPATIBILTY_APPROACH=none # [none|polymost|polymer|mixed] |
ask() |
{ |
echo -n "$@" '[y/N] ' ; read ans |
case "$ans" in |
y*|Y*) return 0 ;; |
*) return 1 ;; |
esac |
} # ask |
copy_folders() |
{ |
mkdir ${EXTRACTDIR} |
for HRPDIR in . ; do |
if [ -d "${HRPDIR}" ] ; then |
DIRLIST=./HRP_DIRECTORIES.lst |
find "${HRPDIR}" -type d > ${DIRLIST} |
cat ${DIRLIST} | while read DIR; do |
if [ ! -d "${EXTRACTDIR}/${DIR}" ] ; then |
mkdir "${EXTRACTDIR}/${DIR}" |
fi |
done |
rm ${DIRLIST} |
else |
echo "${HRPDIR} : no HRP." |
fi |
done |
} # copy_folders() |
copy_set_version() |
{ |
VER_FILE="$1" |
TARGET_FILE="$2" |
V_DATE=`date +%F` |
if [ "${VERSION}" = "" ] ; then |
if [ -f VERSION ] ; then |
VERSION=`grep -owE "[0-9\\.]*" VERSION` |
fi |
fi |
echo "copy_set_version ${VER_FILE} -> ${TARGET_FILE}" |
case "${VER_FILE}" in |
hrp_readme.txt) |
cat "${VER_FILE}" | sed -r --posix \ |
s/\(Version\ *\)\([0-9\.]*\)\(.*\)\(\\\)\)\(.*\)/\\1${VERSION}\ \(${V_DATE}\)\ \ \\5/ \ |
>> "${TARGET_FILE}" |
;; |
duke3d_hrp.def) |
if [ "${HRPTYPE}" = "polymer" ] ; then |
cat "${VER_FILE}" | sed -r --posix \ |
s/\(Version\ *\)\([0-9\.]*\)\(.*\)/\\1${VERSION}\ Polymer\\3/ \ |
>> "${TARGET_FILE}" |
else |
cat "${VER_FILE}" | sed -r --posix \ |
s/\(Version\ *\)\([0-9\.]*\)\(.*\)/\\1${VERSION}\\3/ \ |
>> "${TARGET_FILE}" |
fi |
;; |
duke3d_hrp_polymost.def) |
if [ "${HRPTYPE}" = "polymost_override" ] ; then |
cat "${VER_FILE}" | sed -r --posix \ |
s/\(Version\ *\)\([0-9\.]*\)\(\ Polymost\)/\\1${VERSION}\ Polymost\ Override/ \ |
>> "${TARGET_FILE}" |
else |
cat "${VER_FILE}" | sed -r --posix \ |
s/\(Version\ *\)\([0-9\.]*\)\(.*\)/\\1${VERSION}\\3/ \ |
>> "${TARGET_FILE}" |
fi |
;; |
*) |
echo "###ERROR: copy_set_version() - BAD FILE: ${VER_FILE}" |
exit 1 |
;; |
esac |
} |
tar_copy_dir() |
{ |
(cd ${1}; tar cf - . ) | (cd ${2}; tar xf -) |
} |
copy_known_files() |
{ |
if [ "${SET_VERSION}" = "YES" ] ; then |
copy_set_version hrp_readme.txt "${EXTRACTDIR}/hrp_readme.txt" |
else |
cp -pv hrp_readme.txt "${EXTRACTDIR}" |
fi |
cp -pv hrp_art_license.txt "${EXTRACTDIR}" |
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "polymost_override" ] ; then |
if [ "${SET_VERSION}" = "YES" ] ; then |
copy_set_version duke3d_hrp_polymost.def "${EXTRACTDIR}/duke3d_hrp.def" |
else |
cp -pv duke3d_hrp_polymost.def "${EXTRACTDIR}/duke3d_hrp.def" |
fi |
fi |
if [ "${HRPTYPE}" = "polymost" ] ; then |
cp -pv duke3d.def "${EXTRACTDIR}" |
#cp -pv duke3d_hrp_polymost.def "${EXTRACTDIR}" |
#cp -pv highres/screen/menu/2492_polymost.png "${EXTRACTDIR}/highres/screen/menu" |
fi |
if [ "${HRPTYPE}" = "full" ] ; then |
if [ "${SET_VERSION}" = "YES" ] ; then |
copy_set_version duke3d_hrp_polymost.def "${EXTRACTDIR}/duke3d_hrp_polymost.def" |
else |
cp -pv duke3d_hrp_polymost.def "${EXTRACTDIR}" |
fi |
fi |
if [ "${HRPTYPE}" = "polymost_override" ] || [ "${HRPTYPE}" = "full" ] ; then |
cp -pv highres/screen/menu/2492_ver_polymost.png "${EXTRACTDIR}/highres/screen/menu" |
fi |
if [ "${HRPTYPE}" = "polymer" ] || [ "${HRPTYPE}" = "full" ] ; then |
cp -pv duke3d.def "${EXTRACTDIR}" |
if [ "${SET_VERSION}" = "YES" ] ; then |
copy_set_version duke3d_hrp.def "${EXTRACTDIR}/duke3d_hrp.def" |
else |
cp -pv duke3d_hrp.def "${EXTRACTDIR}" |
fi |
echo "\`*.mhk' -> \`${EXTRACTDIR}/*.mhk'" |
cp -p *.mhk "${EXTRACTDIR}" |
#cp -pv highres/screen/menu/2492.png "${EXTRACTDIR}/highres/screen/menu" |
#cp -pv highres/common/black.png "${EXTRACTDIR}/highres/common" |
#cp -pv highres/screen/fonts/digital/digital_minus.png "${EXTRACTDIR}/highres/screen/fonts/digital" |
#cp -pv highres/screen/menu/2493_old.png "${EXTRACTDIR}/highres/screen/menu" |
#cp -pv highres/screen/menu/widescreen/*_wide.png "${EXTRACTDIR}/highres/screen/menu" |
#cp -pv highres/sprites/characters/1357_terminarm.md3 "${EXTRACTDIR}/highres/sprites/characters" |
#cp -pv highres/sprites/firstperson/2510_devastator_n.png "${EXTRACTDIR}/highres/sprites/firstperson" |
#cp -pv highres/sprites/monsters/1960_reconcar_s.png "${EXTRACTDIR}/highres/sprites/monsters" |
#cp -pv highres/sprites/props/4387.png "${EXTRACTDIR}/highres/sprites/props" |
#cp -pv highres/sprites/signs/4378.png "${EXTRACTDIR}/highres/sprites/signs" |
#cp -pv highres/sprites/signs/4379.png "${EXTRACTDIR}/highres/sprites/signs" |
#cp -pv highres/sprites/signs/4381-85.png "${EXTRACTDIR}/highres/sprites/signs" |
fi |
if [ "${HRPTYPE}" = "voxel" ] ; then |
cp -pv readme.txt "${EXTRACTDIR}" |
cp -pv voxelp_art_license.txt "${EXTRACTDIR}" |
cp -pv duke3d.def "${EXTRACTDIR}" |
cp -pv duke3d_voxel.def "${EXTRACTDIR}" |
echo "\`*.mhk' -> \`${EXTRACTDIR}/*.mhk'" |
cp -p *.mhk "${EXTRACTDIR}" |
fi |
if [ "${HRPTYPE}" = "sw_highres" ] ; then |
cp -pv sw.def "${EXTRACTDIR}" |
cp -pv highres/sw_hrp.def "${EXTRACTDIR}/highres" |
cp -pv HRP.bat "${EXTRACTDIR}" |
cp -pv HRP_Readme.txt "${EXTRACTDIR}" |
cp -pv HRP_Changes.txt "${EXTRACTDIR}" |
echo "Copying skyboxes ..." |
tar_copy_dir "highres/skyboxes" "${EXTRACTDIR}/highres/skyboxes" |
cd "${WORKDIR}" |
fi |
if [ "${HRPTYPE}" = "sw_lowres" ] ; then |
cp -pv lowres/sw_lrp.def "${EXTRACTDIR}/lowres" |
cp -pv LRP.bat "${EXTRACTDIR}" |
cp -pv LRP_Readme.txt "${EXTRACTDIR}" |
cp -pv LRP_Changes.txt "${EXTRACTDIR}" |
echo "Copying skyboxes ..." |
tar_copy_dir "highres/skyboxes" "${EXTRACTDIR}/highres/skyboxes" |
cd "${WORKDIR}" |
fi |
if [ "${HRPTYPE}" = "default" ] ; then |
cp -pv "${DEF_TOP}" "${EXTRACTDIR}/${DEF_TOP}" |
echo "\`*.txt' -> \`${EXTRACTDIR}/*.txt'" |
cp -p *.txt "${EXTRACTDIR}" |
fi |
} # copy_known_files() |
polymost_mhk_patch() |
{ |
MHKFILE="$1" |
MHK_LINE="$2" |
case "${MHKFILE}" in |
"E3L1.mhk") |
echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}" |
MHK_INSERT=`echo "${MHK_LINE}" | grep -oE "sprite\ 575\ pitch\ 1"` |
if [ ! "${MHK_INSERT}" = "" ] ; then |
echo "sprite 591 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 591 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 592 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 592 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 593 mdxoff 425000 // underwater slimebabe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 593 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}" |
fi |
;; |
"E3L3.mhk") |
MHK_REPLACE=`echo "${MHK_LINE}" | grep -oE "sprite\ 105\ angoff -128"` |
if [ ! "${MHK_REPLACE}" = "" ] ; then |
echo "sprite 105 angoff 768 // (Polymost HRP)\r" >> "${EXTRACTDIR}/${MHKFILE}" |
else |
echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}" |
MHK_INSERT=`echo "${MHK_LINE}" | grep -oE "sprite\ 96\ pitch\ 1"` |
if [ ! "${MHK_INSERT}" = "" ] ; then |
echo "sprite 105 mdxoff 450000 // underwater slime babe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 105 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 447 mdxoff 462000 // underwater slime babe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
echo "sprite 447 pitch 1\r" >> "${EXTRACTDIR}/${MHKFILE}" |
fi |
fi |
;; |
"E3L6.mhk") |
MHK_REPLACE1=`echo "${MHK_LINE}" | grep -oE "sprite\ 307\ angoff -210"` |
MHK_REPLACE2=`echo "${MHK_LINE}" | grep -oE "sprite\ 307\ mdxoff -125000 \\/\\/\ flipped hanging babe"` |
MHK_REPLACE3=`echo "${MHK_LINE}" | grep -oE "sprite\ 307\ mdzoff -11000"` |
if [ ! "${MHK_REPLACE1}" = "" ] ; then |
echo "sprite 307 angoff 200 // (Polymost HRP)\r" >> "${EXTRACTDIR}/${MHKFILE}" |
elif [ ! "${MHK_REPLACE2}" = "" ] ; then |
echo "sprite 307 mdxoff 750000 // flipped hanging babe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
elif [ ! "${MHK_REPLACE3}" = "" ] ; then |
echo "sprite 307 mdzoff 625000 // flipped hanging babe (Polymost HRP)\r" \ |
>> "${EXTRACTDIR}/${MHKFILE}" |
else |
echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}" |
fi |
;; |
*) |
echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}" |
;; |
esac |
} # polymost_mhk_patch() |
create_polymost_mhk() |
{ |
for MHKFILE in *.mhk ; do |
MHKSTOP="0" |
cat ${MHKFILE} | while read MHK_LINE; do |
if [ "${MHKSTOP}" = "0" ] ; then |
if [ "${MHKFILE}" = "E3L1.mhk" ] || [ "${MHKFILE}" = "E3L3.mhk" ] || \ |
[ "${MHKFILE}" = "E3L6.mhk" ] ; then |
polymost_mhk_patch ${MHKFILE} "${MHK_LINE}" |
else |
echo "${MHK_LINE}" >> "${EXTRACTDIR}/${MHKFILE}" |
fi |
MHK_TERM=`echo "${MHK_LINE}" | grep -owE "\\/\\/\\ LIGHTS"` |
if [ "${MHK_TERM}" = "// LIGHTS" ] ; then |
MHKSTOP="1" |
fi |
fi |
done |
done |
# Some people prefer unusual setups ... |
zip -rq9 ${EXTRACTDIR}/polymost_hrp_update_polymer_maphacks.zip *.mhk |
} # create_polymost_mhk() |
# I really don't know yet if this will become necessary, or if it doesn't make |
# sense at all, but at least the files involved are listed. |
dukeplus_polymost_compatibility() |
{ |
# dukeplus.def expects some files to be present in the HRP |
# |
# model "highres/sprites/characters/1405_duke.md3" { // all OK, no action required |
# skin { pal 0 surface 0 file "highres/sprites/pickups/0057_jetpack.png" } |
# skin { pal 0 surface 1 file "highres/sprites/characters/1405_duke.png" } |
# skin { pal 10 surface 1 file "highres/sprites/characters/1405_duke_10.png" } |
# skin { pal 11 surface 1 file "highres/sprites/characters/1405_duke_11.png" } |
# skin { pal 12 surface 1 file "highres/sprites/characters/1405_duke_12.png" } |
# skin { pal 13 surface 1 file "highres/sprites/characters/1405_duke_13.png" } |
# skin { pal 14 surface 1 file "highres/sprites/characters/1405_duke_14.png" } |
# skin { pal 15 surface 1 file "highres/sprites/characters/1405_duke_15.png" } |
# skin { pal 16 surface 1 file "highres/sprites/characters/1405_duke_16.png" } |
# skin { pal 21 surface 1 file "highres/sprites/characters/1405_duke_21.png" } |
# skin { pal 23 surface 1 file "highres/sprites/characters/1405_duke_23.png" } |
# skin { pal 0 surface 2 file "highres/sprites/pickups/0023_rpg.png" } |
# |
# model "highres/sprites/firstperson/2510_devastator.md3" { // since Imperium, not Eternity |
# skin { pal 0 file "highres/sprites/firstperson/2510_devastator.png" specfactor 0.5 specpower 35 } |
# specular { file "highres/sprites/firstperson/2510_devastator_s.png" } |
# glow { file "highres/sprites/firstperson/2510_devastator_g.png" } |
# |
# model "highres/sprites/firstperson/2524_pistol.md3" { // most/mer : same MD3 + same skin til r295 |
# skin { pal 0 file "highres/sprites/firstperson/2524_pistol.png" } // up to DP2.30 DNE/IMP only |
# glow { file "highres/sprites/firstperson/2524_pistol_g.png" } // up to DP2.30 DNE/IMP only |
# model "highres/sprites/firstperson/2530_clip.md3" { // most/mer : diff MD3, same skin |
# skin { pal 0 file "highres/sprites/pickups/0040_pistolammo.jpg" } |
# model "highres/sprites/firstperson/2532_cliphand.md3" { // most/mer : same MD3 + same skin til r295 |
# skin { pal 0 file "highres/sprites/firstperson/2532_cliphand.png" } // til r295, then duke_hand_* |
# |
SPR="highres/sprites" |
SPRE="${EXTRACTDIR}/highres/sprites" |
PATCHTYPE=$1 |
case "$PATCHTYPE" in |
polymer) |
echo " # Using \"Polymer approach\")" |
cp -pi $SPR/firstperson/2510_devastator.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2510_devastator.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2510_devastator_s.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2510_devastator_g.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2524_pistol.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2524_pistol.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2524_pistol_g.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2530_clip.md3 "$SPRE/firstperson" |
cp -pi $SPR/pickups/0040_pistolammo.jpg "$SPRE/pickups" |
cp -pi $SPR/firstperson/2532_cliphand.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2532_cliphand.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_d.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_n.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_s.png "$SPRE/firstperson" |
;; |
polymost) |
echo " # Using (\"Polymost approach\")" |
cp -pi $SPR/firstperson_polymost/2510_devastator.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2510_devastator.png "$SPRE/firstperson" |
#cp -pi $SPR/firstperson/2510_devastator_s.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2510_devastator_g.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2524_pistol.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2524_pistol.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2524_pistol_g.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson_polymost/2530_clip.md3 "$SPRE/firstperson" |
cp -pi $SPR/pickups/0040_pistolammo.jpg "$SPRE/pickups" |
cp -pi $SPR/firstperson_polymost/2532_cliphand.md3 "$SPRE/firstperson" |
cp -pi $SPR/firstperson/2532_cliphand.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_d.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_n.png "$SPRE/firstperson" |
cp -pi $SPR/firstperson/duke_hand_s.png "$SPRE/firstperson" |
;; |
mixed) |
echo " # Using (\"Mixed approach\")" |
echo " # Not applied / Not yet implemented" |
;; |
none) |
#echo " Not applied" |
echo " # Not yet implemented" |
;; |
*) |
echo " # Bad parameter" |
;; |
esac |
} # dukeplus_polymost_compatibility() |
parse_defs() |
{ |
echo "$1" |
BLOCK_COMMENT="OFF" |
cat $1 | while read DEF_LINE; do |
#DOS only: DEF_FILE=`echo "${DEF_LINE}" | grep -wE "^include" | sed s/include\ //` |
DEF_FILE=`echo "${DEF_LINE}" | grep -wE "^include" | sed s/include\ // | sed s/\\\r//` |
if [ "${DEF_FILE}" != "" ] ; then |
cp -p "${DEF_FILE}" "${EXTRACTDIR}/${DEF_FILE}" |
parse_defs "${DEF_FILE}" |
fi |
HRP_TERM=`echo "${DEF_LINE}" | grep -owE "file|model|voxel|front|right|back|left|top|bottom|down"` |
#More skybox tokens: tile, pal, ft|rt|bk|lf|up|dn|forward|lt|ceiling|floor|ceil |
if [ ! "$EXTRACT_COMMENTED_FILES" = "YES" ] ; then |
COMMENT_TERM=`echo "${DEF_LINE}" | grep -oE "\\/\\*|\\*\\/"` |
if [ "$COMMENT_TERM" = "/*" ] ; then BLOCK_COMMENT="ON" ; fi |
if [ "$BLOCK_COMMENT" = "ON" ] ; then HRP_TERM="" ; fi |
if [ "$COMMENT_TERM" = "*/" ] ; then BLOCK_COMMENT="OFF" ; fi |
if [ ! "$HRP_TERM" = "" ] ; then |
HRP_COMMENT=`echo "${DEF_LINE}" | grep -E "//.*$HRP_TERM"` |
if [ ! "$HRP_COMMENT" = "" ] ; then |
HRP_TERM="" |
fi |
fi |
fi |
case "$HRP_TERM" in |
file) |
#HRP_FILE=`echo "${DEF_LINE}" | sed -r s/^.*file\ *\"//g | sed s/\".*//` |
# Mastering the backslash :-) ... hm, no big performance gain ... : |
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*file\\ *\"\\)\\([^\"]*\\)\\(.*\\)/\\\2/` |
# Ignore comments WIP: |
#HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*file\\ *\\)\\(\\"\\(.*\\)\\"\\)\\(.*\\)/\\\3/` |
;; |
model|voxel) |
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*${HRP_TERM}\\ *\"\\)\\([^\"]*\\)\\(.*\\)/\\\2/` |
;; |
front|right|back|left|top|bottom|down) |
#HRP_FILE=`echo "${DEF_LINE}" | sed -r s/^.*${HRP_TERM}\ *\"//g | sed s/\".*//` |
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*${HRP_TERM}\\ *\"\\)\\([^\"]*\\)\\(.*\\)/\\\2/` |
;; |
*) |
HRP_FILE="" |
;; |
esac |
if [ ! "${HRP_FILE}" = "" ] ; then |
if [ -f "${HRP_FILE}" ] ; then |
cp -p "${HRP_FILE}" "${EXTRACTDIR}/${HRP_FILE}" |
else |
echo "WARNING : ${HRP_FILE} is missing!" |
fi |
fi |
done |
} # parse_defs() |
delete_empty_folders() |
{ |
if [ -d "${EXTRACTDIR}" ] ; then |
rm -rf ${EXTRACTDIR}/.svn |
rm -rf ${EXTRACTDIR}/installer |
DIRLIST=./EXTRACT_DIRECTORIES.lst |
du "${EXTRACTDIR}" > ${DIRLIST} |
cat ${DIRLIST} | while read DIR ; do |
if [ "0" = "`echo \"${DIR}\" | grep -owE \"0\"`" ] ; then |
EMPTYDIR="`echo \"${DIR}\" | sed -r --posix s/0//`" |
if [ -d ${EMPTYDIR} ] ; then |
rmdir ${EMPTYDIR} |
fi |
fi |
done |
rm ${DIRLIST} |
else |
echo "No ${EXTRACTDIR}." |
fi |
} # delete_empty_folders() |
main() |
{ |
EXTRACTDIR=../hrp_${HRPTYPE}_extract |
echo "EXTRACT :" ${HRPROOT}/${EXTRACTDIR} |
if [ $FORCE = 0 ] ; then |
if ask "Proceed?" |
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" " |
else exit 0 |
fi |
fi |
date +%F" "%H:%M:%S |
echo "### Deleting ${EXTRACTDIR} ... ###" |
rm -rf ${EXTRACTDIR} |
echo "### Copying directory tree ... ###" |
copy_folders |
echo "### Copying 'known' files ... ###" |
copy_known_files |
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "polymost_override" ] ; then |
echo "### Creating Polymost maphacks ... ###" |
create_polymost_mhk |
#echo "### DukePlus<>Polymost HRP compatibility patch ... ###" |
#dukeplus_polymost_compatibility $DUKEPLUS_POLYMOST_COMPATIBILTY_APPROACH |
fi |
echo "### Parsing DEF file hierarchy ... ###" |
if [ "$EXTRACT_COMMENTED_FILES" = "YES" ] ; then |
echo " # Extract commented textures and models: $EXTRACT_COMMENTED_FILES" |
else |
echo " # Extract commented textures and models: NO" |
fi |
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "full" ] ; then |
parse_defs duke3d_hrp_polymost.def |
fi |
if [ "${HRPTYPE}" = "polymer" ] || [ "${HRPTYPE}" = "full" ] ; then |
parse_defs duke3d_hrp.def |
fi |
if [ "${HRPTYPE}" = "voxel" ] ; then |
parse_defs duke3d_voxel.def |
fi |
if [ "${HRPTYPE}" = "sw_highres" ] ; then |
parse_defs highres/sw_hrp.def |
fi |
if [ "${HRPTYPE}" = "sw_lowres" ] ; then |
parse_defs lowres/sw_lrp.def |
fi |
if [ "${HRPTYPE}" = "default" ] ; then |
parse_defs "${DEF_TOP}" |
fi |
echo "### Deleting empty directories in ${EXTRACTDIR} ... ###" |
delete_empty_folders |
date +%F" "%H:%M:%S |
echo "Command line example for creating a ZIP package:" |
echo "sh -c \"cd ${EXTRACTDIR} ; zip -rqn .zip:.jpg:.png ${EXTRACTDIR}.zip *\"" |
} # main() |
PRGPATH=$0 |
HRPTYPE=$1 |
if [ "$2" = "y" ] ; then FORCE=1 ; else FORCE=0 ; fi |
if [ "$2" = "v" ] && [ ! "$3" = "" ] ; then |
VERSION="$3" |
echo "${VERSION}" > VERSION |
fi |
HRPROOT=. |
WORKDIR=`pwd` |
cd "${HRPROOT}" |
echo "PWD : ${WORKDIR}" |
echo "HRPROOT : ${HRPROOT}" |
#if [ ! -f "./duke3d.def" ] && [ ! "${HRPTYPE}" = "default" ] ; then |
# echo "ERROR : ./duke3d.def not found. This is no HRP root directory. Exit." |
# exit 1 |
#fi |
case "$HRPTYPE" in |
polymer|polymost_override|polymost) |
main $HRPTYPE |
;; |
full) |
if [ $FORCE = 0 ] ; then if ask "Extract full HRP (+ Override Pack)?" |
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" " |
else exit 0 |
fi ; fi |
${PRGPATH} polymost_override y |
main $HRPTYPE |
;; |
both) |
if [ $FORCE = 0 ] ; then if ask "Extract both pure HRP?" |
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" " |
else exit 0 |
fi ; fi |
${PRGPATH} polymer y |
${PRGPATH} polymost y |
;; |
all) |
if [ $FORCE = 0 ] ; then if ask "Extract all packs from the repository?" |
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" " |
else exit 0 |
fi ; fi |
${PRGPATH} both y |
${PRGPATH} full y |
;; |
voxel) |
SET_VERSION=NO |
main $HRPTYPE |
;; |
sw_highres|sw_lowres) |
SET_VERSION=NO |
main $HRPTYPE |
;; |
sw_both) |
if [ $FORCE = 0 ] ; then if ask "Extract both Shadow Warrior HRP/LRP?" |
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" " |
else exit 0 |
fi ; fi |
${PRGPATH} sw_lowres y |
${PRGPATH} sw_highres y |
;; |
unused) |
echo "Option \"$1\" not yet implemented." |
;; |
debug) |
echo "Nothing to debug." |
;; |
*) |
#if [ ! -f "./${HRPTYPE}.def" ] ; then |
# echo "ERROR : ./${HRPTYPE}.def not found. This is no HRP root directory. Exit." |
# exit 1 |
#fi |
if [ -f "${HRPTYPE}.def" ] ; then |
DEF_TOP="${HRPTYPE}.def" |
HRPTYPE=default |
SET_VERSION=NO |
EXTRACT_COMMENTED_FILES=NO |
main $HRPTYPE |
else |
echo "Usage: ${0} {HRPTYPE|TOP_DEF} [v VERSION]" |
echo "HRPTYPEs: {full|polymer|polymost_override|polymost|both|all}" |
echo "HRPTYPEs: {sw_highres|sw_lowres|sw_both}" |
echo "TOP_DEF: {Filename without extension}" |
exit 1 |
fi |
;; |
esac |
exit 0 |
/installer/splash.psd |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/hrp_art_license.txt |
---|
0,0 → 1,76 |
High Resolution Pack Art License |
This Work is provided under the terms of this License. |
The Work is protected by copyright and/or other applicable law. Any use of the |
Work other than as authorized under this license is prohibited by law. |
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE |
BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED |
TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN |
CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. |
Definitions: |
------------ |
"Adaptation" means a work based upon the Work, or upon the Work and other |
pre-existing works, such as a translation, modification, derivative work, |
arrangement or other alterations of an artistic work, or phonogram or |
performance and includes cinematographic adaptations or any other form in |
which the Work may be recast, transformed, or adapted including in any form |
recognizably derived from the original. |
"Distribute" means to make available to the public the original and copies of |
the Work or Adaptation, as appropriate, through any transfer of ownership. |
"Licensor" means the individual, individuals, entity or entities that offer(s) |
the Work under the terms of this License. |
"Author" means, in the case of a literary or artistic work, the individual, |
individuals, entity or entities who created the Work or if no individual or |
entity can be identified, the publisher. |
"Work" means the artistic and/or musical content offered under the terms of |
this License including without limitation any production in the literary, |
scientific and artistic domain, whatever may be the mode or form of its |
expression including digital form. |
"You" means an individual or entity exercising rights under this License who |
has not previously violated the terms of this License with respect to the Work, |
or who has received express permission from the Licensor to exercise rights |
under this License despite a previous violation. |
"Reproduce" means to make copies of the Work by any means. |
Terms: |
------ |
You are free to copy, alter, distribute, reproduce and transmit this Work, |
subject to the following conditions: |
1. You may not use this Work or anything contained in this Work for commercial |
purposes. |
2. You must attribute this Work in the manner specified by the authors or |
licensor. |
3. Any likenesses, characters, sounds, phrases or references specific to |
Duke Nukem, 3D Realms Entertainment, or Apogee Software Ltd. appear in this |
Work courtesy of 3D Realms Entertainment and are the exclusive property of |
3D Realms Entertainment, and are provided only to be used with a legally |
acquired copy of Duke Nukem 3D. You may not alter, transform, build upon or |
adapt any portion of this Work specifically related to or derived from the |
Duke Nukem intellectual property, including likenesses, characters, sounds, |
phrases or references for any purpose other than use with a legally acquired |
copy of Duke Nukem 3D. |
4. Any works based upon altered, transformed, or copied parts of this Work must |
be distributed under a license identical or similar to this one. |
5. For any reuse or distribution of this Work, you must make clear to others |
the license terms of this Work. |
6. The producers and/or authors of this Work explicity reject any liability for |
any damages resulting from use or misuse of this Work by any Licensee or |
other third party. |
/installer/hrp_splash.bmp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/music/eduke32_mus.zip |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/banner.bmp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/hrp_content/hrp_art_license.txt |
---|
0,0 → 1,76 |
High Resolution Pack Art License |
This Work is provided under the terms of this License. |
The Work is protected by copyright and/or other applicable law. Any use of the |
Work other than as authorized under this license is prohibited by law. |
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE |
BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED |
TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN |
CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. |
Definitions: |
------------ |
"Adaptation" means a work based upon the Work, or upon the Work and other |
pre-existing works, such as a translation, modification, derivative work, |
arrangement or other alterations of an artistic work, or phonogram or |
performance and includes cinematographic adaptations or any other form in |
which the Work may be recast, transformed, or adapted including in any form |
recognizably derived from the original. |
"Distribute" means to make available to the public the original and copies of |
the Work or Adaptation, as appropriate, through any transfer of ownership. |
"Licensor" means the individual, individuals, entity or entities that offer(s) |
the Work under the terms of this License. |
"Author" means, in the case of a literary or artistic work, the individual, |
individuals, entity or entities who created the Work or if no individual or |
entity can be identified, the publisher. |
"Work" means the artistic and/or musical content offered under the terms of |
this License including without limitation any production in the literary, |
scientific and artistic domain, whatever may be the mode or form of its |
expression including digital form. |
"You" means an individual or entity exercising rights under this License who |
has not previously violated the terms of this License with respect to the Work, |
or who has received express permission from the Licensor to exercise rights |
under this License despite a previous violation. |
"Reproduce" means to make copies of the Work by any means. |
Terms: |
------ |
You are free to copy, alter, distribute, reproduce and transmit this Work, |
subject to the following conditions: |
1. You may not use this Work or anything contained in this Work for commercial |
purposes. |
2. You must attribute this Work in the manner specified by the authors or |
licensor. |
3. Any likenesses, characters, sounds, phrases or references specific to |
Duke Nukem, 3D Realms Entertainment, or Apogee Software Ltd. appear in this |
Work courtesy of 3D Realms Entertainment and are the exclusive property of |
3D Realms Entertainment, and are provided only to be used with a legally |
acquired copy of Duke Nukem 3D. You may not alter, transform, build upon or |
adapt any portion of this Work specifically related to or derived from the |
Duke Nukem intellectual property, including likenesses, characters, sounds, |
phrases or references for any purpose other than use with a legally acquired |
copy of Duke Nukem 3D. |
4. Any works based upon altered, transformed, or copied parts of this Work must |
be distributed under a license identical or similar to this one. |
5. For any reuse or distribution of this Work, you must make clear to others |
the license terms of this Work. |
6. The producers and/or authors of this Work explicity reject any liability for |
any damages resulting from use or misuse of this Work by any Licensee or |
other third party. |
/installer/hrp_content/hrp_readme.txt |
---|
0,0 → 1,557 |
================================================================== |
| DUKE NUKEM 3D HIGH RESOLUTION PACK (HRP) | |
| | |
| A Duke3D Community project | |
| | |
| compiled by Parkar & NightFright | |
================================================================== |
| SVN build #321 (Mar 23, 2009) | |
================================================================== |
======================= |
CONTENTS OF THIS README |
======================= |
1) About |
2) Installation |
3) Notes |
3.1) WIP release |
3.2) Known issues |
3.3) Title screen art |
3.4) EDuke32 port |
4) License |
4.1) HRP |
4.2) Others |
5) Contact/Links |
6) Credits |
7) Changelog |
======== |
1) ABOUT |
======== |
Remember "Duke Nukem 3D", the great first-person shooter 3D Realms released back in |
1996? Its cool protagonist, ingame atmosphere, original weaponry and many other |
features make it worth playing even today. |
For all Duke fans who want to play the game again in a modern Windows environment |
with 3D accelerated graphics, the Duke3D community has created the High Resolution |
Pack (HRP). Utilizing the amazing skills of various texturing and modelling artists, |
the project´s goal is to replace all textures and sprites with high-res versions, |
optimizing it for latest OpenGL ports. |
All you need is the "duke3d.grp" file from your original Duke3D v1.3d or |
Atomic (v1.5) CD-ROM. You can also play with the shareware version available |
over at http://www.3drealms.com/downloads.html . |
Here's what the Duke3D HRP has to offer: |
- EDuke32 port for Duke Nukem 3D (by TerminX and Plagman, based on JFDuke3D by |
Jonathon "JonoF" Fowler). Which one is included depends on how well they support |
the current HRP version. |
For more info about these ports, check out JonoF's JFDuke3D and the EDuke32 site. |
- 32-bit high resolution textures with 4-8 times the detail of the original textures. |
- Models instead of the old sprites. |
While the HRP is still "work in progress" and missing quite a few textures and |
models, you can check the Duke Nukem 3D source code forums for additional content |
or even better contributing something of your own. |
The community's goal is to issue a new HRP version once in 1-2 year(s) or anytime |
JonoF comes up with a new milestone of the JFDuke3D port. For the impatient ones, |
NightFright is offering an update pack every one or two months, integrating latest |
forum contributions and fixes into the HRP. You can find these updates over at |
http://hrpupdate.duke4.net . |
=============== |
2) INSTALLATION |
=============== |
Installing is easy: |
First make sure you have your Duke3D CD in your CD/DVD drive or an existing |
installation of the game. You can also just have the "duke3d.grp" file somewere |
on your system. |
Then run the installer (the file you downloaded/got from a friend or whatever) |
by double-clicking it. Then just follow the onscreen instructions. |
After installation, you start the game using the shortcut in the Duke3D folder, |
desktop or start menu called "Duke3D High Resolution Pack". Starting the game |
directly will start JFDuke3D (or EDuke32) without textures and models. |
IMPORTANT: To see the high resolution textures and models you have to change the |
render mode to 32-bit Polymost in the "Video Settings" under "Options" |
in the game menu. Otherwise, HRP content will not work! |
It is recommended to run the setup utility in order to set up your video, audio |
and controls for optimum quality and gameplay experience. However, most of the |
settings can be changed with EDuke32 ingame menu as well. |
======== |
3) NOTES |
======== |
---------------- |
3.1) WIP release |
---------------- |
Since this is a work in progress version of the pack which has not been tested |
extensively, there are probably some issues that need fixing. Please let us |
know of any problems with it so they can be sorted out in future versions. Also |
notify us if we are missing any art thatÂ’s been released prior to the packs |
release date, even though we have skipped some stuff since we simply did not like |
it, there is maybe some stuff that has been missed to include. |
Please also be aware of the fact that we are still missing models and textures |
because these have not been remade yet by the community. They will probably |
be featured in upcoming releases of the HRP (or updates). |
For a full summary of what's left to do, you may have a look at the HRP Wiki |
todo-list: http://hrp.duke4.net/wiki/doku.php?id=other:next_hrp_release |
----------------- |
3.2) Known issues |
----------------- |
Although we tried hard to eliminate or avoid any glitches, unfortunately |
some of them could not be removed in this release. Here are those we know of: |
- Rarely you will still find props, pickup weapons or the like that are |
clipping into walls, often preventing you from seeing them completely. |
Maphacks since January 2008 can fix these glitches, so don't hesitate to |
report anything you consider worthy of correcting. |
- Slime babe #1323 has a transparency/clipping bug with her hair. Updating |
the model should solve that problem. |
- If you use OpenGL texture compression/disk caching in EDuke32, the skyboxes |
will lose detail, i.e. look more pixellated than intended. This can be |
especially noticed with L.A. Night skybox (as seen in E1L1) when looking at |
the clouds. Right now, your only choice to fix this is to deactivate texture |
compression in the menu. Note that this will also deactivate disk caching, so |
you will have to deal with increased level loading times and possibly jerky |
framerates in some situations. |
--------------------- |
3.3) Title screen art |
--------------------- |
The front screen is a slightly modified and enhanced version of 3DRealms original |
art work used with permission. |
----------------- |
3.4) EDuke32 port |
----------------- |
The EDuke32 port is an enhanced version of JonoF's initial JFDuke3D port and |
features enhanced mod support together with tons of newly-added code. It is |
released and maintained by TerminX. |
For the time being, we recommend using EDuke32 for running HRP because the port |
gets updated much more often and HRP content has been optimized for it. |
=========== |
4) LICENSES |
=========== |
-------- |
4.1) HRP |
-------- |
The contents of the High Resolution Pack are licensed under these three licenses: |
- The build engine is licensed under Ken Silverman's Build License which can be |
found in "BUILDLIC.TXT". |
- The EDuke32 port is licensed under the GNU Public license which can be found |
in "GNU.TXT". |
- The art content is licensed under the High Resolution Pack Art License which can |
be found in "hrp_art_license.txt". |
----------- |
4.2) Others |
----------- |
Some textures in this pack are based on source textures copyrighted by |
CGTextures.com. Permission to use and distribute these specific textures has |
been granted to the author(s) of this texture pack. Textures downloaded from |
CGTextures.com are copyrighted and may NOT be redistributed or sold. For |
more information and the full license, please visit http://www.cgtextures.com. |
This disclaimer applies to the following textures: |
- highres\sprites\props: 585 |
- highres\sprites\signs: 4420, 4949, 4955 |
- highres\textures: 1120 |
================ |
5) CONTACT/LINKS |
================ |
Pär "Parkar" Karlsson |
(HRP author) ....................................... parkar82 [at] gmail.com |
Robin "NightFright" Reisinger |
(HRP co-author, HRP Update Pack author) ............ hrp_update [at] fastmail.fm |
Richard "TerminX" Gobeille |
(EDuke32 port author) .............................. terminx [at] gmail.com |
----------------------- |
3DRealms message boards |
----------------------- |
http://www.3drealms.com/forums.html |
The texture and model projects can be found in the Duke Nukem 3D source board: |
http://forums.3drealms.com/vb/forumdisplay.php?f=17 |
------------ |
IRC channels |
------------ |
- 3D Realms IRC Fan Channel ..... #3dr@irc.quakenet.org |
- JFDuke3D @ IRC ................ #jfduke@irc.freenode.net |
---------------- |
Visit us online! |
---------------- |
- Duke3D High Resolution Pack ... http://hrp.duke4.net |
- Duke3D HRP Update Pack Site ... http://hrpupdate.duke4.net |
- EDuke32 port (by TerminX) ..... http://eduke32.com |
- Duke4.net ..................... http://www.duke4.net |
========== |
6) CREDITS |
========== |
All the following people are involved in this release. They all have our gratitude, |
for nothing of the great artwork (or pretty much anything else) would have been |
possible to include without their support and effort. |
Please notify us if you did contribute to this project without being listed here! |
------------- |
JFDuke3D port |
------------- |
JonoF |
Ken Silverman |
------------ |
EDuke32 port |
------------ |
Plagman |
TerminX |
---------------- |
Highres textures |
---------------- |
0815Jack |
ADM |
Alexander Filippov |
AlgorithMan |
Conrad Coldwood |
Another Duke Fan |
Armando |
Audiocraz |
BlitZ |
cage |
chicken |
Daedolon |
Devastator |
Ding Bat |
DLT |
dood! |
Dreams |
DukeAtomic |
Ecmaster76 |
endmilled |
Fearpi |
Gman |
gt1750 |
Hendricks266 |
Impact |
JaJo |
Jblade |
jimbob |
Kef Nukem |
Kev_Hectic |
Kevin9er |
Killd a ton |
L2theKING |
Lemming |
marked |
motionblur |
NightFright |
Night Hacker |
nyne |
ooppee |
Parkar |
Piccolo |
Piterplus |
princetonEO |
Rellik66 |
Roger |
Quakis |
Semicharm |
Sky Fox |
Swiss Cheeseman/SwissCM |
Tesserex |
theRobot |
toadie2k |
Tip |
Vasilinka |
Viciarg |
WarHammer |
White Alven |
yossa |
------------------- |
3D models and skins |
------------------- |
alandog |
AlgorithMan |
Besli |
Blunty |
Cipher |
Conrad Coldwood |
dood! |
Dr. Kill |
DukeAtomic |
drvarek |
Ecmaster76 |
efikkan |
Eric R |
escapist |
Esslan |
FlackenWS |
Forder |
General Failure |
GodBlitZor |
gt1750 |
Hellbound |
ilovefoxes |
Jokke_r |
Killd a ton |
Kralex |
L2theKING |
Madaut |
MagNet |
Mean Person |
motionblur |
Mr.Fibbles |
Parkar |
Piterplus |
Plagman |
Radar1013 |
Renegado |
Roma Loom |
Sky Fox |
Soul Collector |
Swiss Cheeseman/SwissCM |
Tea Monster |
Vasilinka |
YicklePigeon |
zilppuri |
-------- |
Maphacks |
-------- |
Dave-ros |
DSotM |
Ecmaster76 |
endmilled |
ikkejw |
Killd a ton |
Night Hacker |
noctrun |
Okira |
Piterplus |
Renegado |
Zebius |
----------------- |
Maphacks Reloaded |
----------------- |
Hunter_rus |
NightFright |
------------ |
HRP assembly |
------------ |
NightFright |
Parkar |
----------------- |
Special thanks to |
----------------- |
- 3D Realms, for making this great game in the first place! |
- The guys at Duke4.net for hosting and help building the HRP website. |
- All of you who support and contribute to the project. |
- All the mirrors and seeders. |
============ |
7) CHANGELOG |
============ |
Here is a list of all changes that have been included in this release since last |
HRP v3.0 (SVN #136, 2007-04-27). This includes any previous Update Packs compiled |
by NightFright. |
HRP v4.0 / SVN #321 (2009-03-23) |
-------------------------------- |
> Added: |
- From SD_Duke: |
+ Ice/frozen textures for most of the monsters, Duke and babes |
(in new subdir highres\sprites\ice) |
+ highres\sprites\effects: 1031 (GLASSPIECES), 1380-1384 (watersplash), |
2390-2418 (scrap1-6), 2595 (SHOTSPARK1) |
- Detail textures for |
+ not yet remade tiles: 4154, 4155 |
+ remade tiles: 1132, 1134, 1135 |
+ (many) characters, effects, monsters, pickups, props, signs, switches |
- Glowmaps for |
+ highres\sprites\props: 543 |
+ highres\textures: 294-296, 309, 451, 1215 |
- highres\detail: marble (for 3384-3387) |
- highres\screen\fonts\smallfont: 3072-3135, 3162-3165 (pal6/7) |
- highres\screen\hud: 27, 38, 40-42, 44-47, 49, 51, 54 (HUD icons), 61, |
2458, 2466, 2527 |
- highres\screen\menu: 2494-2496, 3250 |
- highres\sprites\characters: 753 (geisha), 1317 (pal0/10-16/21/23), |
1325 (cavedancer), 1356/1357 (Terminator), |
1395 (FEM7, pal0/10-16/21/23), 3450 (FEM9), |
4510 (PIRATE1A/4A pal0/10), 4516 (PIRATEHALF), |
4864 (FEM10), 4866 (TOUGHGAL) |
- highres\sprites\decals: 1154, 4445, 4535 |
- highres\sprites\effects: 580-583 (REACTOR2SPARK, pal0/21), |
634-637 (BOLT1, pal0/2/10), |
663 (W_FORCEFIELD, pal 2/7/8/10), |
1092 (REACTORSPARK), 1250-1259 ([CEILING]STEAM), |
1671-1679 (FORCERIPPLE), 2066-2079 (fire #1), |
2270-2283 (BURNING/FIRE), 2310-2323 (fire #2) |
4525-4528 (SIDEBOLT1, pal0/10) |
- highres\sprites\firstperson: 2521/2522 (pal10-16/21/23), 2576 (tiphand), |
2581 (scuba) |
- highres\sprites\ice: 1318 (1317 frozen), 1326 (1325 frozen), 1396 (1395 frozen), |
3450 (frozen), 4864 (frozen), 4866 (frozen) |
- highres\sprites\jibs: 2260 (JIBS4), 2264, 2300 (OOZ), 2309 (OOZ2) |
- highres\sprites\monsters: 2000 (skins for pal1/2/5/7/8-25) |
- highres\sprites\pickups: 32 (Expander) |
- highres\sprites\projectiles: 1646-1649 (shrinkray), 1656-1659 (shr.blast), |
2448-2451 (expander blast) |
- highres\sprites\props: 487 (model), 517, 555, 572, 584, 585, 610, 616, |
617, 619, 633, 665, 954, 958, 1012, 1013, 1034, |
1038, 1078, 1113/1114, 1157, 1221, 1225, 1275, |
1390, 3418, 3429, 4397/4398, 4415-4417, 4430-4432, |
4446, 4480-4482 (pal0/10/13/14), 4530, 4533, 4549, |
4570, 4583, 4585-4587 |
- highres\sprites\signs: 586 (pal21-23), 987, 1000, 1001, 3272, 3330-3340, |
3373/3374, 3421-3423, 4270 (pal0/8/15), 4378, |
4381-4385 (added, but commented out), 4420, 4447, |
4470, 4487, 4488, 4492 (pal0/15), 4883, 4887, 4893, |
4921-4923, 4936, 4940, 4947, 4949, 4955, 4957 |
- highres\sprites\switches: 142 (pal13), 4483 |
- highres\textures: 90, 193, 194, 199, 224, 278, 304, 348, 401-403, 405, |
406, 411, 442 (pal8), 444, 472, 477, 501, 533-535, 630, |
638, 707/708 (pal7/8), 726, 740, 850, 878, 1068, 1099, |
1105-1107, 1108 (pal8), 1120, 1127, 1129, 1132 (pal8), |
1136, 1138, 1144 (pal0/13/14), 1151, 1152 (pal0/14/15), |
1194-1196, 1199, 1298-1305 (FEMPIC3), 2920, 2921, |
3407 (pal13/24), 4100, 4125, 4126, 4138, 4139, 4142, |
4143, 4176, 4275, 4290-4293, 4296, 4437, 4500, 4501, |
5064, 5094, 5105, 5110-5116, 5117 |
> Fixes: |
- duke3d_hrp.def: pal8 tint improved |
- highres\skyboxes.def: OpenGL texture compression deactivated for all |
skyboxes ("nocompress") for better quality |
- highres\sprites\characters.def: 603 (flipped) in Ep.3 corrected; |
1321/1325/1334 scale increased; |
1405 scale decreased/model disappearing |
when swimming near floor fixed |
- highres\sprites\effects.def: 1890-1910 (explosion2) restored; |
all "dummytilerange" commands removed |
- highres\sprites\jibs.def: 1520/1528/1536 scales increased |
- highres\sprites\monsters.def: dead bodies animated during pause fixed; |
1880/1975 scale increased; |
1960/2000/2710 scale decreased |
- highres\sprites\pickups.def: 29 (zadd value changed to -8) |
- highres\sprites\props.def: wrong skin def for #1026, 1060 (md3 update), |
1088/1096 (md3/skin update) |
- highres\sprites\jibs: 1520/1528 |
- highres\sprites\switches: 136/137 (texture version) |
- highres\textures: 89 (removed, was identical with 98) |
> Revisions: |
- highres\screen\fonts\bluefont: 2822-2915 (pal0/2/7/8/10-23) |
- highres\screen\fonts\digital: 2472-2481 |
- highres\screen\fonts\smallfont: 3072-3135, 3162-3165 (pal0/2/8/10-16/21/23) |
- highres\screen\hud: 20, 30, 31, 33, 2462 (statusbar) |
- highres\screen\menu: 2456, 2492 (now with HRP version info), 3281 |
- highres\skyboxes: 89 (LA) |
- highres\sprites\characters: 1267 (skin), 1312 (pal0/10-16/21/23, skin), |
4874 pal0/12 (WOMAN) |
- highres\sprites\decals: 1155, 1226 (pal2), 1620-1623, 2286-2299, 2301-2305, |
2307, 2308 |
- highres\sprites\effects: 661-663 (pal0) |
- highres\sprites\firstperson: 2375 (skin), 2521 (skin), 2530 (md3), 2573 (md3), |
2554/2556 (Shrinker/Expander), 2613 (skin) |
- highres\sprites\ice: 1313 (skin) |
- highres\sprites\jibs: 2245 (skin), 2250 (skin) |
- highres\sprites\monsters: 675 (skin), 1550 (skin), 1960 (recon car), |
2370 (skin), 4740 (skin) |
- highres\sprites\pickups: 22 (skin), 24 (skin), 25 (Shrinker), 28 (skin), |
37 (Freezer ammo), 40 (pistol ammo), |
45/46 (Expander/Shrinker ammo), 49 (skin), |
53, 54 (skin) |
- highres\sprites\projectiles: 1641-1643, 1650 (new model + glowmap) |
- highres\sprites\props: 489, 563-567, 569 (skin), 658/659, 670, 680 (skin), |
688, 694 (skin), 697 (skin), 698, 768 (skin), |
779 (skin), 908-910, 927 (skin), 1025 (skin), |
1045 (skin), 1062, 1069, 1079, 1232, 1233 (skin), |
1240 (skin), 1810, 4396 |
- highres\sprites\signs: 518-526, 577 (md3), 586, 593, 597, 598, 613, 614, |
639, 668, 777/778, 826, 831, 928, 979 (md3/skin), |
986, 1008, 1018, 1046, 1054, 1244, 1246, 2487, |
3399, 4329, 4352, 4362, 4395, 4475-4478, 4485, |
4486, 4494, 4498, 4894, 4896-4899, 4958 |
- highres\sprites\switches: 140/141 (Frankenstine switch), 146 (skin), |
860/861 (skin) |
- highres\textures: 70, 128, 200-202, 216, 221, 264, 312-315, 336-338 (pal0/2/21), |
341-343, 350, 357, 365, 366, 371, 373, 379-381, 384, 385, |
390 (pal0/15), 395, 396, 407-410, 454, 455, 457, 458, 459, |
488, 499, 502, 527-529, 626-629, 717-719, 723-725, 735, 743, |
744, 757, 787, 796, 858, 871, 872, 884, 887, 889-892 (pal2/8), |
913, 966, 1024, 1082-1087, 1108 (pal0), 1137, 1169, 1185, |
1203, 1212-1217, 1280-1288, 3381, 3387, 3405, 4098, 4105, |
4112, 4120-4122, 4152, 4170, 4180, 4182-4189, 4191, 4224-4227, |
4240-4245, 4250-4253, 4268, 4303, 4310, 4330, 4390-4394 |
/installer/hrp_content/duke3d_hrp.zip |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/maphacks_atomic/maphacks.zip |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/datainst.exe |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/dn3d_hrp.nsi |
---|
0,0 → 1,366 |
; Script generated by the HM NIS Edit Script Wizard. |
; HM NIS Edit Wizard helper defines |
!define PRODUCT_NAME "Duke Nukem 3D HRP" |
!define PRODUCT_VERSION "V 4.0 (321)" |
!define PRODUCT_WEB_SITE "http://hrp.duke4.net" |
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\eduke32.exe" |
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" |
!define PRODUCT_UNINST_ROOT_KEY "HKLM" |
!define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir" |
SetCompressor lzma |
; MUI 1.67 compatible ------ |
!include "MUI.nsh" |
!include "Sections.nsh" |
; MUI Settings |
!define MUI_ABORTWARNING |
!define MUI_ICON "icon.ico" |
!define MUI_UNICON "uninst.ico" |
!define MUI_HEADERIMAGE |
!define MUI_WELCOMEFINISHPAGE_BITMAP "page.bmp" |
!insertmacro MUI_DEFAULT MUI_HEADERIMAGE_BITMAP "banner.bmp" |
; Welcome page |
!define MUI_WELCOMEPAGE_TITLE_3LINES |
!insertmacro MUI_PAGE_WELCOME |
; License page (Build license) |
!define MUI_PAGE_HEADER_TEXT "Build Source Code License Agreement (Build engine)" |
!define MUI_PAGE_HEADER_SUBTEXT "Please review the license terms of the build source code before installing." |
!insertmacro MUI_PAGE_LICENSE "BUILDLIC.TXT" |
; License page (GNU public license) |
!define MUI_PAGE_HEADER_TEXT "GNU Public License Agreement (EDuke32)" |
!define MUI_PAGE_HEADER_SUBTEXT "Please review the license terms of the EDuke32 port before installing." |
!insertmacro MUI_PAGE_LICENSE "GNU.TXT" |
; License page (HRP art license) |
!define MUI_PAGE_HEADER_TEXT "HRP Art License Agreement (High Resolution Content)" |
!define MUI_PAGE_HEADER_SUBTEXT "Please review the license terms of the high resolution content port before installing." |
!insertmacro MUI_PAGE_LICENSE "hrp_art_license.txt" |
; Components page |
!insertmacro MUI_PAGE_COMPONENTS |
; Directory page |
!insertmacro MUI_PAGE_DIRECTORY |
; Start menu page |
var ICONS_GROUP |
!define MUI_STARTMENUPAGE_NODISABLE |
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "Duke Nukem 3D" |
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "${PRODUCT_UNINST_ROOT_KEY}" |
!define MUI_STARTMENUPAGE_REGISTRY_KEY "${PRODUCT_UNINST_KEY}" |
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "${PRODUCT_STARTMENU_REGVAL}" |
!insertmacro MUI_PAGE_STARTMENU Application $ICONS_GROUP |
; Instfiles page |
!insertmacro MUI_PAGE_INSTFILES |
; Finish page |
!define MUI_FINISHPAGE_RUN "$INSTDIR\eduke32.exe" |
!define MUI_FINISHPAGE_RUN_PARAMETERS "" |
!define MUI_FINISHPAGE_LINK "Visit the HRP website." |
!define MUI_FINISHPAGE_LINK_LOCATION "http://hrp.duke4.net" |
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\hrp_readme.txt" |
!insertmacro MUI_PAGE_FINISH |
; Uninstaller pages |
!insertmacro MUI_UNPAGE_INSTFILES |
; Language files |
!insertmacro MUI_LANGUAGE "English" |
; Reserve files |
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS |
; MUI end ------ |
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
OutFile "dn3d_hrp-4.0(321).exe" |
InstallDir "c:\duke3d" |
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
ShowInstDetails show |
ShowUnInstDetails show |
Section "EDuke32" SEC01 |
SetOutPath "$INSTDIR" |
SetOverwrite ifnewer |
File "eduke32\eduke32.exe" |
File "eduke32\mapster32.exe" |
File "eduke32\m32help.hlp" |
File "eduke32\NAMES.H" |
File "eduke32\tiles.cfg" |
; Shortcuts |
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" |
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Duke Nukem 3D (EDuke32).lnk" "$INSTDIR\eduke32.exe" |
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Mapster32.lnk" "$INSTDIR\eduke32.exe" |
!insertmacro MUI_STARTMENU_WRITE_END |
SectionEnd |
Section "High resolution content" SEC02 |
SetOutPath "$INSTDIR" |
SetOverwrite ifnewer |
File "hrp_content\hrp_readme.txt" |
File "hrp_content\hrp_art_license.txt" |
SetOutPath "$INSTDIR\autoload\duke3d.grp" |
File "hrp_content\duke3d_hrp.zip" |
SectionEnd |
Section "Atomic map hacks" SEC03 |
SetOutPath "$INSTDIR\autoload\duke3d.grp" |
SetOverwrite ifnewer |
File "maphacks_atomic\maphacks.zip" |
SectionEnd |
Section /o "1.3d map hacks" SEC04 |
SetOutPath "$INSTDIR\autoload\duke3d.grp" |
SetOverwrite ifnewer |
File "maphacks_13d\maphacks.zip" |
SectionEnd |
Section "High Quality Muisc" SEC05 |
SetOutPath "$instdir\autoload\duke3d.grp" |
SetOverwrite ifnewer |
File "music\eduke32_mus.zip" |
SectionEnd |
Section "Duke Plus mod" SEC06 |
SetOutPath "$INSTDIR" |
SetOverwrite ifnewer |
File "duke_plus\DPEFFECTS.html" |
File "duke_plus\dukeplus.bat" |
File "duke_plus\DukePlus_Manual.html" |
File "duke_plus\mapster.bat" |
SetOutPath "$INSTDIR\DukePlus" |
File "duke_plus\DukePlus\dpmaps.zip" |
File "duke_plus\DukePlus\dukeplus.def" |
File "duke_plus\DukePlus\DUKEPLUS_RESOURCES.zip" |
File "duke_plus\DukePlus\EDUKE.CON" |
File "duke_plus\DukePlus\tiles005.art" |
File "duke_plus\DukePlus\tiles024.art" |
SetOutPath "$INSTDIR\DukePlus\dpcons" |
File "duke_plus\DukePlus\dpcons\DEFSPLUS.CON" |
File "duke_plus\DukePlus\dpcons\DUKEPLUS.CON" |
File "duke_plus\DukePlus\dpcons\HUDPLUS.CON" |
File "duke_plus\DukePlus\dpcons\LIGHTS.CON" |
File "duke_plus\DukePlus\dpcons\PLAYERPLUS.CON" |
File "duke_plus\DukePlus\dpcons\USERPLUS.CON" |
; Shortcuts |
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
CreateDirectory "$SMPROGRAMS\$ICONS_GROUP" |
SetOutPath "$INSTDIR" |
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Duke Plus.lnk" "$INSTDIR\dukeplus.bat" |
!insertmacro MUI_STARTMENU_WRITE_END |
SectionEnd |
Section "-grpinstaller" |
SetOutPath "$INSTDIR" |
SetOverwrite ifnewer |
File "datainst.exe" |
IfFileExists "$INSTDIR\duke3d.grp" SkipGrpIn |
MessageBox MB_YESNO "Do you want to run the GRP installer to find your duke3d.grp file and copy it to your HRP folder?" IDNO SkipGrpIn |
DetailPrint "Running grp installer..." |
exec "$INSTDIR\datainst.exe" |
SkipGrpIn: |
SectionEnd |
Function .onSelChange |
!insertmacro StartRadioButtons $1 |
!insertmacro RadioButton ${SEC03} |
!insertmacro RadioButton ${SEC04} |
!insertmacro EndRadioButtons |
FunctionEnd |
Function .onInit |
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${PRODUCT_NAME} ${PRODUCT_VERSION}") i .r1 ?e' |
Pop $R0 |
StrCmp $R0 0 +3 |
MessageBox MB_OK|MB_ICONEXCLAMATION "The installer is already running." |
Abort |
SetOutPath $TEMP |
File /oname=spltmp.bmp "hrp_splash.bmp" |
advsplash::show 1500 600 250 -1 $TEMP\spltmp |
Pop $0 |
Delete $TEMP\spltmp.bmp |
StrCpy $1 ${SEC04} ; Group 1 - Option 1 is selected by default |
FunctionEnd |
Section -AdditionalIcons |
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application |
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}" |
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\HRP Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url" |
CreateShortCut "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" "$INSTDIR\uninst.exe" |
!insertmacro MUI_STARTMENU_WRITE_END |
SectionEnd |
Section -Post |
WriteUninstaller "$INSTDIR\uninst.exe" |
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\eduke32.exe" |
WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "Path" "$INSTDIR" |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)" |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe" |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}" |
WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}" |
SectionEnd |
; Section descriptions |
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC01} "The eDuke32 port that is needed to use the high resolution content. Only uncheck this if you want to install it manualy or if you already have it installed." |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC02} "The high resoltution textures and models." |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC03} "Map hacks for atomic and plutonium pack version of the game. fixes model related problems caused by original level design not being designed for 3D models." |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC04} "Map hacks for 1.3d full or shareware version of the game. fixes model related problems caused by original level design not being designed for 3D models." |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC05} "A pack of high quality replacements for the games music." |
!insertmacro MUI_DESCRIPTION_TEXT ${SEC06} "A game enhancement mod with bug fixes and (mostly optional) new features." |
!insertmacro MUI_FUNCTION_DESCRIPTION_END |
Function un.onUninstSuccess |
HideWindow |
MessageBox MB_ICONINFORMATION|MB_OK "$(^Name) was successfully removed from your computer." |
FunctionEnd |
Function un.onInit |
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Are you sure you want to completely remove $(^Name) and all of its components?" IDYES +2 |
Abort |
FunctionEnd |
Section Uninstall |
!insertmacro MUI_STARTMENU_GETFOLDER "Application" $ICONS_GROUP |
Delete "$INSTDIR\${PRODUCT_NAME}.url" |
Delete "$INSTDIR\uninst.exe" |
;eduke32 files |
Delete "$INSTDIR\eduke32.exe" |
Delete "$INSTDIR\mapster32.exe" |
Delete "$INSTDIR\m32help.hlp" |
Delete "$INSTDIR\NAMES.H" |
Delete "$INSTDIR\tiles.cfg" |
;hrp content |
Delete "$INSTDIR\hrp_readme.txt" |
Delete "$INSTDIR\hrp_art_license.txt" |
Delete "$INSTDIR\autoload\duke3d.grp\duke3d_hrp.zip" |
Delete "$INSTDIR\autoload\duke3d.grp\maphacks.zip" |
;music content |
Delete "$INSTDIR\autoload\duke3d.grp\eduke32_mus.zip" |
;duke plus |
Delete "$INSTDIR\DPEFFECTS.html" |
Delete "$INSTDIR\dukeplus.bat" |
Delete "$INSTDIR\DukePlus_Manual.html" |
Delete "$INSTDIR\mapster.bat" |
Delete "$INSTDIR\DukePlus\dpmaps.zip" |
Delete "$INSTDIR\DukePlus\dukeplus.def" |
Delete "$INSTDIR\DukePlus\DUKEPLUS_RESOURCES.zip" |
Delete "$INSTDIR\DukePlus\EDUKE.CON" |
Delete "$INSTDIR\DukePlus\tiles005.art" |
Delete "$INSTDIR\DukePlus\tiles024.art" |
Delete "$INSTDIR\DukePlus\dpcons\DEFSPLUS.CON" |
Delete "$INSTDIR\DukePlus\dpcons\DUKEPLUS.CON" |
Delete "$INSTDIR\DukePlus\dpcons\HUDPLUS.CON" |
Delete "$INSTDIR\DukePlus\dpcons\LIGHTS.CON" |
Delete "$INSTDIR\DukePlus\dpcons\PLAYERPLUS.CON" |
Delete "$INSTDIR\DukePlus\dpcons\USERPLUS.CON" |
Delete "$INSTDIR\DukePlus\*.log" |
IfFileExists "$INSTDIR\DukePlus\*.cfg" 0 SkipDnPlusCfg |
MessageBox MB_YESNO "Do you want to remove Duke Plus configuration files? These files contain the configuration of the Duke Plus mod." IDNO SkipDnPlusCfg |
Delete "$INSTDIR\DukePlus\*.cfg" |
SkipDnPlusCfg: |
IfFileExists "$INSTDIR\DukePlus\*.sav" 0 SkipDnPlusSav |
MessageBox MB_YESNO "Do you want to remove your saved Duke Plus games?" IDNO SkipDnPlusSav |
Delete "$INSTDIR\DukePlus\*.sav" |
SkipDnPlusSav: |
IfFileExists "$INSTDIR\DukePlus\*.dmo" 0 SkipDnPlusDmo |
MessageBox MB_YESNO "Do you want to remove your Duke Plus demo recordings?" IDNO SkipDnPlusDmo |
Delete "$INSTDIR\DukePlus\*.dmo" |
SkipDnPlusDmo: |
;datainst |
Delete "$INSTDIR\datainst.exe" |
;cahce files |
Delete "$INSTDIR\textures" |
Delete "$INSTDIR\*.cache" |
Delete "$INSTDIR\DukePlus\textures" |
Delete "$INSTDIR\DukePlus\*.cache" |
; shortcuts |
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall" |
Delete "$SMPROGRAMS\$ICONS_GROUP\HRP Website" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Duke Nukem 3D (EDuke32)" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Mapster32" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Duke Plus" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Setup video audio and controls" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Uninstall.lnk" |
Delete "$SMPROGRAMS\$ICONS_GROUP\HRP Website.lnk" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Duke Nuke.lnkm 3D (EDuke32).lnk" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Mapster32" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Duke Plus.lnk" |
Delete "$SMPROGRAMS\$ICONS_GROUP\Setup video audio and controls.lnk" |
;logfiles |
Delete "$INSTDIR\*.log" |
;folders |
SetOutPath $TEMP |
RMDir "$SMPROGRAMS\$ICONS_GROUP" |
RMDir "$INSTDIR\autoload\duke3d.grp" |
RMDir "$INSTDIR\autoload" |
RMDir "$INSTDIR\texcache" |
RMDir "$INSTDIR\DukePlus\dpcons" |
RMDir "$INSTDIR\DukePlus" |
RMDir "$INSTDIR" |
IfFileExists "$INSTDIR\duke3d.grp" 0 SkipGrpUn |
MessageBox MB_YESNO "Do you want to remove $INSTDIR\duke3d.grp? This file contains the original Duke Nukem 3D art, maps, sounds etc." IDNO SkipGrpUn |
Delete "$INSTDIR\duke3d.grp" |
SkipGrpUn: |
IfFileExists "$INSTDIR\*.cfg" 0 SkipCfgUn |
MessageBox MB_YESNO "Do you want to remove eDuke32 configuration files? These files contain the configuration of eDuke32 and Mapster32." IDNO SkipCfgUn |
Delete "$INSTDIR\duke3d.cfg" |
SkipCfgUn: |
IfFileExists "$INSTDIR\*.sav" 0 SkipSavUn |
MessageBox MB_YESNO "Do you want to remove your saved games?" IDNO SkipSavUn |
Delete "$INSTDIR\*.sav" |
SkipSavUn: |
IfFileExists "$INSTDIR\*.dmo" 0 SkipDmoUn |
MessageBox MB_YESNO "Do you want to remove your demo recordings?" IDNO SkipDmoUn |
Delete "$INSTDIR\*.dmo" |
SkipDmoUn: |
DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" |
DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}" |
SetAutoClose true |
SectionEnd |
/installer/page.bmp |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/uninst.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/banner.psd |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/maphacks_13d/maphacks_atomic/maphacks.zip |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/maphacks_13d/maphacks.zip |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/icon.ico |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/page.psd |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/installer/BUILDLIC.TXT |
---|
0,0 → 1,71 |
BUILD SOURCE CODE LICENSE TERMS: 06/20/2000 |
[1] I give you permission to make modifications to my Build source and |
distribute it, BUT: |
[2] Any derivative works based on my Build source may be distributed ONLY |
through the INTERNET. |
[3] Distribution of any derivative works MUST be done completely FREE of |
charge - no commercial exploitation whatsoever. |
[4] Anything you distribute which uses a part of my Build Engine source |
code MUST include: |
[A] The following message somewhere in the archive: |
// "Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman |
// Ken Silverman's official web site: "http://www.advsys.net/ken" |
// See the included license file "BUILDLIC.TXT" for license info. |
[B] This text file "BUILDLIC.TXT" along with it. |
[C] Any source files that you modify must include this message as well: |
// This file has been modified from Ken Silverman's original release |
[5] The use of the Build Engine for commercial purposes will require an |
appropriate license arrangement with me. Contact information is |
on my web site. |
[6] I take no responsibility for damage to your system. |
[7] Technical support: Before contacting me with questions, please read |
and do ALL of the following! |
[A] Look through ALL of my text files. There are 7 of them (including this |
one). I like to think that I wrote them for a reason. You will find |
many of your answers in the history section of BUILD.TXT and |
BUILD2.TXT (they're located inside SRC.ZIP). |
[B] If that doesn't satisfy you, then try going to: |
"http://www.advsys.net/ken/buildsrc" |
where I will maintain a Build Source Code FAQ (or perhaps I might |
just provide a link to a good FAQ). |
[C] I am willing to respond to questions, but ONLY if they come at a rate |
that I can handle. |
PLEASE TRY TO AVOID ASKING DUPLICATE QUESTIONS! |
As my line of defense, I will post my current policy about |
answering Build source questions (right below the E-mail address |
on my web site.) You can check there to see if I'm getting |
overloaded with questions or not. |
If I'm too busy, it might say something like this: |
I'm too busy to answer Build source questions right now. |
Sorry, but don't expect a reply from me any time soon. |
If I'm open for Build source questions, please state your question |
clearly and don't include any unsolicited attachments unless |
they're really small (like less than 50k). Assume that I have |
a 28.8k modem. Also, don't leave out important details just |
to make your question appear shorter - making me guess what |
you're asking doesn't save me time! |
---------------------------------------------------------------------------- |
-Ken S. (official web site: http://www.advsys.net/ken) |
/installer/GNU.TXT |
---|
0,0 → 1,87 |
GNU GENERAL PUBLIC LICENSE |
Version 2, June 1991 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc. |
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
Everyone is permitted to copy and distribute verbatim copies |
of this license document, but changing it is not allowed. |
Preamble |
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. |
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. |
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. |
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. |
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. |
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. |
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. |
The precise terms and conditions for copying, distribution and modification follow. |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". |
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. |
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. |
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. |
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: |
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. |
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. |
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) |
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. |
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. |
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. |
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: |
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, |
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, |
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) |
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. |
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. |
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. |
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. |
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. |
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. |
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. |
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. |
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. |
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. |
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. |
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. |
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. |
NO WARRANTY |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
END OF TERMS AND CONDITIONS |
/installer/icon.psd |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |