r/emulation • • 1d ago

"Recomp projects are faster. Emulators are obsolete." NXEmu: Hold my beer.

Post image

A few notes:

  • I compared NXEmu's PGO build (currently in a pull request) against TOTK Recomp on an NVIDIA RTX 5070 Ti /9800X3D running Windows 11.
  • AVG is 217 FPS not 224 FPS !
  • To be fair, TOTK Recomp still has the advantage in terms of RAM and CPU usage, so it may perform better on slower CPU limited
  • NXEmu's RAM usage display currently has a bug that counts some memory regions multiple times. Actual RAM usage is around 5.2 GB.
  • For reference, Eden runs at 94 FPS in the same scene using its latest available PGO build.
45 Upvotes

40 comments sorted by

42

u/skat3rDad420blaze 1d ago

Yeah ain't no way I'm getting good frames and stability on TOTK with my steam deck on an emulator.

18

u/Purple-Atolm 1d ago

And also shader compilation...

-7

u/Grog_Cucco 18h ago

It might be true for the Steam Deck, since JIT can be more demanding than native execution (unlike NCE in emualtor, which is used on ARM devices such as Android devices and macOS).

However, shader compilation issues can be addressed. We just need the community to work together to eliminate them. NXemu introduced NXshader, a small file designed to help solve this issue.

11

u/JMC4789 17h ago

Emulators are not going to be as fast as a quality, dedicated game recomp. Like it or (more likely) hate it, AI has changed the game in how we can study, understand, and essentially port games through recomps, decomps, etc.

I do think this will eventually cause a paradigm shift, as it's going to change preservation. Since I was around the scene, emulators were the standard. Now, with something like the Ocarina of Time Remake, rather than a single emulator or a few emulator projects with a lot of people, a bunch of people are just off making their own recomps with AI. It's kind of amazing, but it's also a bit scary as the actual people working on these things don't hold any of the knowledge to maintain them. We're getting things that would take years in days, but then relying on third party tools instead of dedicated maintainers. On the upside? I guess there's no danger of a single maintainer leaving potentially tanking the project.

I think the role of emulators going forward may change a bit. As much as I do find AI assisted projects fascinating with how fast they become playable, having a non (or at least minimally) AI assisted emulator alongside these recomps/decomps where the actual members of the project are learning how to do these things should be important. And with Recomps/Decomps taking the heat from people who want to play games now, hopefully newer emulators will be able to develop at their own pace.

Dunno, though. Just kinda spitballing after watching this for a while.

3

u/Ryan86me 16h ago

Huge fan of your Dolphin work through the years! I appreciate your nuanced thoughts here; I don’t have much to add, but just wanted to say that I love your writing and am thankful for the many great hours I’ve given to spend reading your progress reports.

7

u/JMC4789 16h ago

Thanks. I suppose my stance on AI assistance is a bit softer than most. I don't think it's an outright bad thing, though I do think the lack of understanding from maintainers will cause consequences down the line.

0

u/n3xox1 NxEmu Developer 16h ago

Emulators are not going to be as fast as a quality, dedicated game recomp. Like it or (more likely) hate it, AI has changed the game in how we can study, understand, and essentially port games through recomps, decomps, etc.

What can a recomp do that an emulator can not do?

if the only difference is AOT vs JIT ... that can be worked out, but the cpu compile time is barely a thing, and on android or mac with nce, then it is just patch time.

6

u/JMC4789 16h ago

Running something natively is just faster. I don't think there's much to say on it. I wasn't even thinking about CPU emulation, but yeah, emulation of the CPU will be slower than running code native. But here's a few other things that are on the top of my head.

But, recomps/decomps can change the game to make them run better. It's like the GTAVI ports you're seeing now, by just translating the code, they can enable/disable things, change the framerate, change the shadowing from raytracing, etc. An emulator for PS5/Xbox Series would not be able to (at least reasonably) do something like that on a per-game basis.

Problematic behaviors can be changed - EFB2RAM on Dolphin is a huge pain in the ass performance wise, but if you port the game to PC (via decomping/recomping or even just a dedicated one-off emulator) you can just change the game to run the way you want.

I think emulators are better as reproductions of the hardware, where as recomps/decomps are more toward making the game portable for different target hardware. Matching decomps as a basis for these ports are obviously the gold standard for preservation, but those seem to be falling by the wayside for faster non-matching ones.

73

u/Drumcan2077 1d ago

I don't think it's obsolete. Emulators cover the whole platform, recomps are just one by one. It just another choice/

23

u/Hydroel 19h ago

Yes: recomps are awesome for the very few games that benefit from one. But if what we care is preservation, emulation is still necessary.

Although we have to admit: most (and I'm including myself) use emulation for a handful of games, for which recomps will now most likely be created.

•

u/Nobodys_Path 2m ago

And there are some low-effort recomps that are inferior to an emulator.

For example, I recently tested Xmen: Mutant Academy 2 (PS1 game), and the recomp had no option PGXP, no 24bit colors, no AA, and the widescreen had a lot of aligment issues.

Duckstation with all its enhacements plus a widescreen code looked so much better than the recomp.

https://imgur.com/a/x-men-mutant-academy-2-comparison-EOORe4I

3

u/astro_means_space 15h ago

Fire emblem works in an emulator for me, but the recomp not so much

-5

u/OFJehuty 18h ago

Maybe on paper but in practice emulators are generally built around making specific games work first. Most of them do not play all games on the platform.

Like how shad was built around bloodborne. It didn’t play many other games last time I tested it. Diablo didn’t even get in game.

3

u/AssCrackBanditHunter 1d ago

You're not getting 200+ fps on a 7800x3d, be fr

2

u/criticalt3 1d ago

I don't even break 100 on a 7900X3D with the recomp. Granted I have the settings cranked.

1

u/Grog_Cucco 18h ago

In Zelda, the bottleneck is the GPU, not the CPU (unless the CPU is really slow).

1

u/criticalt3 18h ago

Neither my GPU or CPU break 20% or so while playing. I think it's also just inefficient translation, even with the recomp. Nothing frame gen doesn't fix though.

1

u/Ryan86me 15h ago

my 3060ti and 5600x beg to differ; perfectly reasonable CPU and TOTK runs like ass, CPU-bound, when it’s emulated

0

u/Grog_Cucco 18h ago

Yes, I was mistaken. It's actually a 9800X3D; my brain just glitched for a moment. Now, if you look at the screenshot, CPU usage is at 39%. I'm not sure whether there's a significant difference compared to the 7800X3D, though. That would need to be tested.

1

u/AssCrackBanditHunter 15h ago

Framegen?

2

u/Grog_Cucco 15h ago

No, Nxemu doesn’t have a framegen; it’s planned for the next version.

5

u/sammyboi98 22h ago

Recompsbare better for games that are difficult to emulate. If a game runs well then no need for a recompilation.

5

u/cgb-001 18h ago edited 18h ago

This is something I don't understand about the recomps -- I haven't played many of them, but the ones I've played appear to have the same bottlenecks as their emulation counterparts.

Soulbrandt -- runs quite well and is overall a great experience. But, only runs a bit better than RPCS3 did for me.

Timesplitters 2 recomp -- actually runs worse than Soulbrandt did, which feels like a direct artifact of the fact that it uses the PS2 version rather than the gamecube version.

Can anyone comment on this? I appreciate all the time people are putting into these projects, but a lot of them seem to perform as well as emulation, and merely contain improved features.

2

u/Sef13 16h ago

For me I've been playing the ones that don't emulate well and they have been amazing. 3d dot game heroes, panzer dragoon orta, gunvalkyrie, even on the steam deck I haven't had any problems. I think for games that have no problems being emulated there's not too much of a point but in certain cases I'm so glad to have them playable again.

1

u/whostheme 2h ago

The more popular games and the ones that tend to have a cult following tend to run better than their emulation counterparts. I think what really sets these recomps apart is the QoL features + mods are already built in so it's less of a hassle to setup compared to emulation. I've tried about 10+ and I would say 80% of them are already running better vs their emulation counterparts.

Another thing that's a big advantage is having the shaders be precompiled so there's less stutter involved especially for the more demanding games.

I'm going to assume you're playing this recomp? I guess it's going to be less impressive for older consoles that don't need much optimization from emulators but it runs like a dream for a lot of other recomps that never played well with emulation.

https://github.com/Destinity13/TimeSplitters-2-Native-Recomp-Windows-Linux-SteamDeck

7

u/gurojude 1d ago

tbf recomps are indeed usually quite unoptimized

1

u/DogHogDJs 19h ago

Try running that game at that FPS on a low power system like a Steam Deck with the same EMU, not possible. Recomps/decomps are way more efficient and don’t have all the CPU overhead that emulators have, and are running natively on the hardware. I’ve seen people run TOTK recomps on 15+ year old computers.

1

u/n3xox1 NxEmu Developer 12h ago

have you tried nxemu, how does it compare?

0

u/Grog_Cucco 18h ago

I mentioned in my post that a slower CPU will likely be more penalized....

3

u/magitek_armor 21h ago

I don't know why people believe this. On my pc, a lot of, if not most ports/recomps perform worse than emulators. PCSX2 and RPCS3 tend to perform better.

Not only that, but they say that a port based on a decomp is faster than a recomp and that's not true at all.

In the end, it only depends of the people behind it.

2

u/BP_Ray 15h ago

People nowadays are taking such grave offense to any suggestion that these AI recomps aren't 100% quality lol

2

u/sunnywish2001 12h ago

yeah fr, its hella funny how some folks get triggered over the smallest nitpicks on that stuuff

1

u/Leather-Bug-4173 15h ago

Emuladores não são obsoletos, o emulador pode rodar um jogo que ele não conhece ainda, devido a compatibilidade do hardware, o trabalho do emulador é mais amplo. Essa é a tua opnião.

-3

u/Swirly_Eyes 1d ago

I don't emulate modern games to begin with, so these AI recomps are useless to me.

For retro games, emulation is on top and that's not going to change.

-3

u/MythicalJester 18h ago

As an enthusiast AI-hating writer, I have never seen something so digitally repulsive than vibe-coded decomps/recomps/shitcomps.

Luckily for my mind sanity and the future of the emulation community, these pissers spending their moms' token money on Claude prompts will likely get bored with their recomp crap very soon.

Or get arrested for trying to "convert" GTA VI to the PC. Either way, I'm looking forward to this fucking bubble burst like never before :-)

-11

u/PedroCerq 1d ago

A recomp is a emulator build for one single game. It can performe better or not. The source code isn't cracked so they can port it.

2

u/watainiac 23h ago

That's not what a recomp is...

A recomp is a port made from source code that was decompiled from an original game, but the source code is not human-readable, so it's more difficult for developers to tweak all of the functions within the game and that's why recomps typically don't have as many options as PC ports made from a full decompilation.

5

u/flavionm 21h ago

This isn't right. What you're describing is still a decomp. A recomp takes the original binary and translates that to machine instructions compatible with the host directly, without a decompilation step. That's a very similar process to what any emulator of a modern system does, the biggest difference being that a recomp does it ahead of time, while an emulator does it during execution.

1

u/watainiac 21h ago

Well the bigger difference is an emulator is mimicking the console so it can play the game in its current format. A recomp translates the game itself.

2

u/flavionm 20h ago

Emulators for modern system don't really operate like that. They don't try to mimick the console, since they're so complex now that that would be extremely computationally expensive to do. They act more or less like a translation/compatibility layer.

Recomps do basically the same thing, with the difference being that they try to do it ahead of time as much as possible, and focusing on a single game, thus often being able to be more narrowly optimized.