gbe_fork/premake5.lua

661 lines
21 KiB
Lua
Raw Normal View History

2024-05-13 23:55:55 +08:00
-- pre-define stuffs
local default_files = {
"dll/**",
"sdk/**",
"helpers/**"
2024-05-17 02:53:30 +08:00
}
2024-05-13 23:55:55 +08:00
local predefined_libs = {
2024-05-17 02:53:30 +08:00
"libs/fifo_map/**",
"libs/json/**",
"libs/sha/**",
"libs/simpleini/**",
"libs/stb/**",
"libs/utfcpp/**"
}
2024-05-13 23:55:55 +08:00
local crash_win = {
2024-05-17 02:53:30 +08:00
"crash_printer/win.cpp",
"crash_printer/crash_printer/win.hpp"
}
2024-05-13 23:55:55 +08:00
local crash_linux = {
2024-05-17 02:53:30 +08:00
"crash_printer/linux.cpp",
"crash_printer/crash_printer/linux.hpp"
}
2024-05-13 23:55:55 +08:00
local win_link = {
2024-05-17 02:53:30 +08:00
"Ws2_32.lib", "Iphlpapi.lib", "Wldap32.lib", "Winmm.lib", "Bcrypt.lib", "Dbghelp.lib"
}
2024-05-13 23:55:55 +08:00
2024-05-14 03:10:12 +08:00
local linux_link = {
"pthread",
"dl",
2024-05-17 17:40:43 +08:00
"ssq:static",
"z:static", -- libz library
"curl:static",
"protobuf-lite:static",
"mbedcrypto:static"
2024-05-14 03:10:12 +08:00
}
2024-05-13 23:55:55 +08:00
local default_link = {
2024-05-17 02:53:30 +08:00
"ssq.lib",
"libcurl.lib",
"libprotobuf-lite.lib",
"zlibstatic.lib",
"mbedcrypto.lib"
}
2024-05-13 23:55:55 +08:00
local basic_dir_win = "build/deps/win/"
local basic_dir_linux = "build/deps/linux/"
2024-05-14 03:10:12 +08:00
local overlay_link_windows = {
2024-05-17 02:53:30 +08:00
"ingame_overlay.lib",
"system.lib",
"mini_detour.lib"
}
2024-05-13 23:55:55 +08:00
2024-05-14 03:10:12 +08:00
local overlay_link_linux = {
2024-05-17 17:40:43 +08:00
"ingame_overlay:static",
"system:static", -- ingame_overlay dependency
"mini_detour:static" -- ingame_overlay dependency
2024-05-14 03:10:12 +08:00
}
2024-05-13 23:55:55 +08:00
local default_include = {
"dll",
"sdk",
"libs",
"helpers",
"crash_printer",
"overlay_experimental",
"controller"
}
2024-05-14 03:10:12 +08:00
local windows_files = {
default_files,
predefined_libs,
crash_win
}
2024-05-14 21:36:38 +08:00
local linux_files = {
default_files,
predefined_libs,
crash_linux,
2024-05-15 01:56:37 +08:00
"controller/**"
2024-05-14 21:36:38 +08:00
}
-- 32
local x32_libsdir_win = {
basic_dir_win .. "libssq/build32/Release",
basic_dir_win .. "curl/install32/lib",
basic_dir_win .. "protobuf/install32/lib",
basic_dir_win .. "zlib/install32/lib",
basic_dir_win .. "mbedtls/install32/lib",
basic_dir_win .. "ingame_overlay/install32/lib",
basic_dir_win .. "ingame_overlay/deps/System/install32/lib",
basic_dir_win .. "ingame_overlay/deps/mini_detour/install32/lib"
}
local x32_libsdir_linux = {
2024-05-14 22:38:19 +08:00
basic_dir_linux .. "libssq/build32",
2024-05-14 21:36:38 +08:00
basic_dir_linux .. "curl/install32/lib",
basic_dir_linux .. "protobuf/install32/lib",
basic_dir_linux .. "zlib/install32/lib",
basic_dir_linux .. "mbedtls/install32/lib",
basic_dir_linux .. "ingame_overlay/install32/lib",
basic_dir_linux .. "ingame_overlay/deps/System/install32/lib",
basic_dir_linux .. "ingame_overlay/deps/mini_detour/install32/lib"
}
local x32_include_win = {
basic_dir_win .. "libssq/include",
basic_dir_win .. "curl/install32/include",
basic_dir_win .. "protobuf/install32/include",
basic_dir_win .. "zlib/install32/include",
basic_dir_win .. "mbedtls/install32/include",
basic_dir_win .. "ingame_overlay/install32/include",
basic_dir_win .. "ingame_overlay/deps/System/install32/include",
basic_dir_win .. "ingame_overlay/deps/mini_detour/install32/include"
}
local x32_include_linux = {
basic_dir_linux .. "libssq/include",
basic_dir_linux .. "curl/install32/include",
basic_dir_linux .. "protobuf/install32/include",
basic_dir_linux .. "zlib/install32/include",
basic_dir_linux .. "mbedtls/install32/include",
basic_dir_linux .. "ingame_overlay/install32/include",
basic_dir_linux .. "ingame_overlay/deps/System/install32/include",
basic_dir_linux .. "ingame_overlay/deps/mini_detour/install32/include"
}
-- 32 end
-- 64
local x64_libsdir_win = {
basic_dir_win .. "libssq/build64/Release",
basic_dir_win .. "curl/install64/lib",
basic_dir_win .. "protobuf/install64/lib",
basic_dir_win .. "zlib/install64/lib",
basic_dir_win .. "mbedtls/install64/lib",
basic_dir_win .. "ingame_overlay/install64/lib",
basic_dir_win .. "ingame_overlay/deps/System/install64/lib",
basic_dir_win .. "ingame_overlay/deps/mini_detour/install64/lib"
}
local x64_libsdir_linux = {
2024-05-14 22:38:19 +08:00
basic_dir_linux .. "libssq/build64",
2024-05-14 21:36:38 +08:00
basic_dir_linux .. "curl/install64/lib",
basic_dir_linux .. "protobuf/install64/lib",
basic_dir_linux .. "zlib/install64/lib",
basic_dir_linux .. "mbedtls/install64/lib",
basic_dir_linux .. "ingame_overlay/install64/lib",
basic_dir_linux .. "ingame_overlay/deps/System/install64/lib",
basic_dir_linux .. "ingame_overlay/deps/mini_detour/install64/lib"
}
local x64_include_win = {
basic_dir_win .. "libssq/include",
basic_dir_win .. "curl/install64/include",
basic_dir_win .. "protobuf/install64/include",
basic_dir_win .. "zlib/install64/include",
basic_dir_win .. "mbedtls/install64/include",
basic_dir_win .. "ingame_overlay/install64/include",
basic_dir_win .. "ingame_overlay/deps/System/install64/include",
basic_dir_win .. "ingame_overlay/deps/mini_detour/install64/include"
}
local x64_include_linux = {
basic_dir_linux .. "libssq/include",
basic_dir_linux .. "curl/install64/include",
basic_dir_linux .. "protobuf/install64/include",
basic_dir_linux .. "zlib/install64/include",
basic_dir_linux .. "mbedtls/install64/include",
basic_dir_linux .. "ingame_overlay/install64/include",
basic_dir_linux .. "ingame_overlay/deps/System/install64/include",
basic_dir_linux .. "ingame_overlay/deps/mini_detour/install64/include"
}
-- 64 end
2024-05-13 23:55:55 +08:00
-- END of predefines
if _ACTION == "generateproto" then
print("Generating from .proto file!")
2024-05-14 21:40:30 +08:00
if os.target() == "windows" then
os.mkdir("dll/proto_gen/win")
2024-05-17 02:54:00 +08:00
os.execute('call ' .. _MAIN_SCRIPT_DIR .. '/' .. basic_dir_win ..'protobuf/install64/bin/protoc.exe dll/net.proto -I./dll/ --cpp_out=dll/proto_gen/win')
2024-05-14 21:40:30 +08:00
end
2024-05-14 21:43:00 +08:00
if os.target() == "linux" then
2024-05-14 21:40:30 +08:00
os.mkdir("dll/proto_gen/linux")
2024-05-17 02:54:00 +08:00
os.chmod(_MAIN_SCRIPT_DIR .. '/' .. basic_dir_linux ..'protobuf/install64/bin/protoc', "777")
os.execute(_MAIN_SCRIPT_DIR .. '/' .. basic_dir_linux ..'protobuf/install64/bin/protoc dll/net.proto -I./dll/ --cpp_out=dll/proto_gen/linux')
2024-05-14 21:40:30 +08:00
end
2024-05-13 23:55:55 +08:00
print("Generation success!")
2024-05-15 01:56:37 +08:00
end
newoption {
trigger = "emubuild",
description = "Set the EMU_BUILD_STRING",
default = "manual"
}
-- GBE Workspace
2024-05-13 23:55:55 +08:00
workspace "GBE"
configurations { "Debug", "Release", "ExperimentalDebug", "ExperimentalRelease" }
2024-05-14 03:10:12 +08:00
platforms { "x64", "x32" }
2024-05-13 23:55:55 +08:00
location "GBE_Build"
2024-05-14 03:10:12 +08:00
-- Project SteamEmu
2024-05-13 23:55:55 +08:00
project "SteamEmu"
cppdialect("c++17")
2024-05-13 23:55:55 +08:00
kind "SharedLib"
language "C++"
2024-05-14 03:10:12 +08:00
targetdir "bin/SteamEmu/%{cfg.buildcfg}_%{cfg.platform}"
2024-05-13 23:55:55 +08:00
location "GBE_Build/SteamEmu"
staticruntime "on"
optimize "On"
symbols "Off"
2024-05-14 03:10:12 +08:00
-- SET ARCH
filter "platforms:x32"
targetname "steam_api"
architecture "x86"
2024-05-13 23:55:55 +08:00
2024-05-14 03:10:12 +08:00
filter "platforms:x64"
targetname "steam_api64"
architecture "x86_64"
2024-05-13 23:55:55 +08:00
2024-05-14 03:10:12 +08:00
-- BASIC FOR WINDOWS
2024-05-13 23:55:55 +08:00
filter "options:os=windows"
buildoptions {
"/permissive-", "/MP", "/DYNAMICBASE",
"/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
2024-05-13 23:55:55 +08:00
}
linkoptions {
"/NOLOGO", "/emittoolversioninfo:no"
2024-05-13 23:55:55 +08:00
}
filter { "options:os=windows", "configurations:Release" }
defines {
"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
filter { "options:os=windows", "configurations:Debug" }
defines {
"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
-- WIN 32 DEFAULTS
filter { "platforms:x32", "options:os=windows" }
files {
windows_files,
"resources/win/api/32/resources.rc"
}
links {
win_link,
default_link,
overlay_link_windows
}
libdirs {
x32_libsdir_win
}
includedirs {
default_include,
"dll/proto_gen/win",
x32_include_win
}
-- WIN 64 DEFAULTS
filter { "platforms:x64", "options:os=windows" }
files {
windows_files,
"resources/win/api/64/resources.rc"
}
links {
win_link,
default_link,
overlay_link_windows
}
libdirs {
x64_libsdir_win
}
includedirs {
default_include,
"dll/proto_gen/win",
x64_include_win
}
2024-05-13 23:55:55 +08:00
2024-05-14 03:10:12 +08:00
-- BASIC FOR LINUX
2024-05-13 23:55:55 +08:00
filter "options:os=linux"
files {
2024-05-14 21:36:38 +08:00
linux_files
2024-05-13 23:55:55 +08:00
}
removefiles {
"libs/simpleini/**",
2024-05-14 22:29:53 +08:00
"helpers/pe_**"
}
2024-05-14 03:10:12 +08:00
buildoptions {
"-fvisibility=hidden", "-fexceptions", "-fno-jump-tables", "-fno-char8_t" , "-Wundefined-internal", "-Wno-switch"
2024-05-14 03:10:12 +08:00
}
linkoptions {
"-Wl,--exclude-libs,ALL"
}
2024-05-14 03:10:12 +08:00
links {
linux_link,
overlay_link_linux
}
2024-05-13 23:55:55 +08:00
filter { "options:os=linux", "configurations:Release" }
defines {
"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "GNUC", "CONTROLLER_SUPPORT", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
filter { "options:os=linux", "configurations:Debug" }
defines {
"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "GNUC", "CONTROLLER_SUPPORT", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
-- linux 32 DEFAULTS
filter { "platforms:x32", "options:os=linux" }
includedirs {
default_include,
"dll/proto_gen/linux",
x32_include_linux
}
libdirs {
x32_libsdir_linux
}
-- linux 64 DEFAULTS
filter { "platforms:x64", "options:os=linux" }
includedirs {
default_include,
"dll/proto_gen/linux",
2024-05-15 02:01:32 +08:00
x64_include_linux
}
libdirs {
2024-05-15 02:01:32 +08:00
x64_libsdir_linux
}
2024-05-14 22:19:20 +08:00
2024-05-14 03:10:12 +08:00
-- ExperimentalDebug WINDOWS
2024-05-13 23:55:55 +08:00
filter { "ExperimentalDebug", "options:os=windows" }
files {
default_files,
"libs/**",
crash_win,
"controller/**",
"overlay_experimental/**",
"resources/win/api/32/resources.rc"
2024-05-13 23:55:55 +08:00
}
removefiles { "libs/detours/uimports.cc" }
defines {
"EMU_EXPERIMENTAL_BUILD", "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB",
"DEBUG", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
2024-05-14 03:10:12 +08:00
-- ExperimentalRelease WINDOWS
2024-05-13 23:55:55 +08:00
filter { "ExperimentalRelease", "options:os=windows" }
files {
default_files,
"libs/**",
crash_win,
"controller/**",
"overlay_experimental/**",
"resources/win/api/32/resources.rc"
2024-05-13 23:55:55 +08:00
}
removefiles { "libs/detours/uimports.cc" }
defines {
"EMU_EXPERIMENTAL_BUILD" , "CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB",
"NDEBUG", "EMU_RELEASE_BUILD", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
2024-05-14 03:10:12 +08:00
-- ExperimentalDebug LINUX
filter { "ExperimentalDebug", "options:os=linux" }
files {
linux_files,
2024-05-14 03:10:12 +08:00
"overlay_experimental/**"
}
removefiles {
"libs/simpleini/**",
"helpers/pe_**"
}
defines {
"CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB",
"GNUC", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
2024-05-14 03:10:12 +08:00
-- ExperimentalRelease LINUX
filter { "ExperimentalRelease", "options:os=linux" }
files {
linux_files,
2024-05-14 03:10:12 +08:00
"overlay_experimental/**"
}
removefiles {
"libs/simpleini/**",
"helpers/pe_**"
}
defines {
"CONTROLLER_SUPPORT", "EMU_OVERLAY", "ImTextureID=ImU64", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB",
"NDEBUG", "EMU_RELEASE_BUILD", "GNUC", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
2024-05-14 03:10:12 +08:00
-- Project SteamEmu END
-- Project SteamClient
project "SteamClient"
cppdialect("c++17")
kind "SharedLib"
language "C++"
targetdir "bin/SteamClient/%{cfg.buildcfg}_%{cfg.platform}"
location "GBE_Build/SteamClient"
staticruntime "on"
optimize "On"
symbols "Off"
-- SET ARCH
filter "platforms:x32"
targetname "steamclient"
architecture "x86"
filter "platforms:x64"
targetname "steamclient64"
architecture "x86_64"
-- BASIC FOR WINDOWS
filter "options:os=windows"
buildoptions {
"/permissive-", "/MP", "/DYNAMICBASE",
"/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
}
linkoptions {
"/NOLOGO", "/emittoolversioninfo:no"
}
filter { "options:os=windows", "configurations:Release" }
defines {
"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"], "STEAMCLIENT_DLL", "EMU_EXPERIMENTAL_BUILD"
}
filter { "options:os=windows", "configurations:Debug" }
defines {
"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"], "STEAMCLIENT_DLL", "EMU_EXPERIMENTAL_BUILD"
}
-- Win32 stuff
filter { "platforms:x32", "options:os=windows" }
files {
"steamclient/**",
"resources/win/client/32/resources.rc"
}
filter { "Experimental**", "options:os=windows", "platforms:x32" }
files {
windows_files,
"controller/**",
"overlay_experimental/**",
"resources/win/client/32/resources.rc"
}
links {
win_link,
default_link,
overlay_link_windows
}
libdirs {
x32_libsdir_win
}
includedirs {
default_include,
"dll/proto_gen/win",
x32_include_win
}
removefiles { "steamclient/**" }
removefiles { "libs/detours/uimports.cc" }
-- Win64 stuff
filter { "platforms:x64", "options:os=windows" }
files {
"steamclient/**",
"resources/win/client/64/resources.rc"
}
filter { "Experimental**", "options:os=windows", "platforms:x64" }
files {
windows_files,
"controller/**",
"overlay_experimental/**",
"resources/win/client/64/resources.rc"
}
links {
win_link,
default_link,
overlay_link_windows
}
libdirs {
x64_libsdir_win
}
includedirs {
default_include,
"dll/proto_gen/win",
x64_include_win
}
removefiles { "steamclient/**" }
removefiles { "libs/detours/uimports.cc" }
-- ExperimentalDebug WINDOWS
filter { "ExperimentalDebug", "options:os=windows" }
defines {
"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"], "STEAMCLIENT_DLL", "EMU_EXPERIMENTAL_BUILD",
"ImTextureID=ImU64", "EMU_OVERLAY", "CONTROLLER_SUPPORT"
}
-- ExperimentalRelease WINDOWS
filter { "ExperimentalRelease", "options:os=windows" }
defines {
"NDEBUG", "EMU_RELEASE_BUILD","UTF_CPP_CPLUSPLUS=201703L", "CURL_STATICLIB", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"], "STEAMCLIENT_DLL", "EMU_EXPERIMENTAL_BUILD",
"ImTextureID=ImU64", "EMU_OVERLAY", "CONTROLLER_SUPPORT"
}
-- linux soon
-- Project SteamClient END
-- Project steamnetworkingsockets START
project "steamnetworkingsockets"
cppdialect("c++17")
kind "SharedLib"
language "C++"
targetdir "bin/steamnetworkingsockets/%{cfg.buildcfg}_%{cfg.platform}"
location "GBE_Build/steamnetworkingsockets"
targetname "steamnetworkingsockets"
optimize "On"
symbols "Off"
files {
"networking_sockets_lib/**"
}
includedirs {
"dll",
"sdk"
}
filter "options:os=windows"
buildoptions {
"/permissive-", "/MP", "/DYNAMICBASE",
"/utf-8", "/Zc:char8_t-", "/EHsc", "/GL-"
}
linkoptions {
"/NOLOGO", "/emittoolversioninfo:no"
}
filter { "options:os=windows", "configurations:**Release" }
defines {
"NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
filter { "options:os=windows", "configurations:**Debug" }
defines {
"DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
filter { "platforms:x64", "options:os=windows"}
files {
"networking_sockets_lib/**",
"resources/win/api/64/resources.rc"
}
filter { "platforms:x32", "options:os=windows" }
files {
"networking_sockets_lib/**",
"resources/win/api/32/resources.rc"
}
filter "options:os=linux"
buildoptions {
"-fvisibility=hidden", "-fexceptions", "-fno-jump-tables", "-fno-char8_t" , "-Wundefined-internal", "-Wno-switch"
}
linkoptions {
"-Wl,--exclude-libs,ALL"
}
filter { "options:os=linux", "configurations:**Release" }
defines {
"GNUC", "NDEBUG", "EMU_RELEASE_BUILD", "UTF_CPP_CPLUSPLUS=201703L", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
filter { "options:os=linux", "configurations:**Debug" }
defines {
"GNUC", "DEBUG", "UTF_CPP_CPLUSPLUS=201703L", "_CRT_SECURE_NO_WARNINGS", "EMU_BUILD_STRING=".._OPTIONS["emubuild"]
}
-- Project steamnetworkingsockets END
2024-05-14 03:10:12 +08:00
-- Project GenerateInterfaces
project "GenerateInterfaces"
cppdialect("c++17")
kind "ConsoleApp"
language "C++"
targetdir "bin/GenerateInterfaces/%{cfg.buildcfg}_%{cfg.platform}"
location "GBE_Build/GenerateInterfaces"
targetname "GenerateInterfaces"
optimize "On"
symbols "Off"
2024-05-14 03:48:45 +08:00
files {
"tools/generate_interfaces/**"
}
-- End GenerateInterfaces
-- TODO: SteamClientExtra should make steamclient_loader_BIT.exe and steamclient_extra.dll.
-- Normal (NON EXPERIMENTAL) should make the .exe
-- EXPERIMENTAL should make the _extra.dll
-- ONLY WINDOWS
if os.target() == "windows" then
-- Project GameOverlayRenderer
project "GameOverlayRenderer"
cppdialect("c++17")
kind "SharedLib"
language "C++"
targetdir "bin/GameOverlayRenderer/%{cfg.buildcfg}_%{cfg.platform}"
location "GBE_Build/GameOverlayRenderer"
targetname "GameOverlayRenderer"
optimize "On"
symbols "Off"
files {
"game_overlay_renderer_lib/**"
}
filter { "platforms:x64", "options:os=windows"}
includedirs {
"game_overlay_renderer_lib",
default_include,
"dll/proto_gen/win",
x64_include_win
}
libdirs {
x64_libsdir_win
}
filter { "platforms:x32", "options:os=windows" }
includedirs {
"game_overlay_renderer_lib",
default_include,
"dll/proto_gen/win",
x32_include_win
}
libdirs {
x32_libsdir_win
}
-- End GameOverlayRenderer
end
-- ONLY WINDOWS END
-- Workspace END