Giant VR NES! :D

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

Post Reply
User avatar
slembcke
Posts: 172
Joined: Fri Nov 24, 2017 2:40 pm
Location: Minnesota

Giant VR NES! :D

Post by slembcke »

My business partner and I just got a Vive for a VR project we are starting soon. With the Global Game Jam comming up in a couple months, It occurred to me that he's almost definitely going to want to make a VR game and I definitely want to make another NES game.

So I had a silly idea... There is probably an NES emulator that could be embedded into a Unity3D/VR project without too much trouble, and a VR game partly written on the NES would be an amusing idea. After some searching around, the only project I could find was the guy that made the (closed source) 3D NES emulator. Neat, but not helpful in this case.

So has anybody here had any luck embedding an open source C# emulator in Unity?
Last edited by slembcke on Sat Dec 29, 2018 2:34 pm, edited 1 time in total.
User avatar
slembcke
Posts: 172
Joined: Fri Nov 24, 2017 2:40 pm
Location: Minnesota

Re: C# NES Emulator to embed in Unity/VR.

Post by slembcke »

I made some progress on this last night. I back ported this to C# 4 that Unity uses: https://github.com/Xyene/Emulator.NES

Image

It's not the fastest (so it works well in Unity, lol). I might have to spend some time optimizing it. The beta version of Unity finally supports modern C#, so I might be able to put some of the inlining attributes back in at least.
User avatar
slembcke
Posts: 172
Joined: Fri Nov 24, 2017 2:40 pm
Location: Minnesota

Re: C# NES Emulator to embed in Unity/VR.

Post by slembcke »

With a little prodding this runs quite smoothly. I threw in some analitical anti-aliasing so it looks nice and crisp when upscaling. :D

Image
User avatar
slembcke
Posts: 172
Joined: Fri Nov 24, 2017 2:40 pm
Location: Minnesota

Re: Giant VR NES! :D

Post by slembcke »

I made some progress with this today. I now have NES games running on a 10 meter virtual screen with a giant unwieldy controller. :D It's a lot more fun than it should be. Bwahaha!

Image
User avatar
iOSBrett
Posts: 38
Joined: Wed Apr 18, 2018 1:09 am
Location: Australia

Re: Giant VR NES! :D

Post by iOSBrett »

That is VERY cool man!!!
wallmasterr
Posts: 14
Joined: Wed Nov 04, 2020 3:31 am

Re: Giant VR NES! :D

Post by wallmasterr »

HI @slembcke
this is looking great did you make any more progress with it/ is your unity project available anywhere to download?
Post Reply