/Samogonki

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Moonshine Runners Community edition

Linux Windows

Original game: Moonshine Runners / Spanking Runners / Самогонки

Developer: LLC "KD VISION" (Kaliningrad) / (с) ООО "КД ВИЖЕН" (Калининград)

All source code except '3rdparty' folder are licensed under GPLv3. '3rdparty' libraries are licensed under original license of certain library. The game is compatible with original release from 1C.

Community in telegram: https://t.me/SamogonkiGame

Building

Look into buildscripts:

SDL 2

  1. Clone
git clone --depth 1 --branch release-2.26.5 https://github.com/libsdl-org/SDL.git SDL
  1. Configurate
cmake -B cmake-build-debug -DSDL_SHARED=0 -DSDL_STATIC=1 -DSDL_TEST=0 -DCMAKE_INSTALL_PREFIX=target-debug
  1. Build
cmake --build cmake-build-debug --target install
  1. Copy
mkdir 3rdparty/SDL-2.26.5
cp -r 3rdparty/SDL/target-debug/include 3rdparty/SDL-2.26.5/
cp -r 3rdparty/SDL/target-debug/lib 3rdparty/SDL-2.26.5/

FFmpeg

  1. Clone FFmpeg n4.3.6
git clone --depth 1 --branch n4.3.6 https://git.ffmpeg.org/ffmpeg.git ffmpeg
  1. Configurate
./configure
	--prefix=build
	--disable-programs
	--disable-doc
	--disable-avdevice
	--disable-avfilter
	--disable-network
	--disable-pixelutils
	--disable-everything
	--enable-decoder=pcm_s16le,mpc7
	--enable-demuxer=wav,mpc
	--enable-protocol=file
  1. Build and install
make
make install
  1. Copy
mkdir 3rdparty/FFmpeg-n4.3.6
cp -r 3rdparty/ffmpeg/build/include 3rdparty/FFmpeg-n4.3.6/
cp -r 3rdparty/ffmpeg/build/lib 3rdparty/FFmpeg-n4.3.6/

macOS

Download libjpeg-turbo and unpack it to 3rdparty/libjpeg-turbo folder.

How to run

Copy moonshine-runners binary into original folder of the game and run it. In case of unexpected problems try to unpack resource.pak and set resources=0 in game.ini.

Suppport

Feel free to open bug report on github or ask directly in game telegram channel