Hacker Newsnew | past | comments | ask | show | jobs | submit | s-macke's commentslogin

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


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?


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


I had already seen the comic, but watching the video reminded me of "The Last Question" by Isaac Asimov [1]:

> After all, I undertook to tell several trillion years of human history in the space of a short story and I leave it to you as to how well I succeeded. I also undertook another task, but I won't tell you what that was lest l spoil the story for you.

[1] https://users.ece.cmu.edu/~gamvrosi/thelastq.html


Interesting. Bit odd that the head doesn't occlude the background (it's a circle, not a disk), and not sure about the title font.

The drawing/animation style feels suitably off from xkcd - more naive stick figure, than what xkcd looks like?

Some speed/timing issues with the walk cycles.

For all that - mind-blowing that it's generated so quickly.


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


wow, that is profound and beautiful. thank you for making that; really liked the pacing especially at the end when the time tics away in the class


Wow, very cool. Thanks for sharing.


I really liked this, thank you


This is great! Thank you!


Dude, so well done.

Say more about the process and / or drop some link pointers.


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.


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.


Can you do this with the 20 dollar plan?


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

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


That's cool as hell.


Yes, but it eats your 5-hour quota really quick.


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.

   ...


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 ....


Strike Commander is in the works. I tried a few months ago and got quite far asset wise but stalled on the flight model, I will probably see how Fable 5.1 does from zero after this weeks limit reset. I imagine it will be able to get quite far.


Strike Commander, a.k.a. the game that required QEMM386 to actually work. I do think it was the last game I got that came with a really nice manual though.


Please do not hesitate to share stunts, if you can


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


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

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


Kennedy Approach was published around the same time.

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


Wikipedia search turns up this game from 1982: https://www.mobygames.com/game/52384/controller/ Quite graphically advanced for the time.


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


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.


They should train on some of my colleagues code - they have an inate skill of turning anything simple and clear into a mindboggling mess


Lol you're so much smarter, nice


> They just can’t do it yet.

Have you tried it or are you guessing this?


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...


One of the main instruments of obfuscation (and the way to get more out of the size constraints) is making the code as short as possible, so in that example you'd prefer

    if (!(x/2-1)) { ...
EDIT: Oops, confused the original with x==2 || x==3. Instead, we can use !(x-1>>1), which precedence rules parse as !((x-1)>>1).


I checked this in an online C-compiler and it is not equivalent to x==1 | x==2.

this statement is equivalent to x==2 | x==3.

For example, x=3, 3/2 = 1 then 1-1 = 0 so that !(0) is 1 or true. Also for x=1, 1/2 = 0 then 0-1 = -1 and !(-1) = 0 or false.

I agree with your point in general though about size constraints.


It's pretty easy to see what that does though, even if it is shorter. Wouldn't the other approach be more obfuscated?


extrano84 already found some errors but also 0 will fail and if x is int (instead of unsigned int) all negative numbers will also fail (but so will the original s-macke obfuscation as well).


Not sure what you mean by advanced transformations but I got these versions from ChatGPT without explicit instructions.

  if(x-1<2&&x)...
  if((1<<x)&6)...
  if(x<3&x)...
  if(3%x&&x<3)...
  if(!((x-1)*(x-2)))
  if(!(x^1|x^2))...
  if(!(x*x-3*x+2))


(1) fails for negative numbers

(2) fails for (x % 32 in [1, 2]) due to UB

(3) fails for x == 2

(4) crashes for x == 0

(5) is the same polynomial, only factorized

(6) always returns 0

(7) is the same polynomail reordered

But this works for any value of x:

  x<2==2-x
or for something shorter:

  x<3&x>0
but that's not bery obfuscated


But then we all know that LLM has come a long way since one year ago.

Are you sure they still can't do it?


Just two months ago I tried to write a short K code with Claude Opus 4.6, only to find that while it had sufficient knowledge about K vocabularies it didn't try to make good use of them. K is, while slightly obscure and obfuscated, a real programming language and certainly better known than obfuscated programming. I don't have high hope for IOCCC-grade obfuscation.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: