Downloads
At the present, there are no downloads for SGLThing.
System Requirements
These are subject to change
Minimum | Recommended |
---|---|
|
|
An Awesome Guide to Compiling SGLThing
- Clone the sglthing repository (https://github.com/floralrainfall/sglthing.git) or download the zip (https://github.com/floralrainfall/sglthing/archive/refs/heads/trunk.zip) of the SGLThing source.
- Make sure you have the correct libraries ready:
- libCURL (included in repo)
- CGLM (included in repo)
- glfw3 (included in repo)
- assimp (included in repo)
- glib-2.0
- PkgConfig (cmake requirement)
- libav (ffmpeg)
- OpenAL
- ODE (included in repo)
- Create a new directory,
build
. - Run
cmake ..
to generate the build files for SGLThing. - If all goes well, use the software for the build files generated by CMake. Examples are:
CMake Output Command Ninja (recommended with cmake -GNinja ..
)ninja
UNIX Makefiles make
(make -j{CORES}
for more performance)MinGW Makefiles mingw32-make
(mingw32-make -j{CORES}
for more performance)MSYS Makefiles make
(make -j{CORES}
for more performance), needs to be in a MSYS shellVisual Studio nn (worst choice) msbuild
using the developer tools for Visual Studio nn, or use the appropiate Visual Studio IDE.
WARNING: The C socket() libraries may not be available on Windows. The networking system requires the C socket() libraries. Windows is an unsupported operating system in general, so beware with compiling SGLThing for a Windows target.-G
argument (e.g.cmake -G "MSYS Makefiles" ..
will generate MSYS makefiles).
For example, if I had wanted to compile with Ninja files, I'd do (in the build directory)
which should leave a sglthing binary in the build directory.$ cmake -GNinja .. $ ninja
- Optionally, if you want to package up the SGLThing binary and potentially put it up on here (DM me about it), you need to
- Have the sglthing binary and the resources directory be in the same directory.
- Zip it.
Information
- SGLThing requires a
config_private.ini
file in your resources folder, or on the SGLThing path. It also requires to have a user_username and user_password set in a format like
This is to authenticate with the SGLAPI, for servers that require authentication.[sglthing] user_username=Your Username Here user_password=Your Password Here