Subversion Repositories duke3d_hrp

Compare Revisions

No changes between revisions

Regard whitespace Rev 672 → Rev 673

/tools/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
/tools/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
/tools/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)
/tools/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
/tools/installer/duke3d_hrp.nsi
0,0 → 1,351
; 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"
File "hrp_content\duke3d_hrp.zip"
SectionEnd
 
Section "High Quality Muisc" SEC05
SetOutPath "$instdir\autoload"
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_hrp.zip"
 
;music content
Delete "$INSTDIR\autoload\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"
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
/tools/installer/gpl-2.0.txt
0,0 → 1,339
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
 
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 Lesser 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.
 
GNU GENERAL PUBLIC LICENSE
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
 
How to Apply These Terms to Your New Programs
 
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
 
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
 
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
 
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
 
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
 
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
Also add information on how to contact you by electronic and paper mail.
 
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
 
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
 
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
 
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
 
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
 
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
 
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
/tools/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.
/tools/installer/hrp_content/hrp_readme.txt
0,0 → 1,512
==================================================================
| DUKE NUKEM 3D HIGH RESOLUTION PACK (HRP) |
| |
| A Duke3D Community Project |
| |
| Compiled by NightFright |
==================================================================
| Repository Snapshot >= 5.3.566 (2013-10-01) |
==================================================================
 
 
 
=======================
CONTENTS OF THIS README
=======================
 
1) About
2) Installation
3) Notes
3.1) WIP Release
3.2) Highlights of this Release
3.3) Known Issues
3.4) Title Screen Art
3.5) EDuke32 Port
4) License
4.1) HRP
4.2) Others
5) Contact/Links
6) Credits
 
 
 
========
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 / Linux
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 .
 
What the Duke Nukem 3D HRP has to offer:
- EDuke32 port for Duke Nukem 3D (by TerminX and Plagman, based on JFDuke3D
by Jonathon "JonoF" Fowler). Supports older Polymost renderer as well as
the more advanced Polymer renderer (with advanced effects like
normal/specular mapping, per-pixel dynamic lighting, real-time shadows,etc)
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 Duke4.net forums at http://forums.duke4.net 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).
 
 
 
===============
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
somewhere on your system.
 
Then run the self-extracting archive (the file you downloaded/got from a friend
or whatever) by double-clicking it. Then just choose any hard drive/subdir of
your personal preference.
 
After the extraction process is complete, you may copy over any existing
"duke3d.grp" file you already have (either directly from the installation disc
or from the folder which contains your digital copy). Be sure to overwrite the
existing "duke3d.grp" since this one only contains the shareware episode.
After you are done, start the game by clicking "eduke32.exe" in the Duke3D
folder.
You can also create a shortcut by right-clicking the file and choose
"Send to" --> "Desktop (Create shortcut)".
 
IMPORTANT:
In order to see the high resolution textures and models, you have to change the
render mode to 32-bit Polymer in the "Video Settings" under "Options" in the
game menu.
Otherwise, HRP content will not work (properly)!
 
POLYMOST COMPATIBILITY OPTION:
For players who are unable to use the advanced Polymer renderer (e.g. because
they experience graphics issues or their graphics card simply can't handle it),
please deactivate (= untick) the "Polymer" checkbox in the EDuke32 launcher and
run the game with this parameter: -hduke3d_hrp_polymost.def
> Example: E:\Duke3D\eduke32.exe -hduke3d_hrp_polymost.def
Alternatively, and if you want to run mods like DukePlus, using the
Polymost Override Pack (put into the autoload folder) is the recommended way of
running the Polymost HRP mode. A matching version of this pack should be
available soon after any HRP release at:
http://forums.duke4.net/index.php?showtopic=3513
 
 
 
========
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 pack's
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) Highlights of this Release
-------------------------------
Compared to previous release (HRP v5.2), you can expect the following changes:
 
[FEATURE] New maphacks system: Hacks for 500+ custom maps included!
[UPDATE] Polymer versions of 15 existing textures added; about 10 new textures
(some for Ep.4)
[UPDATE] Remakes of existing props models:
Airlock sign, microphone, exit sign, hand dryer, Terminator+arm,
Cycloid Emperor hologram, Dukeburger statue
[UPDATE] Remakes of character models for Cycloid Emperor (by Tea Monster) and
Duke (by Mark Skelton, Tea Monster and Spiker)
[UPDATE] Remakes of pickup models: Jetpack, health bottles, First Aid kit
[UPDATE] Improvements for Mighty Boot, HUD pistol hands and chaingun muzzleflash
[UPDATE] New level stats screen (based on new Duke model)
[FIX] Screen alignment fix for HUD scubagear
[FIX] Small corrections for pistol and shotgun pickup models (size, rotation,
center)
 
 
IMPORTANT!
----------
Please note that all HRP v5.x contents have been optimized for usage with the
Polymer renderer. This means that if you use the older Polymost renderer,
you WILL encounter problems (HUD weapons rendered incorrectly, or other display
glitches). Polymer requirements offer advanced graphics effects but demand much
better hardware.
If you are forced to use Polymost due to having a weaker machine, be sure to
launch the HRP in Polymost mode (see "Installation" section for more info)!
 
 
 
-----------------
3.3) Known issues
-----------------
Although we've 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:
 
- Current EDuke32 problems (might get fixed in future versions):
> The startup screens are not optimized for widescreen resolutions and
might show black stripes on both sides and possibly some distortions,
depending on your display.
> EDuke32 (current version is r4791) does not make use of the HRP's
maphack file hierarchy yet. Therefore, the UserMapHacks pack needs to
be downloaded to make use of the already existing user map maphacks.
 
 
- Rarely you will still find props, pickup weapons or the like that are
clipping into walls, often preventing you from seeing them completely.
Maphacks 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.4) Title Screen Art
---------------------
The front screen is a slightly modified and enhanced version of 3D Realms'
original art work used with permission.
 
 
-----------------
3.5) 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.
We are using EDuke32 for running HRP now because the port gets updated
frequently, and it offers advanced features for which HRP contents has been
optimized.
 
 
 
===========
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
================
 
Robin "NightFright" Reisinger
(HRP author) .................................... nightfright2k7 [at] gmail.com
 
Richard "TerminX" Gobeille
(EDuke32 port author) ........................... terminx [at] gmail.com
 
 
--------------
Message Boards
--------------
http://forums.duke4.net
 
The texture and model projects can be found in the Duke Nukem 3D source board:
http://forums.duke4.net/index.php?showtopic=779
 
 
------------
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
- 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
------------
Helixhorned
Hendricks266
Plagman
TerminX
 
 
----------------
Highres Textures
----------------
0815Jack
ADM
Alexander Filippov
AlgorithMan
Besli
Conrad Coldwood
Another Duke Fan
Armando
Audiocraz
BlitZ
Cage
chicken
Daedolon
Devastator
Ding Bat
DLT
dood!
Dreams
DukeAtomic
Ecmaster76
endmilled
Fearpi
Flacken.WS
Gambini
Gman
gt1750
Hendricks266
Impact
JaJo
Jblade
jimbob
Kef Nukem
Kev_Hectic
Kevin9er
Killd a ton
L.D. Simone
L2theKING
Lemming
Lightsource
Marked
Megadeus
motionblur
NightFright
Night Hacker
nyne
ooppee
ozz
Parkar
Piccolo
Piterplus
princetonEO
Rellik66
Roger
Roma Loom
Quakis
Semicharm
Sky Fox
Steveeeie
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
empyrock
Eric R
escapist
Esslan
FlackenWS
Forder
General Failure
GodBlitZor
gt1750
Hellbound
ilovefoxes
Jean Gorospe
Jokke_r
Killd a ton
Kralex
L2theKING
Madaut
MagNet
Mark Skelton
Mean Person
Millenia
motionblur
Mr.Fibbles
ozz
Parkar
Piterplus
Plagman
Radar1013
Renegado
Roma Loom
Sky Fox
Soul Collector
Spiker
Steveeeie
Supertanker
SwissCM
Tea Monster
vakooja
Vasilinka
YicklePigeon
zilppuri
 
 
--------
Highpals
--------
Lezing/CraigFatman
 
 
--------
Maphacks
--------
 
> Initial Release
Dave-ros
DSotM
Ecmaster76
endmilled
ikkejw
Killd a ton
Night Hacker
noctrun
Okira
Piterplus
Renegado
Zebius
 
> "Reloaded" Release
Hunter_rus
NightFright
 
> User Map Maphacks
LeoD
 
> Polymer Lighting
Devastator
Micky C
Roma Loom
 
 
---------------
SVN Maintenance
---------------
Devastator (retired)
Hendricks266
LeoD
NightFright
Parkar (retired)
Piterplus (retired)
Plagman (retired)
Roma Loom
Spiker
 
 
------------
HRP Assembly
------------
NightFright
 
 
 
-----------------
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!
/tools/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.
/tools/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
/tools/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
/tools/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
/tools/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
/tools/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
/tools/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
/tools/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
/tools/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
/tools/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
/tools/hrp_extract.sh
0,0 → 1,677
#!/bin/bash
 
# Duke Nukem 3D High Resolution Pack Extractor v0.7.3 2015-02-03
#
# Author: LeoD
# License: ISC license : http://opensource.org/licenses/isc-license.txt
#
# This script extracts a working copy of your local Duke Nukem 3D High
# Resolution Pack's Subversion repository, ready for zipping and distribution.
# This is mostly done by hierarchically parsing the *.def files.
# PolyMER or PolyMOST only versions can be chosen.
# 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=polymost #[none|polymost|polymer|mixed]
ATTRITION_POLYMOST_COMPATIBILTY_APPROACH=polymost #[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 | grep -v ".\svn" > ${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"
if [ ! "${SET_VERSION}" = "YES" ] ; then
cp -pv "${VER_FILE}" "${TARGET_FILE}"
else
 
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 | \
installer/polymost_override/duke3d_hrp_polymost_override.def | \
duke3d_hrp_megaton.def | \
installer/megaton_override/duke3d_hrp_megaton_override.def )
cat "${VER_FILE}" | sed -r --posix \
s/\(Version\ *\)\([0-9\.]*\)\(.*\)/\\1${VERSION}\\3/ \
>> "${TARGET_FILE}"
;;
*)
echo "###ERROR: copy_set_version() - BAD FILE: ${VER_FILE}"
exit 1
;;
esac
fi
} # copy_set_version()
 
tar_copy_dir()
{
(cd ${1}; tar cf - . ) | (cd ${2}; tar xf -)
}
 
copy_known_files()
{
if [ -f hrp_readme.txt ] ; then
copy_set_version hrp_readme.txt "${EXTRACTDIR}/hrp_readme.txt"
fi
 
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "polymost_override" ] ||\
[ "${HRPTYPE}" = "megaton" ] || [ "${HRPTYPE}" = "megaton_override" ] ||\
[ "${HRPTYPE}" = "polymer" ] || [ "${HRPTYPE}" = "full" ] ; then
cp -pv hrp_art_license.txt "${EXTRACTDIR}"
fi
 
if [ "${HRPTYPE}" = "polymost" ] ; then
cp -pv duke3d_hrp_polymost.def "${EXTRACTDIR}"
copy_set_version duke3d_hrp_polymost.def "${EXTRACTDIR}/duke3d_hrp.def"
cp -pvr installer/polymost_override/dukedc "${EXTRACTDIR}"
fi
 
if [ "${HRPTYPE}" = "megaton" ] ; then
cp -pv duke3d_hrp_megaton.def "${EXTRACTDIR}"
copy_set_version duke3d_hrp_megaton.def "${EXTRACTDIR}/duke3d_hrp.def"
cp -pv highres/screen/menu/2492_ver_megaton.png \
"${EXTRACTDIR}/highres/screen/menu/2492_ver_polymost.png"
cp -pvr installer/megaton_override/dukedc* "${EXTRACTDIR}"
cp -pvr installer/megaton_override/highres "${EXTRACTDIR}"
fi
 
if [ "${HRPTYPE}" = "polymost_override" ] ; then
copy_set_version \
installer/polymost_override/duke3d_hrp_polymost_override.def \
"${EXTRACTDIR}/duke3d_hrp.def"
copy_set_version \
installer/polymost_override/duke3d_hrp_polymost_override.def \
"${EXTRACTDIR}/duke3d_hrp_polymost.def"
cp -pv installer/polymost_override/hrp_polymost_override.txt \
"${EXTRACTDIR}"
cp -pv installer/polymost_override/2492_ver_polymost_override.png \
"${EXTRACTDIR}/highres/screen/menu/2492_ver_polymost.png"
cp -pvr installer/polymost_override/dukedc "${EXTRACTDIR}"
fi
 
if [ "${HRPTYPE}" = "megaton_override" ] ; then
copy_set_version \
installer/megaton_override/duke3d_hrp_megaton_override.def \
"${EXTRACTDIR}/duke3d_hrp.def"
copy_set_version \
installer/megaton_override/duke3d_hrp_megaton_override.def \
"${EXTRACTDIR}/duke3d_hrp_megaton.def"
cp -pv installer/megaton_override/hrp_megaton_override.txt \
"${EXTRACTDIR}"
cp -pv installer/megaton_override/2492_ver_megaton_override.png \
"${EXTRACTDIR}/highres/screen/menu/2492_ver_polymost.png"
cp -pv installer/megaton_override/*.bat "${EXTRACTDIR}"
cp -pvr installer/megaton_override/dukedc* "${EXTRACTDIR}"
cp -pvr installer/megaton_override/highres "${EXTRACTDIR}"
# Let Megaton Override work on top of Polymost HRP:
cp -pv highres/sprites_megaton.def "${EXTRACTDIR}/highres"
cp -pv highres/sprites/effects_megaton.def "${EXTRACTDIR}/highres/sprites"
fi
 
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "megaton" ] ; then
cp -pv duke3d.def "${EXTRACTDIR}"
cp -pv highres/screen/menu/2492_polymost.png \
"${EXTRACTDIR}/highres/screen/menu"
fi
 
if [ "${HRPTYPE}" = "full" ] ; then
copy_set_version duke3d_hrp_polymost.def \
"${EXTRACTDIR}/duke3d_hrp_polymost.def"
copy_set_version duke3d_hrp_megaton.def \
"${EXTRACTDIR}/duke3d_hrp_megaton.def"
fi
 
if [ "${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}"
copy_set_version duke3d_hrp.def "${EXTRACTDIR}/duke3d_hrp.def"
#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/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-79.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}"
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
echo "Creating sw.def for lowres HRP ..."
echo "include lowres/sw_lrp.def" > "${EXTRACTDIR}/sw.def"
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()
 
 
copy_polymost_mhk()
{
cp -p maphacks/3drealms_polymost/E?L*.mhk "${EXTRACTDIR}"
cp -p maphacks/dc_hrp/DUKEDC*-megaton.mhk "${EXTRACTDIR}"
rm -f "${EXTRACTDIR}"/*_13d_*.mhk
# bashism:
for i in "${EXTRACTDIR}"/*_polymost.mhk ; do mv "$i" "${i/_polymost}" ; done
for i in "${EXTRACTDIR}"/*-megaton.mhk ; do mv "$i" "${i/-megaton}" ; done
} # copy_polymost_mhk()
 
 
# I really don't know yet if this will become necessary, or if it does make
# sense at all, but at least the files involved are listed.
dukeplus_polymost_hrp_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_hrp_compatibility()
 
 
attrition_polymost_hrp_compatibility()
{
# attr_hrp.def expects some files to be present in the HRP
#
# 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
 
SPR="highres/sprites"
SPRE="${EXTRACTDIR}/highres/sprites"
PATCHTYPE=$1
 
case "$PATCHTYPE" in
polymer)
echo " # (Using \"Polymer approach\")"
;;
polymost)
echo " # (Using \"Polymost approach\")"
cp -piu $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/2530_clip.md3 "$SPRE/firstperson"
#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/2532_cliphand.png"
;;
mixed)
echo " # (Using \"Mixed approach\")"
cp -piu $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/2530_clip.md3 "$SPRE/firstperson"
#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/2532_cliphand.png"
cp -pi $SPR/firstperson/2544_rpg.md3 "$SPRE/firstperson"
cp -pi $SPR/firstperson/2544_rpg_d.png "$SPRE/firstperson/2544_rpg.png"
cp -pi $SPR/firstperson/2544_rpg_n.png "$SPRE/firstperson"
cp -pi $SPR/firstperson/2544_rpg_s.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"
cp -pi $SPR/firstperson/muzzle_flash_01.png "$SPRE/firstperson"
cp -pi highres/common/transp.png "${EXTRACTDIR}/highres/common"
;;
none)
echo " Not applied"
#echo " # Not yet implemented"
;;
*)
echo " # Bad parameter"
;;
esac
 
} # attrition_polymost_hrp_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//`
# DEF_FILE=`echo "${DEF_LINE}" | grep -wE "^include" | sed s/include\ // | sed s/\\\/\\\/.*// | sed s/\\\r//`
DEF_FILE=`echo "${DEF_LINE}" | grep -wE "^include" | awk '{ print $2 }' | 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"`
## Old style added (except "defineskybox"):
HRP_TERM=`echo "${DEF_LINE}" | grep -owE "definetexture|definemodel|definemodelskin|file|mhkfile|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|mhkfile)
#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/`
;;
## Old Style
definemodel)
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*${HRP_TERM}\\ *\"\\)\\([^\"]*\\)\\(.*\\)/\\\2/`
;;
definemodelskin)
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(^.*${HRP_TERM}\\ 0\\ \"\\)\\([^\"]*\\)\\(.*\\)/\\\2/`
;;
definetexture)
# Won't work atm if filename in quotes (too lazy)
#HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(\\.*\\)\\(\\ \\)\\(.*\\)\\($\\)/\\\3/`
HRP_FILE=`echo "${DEF_LINE}" | sed -r --posix s/\\(\\.*\\)\\(\\ \\)\\([0-9a-zA-Z\\_\\/\\.]*\\)\\(.*\\)/\\\3/`
#echo "DEF_LINE : ${DEF_LINE}"
#echo "HRP_FILE : ${HRP_FILE}"
;;
*)
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
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 --parents --ignore-fail-on-non-empty ${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
 
if [ "${HRPTYPE}" = "polymost" ] || [ "${HRPTYPE}" = "polymost_override" ] ||\
[ "${HRPTYPE}" = "megaton" ] || [ "${HRPTYPE}" = "megaton_override" ] ; then
 
echo "### DukePlus<>Polymost HRP compatibility patch ... ###"
dukeplus_polymost_hrp_compatibility $DUKEPLUS_POLYMOST_COMPATIBILTY_APPROACH
 
echo "### Attrition<>Polymost HRP compatibility patch ... ###"
attrition_polymost_hrp_compatibility $ATTRITION_POLYMOST_COMPATIBILTY_APPROACH
fi
 
 
if [ "${HRPTYPE}" = "polymost" ]||[ "${HRPTYPE}" = "polymost_override" ]; then
# Some people prefer unusual setups ...
zip -rq9 ${EXTRACTDIR}/polymost_hrp_polymer_maphacks.zip \
maphacks/3drealms/*.mhk
fi
 
if [ "${HRPTYPE}" = "megaton" ] || [ "${HRPTYPE}" = "megaton_override" ]; then
echo "### Copying maphacks for Megaton ... ###"
copy_polymost_mhk
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}" = "megaton" ] || [ "${HRPTYPE}" = "full" ] ; then
parse_defs duke3d_hrp_megaton.def
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 "### Copying 'known' files ... ###"
copy_known_files
 
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}"
 
case "$HRPTYPE" in
polymer|polymost_override|polymost|megaton_override|megaton)
main $HRPTYPE
;;
full)
if [ $FORCE = 0 ] ; then if ask "Extract full HRP (+ Override Packs)?"
then echo "Extracting ${HRPTYPE} from \"${HRPROOT}\" "
else exit 0
fi ; fi
${PRGPATH} polymost_override y
${PRGPATH} megaton_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
;;
ovr)
${PRGPATH} polymost_override y
${PRGPATH} megaton_override 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} megaton 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}" ] && [ "${HRPTYPE##*.}" = "def" ] ; then
DEF_TOP="${HRPTYPE}"
HRPTYPE=default
SET_VERSION=NO
EXTRACT_COMMENTED_FILES=NO
main $HRPTYPE
else
echo "Usage: ${0} {HRPTYPE|TOP_DEF_FILE} [v VERSION]"
echo "HRPTYPEs: {full|ovr|all}"
echo "HRPTYPEs: {polymer|polymost_override|polymost|both}"
echo "HRPTYPEs: {megaton_override|megaton}"
echo "HRPTYPEs: {sw_highres|sw_lowres|sw_both}"
exit 1
fi
;;
esac
 
exit 0
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/tools/megaton_override/dukedc/8bit.def
0,0 → 1,76
// Duke It Out In D.C. 8-bit Tile Additions
 
/*
// green digitalfont
tilefromtexture 2472 { file "dukedc/8bit/2472.png" xoffset -4 yoffset 3 }
tilefromtexture 2473 { file "dukedc/8bit/2473.png" xoffset -2 yoffset 3 }
tilefromtexture 2474 { file "dukedc/8bit/2474.png" xoffset -4 yoffset 3 }
tilefromtexture 2475 { file "dukedc/8bit/2475.png" xoffset -4 yoffset 3 }
tilefromtexture 2476 { file "dukedc/8bit/2476.png" xoffset -3 yoffset 3 }
tilefromtexture 2477 { file "dukedc/8bit/2477.png" xoffset -4 yoffset 3 }
tilefromtexture 2478 { file "dukedc/8bit/2478.png" xoffset -4 yoffset 3 }
tilefromtexture 2479 { file "dukedc/8bit/2479.png" xoffset -4 yoffset 3 }
tilefromtexture 2480 { file "dukedc/8bit/2480.png" xoffset -4 yoffset 3 }
tilefromtexture 2481 { file "dukedc/8bit/2481.png" xoffset -4 yoffset 4 }
 
// v1.5 redfont --> greenfont
tilefromtexture 2929 { file "dukedc/8bit/2929.png" }
tilefromtexture 2930 { file "dukedc/8bit/2930.png" yoffset 5 }
tilefromtexture 2931 { file "dukedc/8bit/2931.png" yoffset 5 }
tilefromtexture 2932 { file "dukedc/8bit/2932.png" yoffset 5 }
tilefromtexture 2933 { file "dukedc/8bit/2933.png" yoffset 5 }
tilefromtexture 2934 { file "dukedc/8bit/2934.png" yoffset 5 }
tilefromtexture 2935 { file "dukedc/8bit/2935.png" yoffset 5 }
tilefromtexture 2936 { file "dukedc/8bit/2936.png" yoffset 5 }
tilefromtexture 2937 { file "dukedc/8bit/2937.png" yoffset 5 }
tilefromtexture 2938 { file "dukedc/8bit/2938.png" yoffset 5 }
tilefromtexture 2939 { file "dukedc/8bit/2939.png" yoffset 5 }
tilefromtexture 2940 { file "dukedc/8bit/2940.png" xoffset -4 yoffset 5 }
tilefromtexture 2941 { file "dukedc/8bit/2941.png" xoffset -4 yoffset 5 }
tilefromtexture 2942 { file "dukedc/8bit/2942.png" xoffset -4 yoffset 5 }
tilefromtexture 2943 { file "dukedc/8bit/2943.png" xoffset -4 yoffset 5 }
tilefromtexture 2944 { file "dukedc/8bit/2944.png" xoffset -4 yoffset 5 }
tilefromtexture 2945 { file "dukedc/8bit/2945.png" xoffset -4 yoffset 5 }
tilefromtexture 2946 { file "dukedc/8bit/2946.png" xoffset -4 yoffset 5 }
tilefromtexture 2947 { file "dukedc/8bit/2947.png" xoffset -4 yoffset 5 }
tilefromtexture 2948 { file "dukedc/8bit/2948.png" xoffset -2 yoffset 5 }
tilefromtexture 2949 { file "dukedc/8bit/2949.png" xoffset -4 yoffset 5 }
tilefromtexture 2950 { file "dukedc/8bit/2950.png" xoffset -4 yoffset 5 }
tilefromtexture 2951 { file "dukedc/8bit/2951.png" xoffset -4 yoffset 5 }
tilefromtexture 2952 { file "dukedc/8bit/2952.png" xoffset -4 yoffset 5 }
tilefromtexture 2953 { file "dukedc/8bit/2953.png" xoffset -4 yoffset 5 }
tilefromtexture 2954 { file "dukedc/8bit/2954.png" xoffset -4 yoffset 5 }
tilefromtexture 2955 { file "dukedc/8bit/2955.png" xoffset -4 yoffset 5 }
tilefromtexture 2956 { file "dukedc/8bit/2956.png" xoffset -4 yoffset 5 }
tilefromtexture 2957 { file "dukedc/8bit/2957.png" xoffset -4 yoffset 5 }
tilefromtexture 2958 { file "dukedc/8bit/2958.png" xoffset -4 yoffset 5 }
tilefromtexture 2959 { file "dukedc/8bit/2959.png" xoffset -4 yoffset 5 }
tilefromtexture 2960 { file "dukedc/8bit/2960.png" xoffset -4 yoffset 5 }
tilefromtexture 2961 { file "dukedc/8bit/2961.png" xoffset -4 yoffset 5 }
tilefromtexture 2962 { file "dukedc/8bit/2962.png" xoffset -4 yoffset 5 }
tilefromtexture 2963 { file "dukedc/8bit/2963.png" xoffset -4 yoffset 5 }
tilefromtexture 2964 { file "dukedc/8bit/2964.png" xoffset -4 yoffset 5 }
tilefromtexture 2965 { file "dukedc/8bit/2965.png" xoffset -4 yoffset 5 }
tilefromtexture 3002 { file "dukedc/8bit/3002.png" xoffset -1 yoffset -1 }
tilefromtexture 3003 { file "dukedc/8bit/3003.png" xoffset -1 }
tilefromtexture 3004 { file "dukedc/8bit/3004.png" xoffset -2 yoffset 5 }
tilefromtexture 3005 { file "dukedc/8bit/3005.png" xoffset -4 yoffset 5 }
tilefromtexture 3006 { file "dukedc/8bit/3006.png" xoffset -1 yoffset 1 }
tilefromtexture 3007 { file "dukedc/8bit/3007.png" xoffset -1 yoffset 4 }
tilefromtexture 3008 { file "dukedc/8bit/3008.png" }
tilefromtexture 3009 { file "dukedc/8bit/3009.png" }
tilefromtexture 3022 { file "dukedc/8bit/3022.png" }
*/
 
// broken versions of 3669 (flag pole)
tilefromtexture 3780 { file "dukedc/8bit/3780.png" xoffset -3 }
tilefromtexture 3781 { file "dukedc/8bit/3781.png" xoffset -3 }
 
// broken version of 3726 (elevator buttons)
tilefromtexture 3782 { file "dukedc/8bit/3782.png" xoffset 7 yoffset -4 }
 
// broken version of 3769 (streetlight)
tilefromtexture 3783 { file "dukedc/8bit/3783.png" }
tilefromtexture 3784 { file "dukedc/8bit/3784.png" xoffset -1 }
tilefromtexture 3785 { file "dukedc/8bit/3785.png" xoffset -1 }
//animtilerange 3783 3785 4 1
/tools/megaton_override/dukedc/screen/menu/3240_dc.png
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
/tools/megaton_override/dukedc_hrp.def
0,0 → 1,10
// Duke It Out In D.C. HRP additions
 
//echo "Duke It Out In D.C. Highres Pack (version 1.62)"
 
include dukedc/8bit.def
//include dukedc/music.def
include dukedc/screen.def
//include dukedc/skyboxes.def
include dukedc/sprites.def
include dukedc/textures.def
/tools/megaton_override/Megaton-DC-HRP.bat
0,0 → 1,2
@echo off
start steam.exe -applaunch 225140 -addon 1 -gduke3d_hrp.zip -gdukedc_hrp.zip -gduke3d_megaton_hrp_override.zip
/tools/megaton_override/Megaton-HRP.bat
0,0 → 1,2
@echo off
start steam.exe -applaunch 225140 -gduke3d_hrp.zip -gduke3d_megaton_hrp_override.zip
/tools/megaton_override/highres/textures/1280.jpg
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
/tools/megaton_override/highres/textures/1281.jpg
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
/tools/megaton_override/highres/textures/1282.jpg
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
/tools/megaton_override/highres/textures/1283.jpg
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
/tools/megaton_override/highres/textures/1284.jpg
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
/tools/megaton_override/highres/textures/1285.jpg
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
/tools/megaton_override/highres/textures/1286.jpg
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
/tools/megaton_override/highres/textures/1287.jpg
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
/tools/megaton_override/highres/textures/1288.jpg
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
/tools/megaton_override/hrp_megaton_override.txt
0,0 → 1,95
==========================================
| Polymost HRP Override Pack for Megaton |
| by LeoD |
==========================================
| Repository Snapshot >= 5.3.566 |
==========================================
 
 
WHAT THIS IS ABOUT:
-------------------
This file contains updated data for the Duke3D High-Resolution Pack (HRP).
It features a modified Polymost HRP for use with the Megaton Polymost renderer
on top of the default Polymer HRP.
 
Basically, this means: First get the full HRP 5.3 (r5.3.565), the latest update
pack (if available), then this file.
 
It is possible to run the Megaton HRP without this pack, using the Megaton
command line option -hduke3d_hrp_megaton.def. But this won't work correctly in
conjunction with certain mods, as well as addons like
DukeDC, NWinter, and Vacation.
 
 
HOW TO USE IT:
--------------
 
[ For single player games I highly recommend using the EDuke32 executable and
the normal HRP instead of Megaton. ]
 
Drop the HRP Override Pack into the gameroot folder within your Megaton
installation like the HRP zipfile itself.
Add
-gduke3d_hrp.zip -gduke3d_megaton_hrp_override-5.3.565.zip
to your command line or use the included batch file to play with the HRP
 
 
KNOWN PROBLEMS:
---------------
The Megaton executable (1.3.2 stable) is based on a rather old JFDuke version
and therefore doesn't support all Polymost HRP features correctly:
 
- "animtilerange" and "setuptilerange" are unsupported
- the maphack system is unsupported and has been disabled in this pack
- frozen models don't work correctly and have been disabled in this pack
- skyboxes don't work correctly and have been disabled in this pack
- pickup models and first person weapon models may (partiallly) disappear
at certain viewing angles or sector boundaries.
 
There is nothing that can be done about these issues other than updating the
Megaton executable's Polymost renderer code.
 
Except: The DN3DF version of this pack replaces the first person weapon models
with 2D sprites from "Duke Nukem 3D: Forever" made by Wesker500 aka
xMobilemux. (Golden skin for pistol pickup by Daniel262b.)
 
 
IMPORTANT:
----------
This override pack is meant for the HRP v5.3 (=r5.3.565)!
 
 
Duke in D.C. HRP (v1.62):
-------------------------
To avoid a messed up level stat screen, make sure that this override pack gets
loaded after the DC HRP pack or use the included DC-HRP batch file.
 
 
WHERE TO GET IT:
----------------
- You can check the Duke3D mod thread over at the Duke4.net forums:
http://forums.duke4.net/index.php?showtopic=3513
 
 
RELATED LINKS:
--------------
- Duke4.net ................................... http://www.duke4.net
- Duke Nukem 3D High-Resolution Pack .......... http://hrp.duke4.net
- EDuke32 port ................................ http://eduke32.com
- Duke Nukem 3D: Forever thread ............... http://forums.duke4.net/index.php?showtopic=5534
 
 
CONTACT:
--------
http://forums.duke4.net/index.php?showuser=1299
 
 
SPECIAL CREDITS:
--------
Tea Monster - model conversion
Roma Loom - backporting Polymer textures
 
 
Advertisement:
--------------
Other stuff by LeoD ........ http://forums.duke4.net/index.php?showtopic=3513
/tools/megaton_override/2492_ver_megaton_override.png
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
/tools/megaton_override/duke3d_hrp_megaton_override.def
0,0 → 1,31
// Extra additions to the game - Polymost [Megaton] HRP
 
//echo "Polymost [Megaton] Override High Resolution Pack (version 5.3.565)"
//echo "Polymost [Megaton] Override High Resolution Pack - Repository Snapshot >= 5.3.566"
 
// You have to copy/rename duke3d_hrp_megaton.def to duke3d_hrp.def
// in order to activate the Polymost [Megaton] HRP.
// Alternatively you can start EDuke32 with -hduke3d_hrp_megaton.def,
// but this may not work in conjunction with mods like DukePlus.
// If you are using the Megaton Override Pack, you should be fine already.
 
include highres/music.def
 
include highres/screen_polymost.def
//include highres/skyboxes.def
//include highres/sounds.def
include highres/sprites_megaton.def
include highres/textures_polymost.def
 
tint { pal 1 red 100 green 120 blue 148 flags 1 }
tint { pal 2 red 255 green 48 blue 0 flags 0 }
tint { pal 4 red 0 green 0 blue 0 flags 0 }
tint { pal 6 red 224 green 255 blue 112 flags 3 }
tint { pal 7 red 172 green 157 blue 140 flags 0 }
tint { pal 8 red 199 green 226 blue 113 flags 1 }
 
 
 
//include maphacks/maphacks_polymost.def
 
//include duke3d-megaton.def
/tools/polymost_override/hrp_polymost_override.txt
0,0 → 1,92
==========================================
| Polymost HRP Override Pack for EDuke32 |
| by LeoD |
==========================================
| Repository Snapshot >= 5.3.566 |
==========================================
 
 
WHAT THIS IS ABOUT:
-------------------
This file contains updated data for the Duke3D High-Resolution Pack (HRP).
It features an updated Polymost HRP for use with the EDuke32 Polymost renderer
on top of the default Polymer HRP.
 
Basically, this means: First get the full HRP 5.3 (r5.3.565), the latest update
pack (if available), then this file.
 
It is possible to run the Polymost HRP without this pack, using the EDuke32
command line option -hduke3d_hrp_polymost.def. But this won't work correctly in
conjunction with mods like DukePlus or Attrition, as well as addons like
DukeDC, NWinter, and Vacation.
 
 
"Why still using the Polymost HRP?"
-----------------------------------
The Polymer HRP textures have additional normal and specular maps whereas that
information is already "baked" into the Polymost HRP textures (and therefore
somewhat specific to their occurrence in the original levels).
 
If you can't run Polymer at all (or have to turn off those features in the
configuration file) then the normal and specular information is lost and the
remaining diffuse textures won't look as intended.
-> You'd be better off using the Polymost HRP.
 
If Polymer renderer/HRP performance sucks even after tuning the EDuke32
configuration file, try running the Polymer renderer but use the Polymost HRP.
This should run faster and reduce loading times and memory usage, too, while
you might still be able to profit from features like point lights, shadows,
glowing fire/health atoms and, of course, TROR (True Room Over Room).
 
Quite some of the newer textures which are not only "polymerized" but remade
from scratch have brought some change of style to the HRP IMO. If you can't run
Polymer/Polymer HRP anyway this might be an argument for the Polymost HRP, too.
 
 
HOW TO USE IT:
--------------
Drop the HRP Override Pack into the autoload folder within your EDuke32
installation folder like the HRP zipfile itself.
It should be loaded automatically, but note that autoload contents is loaded
alphabetically, so check the file names if something seems wrong.
Delete "textures" and "textures.cache" after changes in the autoload folder.
 
 
IMPORTANT:
----------
This override pack is meant for the HRP v5.3 (=r5.3.565)!
 
 
Duke in D.C. HRP (v1.62):
-------------------------
To avoid a messed up level stat screen, simply rename this pack from
duke3d_polymost* to dukedc_polymost* so that it gets loaded after the DC HRP.
 
 
WHERE TO GET IT:
----------------
- You can check the Duke3D mod thread over at the Duke4.net forums:
http://forums.duke4.net/index.php?showtopic=3513
 
 
RELATED LINKS:
--------------
- Duke4.net ................................... http://www.duke4.net
- Duke Nukem 3D High-Resolution Pack .......... http://hrp.duke4.net
- EDuke32 port ................................ http://eduke32.com
 
 
CONTACT:
--------
http://forums.duke4.net/index.php?showuser=1299
 
 
SPECIAL CREDITS:
--------
Tea Monster - model conversion
Roma Loom - backporting Polymer textures
 
 
Advertisement:
--------------
Other stuff by LeoD ........ http://forums.duke4.net/index.php?showtopic=3513
/tools/polymost_override/dukedc/screen/menu/3240_dc.png
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
/tools/polymost_override/duke3d_hrp_polymost_override.def
0,0 → 1,29
// Extra additions to the game - Polymost HRP
 
//echo "Polymost Override High Resolution Pack (version 5.3.565)"
echo "Polymost Override High Resolution Pack - Repository Snapshot >= 5.3.566"
 
// You have to copy/rename duke3d_hrp_polymost.def to duke3d_hrp.def
// in order to activate the Polymost HRP.
// Alternatively you can start EDuke32 with -hduke3d_hrp_polymost.def,
// but this may not work in conjunction with mods like DukePlus.
// If you are using the Polymost Override Pack, you should be fine already.
 
include highres/music.def
 
include highres/screen_polymost.def
include highres/skyboxes.def
include highres/sounds.def
include highres/sprites_polymost.def
include highres/textures_polymost.def
 
tint { pal 1 red 100 green 120 blue 148 flags 1 }
tint { pal 2 red 255 green 48 blue 0 flags 0 }
tint { pal 4 red 0 green 0 blue 0 flags 0 }
tint { pal 6 red 224 green 255 blue 112 flags 3 }
tint { pal 7 red 172 green 157 blue 140 flags 0 }
tint { pal 8 red 199 green 226 blue 113 flags 1 }
 
 
 
include maphacks/maphacks_polymost.def
/tools/polymost_override/2492_ver_polymost_override.png
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