I played RPG Maker 2000 Ruina ~ The Story of the Abandoned City ~ on Raspberry Pi

Introduction

RPG Maker 2000 is a game production software sold by Enterbrain for Windows OS. Raspberry Pi runs Raspbian customized based on the Debian distribution of Linux. (It is possible to use another OS for Raspberry Pi, but Windows will not work.)

Therefore, ** RPG Maker 2000 programs usually do not run on Raspbian because the OS is different. ** **

There is Wine as software for executing applications for Windows on Linux and MacOS, but since Wine uses the x86 instruction set, AMD-type instruction set is used. It does not work on my Raspberry Pi.

There is also software called Qemu that can emulate an x86 instruction set, but emulation is so heavy that it's not very practical to run it on a Raspberry Pi. ExaGaer Desktop, a paid software that runs several times faster than Qemu, has already been discontinued and is difficult to obtain.

Here is an interesting project called EasyRPG. EasyRPG is an OSS project that aims to provide players and editors for running games created with RPG Maker 200X on multiple platforms. Since Linux is included in the multi-platform, I tried to use EasyRPG Player this time.

To put it briefly, it is an article that ** I tried using the build of EasyRPG Player for Raspberry Pi ** because RPG Maker 2000 does not work on Raspberry Pi even if I do it normally.

In addition, ** A Windows machine or a machine running Wine is required separately to install the RTP material **. (RTP is a general-purpose material package for Maker 200X released by Enterbrain.)

Introduction

Install EasyRPG Player

EasyRPG Player is installed using the officially published repository.

For Raspbian 9 (Stretch), use the following command.

$ echo 'deb http://download.opensuse.org/repositories/home:/easyrpg/Raspbian_9.0/ /' | sudo tee /etc/apt/sources.list.d/home:easyrpg.list
$ curl -fsSL https://download.opensuse.org/repositories/home:easyrpg/Raspbian_9.0/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:easyrpg.gpg > /dev/null
$ sudo apt update
$ sudo apt install -y easyrpg-player

For Raspbian 10 (Buster), use the following command.

$ echo 'deb http://download.opensuse.org/repositories/home:/easyrpg/Raspbian_10/ /' | sudo tee /etc/apt/sources.list.d/home:easyrpg.list
$ curl -fsSL https://download.opensuse.org/repositories/home:easyrpg/Raspbian_10/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:easyrpg.gpg > /dev/null
$ sudo apt update
$ sudo apt install -y easyrpg-player

These commands can be found in "Arch Linux, Debian, Ubuntu, Fedora and openSUSE packages"-> "Debian"-> "EasyRPG Download Page for Linux" (https://easyrpg.org/player/downloads/#release-linux). You can check it from "Manually add and install a repository".

$ easyrpg-player

If EasyRPG is started by the command, the installation is successful.

Install RTP and copy RTP folder

If you want to play Tsukuru works that use RTP material on Raspberry Pi, you need to copy the RTP material on Raspberry Pi. Please download and install RTP for RPG Maker 200X from Enterbrain official website on a Windows machine or a machine running Wine. By default, the installation destination is C: \ Program Files (x86) \ ASCII \ RPG2000 \ RTP or C: \ Program Files (x86) \ ASCII \ RPG2003 \ RTP. If you use only one of 2000 and 2003, it is enough to install only the one you use.

After installation, copy the RTP folder to any location on your Raspberry Pi. (No .ico file required.) Finally, in order to use RTP from EasyRPG Player, add the environment variables $ RPG2k_RTP_PATH and $ RPG2k3_RTP_PATH to .bash_profile. If you use only one of 2000 and 2003, it is enough to register the environment variable only for the one you use.

In the following, as an example Set the RTP for Maker 2000 as / home / pi / RPGtkool2k / 2000 / RTP Suppose you copied the RTP for Maker 2003 as / home / piRPGtkool2k / 2003 / RTP. Please read the path as appropriate.

#Specify the RTP folder of RPG Maker 2000
$ echo "export RPG2K_RTP_PATH=/home/pi/RPGtkool2k/2000/RTP" >> .bash_profile

#Specify the RTP folder of RPG Maker 2003
$ echo "export RPG2K3_RTP_PATH=/home/pi/RPGtkool2k/2003/RTP" >> .bash_profile

You can now use RTP from EasyRPG.

Download RPG Maker works

Download your favorite work to any location on your Raspberry Pi.

** (Recommended is Ruina ~ The Story of the Abandoned City ~. This article is written to preach 90% of Ruina ~ The Story of the Abandoned City ~. ) **

However, since zip files etc. are often encoded in Shift-JIS, there is a possibility that the characters will be garbled with the normal expansion software of Raspberry Pi. There is a software called unar that can correctly extract Shift-JIS encoded zip files on Linux, so it is recommended to use this.

$ sudo apt install -y unar
$ unar <zip file name>

【Caution】 In order for EasyRPG Player to recognize the game, it is necessary to start EasyRPG Player in the directory where ** RPG_RT.exe exists or its parent directory **. Therefore, in order to start EasyRPG Player in your home directory, it is recommended to put "the folder containing RPG_RT.exe "in your home directory. (That is, if you set it as / home / pi / <game folder> /RTP_ET.exe, the game will be recognized if you start EasyRPG on / home / pi.)

Run

Start EasyRPG Player with the following command. However, if you do not enter the command in the directory where ** RPG_RT.exe exists or its parent directory **, the game will not recognize it even if EasyRPG Player starts. If the downloaded game is recognized correctly, it is successful. Congratulations!

$ easyrpg-player

Finally

** Ruina ~ The Story of the Abandoned City ~ is a god game that boasts great quality while being free. ** ** I hope there will be more Ruina fans. Also, if you are a Ruina fan, I would be very happy if you could get involved on Twitter or SoundCloud. I will.

Recommended Posts

I played RPG Maker 2000 Ruina ~ The Story of the Abandoned City ~ on Raspberry Pi
I sent the data of Raspberry Pi to GCP (free)
I tried to automate the watering of the planter with Raspberry Pi
[I touched the Raspberry Pi (1)] I summarized the basic operations of Minecraft Pi Edition (2015.5.23 pre-release)
Use the Grove sensor on the Raspberry Pi
I installed OpenCV-Python on my Raspberry Pi
I tweeted the illuminance of the room with Raspberry Pi, Arduino and optical sensor
Sound the buzzer using python on Raspberry Pi 3!
I want to be notified of the connection environment when the Raspberry Pi connects to the network
Try using the temperature sensor (LM75B) on the Raspberry Pi.
Log the value of SwitchBot thermo-hygrometer with Raspberry Pi
Implementation of personally optimized photo frames on Raspberry Pi
Control power on / off of USB port of Raspberry Pi
Installation of Docker on Raspberry Pi and L Chika
I tried using the Pi Console I / F of the Raspberry Pi IoT starter kit "anyPi" from Mechatrax.
pigpio on Raspberry pi
The story of sys.path.append ()
Cython on Raspberry Pi
The story of how the Python bottle worked on Sakura Internet
I tried running Movidius NCS with python of Raspberry Pi3
I want to disable interrupts on Raspberry Pi (≒ DI / EI)
I tried using the DS18B20 temperature sensor with Raspberry Pi
About the error I encountered when trying to use Adafruit_DHT from Python on a Raspberry Pi