Index | Thread | Search

From:
Thomas Frohwein <tfrohwein@fastmail.com>
Subject:
Re: NEW: dosbox-staging, a useful fork of dosbox
To:
ports@openbsd.org
Date:
Sat, 28 Jun 2025 10:50:03 -0400

Download raw body.

Thread
On Fri, 27 Jun 2025 21:06:43 -0400
Thomas Frohwein <tfrohwein@fastmail.com> wrote:

> Hi,
> 
> dosbox-staging is a sane fork of dosbox that emphasizes sane defaults
> and code quality. It has advantages over both dosbox and dosbox-x in
> ports. Compared to dosbox-x, the window size and fullscreen defaults
> and implementation work a lot better on my cwm multi-monitor setup. In
> addition, several games that don't run on my Intel Core Ultra 7 155H
> with dosbox-x, like Master of Orion 2 and Pizza Connection work
> without a hitch with dosbox-staging. I tested a number of other games
> that worked well, including Blood, Colonization, Dungeon Keeper,
> Grand Theft Auto, Jagged Alliance, Worms United. Overall, I think
> this would be a good addition for higher quality emulation of DOS
> software.
> 
> The port itself is fairly straightforward. Binary name defaults to
> 'dosbox', which I'm changing to 'dosbox-staging' to avoid conflict
> with the other port. It defaults to dynamic core which uses "per page
> W^X" per configuration. As a result, there is no need for wxneeded.

That is actually not correct - upstream added wxneeded to linker flags
in meson.build [1], found by user sonya on #openbsd-gaming IRC on
libera.chat. It seems that removing this breaks a number of
protected-mode games. So I'm attaching a revision of dosbox-staging.tgz
that includes USE_WXNEEDED=Yes to make this explicit in the Makefile.

> It still needs nobtcfi though, at least for some protected mode
> games. Support for mt32emu MIDI emulation is disabled, but could be
> added later if we add the pertinent port.
> 
> The attachments are dosbox-staging itself and iir1, a required
> dependency for it.
> 
> ok's? comments?

iir1.tgz re-attached for convenience, but this one is unchanged from
the original email.

[1]
https://github.com/dosbox-staging/dosbox-staging/blob/main/meson.build#L271