From: LegendaryGuard Date: Sun, 14 Nov 2021 19:58:46 +0000 (+0000) Subject: Add execute script instructions X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b923b1a024cfe6f529864dc527d80820dda839ba;p=xonotic%2Fxonotic.wiki.git Add execute script instructions --- diff --git a/SMB-modpack.md b/SMB-modpack.md index f7a472a..644394b 100644 --- a/SMB-modpack.md +++ b/SMB-modpack.md @@ -1,6 +1,6 @@ **[SMB modpack](https://github.com/MarioSMB/modpack)** project developed by **[Mario](https://github.com/MarioSMB)**. -The modpack build works using a submodule from '_xonotic-dat.pk3dir_' from the official gamelogic development repository. +The modpack build works using a submodule from '_xonotic-data.pk3dir_' from the official gamelogic development repository. Uses **update.sh** and **build.sh** shell script files. @@ -26,6 +26,12 @@ Inside '_update.sh_', there is a line: Means that when you use '_update.sh_' with this line, the submodule content will be downloaded in your local computer where you've cloned the modpack repository. +To run '_update.sh_' script, execute: + +`./update.sh` + +*Note:* you can execute via absolute path. + ### Commit with submodule Additionally, after done `git submodule update --remote --merge`, if you want to commit: @@ -42,4 +48,10 @@ Additionally, after done `git submodule update --remote --merge`, if you want to '_build.sh_' compiles all repository code using gmqcc if already downloaded from '_update.sh_', looks inside '_mod_' folder the similar contents of '_xonotic-data.pk3dir/qcsrc_' where there are: '_client_', '_common_', '_menu_' and '_server_' folders. -What this does is relate the directory path to the submodule '_xonotic_' directory inside the '_qcsrc_' folder. Thanks to this, makes possible to look at the '_mod_' folder having to relate the submodule directory '_xonotic/qcsrc_'. \ No newline at end of file +What this does is relate the directory path to the submodule '_xonotic_' directory inside the '_qcsrc_' folder. Thanks to this, makes possible to look at the '_mod_' folder having to relate the submodule directory '_xonotic/qcsrc_'. + +To run '_build.sh_' script, execute: + +`./build.sh` + +*Note:* you can run via absolute path. \ No newline at end of file