mirror of
https://github.com/Pinsplash/halflife2chaos.git
synced 2024-10-29 23:32:38 +01:00
Merge pull request #32 from acuifex/fix-linux-instructions
Fix linux build again again
This commit is contained in:
commit
e728fcb34b
@ -16,10 +16,11 @@ Copy the map files and paste them in `Steam/steamapps/sourcemods/hl2chaos/maps/`
|
||||
## Building from source for Linux
|
||||
No build enviroment setup required.
|
||||
1. `git clone https://github.com/Pinsplash/halflife2chaos`
|
||||
2. `cd halflife2chaos/sp`
|
||||
3. `./src/createallprojects` // TODO: this likely can be done with creategameprojects.
|
||||
4. `make -f ./src/everything.mak client_hl2 server_hl2`
|
||||
5. `mkdir ~/.steam/steam/steamapps/sourcemods/mod_hl2; sudo mount --bind $(pwd)/game/mod_hl2 ~/.steam/steam/steamapps/sourcemods/mod_hl2` Note the use of the bind mount instead of a symbolic link. Steam won't detect symbolic links. You can use `mv` or `cp` instead, if you don't care.
|
||||
2. `cd halflife2chaos`
|
||||
3. `./sp/src/createallprojects` // TODO: this likely can be done with creategameprojects.
|
||||
4. `make -f ./sp/src/everything.mak client_hl2 server_hl2`
|
||||
5. `ln -s $(pwd)/sp/game/mod_hl2/bin ./sourcemods/hl2chaos/` Link bin directory from our build directory
|
||||
6. `mkdir ~/.steam/steam/steamapps/sourcemods/hl2chaos; sudo mount --bind $(pwd)/sourcemods/hl2chaos ~/.steam/steam/steamapps/sourcemods/hl2chaos` Note the use of the bind mount instead of a symbolic link. Steam won't detect symbolic links. You can use `mv` or `cp` instead, if you don't care.
|
||||
|
||||
Compiling for the episodes is an excercise for the reader. (Should be similar but with `mod_episodic`, `client_episodic` and `server_episodic`.)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user