summaryrefslogtreecommitdiff
path: root/games-fps/ut2003-demo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-fps/ut2003-demo
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/ut2003-demo')
-rw-r--r--games-fps/ut2003-demo/Manifest8
-rw-r--r--games-fps/ut2003-demo/files/benchmark37
-rw-r--r--games-fps/ut2003-demo/files/results.sh79
-rw-r--r--games-fps/ut2003-demo/files/ut2003-demo30
-rw-r--r--games-fps/ut2003-demo/metadata.xml11
-rw-r--r--games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild123
6 files changed, 0 insertions, 288 deletions
diff --git a/games-fps/ut2003-demo/Manifest b/games-fps/ut2003-demo/Manifest
deleted file mode 100644
index c90565989ede..000000000000
--- a/games-fps/ut2003-demo/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX benchmark 1180 BLAKE2B d1b909ae5aba80656f777ec53250c004e5b9ceaf9c330ebda057ac2109545daba5c711c85dfe6241292cbd7b0e3325df0c7900b95e6c3b742082ab97404f6b5f SHA512 4da05b170e3b8a983d264c83e094a8084a9a9b9b58c6f7fce30ea7273f625f8e6c03794a519cdaab5cfba64fb4b5047ab73eb3190c6a076a5fde4eb0399c1785
-AUX results.sh 2107 BLAKE2B 97c8a2f835608d99fd2d0382d43088835743dc8f0cd1693a15efa06604e7f370671d0876aff0ec3a0fa4f2b7dc502503cd1fa824850261d39f38dcd7c0ba29b4 SHA512 749ccf70249d848605437da43f99f0fc881ee58edc85535d6ee0bf2bf57c5642a985979d5bc048a64363f711af35cafcd53d438974a13e62f705551ba6ec3d51
-AUX ut2003-demo 692 BLAKE2B c9eef6a5ee06c4c9619ca29c7cdafab5763a3cb63a8b060ac4c2da94935a63aff3276d6045eed24b6152df19bc0aab84db8e5264b6abea8a62289ac7d95280be SHA512 50b927c70865ca808cd060fc1a3e1bc7549f85acdeb18e90343108823db858e3580db5e584cad2e41358e205e4b5375c4deba6990aff4227a9b7e5333dcf51a8
-DIST UT2003CrashFix.zip 2764 BLAKE2B 697c35a02f447d0d436fc32bebdeafbca55ef644d951e92085c33f7597108625770b76e027f31287cd2ac66607692ff8c908f6971f936a134d58d0effc2586fc SHA512 24fdaac873b08a0860c23f66b9bd93922fc4f64486adbe9bfefeb340f9d9374778b5e7bacd0e12cc79d819fb340e007ab2a7f1f45c9e4f27ab3ab6b11033d444
-DIST ut2003-demo-misc.tar.bz2 31851 BLAKE2B 585fe83e142fecdce330ae6116d2c3ef94c870e9bfadb8d7e32185bf0880464bf162330da1f0960feef0d6f3eda7ba591565291d7b25f70f9834d4fbb5a41c58 SHA512 9a1e154aac7a8ccd043135e2a617a19203f6942e8e152d06ec8ed1e6877118cfb3ddbeab7ec2617670e26f13c0e394b8b8dbc747688b8b0b244a8c404f33d7f0
-DIST ut2003demo-lnx-2206.sh.bin 137253079 BLAKE2B 9048a6f82e6302c84481989c4ce176fb969eb5c7a86e9d5a8b28060b0e2d139de786b8edbd5080cbf5d49ca9c6114d3f750ed8ad9bcdff6e69841933830538ea SHA512 8018d58999010c17198185838e42f7cbda0f55476f1e6065b4b2957db3652fe9c1af39ba65451565f54d41507413f4e0b1edf2678c9cc7c221f2ca278ec655be
-EBUILD ut2003-demo-2206-r3.ebuild 3553 BLAKE2B f171933b013e60d8420f14a58ed6296e532ad076e3f43929e70a6e3be6282620161986f6a7eeec5cdd90d1d781993de70155d6d8db83c618c2478809809644b6 SHA512 c35fa9c2b8ff0f6b9a8c6e2ebf6e74402ab444f992cc60afe8b2769de094fc307330db721d9a6220a5928ce526046eb2c3caa8ab133600d180b4c5cdac05e244
-MISC metadata.xml 602 BLAKE2B 860e51d942ba4cb4200404571230e2f9b7962a050c57e3c7ae336fa909e183a248c191f4dd0718a564945f5cb02592d578f774e1c50db208639ac02470980799 SHA512 2c956bf66965f83b68bb0c04d79d479ae76af9b7781bca93a1ff7898f02838ee0c1cc72290943be9902dee38096f2b119f95f21e5bed781e8c04f331a60adac2
diff --git a/games-fps/ut2003-demo/files/benchmark b/games-fps/ut2003-demo/files/benchmark
deleted file mode 100644
index 2047897da9ab..000000000000
--- a/games-fps/ut2003-demo/files/benchmark
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# Originally from linuxforen.de
-# Modified by phoen][x <phoenix@gentoo.org>, Sep/19/2002
-# Modifications, enhancements or bugs? Mail me.
-
-# Tweaks by Daniel Robbins <drobbins@gentoo.org> 25 Feb 2003
-
-STUFF=GAMES_PREFIX_OPT/ut2003-demo/Benchmark/Stuff
-MYPATH=${HOME}/.ut2003/Benchmark
-TEMPLOG=${MYPATH}/benchmark.log
-LOG=${MYPATH}/bench.log
-
-[ -d ${MYPATH} ] || mkdir -p ${MYPATH}
-
-rm -f ${TEMPLOG} ${LOG}
-touch ${TEMPLOG} ${LOG}
-
-date > $LOG
-
-echo ">> Starting benchmark"
-cd GAMES_PREFIX_OPT//ut2003-demo/System
-for BENCH in GAMES_PREFIX_OPT//ut2003-demo/Benchmark/*-*.sh
-do
- echo "Running ${BENCH} with MinDetail"
- ${BENCH} -ini=${STUFF}/MinDetail.ini -userini=${STUFF}/MinDetailUser.ini &> /dev/null
- echo -n "${BENCH} / MinDetail / " >> ${LOG}
- cat ${TEMPLOG} | tail -n1 >> ${LOG}
-
- echo "Running ${BENCH} with MaxDetail"
- ${BENCH} -ini=${STUFF}/MaxDetail.ini -userini=${STUFF}/MaxDetailUser.ini &> /dev/null
- echo -n "${BENCH} / MaxDetail / " >> ${LOG}
- cat ${TEMPLOG} | tail -n1 >> ${LOG}
-done
-
-echo ">> Benchmark complete"
-GAMES_PREFIX_OPT/ut2003-demo/Benchmark/results.sh
-echo ">> Use 'ut2003-demo --results' to show these results again (without benchmarking)"
diff --git a/games-fps/ut2003-demo/files/results.sh b/games-fps/ut2003-demo/files/results.sh
deleted file mode 100644
index a74cf909c9ad..000000000000
--- a/games-fps/ut2003-demo/files/results.sh
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/bash
-# Written by phoen][x <phoenix@gentoo.org>, Sep/21/2002
-# Modifications, enhancements or bugs? Contact games@gentoo.org
-
-[[ -z "${1}" ]] \
- && FILE="${HOME}/.ut2003/Benchmark/bench.log" \
- || FILE="${1}"
-
-CURLINE=0
-
-BM_MIN_SCORE=0
-BM_MIN_COUNT=0
-BM_MAX_SCORE=0
-BM_MAX_COUNT=0
-
-FB_MIN_SCORE=0
-FB_MIN_COUNT=0
-FB_MAX_SCORE=0
-FB_MAX_COUNT=0
-
-while read LINE ; do
- CURLINE=`expr $CURLINE + 1`
- if [[ ${CURLINE} -eq 1 ]] ; then
- echo ">> Results of the UT2003-demo benchmark"
- echo ">> Created on ${LINE}"
- continue
- fi
-
- set -- ${LINE}
- TYPE=$(echo $(basename ${1}) | cut -d- -f1)
- DETAIL=${3}
- SCORE=${14}
-
- case ${TYPE} in
- "botmatch")
- case ${DETAIL} in
- "MinDetail")
- BM_MIN_SCORE=`echo ${BM_MIN_SCORE} + ${SCORE} | bc`
- BM_MIN_COUNT=`expr ${BM_MIN_COUNT} + 1`
- ;;
- "MaxDetail")
- BM_MAX_SCORE=`echo ${BM_MAX_SCORE} + ${SCORE} | bc`
- BM_MAX_COUNT=`expr ${BM_MAX_COUNT} + 1`
- ;;
- esac
- ;;
- "flyby")
- case ${DETAIL} in
- "MinDetail")
- FB_MIN_SCORE=`echo ${FB_MIN_SCORE} + ${SCORE} | bc`
- FB_MIN_COUNT=`expr ${FB_MIN_COUNT} + 1`
- ;;
- "MaxDetail")
- FB_MAX_SCORE=`echo ${FB_MAX_SCORE} + ${SCORE} | bc`
- FB_MAX_COUNT=`expr ${FB_MAX_COUNT} + 1`
- ;;
- esac
- ;;
- esac
-done < ${FILE}
-
-BM_MIN_AVG=`echo "scale=6; ${BM_MIN_SCORE} / ${BM_MIN_COUNT}" | bc`
-BM_MAX_AVG=`echo "scale=6; ${BM_MAX_SCORE} / ${BM_MAX_COUNT}" | bc`
-BM_ALL_AVG=`echo "scale=6; (${BM_MIN_SCORE} + ${BM_MAX_SCORE}) / (${BM_MIN_COUNT} + ${BM_MAX_COUNT})" | bc`
-
-FB_MIN_AVG=`echo "scale=6; ${FB_MIN_SCORE} / ${FB_MIN_COUNT}" | bc`
-FB_MAX_AVG=`echo "scale=6; ${FB_MAX_SCORE} / ${FB_MAX_COUNT}" | bc`
-FB_ALL_AVG=`echo "scale=6; (${FB_MIN_SCORE} + ${FB_MAX_SCORE}) / (${FB_MIN_COUNT} + ${FB_MAX_COUNT})" | bc`
-
-echo "
->> Score for Botmatch
-MinDetail: ${BM_MIN_AVG} (${BM_MIN_COUNT} tests)
-MaxDetail: ${BM_MAX_AVG} (${BM_MAX_COUNT} tests)
-Average : ${BM_ALL_AVG} (`expr ${BM_MIN_COUNT} + ${BM_MAX_COUNT}` tests)
-
->> Score for FlyBy
-MinDetail: ${FB_MIN_AVG} (${FB_MIN_COUNT} tests)
-MaxDetail: ${FB_MAX_AVG} (${FB_MAX_COUNT} tests)
-Average : ${FB_ALL_AVG} (`expr ${FB_MIN_COUNT} + ${FB_MAX_COUNT}` tests)"
diff --git a/games-fps/ut2003-demo/files/ut2003-demo b/games-fps/ut2003-demo/files/ut2003-demo
deleted file mode 100644
index 56d7e10e6a73..000000000000
--- a/games-fps/ut2003-demo/files/ut2003-demo
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-# Written by phoen][x <phoenix@gentoo.org>, Sep/19/2002
-# Modifications, enhancements or bugs? Mail me.
-
-INSTALL="GAMES_PREFIX_OPT//ut2003-demo"
-
-case ${1} in
- "--results")
- pushd ${INSTALL}/Benchmark &> /dev/null
- ./results.sh
- popd &> /dev/null
- ;;
- "--bench")
- pushd ${INSTALL}/Benchmark &> /dev/null
- ./benchmark
- popd &> /dev/null
- ;;
- "--help")
- echo "Usage:"
- echo " ut2003-demo [--bench] || [--results]"
- echo " Optional parameters, only one at a time."
- echo " --bench : starts ut2003-demo in benchmark mode"
- echo " --results : outputs the results of your last benchmark"
- ;;
- *)
- pushd ${INSTALL} &> /dev/null
- ./ut2003_demo
- popd &> /dev/null
- ;;
-esac
diff --git a/games-fps/ut2003-demo/metadata.xml b/games-fps/ut2003-demo/metadata.xml
deleted file mode 100644
index a7cd2290aab2..000000000000
--- a/games-fps/ut2003-demo/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-<longdescription>
-Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is a playable demo of the full commercial version.
-</longdescription>
-</pkgmetadata>
diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
deleted file mode 100644
index 2300c78fa96d..000000000000
--- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils unpacker games
-
-DESCRIPTION="Demo for the sequel to the 1999 multi-player first-person shooter"
-HOMEPAGE="http://www.ut2003.com/"
-SRC_URI="http://unreal.epicgames.com/linux/ut2003/ut2003demo-lnx-${PV}.sh.bin
- http://download.factoryunreal.com/mirror/UT2003CrashFix.zip
- https://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-misc.tar.bz2"
-
-LICENSE="ut2003-demo"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="strip"
-
-DEPEND="app-arch/unzip"
-RDEPEND="
- sys-devel/bc
- virtual/libstdc++:3.3
- virtual/opengl[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
-"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-
-QA_PREBUILT="${dir:1}/*.so ${dir:1}/*-bin ${dir:1}/System/libSDL-1.2.so.0"
-
-src_unpack() {
- unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin || die
- unzip "${DISTDIR}"/UT2003CrashFix.zip || die
- cd "${S}"
- unpack ./setupstuff.tar.gz || die
- unpack ./ut2003lnx_demo.tar.bz2 || die
- unpack ${PN}-misc.tar.bz2 || die
-}
-
-src_install() {
- einfo "This will take a while ... go get a pizza or something"
- dodir "${dir}"
-
- local i
- for i in Animations Benchmark Help KarmaData Maps Music Sounds \
- StaticMeshes System Textures Web extras
- do
- dodir "${dir}"/${i}
- cp -pPR "${S}"/${i}/* "${Ddir}"/${i}
- done
-
- # Fix the benchmark configurations to use SDL rather than the Windows driver
- local f
- for f in MaxDetail.ini MinDetail.ini
- do
- sed -i \
- -e 's/RenderDevice=D3DDrv.D3DRenderDevice/\;RenderDevice=D3DDrv.D3DRenderDevice/' \
- -e 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' \
- -e 's/\;RenderDevice=OpenGLDrv.OpenGLRenderDevice/RenderDevice=OpenGLDrv.OpenGLRenderDevice/' \
- -e 's/\;ViewportManager=SDLDrv.SDLClient/ViewportManager=SDLDrv.SDLClient/' \
- "${Ddir}"/Benchmark/Stuff/${f} || die
- done
-
- # Have the benchmarks run the nifty wrapper script rather than
- # ../System/ut2003-bin directly
- for f in "${Ddir}"/Benchmark/*-*.sh ; do
- sed -i \
- -e 's:\.\./System/ut2003-bin:../ut2003_demo:' "${f}" || die
- done
-
- # Wrapper and benchmark-scripts
- dogamesbin "${FILESDIR}"/ut2003-demo
- exeinto "${dir}"/Benchmark
- doexe "${FILESDIR}/"{benchmark,results.sh}
- sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
- "${ED}/${GAMES_BINDIR}/${PN}" "${ED}/${dir}"/Benchmark/benchmark || die
-
- # Here we apply DrSiN's crash patch
- cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System || die
-
-ed "${Ddir}"/System/Default.ini >/dev/null 2>&1 <<EOT
-$
-?Engine.GameInfo?
-a
-AccessControlClass=crashfix.iaccesscontrolini
-.
-w
-q
-EOT
-
- exeinto "${dir}"
- insinto "${dir}"
- doins DemoLicense.int README.linux
- doexe ucc ut2003_demo
- newicon Unreal.xpm ut2003-demo.xpm
- make_desktop_entry ut2003-demo "Unreal Tournament 2003 (Demo)" ${PN}
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "You can run benchmarks by typing 'ut2003-demo --bench' (MinDetail seems"
- elog "to not be working for some unknown reason :/)"
- echo
- elog "Read ${dir}/README.linux for instructions on how to run a"
- elog "dedicated server."
- echo
- ewarn "If you are not installing for the first time and you plan on running"
- ewarn "a server, you will probably need to edit your"
- ewarn "~/.ut2003demo/System/UT2003.ini file and add a line that says"
- ewarn "AccessControlClass=crashfix.iaccesscontrolini to your"
- ewarn "[Engine.GameInfo] section to close a security issue."
- echo
- elog "To play the demo run:"
- elog " ut2003-demo"
- echo
-}