Better HN
topnewbestaskshowjobs
Log inSign up

s-macke

2,130 karma · joined Sep 17, 2013 (13y ago) · 472 submissions

OpenRISC Emulator running Linux: http://s-macke.github.com/jor1k/

My Github site: https://github.com/s-macke

My personal site: www.simulationcorner.net

Submissions

1.

A byte-matching decompilation and port of both "Ultima Underworld" games(github.com ↗)

3 points · by s-macke · 4d ago · discuss

comment 2w ago · link · parent

I've revived Soul Crystal, a German graphic/text adventure from 1992, based on reverse engineering work I started back in 2006. Over the past two weeks, I've turned it into a playable browser game with English translation, reimagined HD graphics, and voiced cutscenes.

Play: https://s-macke.github.io/Soul-Crystal/

Source: https://github.com/s-macke/Soul-Crystal

comment 1mo ago · link · parent

Thanks to this project here:

https://github.com/s-macke/starflight-reverse

this has now become a piece of cake for the agent. The hard part has already been done. The question now is: how familiar is the agent with Forth?

4.

Show HN: Maniac Mansion Reconstructed in 3D from Its Original Screens(github.com ↗)

3 points · by s-macke · 1mo ago · discuss

comment 2mo ago · link · parent

Thanks. I’ll pass the feedback on to Opus 5.5 :-)

comment 2mo ago · link · parent

There isn’t that much to say. Start with an empty directory, put the XKCD image in it, add your ElevenLabs API key, and set up a Python virtual environment. Install ffmpeg.

Then start Claude. From that point on, it’s mostly prompting and evaluating the results. Like any good engineer, you shouldn’t simply start with “Create a video from this comic.” Instead, take a step-by-step approach: discuss the visual style, animations, ask for audio examples, create a script, and then develop a storyboard (ask for a .html document).

The important part is to break the whole generation process down into small, manageable steps. I also used the brainstorming skill from Superpowers for the discussions. It makes the whole process much easier when the AI asks the questions and I just have to answer them.

The result is 4500 line python code generated by Opus 5.5 and a lot of video and audio files.

comment 2mo ago · link · parent

Agreed. Just yesterday, I recreated the XKCD comic “A Bunch of Rocks” (https://xkcd.com/505/) as a video. It took me about five hours, using ElevenLabs for the audio and a step-by-step process involving brainstorming, planning, storyboarding, and so on. Opus 5.5 has become remarkably capable.

[0] https://simulationcorner.net/A_Bunch_of_Rocks.mp4

comment 2mo ago · link · parent

I have an example here. Took 3 hours with Pro Plan.

https://simulationcorner.net/chair/chair-evolution.gif

comment 2mo ago · link · parent

Exactly. I just give Astra an image such as furniture, and it creates an 3D reproduction in Blender. You don’t even need computer use. Codex and Blender’s scripting engine is enough.

comment 2mo ago · link · parent

I use a step-by-step approach:

1. For each topic, write a result Markdown file in `spec/`.

2. Identify the file formats.

3. Reverse Engineer and extract all assets, followed by manual review. This works in 90% of the cases.

4. Determine the compression/packing used for the executable. Most binaries used one of roughly five common executable packers.

5. Unpack the executable manually.

6. Use an ancient free IDA-Pro for disassembly, or a modified DOSBox to determine all code/data blocks and the relevant segment-register values for the 8086 architecture. In the second case I use my vibe-coded disassembler.

7. Identify the major functional domains in the disassembly and split the files accordingly.

   ...

comment 2mo ago · link · parent

Stunt Car Racer from Geoff Crammond published by MicroProse, not Stunts from Distinctive Software.

comment 2mo ago · link · parent

I would like to see all of them :-)

One of the most difficult reverse-engineering projects from that era for me was Stunt Car Racer on the C64 (also ported to DOS). It features a highly optimized 8-bit 3D graphics and physics engine. Fable was the first one that was able to generate a complete port of the game.

Now I am trying of Flight Simulator 4 and Wing Commander 1. Then maybe Frontier Elite 2. So much fun ....

comment 4mo ago · link · parent

The BSD Games collection has an ATC Simulator as well from around 1985:

https://github.com/vattam/BSDGames/tree/master/atc

comment 4mo ago · link · parent

Kennedy Approach was published around the same time.

https://en.wikipedia.org/wiki/Kennedy_Approach

comment 4mo ago · link · parent

Ask a coding agent to decode the assets. Works pretty often for such old games.

16.

When Washington switched off Fable/Mython 5: What happened, hour by hour(twitter.com ↗)

3 points · by s-macke · 5mo ago · discuss

comment 5mo ago · link · parent

What I find fascinating is the fact that you can implement those few lines in an esoteric language such as FRACTRAN or Game of Life and even boot Linux on them. Seems doable now. In theory.

comment 5mo ago · link · parent

Yes, I’ve tried it. For example, this was my winning entry from a year ago [0]. The LLM only performs trivial obfuscation, not advanced transformations.

For example:

  if (x == 1 || x == 2) { ...
can be transformed into:

  if (!(2+x*x-3*x)) { ...
An LLM will do this if you explicitly ask it to, but not on its own.

[0] https://github.com/ioccc-src/winner/blob/master/2024/macke/p...

comment 5mo ago · link · parent

Here is the video:

https://www.youtube.com/live/MoWCwZx1Swc?si=eIOlRsKWNKRVRZeB...

comment 5mo ago · link · parent

Yes, you haven’t tried it. LLMs are actually awesome at deobfuscation, but terrible at obfuscation. They just can’t do it yet.

They also lack the creativity needed for those entries. Obfuscation is only one part of it. Coming up with the idea is another. Many entries also have special qualities that make them true works of art.

comment 5mo ago · link · parent

My favorite is the 366-byte C program emulator that can run Linux and Doom [0]. The VM implements an OISC - a One Instruction Set Computer [1].

[0] https://github.com/ioccc-src/winner/blob/master/2025/cable/p...

[1] https://github.com/ioccc-src/winner/blob/master/2025/cable/R...

comment 5mo ago · link · parent

This VM implements an OISC - a One Instruction Set Computer.

More information:

https://github.com/ioccc-src/winner/blob/master/2025/cable/R...

23.

366-byte C program emulator can run Linux and Doom – IOCCC29 winner(github.com ↗)

6 points · by s-macke · 5mo ago · 1 comment

24.

IOCCC29 Awards Presentation and Source Code Reveal [video](youtube.com ↗)

1 points · by s-macke · 5mo ago · discuss

comment 5mo ago · link · parent

Because I haven't found the special case in the disassembly for these "flying" objects. Probably I misinterpret the object coordinate somehow.

comment 5mo ago · link · parent

Sorry, the maps are rendered in 3D so that you can fly around. I can of course make top-down screenshots of the maps. Thanks for your feedback.

comment 5mo ago · link · parent

Author here. The Ross’s Game Dungeon video was, to some degree, a motivation for me to start the reverse-engineering process, just for fun. The analysis took place over many years, and I figured out 95% of the format myself. AI helped me then with the coloring, which is pretty complex. I have read the Accursed Farms forum, of course. But it didn't help much.

The map mentioned there can be found as “Unknown Map” in the dropdown. However, I haven’t yet connected that map to the menu screen. It might be called “Tom’s Test Track,” because that string appears in the disassembly.

Integration into noclip might be easy, because I also have the geometry as a standalone .obj file.

comment 5mo ago · link · parent

I wish I had known this two years ago. I ended up writing my own embedded connection struct to trace these things [0].

  type Connection struct {
    net.Conn
    OnEventCallback func(clientClosed bool, serverClosed bool, err error)
  }

[0] https://github.com/s-macke/SlapperX/blob/master/src/tracing/...
12345
16