From c07795e5e9c20b1f946809d2d8140c5e4c7c38ff Mon Sep 17 00:00:00 2001 From: cclecle Date: Sun, 4 Dec 2022 12:16:46 +0000 Subject: [PATCH] first commit --- Help/ReadMe_Gibalicious2.htm | 76 ++++++++++++++++++++++ Readme.md | 3 + Run.sh | 121 +++++++++++++++++++++++++++++++++++ System/Gibalicious2.ini | 4 ++ System/Gibalicious2.int | 8 +++ System/Gibalicious2.u | Bin 0 -> 6963 bytes System/Gibalicious2.ucl | 1 + 7 files changed, 213 insertions(+) create mode 100644 Help/ReadMe_Gibalicious2.htm create mode 100644 Readme.md create mode 100644 Run.sh create mode 100644 System/Gibalicious2.ini create mode 100644 System/Gibalicious2.int create mode 100644 System/Gibalicious2.u create mode 100644 System/Gibalicious2.ucl diff --git a/Help/ReadMe_Gibalicious2.htm b/Help/ReadMe_Gibalicious2.htm new file mode 100644 index 0000000..34fd764 --- /dev/null +++ b/Help/ReadMe_Gibalicious2.htm @@ -0,0 +1,76 @@ + + + + + +Gibalicious 2 + + + + +

Gibalicious 2

+

UT2004 version - 20th March 2004

+

Miles Asvachin

+

http://come.to/MrEvil

+

+mailto:miles@cheese83.freeserve.co.uk

+

Dedicated to +King Mustard and all +the other sick sadists at the + +Atari Forums

+

Description:

+

A UT2004 mutator to increase gore.

+

+

Installation:

+

UT2MOD Installation:

+

Simply double-click on the .ut2mod file and click a few buttons.

+

 

+

Manual Installation:

+

If you would rather do a manual install, then you must first extract the +files from the ut2mod. There is a utility available for this purpose, called 'UT2MODExtractor'.

+

Once that is done, put the following files in the indicated directories:

+

Gibalicious2.u                             +->        UT2003\System
+Gibalicious2.int                           +->        UT2003\System
+Gibalicious2.ini                           +->        UT2003\System
+Gibalicious2.ucl                           +->        UT2003\System

+

+

Usage:

+

Add the mutator like any other. The mutator can be configured (add it to the +selected mutator list then click on 'Configure Mutators' in the bottom right +corner of the screen). There are two configurable properties:

+ +

Both options are client-side.

+

If you run a server with the mutator, you must add the package to the server +packages list in UT2004.ini. Add the line ServerPackages=Gibalicious2 under the +section labelled [Engine.GameEngine], making sure there are no spaces at +the end of the line.

+

+

Changes since UT2003 version:

+ +

 

+

+Known bugs:

+ + +

If you find any bugs or have any suggestions or comments, please e-mail them +to me.

+ + + + \ No newline at end of file diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..8f2df43 --- /dev/null +++ b/Readme.md @@ -0,0 +1,3 @@ +# Gibalicious Release GIT repository + +checkout official page : https://www.moddb.com/games/unreal-tournament-2004/downloads/gibalicious diff --git a/Run.sh b/Run.sh new file mode 100644 index 0000000..36b90eb --- /dev/null +++ b/Run.sh @@ -0,0 +1,121 @@ +#!/bin/bash +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +OUTPUT_DIR="$2" +CFG_FILE="$3" +DEFAULT_CFG_FILE=UT2004.ini +function add_iniKeyEx() { + crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4 + # Warning: ugly hack with sed to allow multiple key instances + to remove space around '=' + sed -i "s/[[:space:]]*__$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')[[:space:]]*=[[:space:]]*/$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')=/g" $OUTPUT_DIR/System/$1 +} +# !!Warning!! section is not considered +function del_iniKeyEx() { + sed -i "/[[:space:]]*$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')[[:space:]]*=[[:space:]]*$(echo $4 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')/d" $OUTPUT_DIR/System/$1 +} +function add_iniKey() { + add_iniKeyEx $CFG_FILE $1 $2 $3 +} +# !!Warning!! section is not considered +function del_iniKey() { + del_iniKeyEx $CFG_FILE $1 $2 $3 +} +function add_ServerPackage() { + add_iniKey 'Engine.GameEngine' ServerPackages $1 +} +function del_ServerPackage() { + del_iniKey 'Engine.GameEngine' ServerPackages $1 +} +function add_ServerActors() { + add_iniKey 'Engine.GameEngine' ServerActors $1 +} +function del_ServerActors() { + del_iniKey 'Engine.GameEngine' ServerActors $1 +} + +function getmodprefix() { + _File=$(find $OUTPUT_DIR/System -type f -iname "Gibalicious*\.u" -exec basename {} \; | sort -nr | head -n 1) + BaseName="${_File%.*}" + echo "$BaseName" +} + +function install() { + rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git' + rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git' + + echo install ok +} + +function enable() { + BaseName="$(getmodprefix)" + add_ServerPackage $BaseName + + echo enable ok +} + +function disable() { + BaseName="$(getmodprefix)" + del_ServerPackage $BaseName + + echo disable ok +} + +function show_help() { + echo + echo "Usage: $0 { getmodprefix | install | enable | disable } []" + echo +} + +function check_cfg_file() { + if [ -z ${CFG_FILE} ] + then + echo "CFG_FILE is unset, setting it to $DEFAULT_CFG_FILE" + CFG_FILE=$DEFAULT_CFG_FILE + else + echo "CFG_FILE is set to '$CFG_FILE'" + fi + + if [ ! -f $OUTPUT_DIR/System/$CFG_FILE ] + then + echo "$OUTPUT_DIR/System/$CFG_FILE does not exist" + show_help + exit 9999 # die with error code 9999 + fi +} + +function check_game_dir() { + ### Check if a directory does not exist ### + if [ ! -d $OUTPUT_DIR ] + then + echo "incorrect " + show_help + exit 9999 # die with error code 9999 + fi +} + +case "$1" in + 'getmodprefix') + check_game_dir + getmodprefix + ;; + 'install') + check_game_dir + install + ;; + 'enable') + check_game_dir + check_cfg_file + disable + enable + ;; + 'disable') + check_game_dir + check_cfg_file + disable + ;; + *) + show_help + exit 1 + ;; +esac + +exit 0 \ No newline at end of file diff --git a/System/Gibalicious2.ini b/System/Gibalicious2.ini new file mode 100644 index 0000000..ea4c412 --- /dev/null +++ b/System/Gibalicious2.ini @@ -0,0 +1,4 @@ +[Gibalicious2.MutGibaliciousII] +GibFactor=10 +GibMore=True + diff --git a/System/Gibalicious2.int b/System/Gibalicious2.int new file mode 100644 index 0000000..8c662b3 --- /dev/null +++ b/System/Gibalicious2.int @@ -0,0 +1,8 @@ +[MutGibaliciousII] +GibMoreText="Always Gib" +GibFactorText="Gib Factor" +GibMoreDesc="Corpses always gib" +GibFactorDesc="Number of gibs multiplied by this number" +FriendlyName="GibaliciousII" +Description="Extra gore. This could get messy." + diff --git a/System/Gibalicious2.u b/System/Gibalicious2.u new file mode 100644 index 0000000000000000000000000000000000000000..eec355431db7a99e7663ed9cfada16d5b6c91c82 GIT binary patch literal 6963 zcmc&(U2q)55uQEm-RbUhk}TUN%a-ktFxE*(C)vS(4T>e}&jQOjB=J*#u=nofq>c7& z<=s8mGN$6#K}8HC7>HwVfDlMX@{&}lsJteXmsI5;sZe=IsJy50M3FqC2ywc5W>mxon3W3Q6e?TanrK0ma#fn zF4{EO7^oW+Zk|{Tz?y>P0>-+`oH*mv$OMdfHHk(OM35Ck$3d0n*sG#|q>e6t(`SWr zp)qT_-Vp)5qGcqpX{zE$A&Si8B&lg0aRhidSzZxkaF9e>nmu^4O^#;RkubaHf67f64*&f635JiMGvN_U5kv{PF`BOc|v$qCiwx? z!D^V|Z(`&j!zme3*DRUu3$j?&v6lnqV>33K1mCoV8R1o&@}q`Tk*hV1Tejih4B>b( z*70LvMOeXsh}VX<9(Ka;4_kyp$%ta$yg9`tIN`p`s2cbos&c;OEch{S)MUxs)G=j z_7>Ha#&UDQaHfkzsd@TzSq&s+Dwc339J?a7J8~v)WfNF9Vpq!EBg+u2VTY~|!^=S2 zIoomN9l}dYEHIuq9@L7g{qER!R zz%y{9QY=be^oGguh8WAZqk26yUMc70!GOFIQTYP9kK+L+nWkCKschJ%hy2dvy{eK_rSDa_5$0vX)|i5wkL!Pw$Yw@h+F$7 z96>V@A9cO^0(L%lzu|Y^L5V;9a@RXS=OyI)^$#!IL91(#UG1H_@8IFiIItT(WXZvV z%p@F+4{I32G|E-3Pt0%G3^icc6)ra@-S7nviqH3SAFq^h!r^uiIW8|%EYDoFOi|#u zRqidCE-#Y=+dAKbr`NAHkX5(M-_bdC#&Zn500%Y0=TJItSF8e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y*+_7NWP}53XOUCNqF99{*V49B( zU;sa1z}3y$<)XQe28#nwg&9-A13AcVh8)yT4&KmZ=5z#1Lrg(g4}egCLuSLINeR#q z2>5!DkQF!}{SRwZV~`Z{WJCZZs=r93@p}ZPFBt)*2;dI9pNJBs_(cOgfk6tFKmltb z;Qdm?^{~{IjDlZX`&<+H>5_~{0A5^fm#tO6AC?84*kvl4E~VRUtemubX2a*VbZ2!O z*THG045>=_HNHqUz*$O#2tv$!U<9xJIGOgpFLA%4yqAUKrlM+He?n%s040NvQ@Wra z(fZe(UXJGDc69c_n^Az6kRx|%0A4~siqJjz6nyi#9nEszYjszj1*ILA0-;X-)qobF z=s?w#@qy2CfDQfQb;H-fv>L%rGWZ!##R)5`;^1ps;4Ice^|l7@x;1XAgGkr{U@*Ty zf%55dRLIfbH2aIl4ZHCxXP`a6ESR+@iHC=<8)6)?8@>xMwjGiMk{2@=xKK0s^WhCPE5N%VA|Dwkb)j8 zyJI^IH)!ubAvu3oPQwBf+E8)yakQK1s;$!x{0GYSR~0#>=?DG`^niW83K~L^o<#azK)1=s-9Y{m$YwpO{Ttdr zps|gqwnI)k=BsJZC$&#t{BAjYzdk|aJ^DUeq>p5mcRbG!eceflp51YYAy7F) zW0URg5nO7du}9mVCn`=dT~Yz;6FoKvK@JN7c6rh`Z|%#N?Ug7awXoOWXTWwsqiIr!w!wJSK- zjG`57;pk=Znk+ci^3;PecwMCE@%cB%wJ1`V!u;AR_z{NGy4uXsFEbvf9Xt6yOc4n@ literal 0 HcmV?d00001 diff --git a/System/Gibalicious2.ucl b/System/Gibalicious2.ucl new file mode 100644 index 0000000..5c59249 --- /dev/null +++ b/System/Gibalicious2.ucl @@ -0,0 +1 @@ +Mutator=(ClassName=Gibalicious2.MutGibaliciousII,IconMaterialName=MutatorArt.nosym,FriendlyName=Gibalicious2.MutGibaliciousII.FriendlyName,Description=Gibalicious2.MutGibaliciousII.Description,FriendlyName=Gibalicious2.MutGibaliciousII.FriendlyName,FallbackName="GibaliciousII",FallbackDesc="Extra gore. This could get messy.") \ No newline at end of file