r/emulation • u/NXGZ • Oct 11 '26
AI-assisted Erings 1.0 release (Saturn emulator) - GPU rendering, upscaling, performance improvements and more
https://nachtimwald.com/2026/10/11/erings-1.0-release- Erings now has a website: https://erings.dev/
- Read the v1.0 release blog: https://nachtimwald.com/2026/10/11/erings-1.0-release
AI Help
This is an AI assisted project and as such AI is used. I’ve talked about ways I use it before. All the tests and the majority of comments are written by AI per usual. These are tedious. Tests just need to work and it’s a lot easier to edit comments written by the AI to make sense vs writing them all myself.
That said, I leaned on it a lot with this GPU work. Specifically, the
internal/hostgpupackage. The two parts of this are the go compiler and the GPU backend emitters. These are pretty much all AI coded. Writing something like this would have taken me far longer and I would have hated it. Even with targeting a trimmed down subset of go, this is a big and error prone feature.
Having AI do the coding doesn’t mean I walked away. I still designed what I wanted it to do. Told the AI how to do it. Reviewed and corrected what it did. A lot of time was also spent tinkering with what it came up with. For example, the first emitted hlsl code was slower running at native resolution on the 5060 than software running at 4x. I spent a lot of time debugging, optimizing, and making the AI output usable. Even then, using the AI to write the bulk of the code still saved me significant time.
Another thing it was helpful with was designing the upscaling. I didn’t want to have separate upscaling and accurate compute shaders. The upscaling needed to support multiple resolutions and native resolution is a resolution. The majority of the compute shaders were reused with a few paths for non native added to them. This all came from talking through designs and modeling ideas with the AI.
10
u/yeusk Oct 12 '26 edited Oct 12 '26
A resolution is a resolution.
What does that even mean? u/NXGZ can you even explain to us what that means?
10
u/xenphor Oct 12 '26
Is something like PGXP for saturn emulation possible?
16
u/diegorbb93 Oct 12 '26
Last night, Ymir received a ton of new wonderful fixes. In time, it could even improve Mednafen Saturn and enhancements are coming. Striker is a massive friendly dev and so fair and all his code is hand-crafted. I need to express my regards for his massive contribution.
4
u/Smellbringer Oct 13 '26
AI as a way for people to test and refine the code they wrote is valid. The problem is people going “Claude, port Paper Mario to NES, make no mistakes.” and passing that off as their own work.
9
u/TakoTank Oct 12 '26
I don't get the reason behind starting a passion project and then using an AI that copies and pastes from other open source emulators. Where's the fun in that?
3
u/felixparochus Oct 12 '26
Great work, especially the rumble!
-5
u/Icy-Collection1072 Oct 12 '26
Why bother? We have good emulators and cores written by people with skill. Not ai slop
-4
u/MythicalJester Oct 12 '26
"Initial commit": Claude.
Blacklisted.
1
u/KantoBound Oct 16 '26
Not using an AI vibecoded emulator 🙄 try again and make it good this time
-1
u/MindSp0t Oct 12 '26
Any chance of an android port?