Wednesday, August 29, 2018

New: games/weidu - a program to manage modifications for Infinity Engine (GemRB) games

Hi,

This is a new port of WeiDU, a tool to manage modifications for Infinity Engine
games which for OpenBSD is essentially all that run with the gemrb port. Main
use case is likely installation of the widescreen mod for those games with
weinstill. This is outlined as an example in the README. It also allows patching
these games with weidu.

This port has been a little more on the complicated side: It requires elkhound
for building. elkhound doesn't seem to have a lot of use cases from what I've
heard and upstream has been pretty much inactive for about 10 years. Therefore,
I added elkhound as a subdir in the tarball that creates the binary just for
building weidu, as opposed to creating a separate elkhound port. Then that
binary is used for the build process, but not installed.

Compilation:
- contains do-build which just builds elkhound first and weidu second.
- elkhound has a lot of hardcoded g++. Changed to c++ with sed. Also needs
cc/c++ hardcoded in a few Makefile.in
- Several hardcoded -O2 replaced with CFLAGS in elkhound. Not sure if this may
have been a waste of time given that it's only used during the build...

Tests and functionality:
- Tested all 3 binaries.
- weidu tested to successfully decompile a .dlg file and compile a .d file
- weinstall tested with installing widescreen mod with Baldur's Gate 1&2 and
Planescape: Torment
- Comes with a binary 'tolower' that converts all filenames in the directory
to lower case recursively.

Package and hosting:
- elkhound is not installed (only needed for building).
- Includes a README with installation of widescreen mod as example (this will
most likely be the most common use case)
- Can someone host the tarball for me again?

ok?

No comments:

Post a Comment