update & clean
This commit is contained in:
@@ -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
12
Run.sh
@@ -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.
BIN
Textures/CountryFlags32e.utx
Normal file
BIN
Textures/CountryFlags32e.utx
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user