This is a guide to install EDuke32 on OpenBSD at the right version to be able to play Ion Fury ##Instructions
EDuke32’s licence prevents it from being installed from pkg_add
but there is a port for it.
Download ports.tar.gz
from a mirror and extract it into /usr
# curl -O ${MIRROR}/pub/OpenBSD/6.6/ports.tar.gz
# doas tar zxf ports.tar.gz -C /usr
Fix the ownership and mode
# doas chgrp -R wsrc /usr/ports
# doas find /usr/ports -type d -exec chmod 755 {} \;
# doas find /usr/ports -type f -exec chmod 664 {} \;
Add the current user to the wsrc
group
# doas user mod -G wsrc $(id -u -n)
Re-login to apply new group
The version of EDuke32 in ports is very old however there is a patch
available on the openbsd-misc mailing list. The trick is to use the raw
version to avoid formatting issues in patch.
Save and apply EDuke32 patch
# curl "https://marc.info/?l=openbsd-misc&m=156628733132075&q=raw" | sed -n '32,$p' > eduke32.patch
# patch -b -d /usr/ports/games/eduke32 -p0 < eduke32.patch
Build EDuke32 as non-root
# (cd /usr/ports/games/eduke32 && make)
Install EDuke32 as root
# (cd /usr/ports/games/eduke32 && doas make install)
For Ion Fury to work with EDuke32 only the fury.grp
, fury.grpinfo
and fury.def
are required.
Place required files in a dir by themselves
# mkdir -p ~/games/ion_fury
# cp ${ION_FURY_DIR}/fury.{grp,grpinfo,def} ~/games/ion_fury/
Run EDuke32 in Ion Fury dir
# cd ~/games/ion_fury && eduke32
The data seg size
is too low and needs to be raised above 2GB.
The following command will last for the remaining session.
# ulimit -d 2097152