aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author Rerum02 <105669177+Rerum02@users.noreply.github.com>2023-08-27 03:12:18 +0200
committer GitHub <noreply@github.com>2023-08-27 03:12:18 +0200
commit24a075194cbd617d4e12e00d42835a5d787cee78 (patch)
treeb2d665e9218fe4cb94fb6251ad199bc70212dc8e /README.md
parent9385ce7791ab408ad39e7ef2b208b9fab8182361 (diff)
Update README.md for Archlinux users
Instructions are made to be easy to follow so that one can install and set up OpenVic, for Arch based distribution.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index c0299e2..2f93ebe 100644
--- a/README.md
+++ b/README.md
@@ -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.