-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I just skimmed over the bash script and good god... This seems very hard to maintain and not verbose at all. Do you want me to submit a PR to fix it ?
Also
FLAT_GEN() {
echo would you like flat textures resized? Y/N/HELP
read choice
if [ $choice == "Y" ]; then
flat=2
elif [ $choice == "N" ]; then
flat=1
elif [ $choice == "HELP" ]; then
echo resized flat textures appear mostly flat on sv_pure, non-resized appears as stock tf2 textures
FLAT_GEN
else
echo invalid input
FLAT_GEN
fi
}say the answer is no, so flat=1
elif [ $flat == 2 ]; then
echo generating flat textures
dev/generators/textures_flat.sh dev/lists/linux/flat.txt "../../tf2_textures_dir.vpk" 1
dev/generators/textures_flat.sh dev/lists/linux/flat_hl2.txt "../../../hl2/hl2_textures_dir.vpk" 1
echo flat textures \(resized\) >>dev/current_options.txt
echo done
fiwhy is this being done?
Metadata
Metadata
Assignees
Labels
No labels