Le 2016-11-29 17:58, Solène Rapenne a écrit :
Hello,

I got the game "The Tales of Maj'Eyal" to work on OpenBSD.

It's a free/open-source game which is also could be paying to get "expansions" (if you look on Steam / GOG / Humble Bundle it costs a few € because this includes the expansion). Obviously, paid content is not provided in the port.

About the patches :

1. bootstrap/boot.lua and src/getself.c : the game needs to know where are the content files, on linux/FreeBSD/Windows/MAC it finds the location of the executable with /proc or some other magic. I hardcoded the path as it's not possible on OpenBSD. The path is ${GAMEDIR} and is substituted during at
do-configure.

2. premake4.lua : adding include and libs directories


I named it t-engine but it may be better to name it tome. T-engine is the name
of the engine but it comes with files to play ToME.

There is a version of the sources without musics, maybe this could be
interesting to have a FLAVOR with no_music to have a reduced file usage if
you don't want music.

- removed compile flags -O3 and -fomit-frame-pointer
- changed name of the binary and game directory from t-engine to tome
- added verbose build

Attachment: tome.tar.gz
Description: GNU Zip compressed data

Reply via email to