Enabling the multilib in /etc/pacman.conf file

  • Uncomment the hash (#) sign in the next two lines:
    #[multilib]
    #Include = /etc/pacman.d/mirrorlist
    
  • Upgrade the system
    $ sudo pacman -Syu
    

Note: You do not need to type/press yes/enter if you don't want to install the new upgradable packages.

Installing Wine

$ sudo pacman -S wine-staging wine-gecko wine-mono winetricks

Creating a new 32-bit prefix

$ WINEARCH=win32 WINEPREFIX=~/.win32 wineboot -u

Adding mp3 support

  • Install the following dependencies:
    $ sudo pacman -S lib32-libpulse lib32-mpg123 mpg123 lib32-openal lib32-gst-plugins-base lib32-gst-plugins-good lib32-gst-plugins-base-libs
    

Note: Change "lib32-libpulse" to your device default sound package, for example: lib32-alsa-oss, if you are using OSS.

Demonstration

Downloading the game inside the new prefix

  • Creating a directory named Elona in /home/username/.win32
    $ mkdir /home/username/.win32/drive_c/Program\ Files/Elona
    

Note: Change the "username" to your username.

Running the game

  • Change the directory to where the game is installed:
    $ cd /home/username/.win32/drive_c/Program\ Files/Elona/OOMSESTepNC/elona/
    
  • Run the game
    $ WINEPREFIX=~/.win32 wine oomSESTep_NC.exe
    

Note: You can use the game launcher script to speed up the process. Check the scripts section.

Tips

xset

  • Speed up your auto keyboard repeat delay:
    $ xset r rate 200 25
    
  • After quiting the game, feel free to use xset r rate to return to the default value.
  • You can check the value using xset q

Installing EloSnack

  • Install JRE8 (You can download it form here) with the /s flag:
    $ WINEPREFIX=~/.win32 wine jre-8u241-windows-x64.exe /s
    
  • Copy the /home/username/.win32/drive_c/Program\ Files/Java/jre1.8.0_291/bin/javaw.exe program to EloSnack folder.
  • Follow the instruction mentioned here. A fast way to launch elosnack.cmd has been included in the Game launcher script.

Demonstration

Adding Japanese support

  • Uncomment "ja_JP.UTF-8 UTF-8" in /etc/locale.gen file
  • Save the file, and generate the locale:
    $ sudo locale-gen
    
  • Install cjkfonts
    $ WINEPREFIX=~/.win32 winetricks cjkfonts
    
  • Run the game with the Japanese langauge argument
    $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.win32 wine oomSESTep_NC.exe
    

Demonstration

Scripts

Game launcher

A fast way to launch Elona's versions, including elosnack. Do not forget to change the username to your username.

Processes Killer

A general script to kill processes. It is depending on rofi. For multi selection, use shift+enter.

Assign each script to whatever shortcut you want. Do note please that all of these scripts are depending on the following packages:

  • ps
  • sed
  • awk
  • rofi
  • xargs

Many of them are included be default in many distributions except rofi.

Edit
Pub: 22 Jun 2021 06:16 UTC
Views: 255