You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- create *C:\Program Files\OpenAL 1.1 SDK\include\AL* and copy all files from *C:\Program Files\OpenAL 1.1 SDK\include*
27
20
28
-
In Visual Studio add to your include-paths:
21
+
Below is described how to install and set them up.
29
22
30
-
-*...\libvorbis-1.3.1\include*
31
-
-*...\libogg-1.2.0\include*
32
-
-*C:\Program Files\OpenAL 1.1 SDK\include*
33
-
-*...\SDL-1.2.14_VC8\include*
34
-
-*...\SDL_mixer-1.2.11\include*
23
+
## CMake
35
24
36
-
In Visual Studio add to your library-paths:
25
+
CMake is used for building Freegish and can be downloaded from [here](https://cmake.org/download/). Make sure to use the installer and select "Add CMake to system PATH" during installation.
Installing Visual Studio installs the IDE, compiler and some other tools required to build Freegish. Get the community version installer from [here](https://visualstudio.microsoft.com/)and install the workload "Desktop development with C++" with it.
46
30
47
-
You will need the following files to be present:
31
+
## vcpkg
48
32
49
-
- OpenAL32.dll
50
-
- SDL.DLL
33
+
vcpkg is a package manager for C and C++ which allows the libraries used to be installed. Installation instructions can be found [https://vcpkg.io/en/getting-started.html]. This README assumes that vcpkg is installed in `C:\vcpkg`.
34
+
35
+
Then install the required package with the following command:
After that copy the content of the Release directory to the freegish directory. To start the game run freegish.exe
49
+
50
+
51
+
## Using Visual Studio
52
+
53
+
To get Freegish developing going in Visual Studio, a project file needs to be generated. This can be done with the following commands in a terminal opened in the directory in which Freegish is cloned:
54
+
55
+
cmake -DCMAKE_TOOLCHAIN_FILE=E:\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows -G "Visual Studio 17 2022" .
56
+
57
+
Then open FreeGish.sln with Visual Studio.
58
+
59
+
Before being able to run from Visual Studio, the debug configuration has to be set. To do this, press the small arror down next to the run button with "Local Windows Debugger" next to it on the screen, then pick "All_BUILD Debug Properties". Set "Output Directory" to `$(SolutionDir)` and "Target Name" to `Debug/freegish.exe` like in this image:
60
+
61
+

62
+
63
+
Now you just just start debugging like normal by pressing the run button or F5.
51
64
52
65
# How to play
53
66
54
-
Simply run `./gish` or `gish.exe`. There are some assets included (codenamed the *FreeGish* project), making Gish a completely free game! There is also one level available, `freegish.lvl`, you'll find it under "Custom Levels". Try it and replace what you don't like.
67
+
Simply run `./gish` or `gish.exe`. There are some assets included (codenamed the *FreeGish* project), making Gish a completely free game!
55
68
56
69
If you own the original assets, you may also copy those into this directory. You'll need:
0 commit comments