Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.04 KB

LicheePi4A_StardewValley.md

File metadata and controls

47 lines (37 loc) · 1.04 KB

LicheePi4A_StardewValley

  1. 配置 locales

    sudo apt install locales
    sudo dpkg-reconfigure locales
    
  2. 安装 box64,参考 COMPILE.md

    git clone https://github.com/ptitSeb/box64.git
    cd box64
    mkdir build
    cd build
    cmake .. -D RV64=1 -D CMAKE_BUILD_TYPE=RelWithDebInfo
    make -j$(nproc)
    sudo make install
  3. 安装 gl4es

    git clone https://github.com/ptitSeb/gl4es
    cd gl4es
    mkdir build
    cd build 
    cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo
    make -j$(nproc)
    
  4. 购买StardewValley,下载 Linux 版 https://gog.org/

  5. chmod +x 游戏包中的start.sh

  6. 运行游戏

    # 运行 StardewValley
    box64 ./start.sh
    # 运行 StardewValley加上帧数显示
    GALLIUM_HUD=fps box64 ./start.sh
    # 运行 StardewValley终端打印帧数
    LIBGL_FPS=1 box64 ./start.sh
    
  7. 加载时有概率加载失败,运行过程中略有卡顿