Back in May I started work on a project to make ADRIFT games playable on macOS and Linux. The project was quickly put on the back burner when COVID cases in Germany plummeted and I suddenly had a life outside of the internet again, so it’s still a bit basic – graphics and sound are conspicuously absent – but since we have an ADRIFT entry in ParserComp I figured I’d push this development version out right now.
As you can see, text effects (bold, italic, underline, color, and size) are all working.
ADRIFT 5 is a .NET application, written in Visual Basic. Since .NET is cross-platform now, porting was mostly a matter of tearing out the Windows-only UI code (WinForms/Infragistics) and redoing the UI using a cross-platform library (Eto.Forms). That’s how I came up with the name: the application is a sort of “Frankenstein’s Monster” consisting of the original Runner logic code with a new UI layer stapled on top, using a healthy helping of ‘glue code’ to make an API that is compatible with how the original Runner interacts with its frontend.
FrankenDrift currently lives in a temporary home on my site. I intend to put up a GitHub repo eventually.
The link above has a
.dmg download containing a self-contained
.app. (“Self-contained” meaning that the .NET runtime and all libraries are included.) Simply download, place the
.app in your Applications directory, and run (you’ll probably need to right-click and select “Open” from the context menu to appease Gatekeeper – I don’t have a way to sign these at the moment.)
Due to the plethora of distros out there, I don’t have similarly convenient bundles available for Linux. But it’s easy enough to build from source.
- Install the .NET 5.0 SDK. Instructions for most popular distros are available in Microsoft’s documentation.
- Download the source ZIP from the above link and extract it somewhere.
- Open a terminal and navigate to the frontend’s source directory:
$ cd path/to/frankendrift/FrankenDrift.Runner
- Download dependencies:
$ dotnet restore
- Build and run:
$ dotnet run
While it’s certainly possible to use FrankenDrift on Windows, you should really just download the official ADRIFT 5 Runner instead. If you really must, you can build FD on Windows using much the same procedure that I laid out for Linux.
The following features are known not to work:
- font changing
- setting the default text font/size/color
- save/restore menu entries (typing
restoreon the prompt works, though).
That means: If you’re using FrankenDrift you may not be getting the full experience in the games you’re playing! Please don’t judge a game’s presentation based on how it appears in this crutch of an interpreter!
If you run into issues that aren’t related to missing features, please drop me a note and I’ll see what I can do (no promises though).