Run Stardew Valley on VisionFive 2

Stardew Valley runs at ~15fps on VisionFive 2 with box64 and gl4es. Lovely video shared by RVspace user Yang.
The following is a tutorial:

  1. Configure locales
sudo apt install locales
sudo dpkg-reconfigure locales
  1. Install box64,refer to COMPILE.md
  2. Install gl4es
git clone https://github.com/ptitSeb/gl4es
cd gl4es
mkdir build; cd build; cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo;
make
  1. Click GOG.com to buy Stardew Valley,and install Linux version:stardew_valley_1_5_6_1988831614_53040.sh
  2. chmod +x Downloads/stardew_valley_1_5_6_1988831614_53040.sh
  3. Run BOX64_BASH=path/to/box64/tests/bash box64 Downloads/stardew_valley_1_5_6_1988831614_53040.sh.Wait a moment, you can see the interface of an installer, and it will be ready for installation. By default, it will be installed in ~/GOG Games/Stardew Valley directory.
  4. Go to the game folder and run:LD_LIBRARY_PATH=path/to/gl4es/lib/:$LD_LIBRARY_PATH box64 Stardew\ Valley
  5. Wait for about 3 minutes and you can see the game start. Creating and loading a new archive also takes a few minutes, just be patient and wait.

Click to view the demo video:可可爱爱,在RISC-V SBC VisionFive 2 昉·星光 2 上玩星露谷物语Stardew Valley_哔哩哔哩_bilibili

9 Likes

You can try the Stardew Valley versions at https://modilimitado.com/pt which are also very good