Skip to content
Discussion options

You must be logged in to vote

这个游戏还在制作中,所以云大应该还没有时间介绍如何上手,构建随时可能变动,维护需要花费额外的精力不值得。
不过我这里可以给你一个可行的方案,有效性截止于我写下这个回复的时刻。

首先我假设你有最基本的计算机知识和搜索能力,否则就不用往下看了。

前置要求

  • 较新的 Windows 系统
  • 安装了 MSYS2
  • 下载了 sokol-bin-tool 的这个版本 并把 sokol-shdc.exe 设置为全局命令(只能是这个版本,新版有 breaking changes 目前此游戏还未适配)

接下来的命令行操作都是以 MSYS2 为前提。

1. 编译 soluna

这个游戏使用的是 soluna 游戏引擎,不能直接用 lua 运行

# 克隆  soluna 仓库极其子仓库依赖
git clone --recurse-submodules https://github.com/cloudwu/soluna
cd soluna

make

这个环节你可能会遇到一些编译报错,例如 git, gcc 不存在之类的,请自行搜索如何安装这些基础依赖。我下面举个例子:

pacman -Syu mingw-w64-clang-x86_64-gcc make git

另外如果你遇到 sokol-shdc 报错说明你要么没下载正确的版本,要么是没设置成全局命令找不到。

2. 运行游戏

编译好 soluna 之后,二进制位于 soluna/bin/soluna.exe

C:\msys64\mingw64\bin 添加到你的环境变量的 PATH 中(否则会运行失败)。

接下来把 deepfuture …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zyy329
Comment options

@zyy329
Comment options

@yuchanns
Comment options

Answer selected by zyy329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants