diff --git a/lgsm/functions/fix_openttd.sh b/lgsm/functions/fix_openttd.sh index d31a0cc9e..0008bbb4b 100644 --- a/lgsm/functions/fix_openttd.sh +++ b/lgsm/functions/fix_openttd.sh @@ -2,13 +2,10 @@ # LinuxGSM fix_ottd.sh function # Author: ttocszed00 # Website: https://linuxgsm.com -# Description: Compiles Open Transport Tycoon Delux server after downloading source files. -functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" +# Description: copis OpenGFX to baset directory. local modulename="FIX" local commandaction="Fix" mkdir "${rootdir}/.openttd/baseset" -fn_print_information_nl "Downloading graphics pack" -fn_fetch_file "https://cdn.openttd.org/opengfx-releases/0.6.0/opengfx-0.6.0-all.zip" "" "" "" "${tmpdir}" "opengfx-0.6.0-all.zip" "nochmodx" "norun" "noforce" "994d8ce816542b74130964971736d4d6" -fn_dl_extract "${tmpdir}" "opengfx-0.6.0-all.zip" "${rootdir}/.openttd/baseset" \ No newline at end of file +cp "${serverfiles}/grapics_set/opengfx-0.6.0.tar" "${rootdir}/.openttd/baseset" \ No newline at end of file diff --git a/lgsm/functions/install_server_files.sh b/lgsm/functions/install_server_files.sh index 31d7aab15..aebaad6a1 100644 --- a/lgsm/functions/install_server_files.sh +++ b/lgsm/functions/install_server_files.sh @@ -63,7 +63,7 @@ fn_install_server_files(){ remote_fileurl="http://linuxgsm.download/ZombieMasterReborn/zombie_master_reborn_b5_2.tar.xz"; local_filedir="${tmpdir}"; local_filename="zombie_master_reborn_b5_2.tar.xz"; chmodx="nochmodx" run="norun"; force="noforce"; md5="4b9b9832e863d03981a40c26065792a6" #### Temp file hosting of compiled OpenTTD for Ubuntu 20.04 web site has builds for Ubuntu 16.04,18.04; Debian Stretch,Buster elif [ "${shortname}" == "openttd" ]; then - remote_fileurl="https://downloads.zed.rip/openttd-1.10.1-linux-ubuntu-focal-amd64.zip"; local_filedir="${tmpdir}"; local_filename="openttd-1.10.1-linux-ubuntu-focal-amd64.zip"; chmodx="nochmodx"; run="norun"; force="noforce"; md5="6893c2969d3b1da712622c4d89f71aa7" + remote_fileurl="https://downloads.zed.rip/openttd-1.10.1.tar.xz"; local_filedir="${tmpdir}"; local_filename="openttd-1.10.1-linux-ubuntu-focal-amd64.zip"; chmodx="nochmodx"; run="norun"; force="noforce"; md5="d27288b9115477741609b1f3305026d4" fi fn_fetch_file "${remote_fileurl}" "" "" "" "${local_filedir}" "${local_filename}" "${chmodx}" "${run}" "${forcedl}" "${md5}" fn_dl_extract "${local_filedir}" "${local_filename}" "${serverfiles}"