Run RM Games on Linux with Wine
this guide. The page you're on now tells you how to run the .exe of the game itself.This is a general guide for running Windows apps on Linux. Thus, if you have the non-Steam version of the RPG Maker engine, this guide should allow you to run it.]
If you're wanting to run a game made with RPG Maker on Linux, this is the guide for you. MV and onward have a native Linux export version, but the previous makers do not.
Step 1: Install Wine
Go to https://wiki.winehq.org/Download and, under WineHQ binary packages, select your operating system. I'll attach the instructions here.
Spoiler: Ubuntu(-based)Popular Ubuntu-based distros: Linux Mint, Pop!_OS, Lubuntu, KDE Neon, Zorin OS, Elementary OS, Ubuntu Budgie, Feren OS, Nitrux
[*]Open the terminal and run command Code:
sudo dpkg --add-architecture i386
[*]This command enables 32-bit architecture, if it is not already enabled. It's necessary for Wine. If it is already enabled, this command will do nothing.
[*]Run command Code:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
[*]This command downloads the Wine repository key.
[*]Run command Code:
sudo apt-key add winehq.key
[*]This command adds the Wine repository key.
[*]Run one of these commands (which add the repository itself):
[*]For Ubuntu 20.10: Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ groovy main'
[*]For Ubuntu 20.04 and Mint 20.x: Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
[*]For Ubuntu 18.04 and Mint 19.x: Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
[*]Run command Code:
sudo apt update
[*]Updates all applications; recommended to do after adding repositories.
[*]Run command Code:
sudo apt install --install-recommends winehq-stable
[*]This command installs the stable version of the Wine application.
Spoiler: Debian(-based)Popular Debian-based (non-Ubuntu) distros: Q40S, Devuan, Kali Linux, MX Linux, Deepin
[*]Open the terminal and run command Code:
sudo dpkg --add-architecture i386
[*]This command enables 32-bit architecture, if it is not already enabled. It's necessary for Wine. If it is already enabled, this command will do nothing.
[*]Run command Code:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
[*]This command downloads the Wine repository key.
[*]Run command Code:
sudo apt-key add winehq.key
[*]This command adds the Wine repository key.
[*]Run one of these commands (which add the repository itself):
[*]For Debian 10 (Buster): Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ buster main'
[*]For Debian 11 (Bullseye): Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ bullseye main'
[*]For Debian Testing (Bookworm): Code:
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/debian/ bookworm main'
[*]Run command Code:
sudo apt update
[*]Updates all applications; recommended to do after adding repositories.
[*]Run command Code:
sudo apt install --install-recommends winehq-stable
[*]This command installs the stable version of the Wine application.
Spoiler: Fedora
[*]Open a terminal and run one of the following commands (which add the repository):
[*]For Fedora 33: Code:
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/33/winehq.repo
[*]For Fedora 32: Code:
dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/32/winehq.repo
[*]Then run Code:
dnf install winehq-stable
[*]This command installs the stable version of the Wine application.
Spoiler: openSUSE & ArchPopular Arch-based distro: Manjaro
Follow one of these links for instructions.
Wine - openSUSE Wiki
en.opensuse.org Wine - ArchWiki
During the installation you may get a complaint about missing dependencies. If so, install them.
Step 2: Run RM Game
Navigate to the folder in which you downloaded the RPG Maker game and right-click anywhere on the file explorer main window, then select "Open in Terminal." Type Code:
wine game.exe
assuming that the .exe is entitled "Game", as it should be.
Alternatively, if you want to specify the full filepath name, you can open the terminal and type Code:
cd '.wine/drive_c/Games/Project1'
or wherever the file is stored, then type the wine game.exe command. Or, you could use wine start to specify the full path, like so: Code:
wine start '.wine/drive_c/Games/Project1/game.exe'
and type /unix directly after wine start if using a Unix style pathname.
Or graphically, you should be able to right-click on the .exe for your RPG Maker game and select the option to run the game with Wine. If you don't see it, click "Open with other application..." and select Wine.
You might see a prompt asking you to download Gecko and Mono; choose "Yes" for both, and the game should work fine.
As this is a compatibility layer, you will most likely encounter issues, but that should be understandable. I've noticed from personal experience that the older the engine in which the game was made, the better it typically runs. Rm2k(3) runs excellently on Wine, while XP and onward not nearly so well.
本贴来自国际rpgmaker官方论坛作者:lakeisgay处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/run-rm-games-on-linux-with-wine.133975/
页:
[1]