Show HN: My computer was too slow to run this Flash game, so I decompiled it and...

@show

Show HN: My computer was too slow to run this Flash game, so I decompiled it anduil.neocities.org · 3 points · 3 comments · HN thread

TL;DR A Show HN post where the author, whose 2016 laptop could not run the 2004 Flash game N: The Way of the Ninja at full speed even in Adobe Flash Player, used DeepSeek to rewrite the game's ActionScript into JavaScript with a WebGL shim for the Flash graphics API. The result runs at normal frame rate in the browser and adds controller support. The author notes the copyright issue and says the port is abandonware and free marketing for Metanet.

  • The author's 2016 laptop struggled to run the Flash version of N: The Way of the Ninja, even with the official Flash Player.
  • The author decompiled the SWF and asked DeepSeek to port the ActionScript to JavaScript, implementing a WebGL shim for Flash graphics, at a cost of about $2.
  • The port reportedly runs at normal frame rate and adds gamepad support, which is not yet configurable.
  • The author acknowledges possible infringement of Metanet's IP but argues the game is over 20 years old and abandonware.
  • In an edit, the author points to the official version running in Ruffle at thewayoftheninja.org, which has better graphics; the author says their port looks anemic by comparison.
  • A commenter pointed out that Ruffle, a Flash player reimplemented in Rust, already exists; the author replied that Ruffle was too slow on their machine too.

Links in the post

Discussion The thread is short, with only three comments. The author and a commenter discuss Ruffle, the Rust Flash emulator, which the author had already tried and found too slow on their machine, and the author then points to the official Ruffle-based version. Another commenter simply praises the work for evoking a computer lab. The overall mood is light and friendly.

  • Ruffle is an existing alternative that could have been used (some): One commenter suggested Ruffle, a Flash Player reimplementation in Rust, as a simpler route. It is the most direct practical alternative raised in the thread.
  • Ruffle and Flash were also too slow on the author's machine (some): The author replied that native Ruffle and Adobe Flash Player both lagged on their laptop, which motivated the port. They also said the official Ruffle version should run better on a newer computer.
  • Nostalgic appreciation of the port (a few): One commenter said the project brought back memories of a computer lab and praised the work.

Links from the comments

#flash #gamedev #emulation #webgl #retrogaming