This repository was archived by the owner on Dec 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
New build scripts #53
Open
DEATHB4DEFEAT
wants to merge
7
commits into
master
Choose a base branch
from
new-build-scripts
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
de6c4ef
bat
DEATHB4DEFEAT f8034fc
config
DEATHB4DEFEAT 90ae36c
shell
DEATHB4DEFEAT caa7d0a
Tweaked READMEs
Pspritechologist 42dad9d
Updated Readme, fixed configs
Pspritechologist 8b47b17
Linux Scripts Unfucking
CharcoalGungan 8204474
Merge branch 'master' into new-build-scripts
Pspritechologist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| buildAllDebug | ||
| Builds all projects with debug configuration | ||
| buildAllRelease | ||
| Builds all projects with release configuration | ||
|
|
||
| configDev | ||
| Sets the game server config for development | ||
| configMap | ||
| Sets the game server config for mapping | ||
| configServer | ||
| Sets the game server config to match the actual server | ||
|
|
||
| runBuildAll | ||
| Builds the client and server then runs them | ||
|
|
||
| runQuickAll | ||
| Runs the client and server without building | ||
| runQuickClient | ||
| Runs the client without building | ||
| runQuickServer | ||
| Runs the server without building | ||
|
|
||
|
|
||
| A quick explanation on the variations of files. | ||
|
|
||
| The debug vs release build is simply what people dev in vs the actual server. The release build contains various | ||
| optimizations, while the debug build contains debugging tools. | ||
| If you're mapping, use the release build as it will run smoother. | ||
|
|
||
| The Server config file simply matches the actual server, while the other two have some cvar tweaks that come in | ||
| handy for their specific tasks. | ||
| Essentially only saves you some commands when you load in, but very convenient none the less. |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| @echo off | ||
| copy runconfigdev.toml server_config.toml | ||
| copy ../config/configDev.toml server_config.toml | ||
| move server_config.toml ../../bin/Content.Server/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| @echo off | ||
| copy runconfigmap.toml server_config.toml | ||
| copy ../config/configMap.toml server_config.toml | ||
| move server_config.toml ../../bin/Content.Server/ |
2 changes: 1 addition & 1 deletion
2
Scripts/bat/run2configServer.bat → Scripts/bat/configServer.bat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| @echo off | ||
| copy runconfigserver.toml server_config.toml | ||
| copy ../config/configServer.toml server_config.toml | ||
| move server_config.toml ../../bin/Content.Server/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| start runBuildServer.bat %* | ||
| start runBuildClient.bat %* | ||
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| cd ../../ | ||
| call dotnet run --project Content.Client %* | ||
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| cd ../../ | ||
| call dotnet run --project Content.Server %* | ||
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| start runQuickServer.bat %* | ||
| start runQuickClient.bat %* | ||
| exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| cd ../../ | ||
| call dotnet run --project Content.Client --no-build %* | ||
| pause |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| cd ../../ | ||
| call dotnet run --project Content.Server --no-build %* | ||
| pause |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| buildAllDebug | ||
| Builds all projects with debug configuration | ||
| buildAllRelease | ||
| Builds all projects with release configuration | ||
|
|
||
| configDev | ||
| Sets the game server config for development | ||
| configMap | ||
| Sets the game server config for mapping | ||
| configServer | ||
| Sets the game server config to match the actual server | ||
|
|
||
| runBuildAll | ||
| Builds the client and server then runs them | ||
|
|
||
| runQuickAll | ||
| Runs the client and server without building | ||
| runQuickClient | ||
| Runs the client without building | ||
| runQuickServer | ||
| Runs the server without building | ||
|
|
||
|
|
||
| A quick explanation on the variations of files. | ||
|
|
||
| The debug vs release build is simply what people dev in vs the actual server. The release build contains various | ||
| optimizations, while the debug build contains debugging tools. | ||
| If you're mapping, use the release build as it will run smoother. | ||
|
|
||
| The Server config file simply matches the actual server, while the other two have some cvar tweaks that come in | ||
| handy for their specific tasks. | ||
| Essentially only saves you some commands when you load in, but very convenient none the less. |
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/usr/bin/env sh | ||
|
|
||
| # make sure to start from script dir | ||
| if [ "$(dirname $0)" != "." ]; then | ||
| cd "$(dirname $0)" | ||
| fi | ||
|
|
||
| cp ../config/configMap.toml ../../bin/Content.Server/server_config.toml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/usr/bin/env sh | ||
|
|
||
| # make sure to start from script dir | ||
| if [ "$(dirname $0)" != "." ]; then | ||
| cd "$(dirname $0)" | ||
| fi | ||
|
|
||
| cp ../config/configServer.toml ../../bin/Content.Server/server_config.toml |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| #!/usr/bin/env sh | ||
|
|
||
| # make sure to start from script dir | ||
| if [ "$(dirname $0)" != "." ]; then | ||
| cd "$(dirname $0)" | ||
| fi | ||
|
|
||
| echo "will run both server and client in the same terminal so will give you both outputs at once" | ||
| echo "dont mind fatl error relating to port 1212 does not seem to change anything" | ||
|
|
||
| cd ../../ | ||
|
|
||
| dotnet build -c debug | ||
|
|
||
| cd ./Scripts/sh | ||
|
|
||
| sh -e runQuickServer.sh & | ||
| sh -e runQuickClient.sh | ||
|
|
||
| exit | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we get this retested to make sure it wasn't just like, a single time thing? I really have doubts that this is a real issue.