Installation
Download binaries from github
Binaries for both window and linux are available on the github page in the releases section.
Windows binaries have
winin their name and end with.zipsuffix.Linux banries have
linuxin their name and end with.tar.xzsuffix.
Use Online version
An online version is available that uses emscripten, the main difference is that for now it doesn’t allow you to save to disk or load from disk. and doesn’t have blocks that save to disk or load from disk.
Building from source on windows
You need to have visual studio with C++ compilation and python installed.
Clone the repo
git clone https://github.com/ahmed-AEK/Simple_Dynamic_SimulatorOpen the
x64 Native Tools Command Prompt for VS 2022from the stard menu andcdto the project rootGenerate the resrouce files with python using
python AssetsPacker/packer.pyGenerate cmake configuration using
cmake . --preset=vcpkg-win-relBuild the project using
camke --build build/Release_win, the output binary should be inbuild/Release_win/binsubdirectory namedDynamicSimulator.exe
Building from source on linux (Ubuntu 24)
The process is similar to windows, but you need at least gcc 12 for C++20 features, and you’ll need to install vcpkg yourself, along with its prequisites.
For example ubuntu ships a recent version of python. python3.7 is the least version that can build this application, so on other distros you’ll need to download python3.7 (or newer) using your package manager then run the build steps inside a venv. on an old centos i had to install autoconf and perl perl-IPC-Cmd and perl-open.noarch, generally follow the errors in the log file as they pop up, no errors should happen on ubuntu 24
Install vcpkg using their cmake instructions, you should have
VCPKG_ROOTpointing to where vcpkg is installed and it should also be on yourPATHso it can be called through the terminal.Install SDL3 linux dependencies, without them some things won’t work like opengl or wayland support.
Clone the repo
git clone https://github.com/ahmed-AEK/Simple_Dynamic_SimulatorGenerate the resrouce files with python using
python AssetsPacker/packer.pyMake sure jinja2 is installed with sudo apt install python3-jinja2
Generate cmake configuration using
cmake . --preset=vcpkg-linux-rel, on this step many errors could occur on other distros by unavailable dependencies, follow the error logs for now.Build the project using
camke --build build/Release_linux, the output binary should be inbuild/Release_linux/binsubdirectory namedDynamicSimulator