Skip to content
Permalink
Browse files

feat(csgoserver): Add SVG support to FastDL (#2298)

Co-authored-by: borzak.attila@gmail.com

CS:GO with Panorama now supports SVG custom logos, which are displayed in more places than a PNG logo.

Panorama now uses materials/panorama/images/tournaments/teams folder to look for custom team logos, which can be .png and .svg

Fixes #2297
  • Loading branch information...
borzaka authored and dgibbs64 committed Apr 22, 2019
1 parent e9939cc commit 24f09004269576df49ef21b48806e0f42a8442e4
Showing with 4 additions and 4 deletions.
  1. +4 −4 lgsm/functions/command_fastdl.sh
@@ -154,7 +154,7 @@ fn_fastdl_preview(){
# Garry's Mod
if [ "${shortname}" == "gmod" ]; then
cd "${systemdir}" || exit
allowed_extentions_array=( "*.ain" "*.bsp" "*.mdl" "*.mp3" "*.ogg" "*.otf" "*.pcf" "*.phy" "*.png" "*.vtf" "*.vmt" "*.vtx" "*.vvd" "*.ttf" "*.wav" )
allowed_extentions_array=( "*.ain" "*.bsp" "*.mdl" "*.mp3" "*.ogg" "*.otf" "*.pcf" "*.phy" "*.png" "*.svg" "*.vtf" "*.vmt" "*.vtx" "*.vvd" "*.ttf" "*.wav" )
for allowed_extention in "${allowed_extentions_array[@]}"; do
fileswc=0
tput sc
@@ -176,7 +176,7 @@ fn_fastdl_preview(){
if [ "${directory}" == "maps" ]; then
local allowed_extentions_array=( "*.bsp" "*.ain" "*.nav" "*.jpg" "*.txt" )
elif [ "${directory}" == "materials" ]; then
local allowed_extentions_array=( "*.vtf" "*.vmt" "*.vbf" )
local allowed_extentions_array=( "*.vtf" "*.vmt" "*.vbf" "*.png" "*.svg" )
elif [ "${directory}" == "models" ]; then
local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" )
elif [ "${directory}" == "particles" ]; then
@@ -315,7 +315,7 @@ fn_fastdl_source(){
if [ "${directory}" == "maps" ]; then
local allowed_extentions_array=( "*.bsp" "*.ain" "*.nav" "*.jpg" "*.txt" )
elif [ "${directory}" == "materials" ]; then
local allowed_extentions_array=( "*.vtf" "*.vmt" "*.vbf" )
local allowed_extentions_array=( "*.vtf" "*.vmt" "*.vbf" "*.png" "*.svg" )
elif [ "${directory}" == "models" ]; then
local allowed_extentions_array=( "*.vtx" "*.vvd" "*.mdl" "*.phy" "*.jpg" "*.png" )
elif [ "${directory}" == "particles" ]; then
@@ -430,4 +430,4 @@ echo "FastDL files are located in:"
echo "${fastdldir}"
echo "FastDL completed"
fn_script_log_info "FastDL completed"
core_exit.sh
core_exit.sh

0 comments on commit 24f0900

Please sign in to comment.
You can’t perform that action at this time.