update & clean

This commit is contained in:
cclecle
2022-11-13 14:10:21 +00:00
parent 0a6ed78d37
commit bd1fde0c0d
7 changed files with 11 additions and 14 deletions

View File

@@ -1,12 +1 @@
CountryFlags 32/64Bit Packages.
============================
ok so Ive found sometime to totally rebuild the CountryFlags.
inside this package you will find all resources needed to modify
these Packages.
edit:
//added Japan into CountryFlags32a.utx
//fixed USA Flag. CoountryFlags32b.utx
Thank.
Q
https://ut99.org/viewtopic.php?t=13721

12
Run.sh
View File

@@ -36,6 +36,12 @@ function del_ServerActors() {
del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
}
function getmodprefix() {
_File=$(find $OUTPUT_DIR/Textures -type f -iname "CountryFlags32.*\.utx" -exec basename {} \;)
BaseName="${_File%.*}"
echo "$BaseName"
}
function install() {
rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git'
rsync -a $SCRIPT_DIR/Textures/ $OUTPUT_DIR/Textures/ --exclude '.git'
@@ -44,13 +50,15 @@ function install() {
}
function enable() {
add_ServerPackage CountryFlags32b
BaseName="$(getmodprefix)"
add_ServerPackage $BaseName
echo enable ok
}
function disable() {
del_ServerPackage CountryFlags32b
BaseName="$(getmodprefix)"
del_ServerPackage $BaseName
echo disable ok
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.