Posted August 12, 2023
Bug report: 4.0.1 does not launch. It fails as follows:
[code]
draeath@muspelheimr:/opt/draeath/GOG Games/Barony> ./start.sh
Running Barony
[00-16-25] Data path is ./
[00-16-25] Data path is ./
[00-16-25] Output path is /home/draeath/.barony
[00-16-25] Output path is /home/draeath/.barony
[00-16-25] error: unable to locate language file: 'lang/en.txt'
[00-16-25] Fatal error: failed to load default language file!
draeath@muspelheimr:/opt/draeath/GOG Games/Barony> find . -xdev -type f -name en.txt
./game/Barony/lang/en.txt
[/code]
Fix is the following change:
[code]
--- start.sh.bak 2023-08-12 00:20:04.955900819 -0400
+++ start.sh 2023-08-12 00:20:13.212523870 -0400
@@ -15,9 +15,9 @@
# Actions
run_game() {
echo "Running ${GAME_NAME}"
-cd "${CURRENT_DIR}/game"
+cd "${CURRENT_DIR}/game/Barony"
chmod +x *
- ./"Barony/barony.x86_64"
+ ./"barony.x86_64"
}
default() {
[/code]
EDIT: wow, really? we don't have code tags? Sigh. Pastebin it is then: https://pastebin.com/QCtP4pdF
[code]
draeath@muspelheimr:/opt/draeath/GOG Games/Barony> ./start.sh
Running Barony
[00-16-25] Data path is ./
[00-16-25] Data path is ./
[00-16-25] Output path is /home/draeath/.barony
[00-16-25] Output path is /home/draeath/.barony
[00-16-25] error: unable to locate language file: 'lang/en.txt'
[00-16-25] Fatal error: failed to load default language file!
draeath@muspelheimr:/opt/draeath/GOG Games/Barony> find . -xdev -type f -name en.txt
./game/Barony/lang/en.txt
[/code]
Fix is the following change:
[code]
--- start.sh.bak 2023-08-12 00:20:04.955900819 -0400
+++ start.sh 2023-08-12 00:20:13.212523870 -0400
@@ -15,9 +15,9 @@
# Actions
run_game() {
echo "Running ${GAME_NAME}"
-cd "${CURRENT_DIR}/game"
+cd "${CURRENT_DIR}/game/Barony"
chmod +x *
- ./"Barony/barony.x86_64"
+ ./"barony.x86_64"
}
default() {
[/code]
EDIT: wow, really? we don't have code tags? Sigh. Pastebin it is then: https://pastebin.com/QCtP4pdF
Post edited August 12, 2023 by draeath