aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/README.md b/README.md
index 350f486..78d9eb1 100644
--- a/README.md
+++ b/README.md
@@ -14,12 +14,18 @@ Main Repo for the OpenVic2 Project
## Project Export
1. Build the extension with `scons` or `scons target=template_debug`. (or `scons target=template_release` for release)
-1. Open `game/project.godot` with Godot 4 Beta 14.
-2. Click `Project` at the top left, click `Export`.
-3. If you do not have the templates, you must download the templates, there is highlighted white text at the bottom of the Export subwindow that opens up the template manager for you to download.
-4. Click `Export All`:
+2. Open `game/project.godot` with Godot 4 Beta 14.
+3. Click `Project` at the top left, click `Export`.
+4. If you do not have the templates, you must download the templates, there is highlighted white text at the bottom of the Export subwindow that opens up the template manager for you to download.
+5. Click `Export All`:
* If you built with the default or debug target you must export with `Debug`.
* If you built with the release target you must export `Release`.
-5. Files will be found in platform specific directories in `game/export`:
+6. Files will be found in platform specific directories in `game/export`:
* On Windows run `game/export/Windows/OpenVic2.exe`.
* On Linux x86_64 run `game/export/Linux-x86_64/OpenVic2.sh`.
+
+## Extension Debugging
+1. If in a clean build, build the extension with `scons`.
+2. Build with `scons dev_build=yes`.
+3. [Setup your IDE](https://godotengine.org/qa/108346/how-can-i-debug-runtime-errors-of-native-library-in-godot) so your Command/Host/Launching App is your Godot 4 binary and the Working Directory is the `game` directory.
+4. Start the debugger.