Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
/ Sakurai Public archive

JRPG for real mode DOS (and modern platforms). A Jam prototype published as «Tanaka's magical business».

License

Notifications You must be signed in to change notification settings

baAlex/Sakurai

Repository files navigation

Sakurai

Ubuntu CI Windows CI

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:

Compilation

Modern platforms

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

DOS

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 :(.

Assets

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

License

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/.