Let's port Diablo to SerenityOS!

Channel:Andreas Kling · Length:1:19:39 · Published:2021-03-05 · Views:82300

Watch on YouTube

Summary

Andreas Kling ports the game Diablo to SerenityOS, his from-scratch Unix-like operating system, using the devilutionX project. The roughly 80-minute session shows what porting third-party software to the OS involves.

Why HN recommends it

HN commenters recommend it as a demonstration of SerenityOS's hackability and fast iteration across all layers of the system.

the video on porting Diablo to SerenityOS in an hour is pretty interesting to watch — HN, 2021

C, C++, Rust, Go & systems languages · Software practice, open source & careers · Operating systems & kernels

Subtitles (excerpt)

well hello friends welcome back to the program today we are gonna have some fun so um when i was a kid one of my favorite games on the pc was diablo i played diablo for hours and hours and hours and i recently learned that some people have reverse engineered the original diablo executable and recreated it as an open source project and um they've ported it to all kinds of platforms already as you can see here and it's called um devolutionx or divolution x and i figured today we are going to get this thing running on serenity so um basically how to play is that you download the thing or build from source so that's us and then we need a mpq file from the original cd uh which i have already prepared and then [Music] we just need to install some sdl and sdl add-ons and then we should be able to run the thing now it's probably not quite that easy but we'll see um we have sdl-2 but we don't have sdl-2 mixer or stl-2 ttf so we're gonna have to port these um but i figured we'll just we'll just start by checking out the code and um we can build it on linux to see how that works and um then we will try to build it for serenity and and get it going so um it looks like a cmec project which is convenient for us because we already use cmake so

On Hacker News

Maybe, but I've not seen anyone iteratively make changes to all layers of the OS and get instant feedback as Andreas frequently does. The Diablo port is a good example of this, whether it's missing C++ APIs, unsupported lang features, missing SDL port impl, toggling kernel features - it all gets done in a 1hr sit down session to produce a shiny new Diablo port. [VIDEO] Another nice quality of Ser… — mythz, 2022-02
One of SerenityOS goals I find as its most compelling USP is that it aims to be a "pure" OS free of any 3rd Party libs/binaries so that everything is in the project source tree and nothing needs to rely on or sync with any other upstream project, resulting in anyone can always fix & test any issue or add any feature immediately. A good highlight of this is in the Diablo port to SerenityOS: [VIDEO… — mythz, 2021-10
Thrilled Andreas has managed to receive enough community support to be able to take this big step and is able to focus on Serenity OS fulltime. SerenityOS is an inspiring from scratch grassroots OS effort which plans to build the entire POSIX OS, Kernel and core Apps from scratch, one of the Apps their is their LibWeb browser engine complete with their own LibJS JS VM which already passes the ECM… — mythz, 2021-05
Haven't heard of this project till seeing this post. Checked out his youtube channel and the video on porting Diablo to SerenityOS in an hour is pretty interesting to watch if you've ever wondered what its like to port software. [VIDEO] — arduinomancer, 2021-05
Not sure what your source for ”doesn’t support 3rd party software” is, so it’s unclear what that actually means, but there are numerous examples on Andreas’ YouTube channel about porting software to Serenity, e.g. Diablo [1]. Maybe the text you read refers to the OS itself and all first party software being written without external dependencies? [1] [VIDEO] — maybevain, 2022-11

Related videos