Compare commits
8 Commits
master_XC_
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 247bccb09f | |||
|
|
2eb788da45 | ||
| 3af3663461 | |||
| 4ad618fe55 | |||
| 3eaeaadfc8 | |||
| e1dbe24508 | |||
| dcf5815200 | |||
| 6994513e80 |
@@ -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.
|
||||
UnrealScript patcher for servers and offline play, allows replacement of code in runtime.
|
||||
IPv6 support through XC_IpDrv.
|
||||
FerBotz bundled as part of XC_Engine.
|
||||
|
||||
- Server
|
||||
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.
|
||||
* See "AutoCacheConverter.txt" for info on the ingame cache converter.
|
||||
|
||||
|
||||
====================
|
||||
Other documentation:
|
||||
====================
|
||||
@@ -64,6 +64,7 @@ Other documentation:
|
||||
- Object properties
|
||||
- Self Dynamic Loading
|
||||
- Script Compiler
|
||||
- FerBotz
|
||||
|
||||
|
||||
================
|
||||
@@ -98,6 +99,9 @@ Disabled by default, saved in [XC_Engine.XC_GameEngine] config entry.
|
||||
Requires bUseLevelHook.
|
||||
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:
|
||||
@@ -116,5 +120,6 @@ I would like to thank my fellow betatesters
|
||||
- $carface (and the legions of Siege apes)
|
||||
- AnthRAX
|
||||
- SicilianKill
|
||||
- KnoW
|
||||
|
||||
And all of Cham's development server visitors for the help in bugfixing this.
|
||||
@@ -33,3 +33,7 @@ event PostBeginPlay()
|
||||
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
55
Run.sh
Normal file → Executable file
@@ -1,35 +1,58 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
OUTPUT_DIR="$2"
|
||||
CFG_FILE="$3"
|
||||
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() {
|
||||
cp $SCRIPT_DIR/Help $OUTPUT_DIR/Help -Rf
|
||||
cp $SCRIPT_DIR/System $OUTPUT_DIR/System -Rf
|
||||
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() {
|
||||
# Warning: ugly hack with sed to allow multiple key instances
|
||||
#crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerPackages $SSBBaseName
|
||||
#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
|
||||
|
||||
crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'GameEngine' XC_Engine.XC_GameEngine
|
||||
#crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'NetworkDevice' XC_IpDrv.XC_TcpNetDriver
|
||||
echo enable ok
|
||||
}
|
||||
|
||||
function disable() {
|
||||
#sed -i "/ServerPackages[[:space:]]*=[[:space:]]*$SSBBaseName/d" $OUTPUT_DIR/System/$CFG_FILE
|
||||
#sed -i "/ServerPackages[[:space:]]*=[[:space:]]*SmartSBStats/d" $OUTPUT_DIR/System/$CFG_FILE
|
||||
#sed -i "/ServerActors[[:space:]]*=[[:space:]]*$SSBBaseName.SmartSBServerActor/d" $OUTPUT_DIR/System/$CFG_FILE
|
||||
# TODO
|
||||
|
||||
crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'GameEngine' Engine.GameEngine
|
||||
#crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.Engine' 'NetworkDevice' IpDrv.TcpNetDriver
|
||||
echo disable ok
|
||||
}
|
||||
|
||||
|
||||
BIN
System/Cacus.dll
BIN
System/Cacus.dll
Binary file not shown.
BIN
System/Cacus.so
BIN
System/Cacus.so
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.
Reference in New Issue
Block a user