Turn based role-playing game for real mode DOS. Currently in development... kinda.
This file is intended for development purposes, if isn't your case please check:
- Game website at: baalex.itch.io/tanakas-magical-business
- Distributable readme in: /resources/distributable-readme.txt
Install sdl2
and cmake
:
- In Ubuntu with:
apt install libsdl2-dev
- Using
vcpkg
the same in Windows:vcpkg install sdl2:x64-windows
- Other platforms should work in a similar fashion.
Finally clone and compile the repository with:
git clone https://github.com/baAlex/Sakurai.git sakurai
cd sakurai
git submodule init
git submodule update
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build . --config Debug
For a release build the same procedure as above except for:
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config Release
The compilation requires a modern platform, a Posix compatible OS, gcc-ia16-elf
and fasm
.
- In Ubuntu you can install them with:
apt install gcc-ia16-elf fasm
- Other platforms should work in a similar fashion.
A bash script covers the process, run:
./resources/compile-dos.sh
Is not an elegant process since the engine is written in Assembly and the game code in C, on top of that it compiles for real mode in a medium memory model. No extender will save us :(.
Only ruby
is required. The same assets works for both modern platforms and DOS.
A ruby script covers the process:
ruby ./resources/compile-assets.rb
Copyright (c) 2020 Alexander Brandt.
Source code under MIT License.
Files in folders "assets" and "assets-dev" distributed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License. For more information see https://creativecommons.org/licenses/by-nc-sa/4.0/.