this post was submitted on 13 Jul 2024
223 points (98.3% liked)

Games

32938 readers
867 users here now

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.

founded 2 years ago
MODERATORS
 

Zelda 64: Recompiled is a project that uses N64: Recompiled to statically recompile Majora's Mask into a native port with many new features and enhancements.

you are viewing a single comment's thread
view the rest of the comments
[–] Neato@ttrpg.network 9 points 5 months ago (4 children)

I don't know much about this scene. How is this different than an emulator? You still need a ROM I believe.

[–] Cagi@lemmy.ca 69 points 5 months ago

Instead of turning your machine into a pretend N64, it turns the game into a native pc program. You need the base rom so the makers don't get sued.

[–] simple@lemm.ee 28 points 5 months ago (2 children)

Like the Mario 64 recompilation, this isn't running on an emulator, but is totally native. That means it runs smoother, has zero issues that you might get from emulation (like inaccuracies), and makes it so much easier to mod and extend it. You can see some of the features on the page like autosaving and playing on high framerates.

[–] ricdeh@lemmy.world 3 points 5 months ago (3 children)

has zero issues that you might get from emulation (like inaccuracies)

That doesn't make sense to me. Emulation should be 100% accurate software-wise, at the expense of performance. Can you elaborate?

[–] simple@lemm.ee 23 points 5 months ago

Emulation is almost never 100% accurate, that's why seemingly perfect emulators like Dolphin still get updates. They mimic the original hardware as closely as possible but there are still bound to be some bugs and games that don't work perfectly. The best emulators are more like 99.9% accurate.

N64 emulators aren't that good, so you'll get occasional graphics errors and crashes.

[–] yetAnotherUser@discuss.tchncs.de 7 points 5 months ago

100% accurate emulation is basically impossible for every single console. You can get extremeley close via cycle accuracy, emulating the CPU's instruction set but even that isn't perfect.

You can read this for more information:

https://emulation.gametechwiki.com/index.php/Emulation_accuracy

[–] catloaf@lemm.ee 3 points 5 months ago

Software-wise, sure. It's easy to dump the BIOS and game. The hard part is emulating the hardware. Consoles often have quirky architectures and special chips that don't map to PCs very well. And the chips themselves often have quirks that either aren't documented, or work in a way that disagrees with documentation. But the game developers often relied on those particular quirks for their games. For example, if there was a bug in the GPU that caused textures to become blurry when loaded in a certain way, a developer might exploit that as a free blur filter. (If you're interested in actual examples, try the Dolphin dev blog. I think it's really interesting.)

[–] bigmclargehuge@lemmy.world 3 points 5 months ago (1 children)

Also much more possibilities in terms of controls, ie no more janky remapping buttons and mouse axis into pretending to be controller inputs or messing with mouse injectors, instead you can get native KB+M support, dual analog, etc.

[–] simple@lemm.ee 1 points 5 months ago

Yeah, having a proper camera for Mario 64 was really huge.

[–] dracs@programming.dev 7 points 5 months ago (1 children)

The ROM in this case is only used for game assets, like maps, models, and textures. All the game logic in native code. This allows is to be easily modified to add in new features without trying to hack it into a 20 year old game/console.

[–] ArmoredThirteen@lemmy.ml 4 points 5 months ago (2 children)

Is this kind of like OpenMW or OpenXcom? But more broad as the recompilation process can be applied to multiple games on that platform?

[–] cheet@infosec.pub 8 points 5 months ago

Yeah this is a good analogy, except it comes from tooling that would allow any n64 game to be converted with some work.

Like an openmw generator for any Bethesda game.

[–] dracs@programming.dev 2 points 5 months ago

It's a bit similar. However this goes a bit further than I understand those projects do. They're creating a game like the original. With this decompilation project, if you use the N64 compiler you will get a ROM which is 100% identical to the original.

[–] banghida@lemm.ee 4 points 5 months ago

Yeah you need to find a ROM. And a specific version of it too.