Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes after i step on the village icon at the beginning at the first island #166

Open
chriszaro opened this issue Apr 21, 2024 · 1 comment

Comments

@chriszaro
Copy link

chriszaro commented Apr 21, 2024

Game crashes after i step on the village icon on the beginning
and the messages on cmd are the following

DEBUG: Invalid glyph index: 0
DEBUG: Could not parse script C:/Users/Battlestation/kq-fork\scripts\town1.lua!
DEBUG: Script error

Any help?

The installation process i followed:

I installed Visual Studio with all the components listed here
so I could run the following commands on git bash

git clone https://github.com/microsoft/vcpkg
.\vcpkg\bootstrap-vcpkg.bat
.\vcpkg\vcpkg install --triplet=x64-windows libpng lua sdl2 sdl2-mixer tinyxml2 zlib
.\vcpkg\vcpkg integrate install

After everything were installed

I cloned the kq-fork repo
I installed cmake

but when i tried cmake -S . -B build/ -DKQ_DATADIR="$PWD"
i got messages that it couldnt find the libraries i installed.
So after a lot of troubleshooting i used
include("C:/Users/Battlestation/kq-fork/vcpkg/scripts/buildsystems/vcpkg.cmake") in CMakeList.txt

and finally run
cmake -S . -B build/ -DKQ_DATADIR="."
and
cmake --build build/

I run the .exe

@chriszaro chriszaro changed the title Game crashes after i step on the village icon on the beginning Game crashes after i step on the village icon at the beginning at the first island Apr 21, 2024
@chriszaro
Copy link
Author

chriszaro commented Apr 22, 2024

If I use $PWD instead of . dot , i get
image
which i don't understand because i don't understand the difference between $PWD and dot .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@chriszaro and others