Skip to content

imp5imp5/dasbox

Repository files navigation

dasbox

Build for Windows Build status

Install Visual Studio 2017 or 2019
Install CMake https://cmake.org/install/
git clone --recurse-submodules https://github.com/imp5imp5/dasbox.git
cd dasbox
build_windows_vs_*.bat

Build for Linux (tested only on Ubuntu) Build status

sudo apt update
sudo apt install g++ make

update CMake (3.21.3 or newer version required) https://cmake.org/install/

sudo apt install libudev-dev libasound2-dev libpulse-dev libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libxrandr-dev libxcursor-dev libfreetype-dev

git clone --recurse-submodules https://github.com/imp5imp5/dasbox.git
cd dasbox
./build_linux.sh

How to use

Run your application:

dasbox.exe <path_to_application_folder/file_name.das>

Optional comand line arguments:

--dasbox-console - duplicate output to console ('--' is also acceptable)
--trust - allow access to any file on this computer
--disable-auto-upscale - disabling automatic zooming, by default the window will be zoomed in 2 times, if the window is 2.5 times less than the desktop resolution
--use-debug-trap - cause the native code debugger to break on script breakpoint
--disable-gc - disable garbage collection

Once the application is running, all the sources ('file_name.das' and all the sources requested from it) will be checked for changes and automatically reloaded.
The current directory will change to 'path_to_application_folder'. For security reasons access to parent directories from within the script will be forbidden.

F5 or Ctrl+R - reload sources in the manual mode
Ctrl+F5 or Ctrl+Alt+R - hard reload, ECS will be reloaded too
Tab - switch to the logging screen and back

In the log screen your application will be paused.

Controls in the log screen:

Up, Down, Ctrl+Up, Ctrl+Down, PgUp, PgDown, Mouse Scroll - scroll log
Left Mouse Button - text selection
Ctrl+C - copy to clipboard

More to read and watch