version 1.207, 2021/11/28 22:17:56 |
version 1.208, 2022/01/06 17:21:01 |
|
|
|
|
symlink_mg_libs() |
symlink_mg_libs() |
{ |
{ |
mg_subdirs="x64 |
set -A mg_subdirs x64 x86 |
x86" |
|
debug_echo "\nChecking for MonoGame x64/x86 dir to create symlinks" |
debug_echo "\nChecking for MonoGame x64/x86 dir to create symlinks" |
|
|
if [ ! -e "$gamedir/x64" ] && [ ! -e "$gamedir/x86" ] ; then |
if [ ! -e "$gamedir/x64" ] && [ ! -e "$gamedir/x86" ] ; then |
|
|
debug_echo "Couldn't find library directory $gamedir/$version" |
debug_echo "Couldn't find library directory $gamedir/$version" |
else |
else |
debug_echo "\nEntering library directory $gamedir/$version" |
debug_echo "\nEntering library directory $gamedir/$version" |
for file in $gamedir/$version/*; do |
for file in "$gamedir"/"$version"/*; do |
file="$(basename "$file")" |
file="$(basename "$file")" |
# sort out libs that need to be ignored |
# sort out libs that need to be ignored |
if [ "$(validlib "$file")" = "true" ] |
if [ "$(validlib "$file")" = "true" ] |
|
|
"TheFallOfGods2.exe" ) |
"TheFallOfGods2.exe" ) |
ln -sf Data Content/data |
ln -sf Data Content/data |
;; |
;; |
|
"Snails.exe" ) |
|
ln -s ScreensData.xnb Content/screens/screensdata.xnb |
|
ln -s footerMessage.xnb Content/fonts/footermessage.xnb |
|
ln -s MainMenu.xnb Content/screens/mainmenu.xnb |
|
ln -s UISnailsMenu.xnb Content/screens/controls/uisnailsmenu.xnb |
|
ln -s UIMainMenuBodyPanel.xnb Content/screens/controls/uimainmenubodypanel.xnb |
esac |
esac |
done |
done |
IFS=$SAVEIFS |
IFS=$SAVEIFS |