diff options
author | Hop311 <Hop3114@gmail.com> | 2023-09-07 20:46:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 20:46:11 +0200 |
commit | 06816f3b7fd8dd7a2eba7031e0646c250077c96b (patch) | |
tree | cb6403a0b38e5f220695b99cb659a08d5f64c342 /README.md | |
parent | 5c739f1b001c144d3fffafc8fe2c0dbc580852c5 (diff) | |
parent | 24a075194cbd617d4e12e00d42835a5d787cee78 (diff) |
Merge pull request #152 from Rerum02/patch-1
Update README.md for Archlinux users
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -9,8 +9,8 @@ For detailed instructions, view the Contributor Quickstart Guide [here](docs/con * [scons](https://scons.org/) ## Repo Setup -1. Clone the OpenVic Repo to a suitable folder using the git command "git clone https://github.com/OpenVicProject/OpenVic.git" -2. Update the submodules by executing the git command "git submodule update --init --recursive" +1. Clone the OpenVic Repo to a suitable folder using the git command `git clone https://github.com/OpenVicProject/OpenVic.git` +2. Update the submodules by executing the git command `git submodule update --init --recursive` Note that using a zip download instead of cloning means a lot of work in manually managing submodules individually. It is strongly recommended to use git to obtain the source code. @@ -24,6 +24,17 @@ Note that using a zip download instead of cloning means a lot of work in manuall 5. Press "Import & Edit", wait for the Editor to finish re-importing assets, and then close the Editor ***without saving*** and reopen the project. 6. Once loaded, click the play button at the top right, and you should see and hear the game application open on the main menu. +## Build/Run Instructions for Archlinux (using yay) +1. Install [Godot 4.1.1](https://archlinux.org/packages/extra/x86_64/godot/) with `yay -S Godot` and [scons](https://archlinux.org/packages/extra/any/scons/) with ` yay -S scons`. +2. Clone the OpenVic Repo using the git command `git clone https://github.com/OpenVicProject/OpenVic.git`. +3. CD into the game directory with `cd ./OpenVic`. +4. Update the submodules by executing the git command `sudo git submodule update --init --recursive`. +5. While still in the game directory, run `scons`. +6. Now launch Godot 4, click import and navigate to `OpenVic` then to `game`. +7. Click `project.godot`. +5. Press "Import & Edit", wait for the Editor to finish re-importing assets, and then close the Editor ***without saving*** and reopen the project. +6. Once loaded, click the play button at the top right, and you should see and hear the game application open on the main menu. + ## Project Export 1. Build the extension with `scons` or `scons target=template_debug`. (or `scons target=template_release` for release) 2. Open `game/project.godot` with Godot 4. |