mirror of
https://github.com/ENSL/NS.git
synced 2025-02-01 21:51:03 +00:00
chore: debug instructions for macos
This commit is contained in:
parent
8b9d3d3b8b
commit
bd5f6513bc
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" gdb ./hl_linux r -game ns -dev -steam
|
|||
```
|
||||
Due to the new engine and the nature of Linux I had to make a lot of changes! You can find them with grep -Ril `@Linux`.
|
||||
|
||||
For MacOS & lldb:
|
||||
```
|
||||
DYLD_LIBRARY_PATH=".:$DYLD_LIBRARY_PATH" /Applications/Xcode.app/Contents/Developer/usr/bin/lldb -- ./hl_osx r -game ns -dev -steam -windowed
|
||||
```
|
||||
Have to use XCode's lldb to get around https://stackoverflow.com/a/33589760 (Lack of environment variables). `-windowed` as windowed mode makes it easier to deal with crashes on MacOS.
|
||||
|
||||
### Hosting a server
|
||||
|
||||
Since servers are really rare at this point in time here is a tutorial how to set up an [Natural Selection] server with [hlds].
|
||||
|
|
Loading…
Reference in a new issue