Compare commits

8 Commits

Author SHA1 Message Date
247bccb09f Update 'Run.sh' 2023-04-15 20:04:08 +02:00
cclecle
2eb788da45 update to XCEngine V25C (for 469c), not including FerBotz stuff at the moment. 2022-11-01 00:19:36 +00:00
3af3663461 Mise à jour de 'Run.sh' 2022-06-10 21:58:18 +00:00
4ad618fe55 disable XC_IpDrv because it make server crash 2022-06-10 21:06:02 +02:00
3eaeaadfc8 Mise à jour de 'Run.sh' 2022-05-15 21:55:54 +00:00
e1dbe24508 integ 2022-05-14 11:28:56 +02:00
dcf5815200 Mise à jour de 'Run.sh' 2022-05-08 23:18:31 +00:00
6994513e80 fix install script 2022-05-08 19:21:12 +02:00
13 changed files with 50 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
XC_Engine - XC_GameEngine extension for UT99 v469b by Higor. XC_Engine - XC_GameEngine extension for UT99 v469c by Higor.
=========== ===========
@@ -40,6 +40,7 @@ Collision Grid replacing the old hash, loaded from CollisionGrid (.dll/.so)
Log file size reduction by grouping log spam and displaying how much log messages repeat. Log file size reduction by grouping log spam and displaying how much log messages repeat.
UnrealScript patcher for servers and offline play, allows replacement of code in runtime. UnrealScript patcher for servers and offline play, allows replacement of code in runtime.
IPv6 support through XC_IpDrv. IPv6 support through XC_IpDrv.
FerBotz bundled as part of XC_Engine.
- Server - Server
Moving Brush Tracker in Dedicated servers (movers block visibility checks), specific maps can be ignored. Moving Brush Tracker in Dedicated servers (movers block visibility checks), specific maps can be ignored.
@@ -54,7 +55,6 @@ Clients no longer send options 'Game' and 'Mutator' in their login string.
More info displayed during file download: amount of files, data pending installation. More info displayed during file download: amount of files, data pending installation.
* See "AutoCacheConverter.txt" for info on the ingame cache converter. * See "AutoCacheConverter.txt" for info on the ingame cache converter.
==================== ====================
Other documentation: Other documentation:
==================== ====================
@@ -64,6 +64,7 @@ Other documentation:
- Object properties - Object properties
- Self Dynamic Loading - Self Dynamic Loading
- Script Compiler - Script Compiler
- FerBotz
================ ================
@@ -98,6 +99,9 @@ Disabled by default, saved in [XC_Engine.XC_GameEngine] config entry.
Requires bUseLevelHook. Requires bUseLevelHook.
Toggles XC_Level relevancy loop on net servers, see "Relevancy loop.txt" for details. Toggles XC_Level relevancy loop on net servers, see "Relevancy loop.txt" for details.
- SaveGame [game_name]
- LoadGame [game_name]
Experimental single player game save feature, should work in multiplayer games as well.
==================================== ====================================
Functions patched/hooked in runtime: Functions patched/hooked in runtime:
@@ -116,5 +120,6 @@ I would like to thank my fellow betatesters
- $carface (and the legions of Siege apes) - $carface (and the legions of Siege apes)
- AnthRAX - AnthRAX
- SicilianKill - SicilianKill
- KnoW
And all of Cham's development server visitors for the help in bugfixing this. And all of Cham's development server visitors for the help in bugfixing this.

View File

@@ -33,3 +33,7 @@ event PostBeginPlay()
AddToPackageMap(); AddToPackageMap();
} }
==================== ====================
NOTE: AddToPackageMap has now been added to Unreal Tournament v469c.
You may modify the above sample code to check for said game version as well.

55
Run.sh Normal file → Executable file
View File

@@ -1,35 +1,58 @@
#!/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() {
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
add_iniKey 'XC_Engine.XC_GameEngine' ServerPackages $1
}
function del_ServerPackage() {
del_iniKey 'Engine.GameEngine' ServerPackages $1
del_iniKey 'XC_Engine.XC_GameEngine' ServerPackages $1
}
function add_ServerActors() {
add_iniKey 'Engine.GameEngine' ServerActors $1
add_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
}
function del_ServerActors() {
del_iniKey 'Engine.GameEngine' ServerActors $1
del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
}
function install() { function install() {
cp $SCRIPT_DIR/Help $OUTPUT_DIR/Help -Rf rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help --exclude '.git'
cp $SCRIPT_DIR/System $OUTPUT_DIR/System -Rf rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System --exclude '.git'
echo install ok echo install ok
} }
function enable() { function enable() {
# Warning: ugly hack with sed to allow multiple key instances crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'GameEngine' XC_Engine.XC_GameEngine
#crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerPackages $SSBBaseName #crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'NetworkDevice' XC_IpDrv.XC_TcpNetDriver
#sed -i 's/_ServerPackages/ServerPackages/g' $OUTPUT_DIR/System/$CFG_FILE
#crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerActors $SSBBaseName.SmartSBServerActor
#sed -i 's/_ServerActors/ServerActors/g' $OUTPUT_DIR/System/$CFG_FILE
# TODO
echo enable ok echo enable ok
} }
function disable() { function disable() {
#sed -i "/ServerPackages[[:space:]]*=[[:space:]]*$SSBBaseName/d" $OUTPUT_DIR/System/$CFG_FILE crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'GameEngine' Engine.GameEngine
#sed -i "/ServerPackages[[:space:]]*=[[:space:]]*SmartSBStats/d" $OUTPUT_DIR/System/$CFG_FILE #crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'NetworkDevice' IpDrv.TcpNetDriver
#sed -i "/ServerActors[[:space:]]*=[[:space:]]*$SSBBaseName.SmartSBServerActor/d" $OUTPUT_DIR/System/$CFG_FILE
# TODO
echo disable ok echo disable ok
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.