Zelda 64: Recompiled is a project to play The Legend of Zelda: Majora's Mask on modern platforms with many new features, enhancements and now modding support too.
CodexArcanum
link
fedilink
English
26d

So similar to how WINE works then? This is taking the MM binary and building a wrapper around it that translates it’s system calls into something generic?

vaguerant
link
fedilink
126d

That’s closer but rather than being a wrapper, it takes the original architecture’s instructions (MIPS in the case of N64) and generates a C/C++ function which implements that instruction. Then you call those functions in the same sequence as the original compiled machine code ran instructions.

That’s a relatively inefficient way to make a port, because you’re basically reimplementing the original CPU in software, hence why some have described it as emulation. At the same time though, most recompiled games are like 15-20 years old, so a bit of overhead on a modern PC isn’t going to hurt you too much.

But anyway, unlike WINE, the original binary is not used any more after recompilation. Instead, you have a native binary for the target platform, the translation having occurred at the time of recompilation (when you built the port binary).

CodexArcanum
link
fedilink
English
36d

OK, now I understand! And I get why they say the code isn’t human readable, haha. Thanks for taking time to explain!

Create a post

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here and here.

  • 1 user online
  • 407 users / day
  • 1.19K users / week
  • 2.58K users / month
  • 6.63K users / 6 months
  • 1 subscriber
  • 6.01K Posts
  • 122K Comments
  • Modlog