- 下载 Ubuntu GameMaker Beta 的最新 .deb 文件,解压到你选择的位置。
- 解压后应该有两个文件夹,“opt”和“usr”。GameMaker 的可执行文件在 /opt/GameMaker-LTS2026/x86_64。我们稍后再来。
- 打开“软件”应用,点击“三条横线”图标(一个有三个水平线的图标),并确保任何 RPM Fusion 的开关都处于打开状态。Fedora 44 默认这些开关为打开状态。
- 从应用中心安装 Konsole 应用,以便在下一步中方便地复制和粘贴命令。
- 跟随 u/chroniclesoffire 的指示:
复制并粘贴以下命令到 Konsole,或者你喜欢的任何方式:
sudo dnf update
重启
sudo dnf group install "C 开发工具和库" "开发工具"
sudo dnf install cmake
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
dnf check-update
重启
sudo dnf install code
sudo dnf install clang
sudo dnf install libXrandr-devel
sudo dnf install libXxf86vm-devel
sudo dnf install openal-soft
sudo dnf install mesa-libGL-devel
sudo dnf install mesa-libGLU-devel
sudo dnf install libcurl-devel
##需要启用RPMFUSION/
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm.noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm.noarch.rpm
sudo dnf install ffmpeg --allowerasing
sudo dnf install fuse fuse-devel
sudo dnf install pipewire-pulseaudio pavucontrol
重启
## 安装 Steam 库
sudo mkdir /opt/steam-runtime/
curl https://repo.steampowered.com/steamrt-images-scout/snapshots/latest-steam-client-general-availability/com.valvesoftware.SteamRuntime.Sdk-amd64,i386-scout-sysroot.tar.gz | sudo tar -xzf - -C /opt/steam-runtime/
## 安装 linxdeploy
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
sudo install -m 0755 linuxdeploy-x86_64.AppImage /usr/local/bin/linuxdeploy
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
sudo install -m 0755 appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
- 一切安装完成后,返回“GameMaker-LTS2026”文件夹,在“opt”文件夹中找到名为“x86_64”的文件夹并打开它。在这个文件夹中找到名为“SharpFont.dll.config”的文件并用文本编辑器打开它。
你应该看到以下内容:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-ubuntu-Release/freetype.so" os="linux" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="32" target="Vendor/freetype/freetype-armv7-ubuntu-Release/freetype.so" os="linux" cpu="arm,armv7,arm32" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-aarch64-ubuntu-Release/freetype.so" os="linux" cpu="armv8,arm64" />
<!--
<dllmap dll="freetype.dll" wordsize="64" target="libfreetype.so.6" os="linux" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="32" target="libfreetype.so.6" os="linux" cpu="arm,armv7,arm32" />
<dllmap dll="freetype.dll" wordsize="64" target="libfreetype.so.6" os="linux" cpu="armv8,arm64" />
-->
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-windows-Release/freetype.dll" os="windows" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="64" target="lib/windows/arm64/freetype.dll" os="windows" cpu="arm64" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-macos-Release/freetype.dylib" os="osx" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-aarch64-macos-Release/freetype.dylib" os="osx" cpu="armv8,arm64" />
</configuration>
在第二部分的文本中,你可以看到有注释行:
<!--
\\\\\\\\-->
将这些注释行移到第一部分的代码中,使文本变成这样:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<!--
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-ubuntu-Release/freetype.so" os="linux" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="32" target="Vendor/freetype/freetype-armv7-ubuntu-Release/freetype.so" os="linux" cpu="arm,armv7,arm32" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-aarch64-ubuntu-Release/freetype.so" os="linux" cpu="armv8,arm64" />
-->
<dllmap dll="freetype.dll" wordsize="64" target="libfreetype.so.6" os="linux" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="32" target="libfreetype.so.6" os="linux" cpu="arm,armv7,arm32" />
<dllmap dll="freetype.dll" wordsize="64" target="libfreetype.so.6" os="linux" cpu="armv8,arm64" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-windows-Release/freetype.dll" os="windows" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="64" target="lib/windows/arm64/freetype.dll" os="windows" cpu="arm64" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-x86_64-macos-Release/freetype.dylib" os="osx" cpu="x86-64,x64,amd64" />
<dllmap dll="freetype.dll" wordsize="64" target="Vendor/freetype/freetype-aarch64-macos-Release/freetype.dylib" os="osx" cpu="armv8,arm64" />
</configuration>
保存文件的新状态。
- 在 /GameMaker-LTS2026/x86_64 文件夹中找到 GameMaker 的可执行文件并运行它。
享受 GameMaker 😄
评论 (0)