Skip to content

Add how-to-play documentation#498

Open
patowen wants to merge 1 commit intoRalith:masterfrom
patowen:how-to-play-docs
Open

Add how-to-play documentation#498
patowen wants to merge 1 commit intoRalith:masterfrom
patowen:how-to-play-docs

Conversation

@patowen
Copy link
Collaborator

@patowen patowen commented Feb 28, 2026

I believe that clear official documentation on how to play Hypermine would be useful to make it easier to support new potential players. I went ahead and drafted an initial version.

@patowen patowen requested a review from Ralith February 28, 2026 19:24

A common issue is that a dependency is missing, or a tool cannot find it because it is missing in PATH. For example, Git needs to be installed and in the PATH. To check whether Git is configured correctly, open a shell and run `git --version`.

The "shaderc" dependency also has some complications. Unless you have a preinstalled version of shaderc, compiling Hypermine will try to compile shaderc from scratch, which requires CMake and Python 3 as dependencies (See the help page for shaderc linked above). On Windows, you will also need the "Ninja" build system.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compiling shaderc is never necessary and should be strongly discouraged. Linux users can install it from repositories; windows users can get it from the Vulkan SDK.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think fixing this may be out of scope for the PR, as the Windows 10 building instructions in the Wiki have suggested similarly for years (https://github.com/Ralith/hypermine/wiki/Installation-instructions-for-Windows-10).

If we want to discourage people from building shaderc from source, we should probably disable it entirely so that the error message can be more straightforward.

I haven't found building shaderc from source to be particularly problematic (just requiring a few extra dependencies), so since this is in the troubleshooting section, I don't think we need to make any changes here for now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reread https://github.com/google/shaderc-rs?tab=readme-ov-file#setup, and it looks like there isn't a way to disable building from source entirely. This would have been nice, as the error message would have been a lot more helpful, but that likely means that I should spend a bit more effort in the documentation guiding the user towards installing the Vulkan SDK or installing shaderc directly, instead of installing things like Python and ninja.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't found building shaderc from source to be particularly problematic (just requiring a few extra dependencies)

This type of documentation isn't for the people for whom that's trivial.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that makes sense to me. I have changed my mind on this and hope to update this PR shortly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated! Sorry for the delay.

@patowen patowen force-pushed the how-to-play-docs branch from 44e03e3 to 6d81181 Compare March 6, 2026 01:22
@patowen patowen requested a review from Ralith March 6, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants