14 Commits

Author SHA1 Message Date
chacha
26857087f9 update to 122 2026-01-26 20:50:58 +00:00
cclecle
a43e1cec86 update to 121f 2025-08-25 20:44:33 +02:00
cclecle
d85e5f0d16 update to 121 2024-10-11 20:49:07 +01:00
cclecle
196b208af2 update to version 120 2024-07-04 18:50:47 +01:00
cclecle
e731098dae update v111 -> v115d 2023-08-30 23:41:25 +01:00
81f7c798a9 Update 'Run.sh' 2023-04-15 20:03:38 +02:00
cclecle
91f9940aad remove old countryflag texture (packaged separately) 2022-11-13 14:09:28 +00:00
cclecle
6c17bfd942 update to 111c 2022-11-08 22:24:16 +00:00
94627e4c84 Mise à jour de 'Run.sh' 2022-07-27 15:00:40 +00:00
cclecle
991885366b update to 109e 2022-07-27 16:23:04 +02:00
b982a3b938 Mise à jour de 'Run.sh' 2022-07-27 14:19:45 +00:00
7c7c0b3fcb Mise à jour de 'Run.sh' 2022-07-27 03:00:40 +00:00
660d953263 Mise à jour de 'Run.sh' 2022-07-27 02:42:11 +00:00
29a321f217 Mise à jour de 'Run.sh' 2022-07-27 01:45:04 +00:00
7 changed files with 861 additions and 737 deletions

File diff suppressed because it is too large Load Diff

29
Run.sh
View File

@@ -1,8 +1,9 @@
#!/bin/bash #!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2" OUTPUT_DIR="$2"
CFG_FILE="$3"
DEFAULT_CFG_FILE=UnrealTournament.ini DEFAULT_CFG_FILE=UnrealTournament.ini
CFG_FILE="${3:-$DEFAULT_CFG_FILE}"
function add_iniKeyEx() { function add_iniKeyEx() {
crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4 crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4
# Warning: ugly hack with sed to allow multiple key instances + to remove space around '=' # Warning: ugly hack with sed to allow multiple key instances + to remove space around '='
@@ -35,7 +36,11 @@ function del_ServerActors() {
del_iniKey 'Engine.GameEngine' ServerActors $1 del_iniKey 'Engine.GameEngine' ServerActors $1
del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1 del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
} }
function getmodprefix() {
UFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB[[:digit:]]*\.u" -exec basename {} \;)
BaseName="${UFile%.*}"
echo "$BaseName"
}
function install() { function install() {
rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git' rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git'
rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git' rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git'
@@ -45,12 +50,11 @@ function install() {
} }
function enable() { function enable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;) BaseName="$(getmodprefix)"
SSBBaseName="${SSBUFile%.*}"
add_ServerPackage $SSBBaseName add_ServerPackage $BaseName
add_ServerPackage SmartSBStats add_ServerPackage SmartSBStats
add_ServerActors $SSBBaseName.SmartSBServerActor add_ServerActors $BaseName.SmartSBServerActor
#todo: config SSB ? #todo: config SSB ?
@@ -58,19 +62,18 @@ function enable() {
} }
function disable() { function disable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;) BaseName="$(getmodprefix)"
SSBBaseName="${SSBUFile%.*}"
del_ServerPackage $SSBBaseName del_ServerPackage $BaseName
del_ServerPackage SmartSBStats del_ServerPackage SmartSBStats
del_ServerActors $SSBBaseName.SmartSBServerActor del_ServerActors $BaseName.SmartSBServerActor
echo disable ok echo disable ok
} }
function show_help() { function show_help() {
echo echo
echo "Usage: $0 { install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]" echo "Usage: $0 { getmodprefix | install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
echo echo
} }
@@ -102,6 +105,10 @@ function check_game_dir() {
} }
case "$1" in case "$1" in
'getmodprefix')
check_game_dir
getmodprefix
;;
'install') 'install')
check_game_dir check_game_dir
install install

View File

@@ -1,2 +0,0 @@
[Public]
Object=(Name=SmartSB109.SmartSB,Class=Class,MetaClass=Engine.Mutator,Description="SmartSB v109")

Binary file not shown.

3
System/SmartSB122.int Normal file
View File

@@ -0,0 +1,3 @@
[Public]
Object=(Name=SmartSB122.SmartSB,Class=Class,MetaClass=Engine.Mutator,Description="SmartSB v122")
Object=(Name=SmartSB122.SmartSBServerActor,Class=Class,MetaClass=Engine.Actor,Description="")

BIN
System/SmartSB122.u Normal file

Binary file not shown.

Binary file not shown.