Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaged with Nix #406

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Packaged with Nix #406

wants to merge 5 commits into from

Conversation

dot-file
Copy link

@dot-file dot-file commented Dec 26, 2024

I packaged the engine itself and made a wrapper script* for it to be able to install and play Half-Life 2 on your personal computer. And I created a dev shell that allows to build the engine for other computers\platforms.

I also changed wscript to make build flags customizable.

I would like to write the instructions for the wiki, but I don't really know how to contribute to it.

*the script merges the engine files at /nix/store and resource files (hl2/, platform/) in a tmp directory through symlinks so you don't need to copy anything. Just put the resource files at $HOME/hl2 or make a config file at $HOME/.config/hl2/config with 'resource_path=[your custom path]'. You can then launch the game through the system app menu or with 'hl2' in the terminal.

EDIT: tl;dr put hl2/ and platfom/ folders which you can get from the Steam version in $HOME/hl2 and run 'nix run github:dot-file/source-engine'

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