pouët.net

Go to bottom

"For its 32nd anniversary the legendary PC demo 'Second Reality' got an official 32 bit Windows port..."

category: general [glöplog]
https://mastodon.social/@dosnostalgic/114956347426820871

Nice. I guess another 32 years for a 64-bit port. ;)
added on the 2025-08-02 21:22:04 by AntDude AntDude
The 8-bit port came on the 4th anniversary. They should've waited until 2001. :(
added on the 2025-08-02 22:00:21 by tomcatmwi tomcatmwi
For the record: from the announcement at Assembly 2025, I assumed this was done by either Future Crew or the Assembly organizing team, but the GitHub credits Gargaj and Saga Musix? If you guys did this, I feel it should have been mentioned at the official showing! Thank you for making it easy to run this piece of scene history!
added on the 2025-08-02 22:23:26 by Seven Seven
The text screen shown before included a mention of conspiracy,
but yes it wasn't really well credited at the party place.
Good work gentlemen!
added on the 2025-08-02 23:29:00 by rc55 rc55
Quote:
The text screen shown before included a mention of conspiracy

We made the slide, not the orgas (thanks for the chance, love you <3), but we wanted to keep the focus on the demo and the original authors.
added on the 2025-08-03 03:05:55 by Gargaj Gargaj
Oneliner jokes aside, this was a real nice surprise to see after the demo compo.
Thank you Gargaj and Saga Musix! Based on the commit history, looks like this was a lot of work. The demo also runs great on Linux via Wine after I got it started (the command line menu didn't show up so I just pressed enter blindly). 32-bit WinAPI is the only truly stable desktop platform :)
added on the 2025-08-03 10:17:26 by cce cce
As much as I am bored with this particular demo, the porting work is nothing short of astounding. I've been reading the code and enjoying that a lot too.
added on the 2025-08-03 10:56:19 by Preacher Preacher
It was a really cool experience to see this at Assembly in person, at a dedicated stage area, among a packed audience. I appreciated the fact that the entire thing was shown, including the very long credits and greets scroller at the end which can now be seen as an important historical record.
added on the 2025-08-03 14:38:48 by fizzer fizzer
This really was the cherry on top for the delicious Oldskool Compo. Thanks. Porting a DOS demo to Win32 is not trivial, I imagine. Now I wonder how easy it would be to replace Win32 and Direct*-API in this port with SDL, and make it compile and run on everything ranging from Raspberry Pi, handheld consoles and desktop Linux/BSD...?
added on the 2025-08-03 15:23:00 by luutifa luutifa
Quote:
Now I wonder how easy it would be to replace Win32 and Direct*-API in this port with SDL, and make it compile and run on everything ranging from Raspberry Pi, handheld consoles and desktop Linux/BSD...?

That's the plan, yes; stay tuned :)
added on the 2025-08-03 15:25:31 by Gargaj Gargaj
I should add that 80% of the code is still in x86 assembly, so crossplatform porting isn't trivial; we'll need to unify everything into C for that - which will obviously make it less "authentic", so it'll be done as a separate project.
added on the 2025-08-03 15:31:31 by Gargaj Gargaj
Quote:
which will obviously make it less "authentic"

Is that why the assembly code was converted to 32-bit instead of 64-bit as well, or were there technical reasons?
added on the 2025-08-03 15:50:49 by absence absence
That was more just because 16->32 is a smaller jump, and it suited the purpose (= being able to watch SR on Windows) well enough. There isn't a lot of pointer magic in the code, but there is _some_ that will need converting.
added on the 2025-08-03 15:54:15 by Gargaj Gargaj
Quote:
Based on the commit history, looks like this was a lot of work.

Quote:
Porting a DOS demo to Win32 is not trivial, I imagine.

I learned more about Second Reality than I ever thought was possible.
added on the 2025-08-03 16:12:24 by Gargaj Gargaj
You could write a book about it, in the same vein as Fabien Sanglard's books.
added on the 2025-08-03 17:16:23 by fizzer fizzer
didnt some guy already do that based on the original sources?
added on the 2025-08-03 19:24:14 by el mal el mal
yes, the "some guy" is who fizzer literally just mentioned: https://fabiensanglard.net/second_reality/
added on the 2025-08-03 19:49:30 by Gargaj Gargaj
yeah i associated him with the doom book not 2ndreal :P
added on the 2025-08-03 19:59:29 by el mal el mal
Between all the YouTube captures and DOS emulators, it's easy to watch 2ndreal anytime we want, but to run it from desktop/cmd box again is still a surreal experience. It would be nice to have a 4:3 aspect option though. Also needs an option to crash 5 seconds into the dot fountain part for a genuine viewing experience. ;)
added on the 2025-08-04 00:17:14 by phoenix phoenix
Stupid GitHub's language box does not mention all that Pascal (three .PAS files consisting of total 784 lines ...some of which is inline asm)
Crazy to do this port, well done !

I noticed some strange artifacts and I wonder if this was how it was back then, or something was lost in the port. For example - the shadows on the rotating jumping particles (just after the plasma cube and before the "ten seconds to transmition"!) - the shadow particles are rasterized OVER the cyan particles and not behind them. I would assume there is no zbuffer or anything fancy anyway there, and that particles are Z ordered first, then rasterized after a first pass rasterization of the shadow particles. Strange isn't it...
added on the 2025-08-04 15:04:27 by Navis Navis
Feel free to compare it to an original capture :)
added on the 2025-08-04 15:44:19 by Gargaj Gargaj
Funny story: Garg sent us a couple builds over the past few weeks to test to see if we can catch anything. I've always wondered how the x-grid plasma effects worked and in particular I've always loved how ethereal the grey one looks. The first version Garg sent us was just too clean, perfectly grayscale and flat. Took some convincing for him to realize that it's different.
Turns out the effect was actually meant to look like that but issues with the palette animation meant that some of the color from the previous palette sticks around in the original, which gives the grayscale a bit of banding and accounts for what I always liked about that part.
So yeah, my favorite part in second reality came from a bug.
added on the 2025-08-04 16:08:59 by BoyC BoyC

login

Go to top