summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Scheirer2016-01-10 01:18:00 -0500
committerMatt Scheirer2016-01-10 01:18:00 -0500
commitbef7acf9a774f39112c7f00e5ef8a44cf712d0b3 (patch)
tree5db336fdb4e2d4e04ac5414254d277b2c770045a
downloadaur-bef7acf9a774f39112c7f00e5ef8a44cf712d0b3.tar.gz
Initial commit
-rw-r--r--.SRCINFO27
-rw-r--r--LICENSE70
-rw-r--r--PKGBUILD55
-rwxr-xr-xheretic2.desktop10
-rw-r--r--heretic2.install4
-rw-r--r--heretic2.pngbin0 -> 109498 bytes
-rwxr-xr-xheretic2.sh7
7 files changed, 173 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..3007f1e3cdce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by mksrcinfo v8
+# Sun Jan 10 06:16:56 UTC 2016
+pkgbase = heretic2
+ pkgdesc = Heretic 2 from Raven Software, Linux version by Loki. Update PKGBUILD with path to CD for the data files.
+ pkgver = 1.06c
+ pkgrel = 1
+ url = http://www.lokigames.com/products/heretic2/
+ install = heretic2.install
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = libxext
+ depends = hicolor-icon-theme
+ optdepends = libpulse: sound support
+ source = https://github.com/liflg/heretic.2_1.06c-english_x86/raw/master/data/patch-1.06c.tar.xz
+ source = heretic2.sh
+ source = heretic2.desktop
+ source = heretic2.png
+ source = LICENSE
+ sha256sums = d334491d8543204d80d4d8f1b7dc78f34fe2d7920d7135daea4e68eb2823a475
+ sha256sums = 20ba71a754b22e32a9aaa798dd4b19d89c00abf886f9fc29227f4c1a36627691
+ sha256sums = ca2ea84817ba63cc5f96f8513d476503c3d9a9341bae2d3c99fac149e1d83c54
+ sha256sums = 4f0fbbce4f46e901049f2052a6c44c4499dbdf3fa8075ae7b30eb836f77b3f48
+ sha256sums = 29936ae6adcbefa3a580ee5875213154750ef0fdde4292f663c47805cce8342d
+
+pkgname = heretic2
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..450b8ee6dd20
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,70 @@
+SOFTWARE LICENSE AGREEMENT
+
+READ CAREFULLY: USE OF THIS PROGRAM IS SUBJECT TO THE SOFTWARE LICENSE TERMS SET FORTH BELOW. "PROGRAM" INCLUDES ALL SOFTWARE INCLUDED WITH THIS AGREEMENT, THE ASSOCIATED MEDIA, ANY PRINTED MATERIALS, AND ANY ON-LINE OR ELECTRONIC DOCUMENTATION, AND ANY AND ALL COPIES OF SUCH SOFTWARE AND MATERIALS. BY OPENING THIS PACKAGE, INSTALLING, AND/OR USING THE PROGRAM AND ANY SOFTWARE PROGRAMS INCLUDED WITHIN, YOU ACCEPT THE TERMS OF THIS LICENSE WITH LOKI ENTERTAINMENT SOFTWARE ("LOKI").
+
+LIMITED USE LICENSE. Subject to the conditions described below, Loki grants you the non-exclusive, non-transferable, limited right and license to install and use one copy of this Program solely and exclusively for your personal use. All rights not specifically granted under this Agreement are reserved by Loki and, as applicable, Loki's licensors. This Program is licensed, not sold, for your use. Your license confers no title or ownership in this Program and should not be construed as a sale of any rights in this Program.
+
+LICENSE CONDITIONS.
+
+You shall not:
+
+• Exploit this Program or any of its parts commercially, including but not limited to use at a cyber cafe, computer gaming center or any other location-based site. Activision may offer a separate Site License Agreement to permit you to make this Program available for commercial use; see the contact information below.
+
+• Use this Program, or permit use of this Program, on more than one computer, computer terminal, or workstation at the same time.
+
+• Make copies of this Program or any part thereof, or make copies of the materials accompanying this Program.
+
+• Copy this Program onto a hard drive or other storage device; you must run this Program from the included CD-ROM (although this Program itself may automatically copy a portion of this Program onto your hard drive during installation in order to run more efficiently).
+
+• Use the program, or permit use of this Program, in a network, multi-user arrangement or remote access arrangement, including any online use, except as otherwise explicitly provided by this Program.
+
+• Sell, rent, lease, license, distribute or otherwise transfer this Program, or any copies of this Program, without the express prior written consent of Activision.
+
+• Reverse engineer, derive source code, modify, decompile, disassemble, or create derivative works of this Program, in whole or in part.
+
+• Remove, disable or circumvent any proprietary notices or labels contained on or within the Program.
+
+• Export or re-export this Program or any copy or adaptation in violation of any applicable laws or regulations of the United Sates government.
+
+OWNERSHIP. All title, ownership rights and intellectual property rights in and to this Program and any and all copies thereof (including but not limited to any titles, computer code, themes, objects, characters, character names, stories, dialog, catch phrases, locations, concepts, artwork, animation, sounds, musical compositions, audio-visual effects, methods of operation, moral rights, any related documentation, and ³applets² incorporated into this Program) are owned by Loki or Loki's licensors. This Program is protected by the copyright laws of the United States, international copyright treaties and conventions and other laws. This Program contains certain licensed materials and Loki's licensors may protect their rights in the event of any violation of this Agreement.
+
+PROGRAM UTILITIES. This Program contains certain design, programming and processing utilities, tools, assets and other resources ("Program Utilities") for use with this Program that allow you to create customized new game levels and other related game materials for personal use in connection with the Program ("New Game Materials"). The use of the Program Utilities is subject to the following additional license restrictions:
+
+• You agree that, as a condition to your using the Program Utilities, you will not use or allow third parties to use the Program Utilities and the New Game Materials created by you for any commercial purposes, including but not limited to selling, renting, leasing, licensing, distributing, or otherwise transferring the ownership of such New Game Materials, whether on a stand alone basis or packaged in combination with the New Game Materials created by others, through any and all distribution channels, including, without limitation, retail sales and on-line electronic distribution. You agree not to solicit, initiate or encourage any proposal or offer from any person or entity to create any New Game Materials for commercial distribution. You agree to promptly inform Activision in writing of any instances of your receipt of any such proposal or offer.
+
+• If you decide to make available the use of the New Game Materials created by you to other gamers, you agree to do so solely without charge.
+
+• New Game Materials shall not contain modifications to any COM, EXE or DLL files or to any other executable Product files.
+
+• New Game Materials may be created only if such New Game Materials can be used exclusively in combination with the retail version of the Program. New Game Materials may not be designed to be used as a stand-alone product.
+
+• New Game Materials must not contain any illegal, obscene or defamatory materials, materials that infringe rights of privacy and publicity of third parties or (without appropriate irrevocable licenses granted specifically for that purpose) any trademarks, copyright-protected works or other properties of third parties.
+
+• All New Game Materials must contain prominent identification at least in any on-line description and with reasonable duration on the opening screen: (a) the name and E-mail address of the New Game Materials' creator(s) and (b) the words "THIS MATERIAL IS NOT MADE OR SUPPORTED BY ACTIVISION OR LOKI."
+
+LIMITED WARRANTY: Loki warrants to the original consumer purchaser of this Program that the recording medium on which the Program is recorded will be free from defects in material and workmanship for 90 days from the date of purchase. If the recording medium is found defective within 90 days of original purchase, Loki agrees to replace, free of charge, any product discovered to be defective within such period upon its receipt of the Product, postage paid, with proof of the date of purchase, as long as the Program is still being manufactured by Loki. In the event that the Program is no longer available, Loki retains the right to substitute a similar program of equal or greater value. This warranty is limited to the recording medium containing the Program as originally provided by Loki and is not applicable to normal wear and tear. This warranty shall not be applicable and shall be void if the defect has arisen through abuse, mistreatment, or neglect. Any implied warranties prescribed by statute are expressly limited to the 90-day period described above.
+
+EXCEPT AS SET FORTH ABOVE, THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES, WHETHER ORAL OR WRITTEN, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, AND NO OTHER REPRESENTATIONS OR CLAIMS OF ANY KIND SHALL BE BINDING ON OR OBLIGATE LOKI.
+
+When returning the Program for warranty replacement please send the original product disks only in protective packaging and include: (1) a photocopy of your dated sales receipt; (2) your name and return address typed or clearly printed; (3) a brief note describing the defect, the problem(s) you encountered and the system on which you are running the Program; (4) if you are returning the Program after the 90-day warranty period, but within one year after the date of purchase, please include check or money order for $10 U.S. (A$17 for Australia, or £10.00 for Europe) currency per CD. Note: Certified mail recommended.
+
+Send all replacement requests to:
+
+Warranty Replacements
+Loki Entertainment Software
+250 El Camino Real #100
+Tustin, California 92680
+
+LIMITATION ON DAMAGES: IN NO EVENT WILL LOKI BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES RESULTING FROM POSSESSION, USE OR MALFUNCTION OF THE PROGRAM, INCLUDING DAMAGES TO PROPERTY, LOSS OF GOODWILL, COMPUTER FAILURE OR MALFUNCTION AND, TO THE EXTENT PERMITTED BY LAW, DAMAGES FOR PERSONAL INJURIES, EVEN IF LOKI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. LOKI'S LIABILITY SHALL NOT EXCEED THE ACTUAL PRICE PAID FOR THE LICENSE TO USE THIS PROGRAM. SOME STATES/COUNTRIES DO NOT ALLOW LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY LASTS AND/OR THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE ABOVE LIMITATIONS AND/OR EXCLUSION OR LIMITATION OF LIABILITY MAY NOT APPLY TO YOU. THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS, AND YOU MAY HAVE OTHER RIGHTS WHICH VARY FROM JURISDICTION TO JURISDICTION.
+
+TERMINATION: Without prejudice to any other rights of Loki, this Agreement will terminate automatically if you fail to comply with its terms and conditions. In such event, you must destroy all copies of this Program and all of its component parts.
+
+U.S. GOVERNMENT RESTRICTED RIGHTS: The Program and documentation have been developed entirely at private expense and are provided as ³Commercial Computer Software² or ³restricted computer software.² Use, duplication or disclosure by the U.S. Government or a U.S. Government subcontractor is subject to the restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clauses in DFARS 252.227-7013 or as set forth in subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights clauses at FAR 52.227-19, as applicable. The Contractor/Manufacturer is Loki Entertainment Software, 250 El Camino Real #100, Tustin, CA 92780.
+
+INJUNCTION: Because Loki would be irreparably damaged if the terms of this Agreement were not specifically enforced, you agree that Loki shall be entitled, without bond, other security or proof of damages, to appropriate equitable remedies with respect to breaches of this Agreement, in addition to such other remedies as Loki may otherwise have under applicable laws.
+
+INDEMNITY: You agree to indemnify, defend and hold Loki, its partners, affiliates, licensors, contractors, officers, directors, employees and agents harmless from all damages, losses and expenses arising directly or indirectly from your acts and omissions to act in using the Product pursuant to the terms of this Agreement.
+
+MISCELLANEOUS: This Agreement represents the complete agreement concerning this license between the parties and supersedes all prior agreements and representations between them. It may be amended only by a writing executed by both parties. If any provision of this Agreement is held to be unenforceable for any reason, such provision shall be reformed only to the extent necessary to make it enforceable and the remaining provisions of this Agreement shall not be affected. This Agreement shall be construed under California law as such law is applied to agreements between California residents entered into and to be performed within California, except as governed by federal law and you consent to the exclusive jurisdiction of the state and federal courts in Los Angeles, California.
+
+If you have any questions concerning this license, you may contact Loki at 250 El Camino Real #100, Tustin, CA 92780, (714) 505-8915, Attn. Business and Legal Affairs, legal@lokigames.com \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..123855ed451b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Zanny <lordzanny at gmail dot com>
+
+# Replace the current working directory (.) with the path to your Heretic 2 disk.
+# Requires the Loki release CD.
+
+# High-res icon made by Exhumed of iconarchive.com and released under CC BY-NC-ND 4.0.
+
+_cdpath="/run/media/zanny/Heretic 2 Linux1"
+
+pkgname=heretic2
+pkgver=1.06c
+pkgrel=1
+pkgdesc="Heretic 2 from Raven Software, Linux version by Loki. Update PKGBUILD with path to CD for the data files."
+arch=('i686' 'x86_64')
+url="http://www.lokigames.com/products/heretic2/"
+license=('custom')
+if [ "$CARCH" = 'x86_64' ]; then
+ depends=('lib32-libxext' 'hicolor-icon-theme')
+else
+ depends=('libxext' 'hicolor-icon-theme')
+fi
+optdepends=('libpulse: sound support')
+install=$pkgname.install
+source=('https://github.com/liflg/heretic.2_1.06c-english_x86/raw/master/data/patch-1.06c.tar.xz'
+ 'heretic2.sh'
+ 'heretic2.desktop'
+ 'heretic2.png'
+ 'LICENSE')
+sha256sums=('d334491d8543204d80d4d8f1b7dc78f34fe2d7920d7135daea4e68eb2823a475'
+ '20ba71a754b22e32a9aaa798dd4b19d89c00abf886f9fc29227f4c1a36627691'
+ 'ca2ea84817ba63cc5f96f8513d476503c3d9a9341bae2d3c99fac149e1d83c54'
+ '4f0fbbce4f46e901049f2052a6c44c4499dbdf3fa8075ae7b30eb836f77b3f48'
+ '29936ae6adcbefa3a580ee5875213154750ef0fdde4292f663c47805cce8342d')
+PKGEXT='.pkg.tar'
+
+prepare() {
+ tar -xzf "$_cdpath/data.tar.gz" -C "$srcdir"
+ tar -xJf "$srcdir/patch-1.06c.tar.xz" -C "$srcdir"
+}
+
+package() {
+ mkdir -p "$pkgdir/opt/$pkgname"
+ rm -rf "$srcdir/base/"{art,cinematics,demos,models,spanish-1.pak}
+ mv "$srcdir/"{base,heretic2,ref_glx.so,README-1.06b,README-1.06c} "$pkgdir/opt/$pkgname"
+
+ # Copy video files from the CD so they play even without the CD available.
+ for mpg in 'bumper.mpg' 'intro.mpg' 'outro.mpg'; do
+ install -D -m 0644 "$_cdpath/base/video/$mpg" "$pkgdir/opt/$pkgname/base/video/$mpg"
+ done
+
+ install -D -m 0755 "$srcdir/heretic2.sh" "$pkgdir/usr/bin/$pkgname"
+ install -D -m 0644 "$srcdir/heretic2.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
+ install -D -m 0644 "$srcdir/heretic2.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -D -m 0644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/heretic2.desktop b/heretic2.desktop
new file mode 100755
index 000000000000..10d57de39f4d
--- /dev/null
+++ b/heretic2.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Heretic 2
+GenericName=Action Adventure Game
+Comment=Developed by Raven Software
+Version=1.06c
+Exec=heretic2
+Icon=heretic2
+Terminal=false
+Type=Application
+Categories=Game;ActionGame;
diff --git a/heretic2.install b/heretic2.install
new file mode 100644
index 000000000000..bf6e45c4ab7a
--- /dev/null
+++ b/heretic2.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo ">> The manual, readmes, and soundtrack"
+ echo ">> (if available) are found on the CD."
+}
diff --git a/heretic2.png b/heretic2.png
new file mode 100644
index 000000000000..8895d13cf2c5
--- /dev/null
+++ b/heretic2.png
Binary files differ
diff --git a/heretic2.sh b/heretic2.sh
new file mode 100755
index 000000000000..0afbc992e052
--- /dev/null
+++ b/heretic2.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ -x "/usr/bin/padsp" ]; then
+ padsp /opt/heretic2/heretic2
+else
+ /opt/heretic2/heretic2
+fi