• R/O
  • HTTP
  • SSH
  • HTTPS

rulp: Source Tree


Name 크기 Rev. Time Author Log Message
geometry
graphics
gui
layers
media
render
.gitignore 78 29b3ae2 2023-07-08 22:50:11 Giulio De Stasio bugfix: clean the screen when the pro...
LICENCE 31.71 k 1765755 2022-11-04 16:12:12 Giulio De Stasio Initial commit
Makefile 1.17 k a62053b 2023-06-01 04:40:53 Giulio De Stasio README, Makefile: correction for rulp...
README 2.21 k a62053b 2023-06-01 04:40:53 Giulio De Stasio README, Makefile: correction for rulp...
core.lisp 5.67 k f4f51b6 2023-06-01 04:37:05 Giulio De Stasio correcting input and rulp main loop
data.lisp 2.69 k f4f51b6 2023-06-01 04:37:05 Giulio De Stasio correcting input and rulp main loop
package.lisp 60 f4f51b6 2023-06-01 04:37:05 Giulio De Stasio correcting input and rulp main loop
parameters.lisp 1.55 k f4f51b6 2023-06-01 04:37:05 Giulio De Stasio correcting input and rulp main loop
rulp.asd 2.56 k ca25f48 2023-07-09 20:41:30 Giulio De Stasio FIX: entities under flyweight
rulp.desktop 273 2c8c31c 2023-01-09 06:17:50 Giulio De Stasio core.lisp: created cli interface and ...
script.lisp 1.43 k f4f51b6 2023-06-01 04:37:05 Giulio De Stasio correcting input and rulp main loop
start.lisp 50 9972024 2023-01-16 18:49:00 Giulio De Stasio inputs.lisp: better input system for ...

README

# RULP: Ru*** roLeplay Playground

It is a virtual board for roleplay games, it display a table
with a grid to simulate battles and scenaries. It include
an editor to create your own map and events.

## Install on Linux

The software is released as binaries on the osdn page in both appimage
with dependencies and rpm/deb. This software uses raylib, tcl and tk to
run.

If you want to compile, be aware that this software is
developed with Common Lisp and it is tested and deployed with
the "Steel Bank Common Lisp" (sbcl), but it can work
with other implementations such as GNU clisp or Clozure Common Lisp.

* sbcl (or clisp, or ccl)

Also the software uses sdl2 and ltk libraries for display graphics.

* sdl2-devel
* sdl2_image-devel
* tcl
* tk
* quicklisp

To compile you can use buildapp or just do with asdf. To compile with
buildapp you just need to use the makefile

$ make
# make install

Or if you don't use buildapp you can use the asdf tools for that:

$ cd /path/to/sources
$ sbcl --load rulp.asd
* (require :rulp)
* (asdf:make :rulp)

Then use CTRL+D to exit console.

## Install on Windows

To compile on windows you need sbcl and the dlls SDL2.dll,
SDL2-image.dll and SDL2-ttf.dll.

First you can install sbcl from the website or with chocolatey
with

# choco install sbcl

(here the # indicate that you use administrator powershell).

The dlls can be downloaded from the sdl2, sdl2-image and sdl2-ttf
github pages selecting the win32-x64 version. The dlls should
be copied in the rulp folders.

also you need to download the libffi sources and copy the ffi.h and
ffi-target.h files for later use.

Start sbcl on your folder and install quicklisp as written on
the website beta.quicklisp.org.

With quicklisp installed, use the commands

* (ql:quickload "clingon")
* (ql:quickload "sdl2")
* (ql:quickload "sdl2-image")
* (ql:quickload "sdl2-ttf")

sdl2-ttf should fail because it misses the ffi.h files. These files
need to be placed into
quicklisp\dists\quicklisp\software\libffi[whatever version]\
and retry the last command.

Now you should be able to start and compile rulp. Without using
the makefile just execute

> sbcl --load "rulp.asd" --eval "(progn (require :rulp) (asdf:make :rulp))"

The sbcl.exe executable should in the folder.
Show on old repository browser