NES emulator as a screensaver?

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
thefox
Posts: 3139
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Post by thefox »

OK, one bug before I go to sleep: after the screensaver has been on for a while the screen freezes, i.e. same frame is displayed from there on. Haven't bothered to try out yet how long it takes for it to freeze.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
jwdonal
Posts: 719
Joined: Sat Jun 27, 2009 11:05 pm
Location: New Mexico, USA
Contact:

Post by jwdonal »

thefox wrote:OK, one bug before I go to sleep: after the screensaver has been on for a while the screen freezes, i.e. same frame is displayed from there on. Haven't bothered to try out yet how long it takes for it to freeze.
Nice!! I've got the exact same bug. I already emailed Luke about it. Good to hear I'm not the only one. I think it may have something to do with when my monitor tries to go into sleep/standby mode. The length of time it takes the screensaver to freeze is *very* consistent. I bet you could put a stopwaatch by it and it would be exactly the same every time - although I haven't had time to try this myself yet. Oh, and if the screensaver freezes my monitors will not go into standby mode, this is why I think they are related. Also, my monitors are set to go into standby exactly 5 min after the screensaver comes on - and 5 min is about how long it takes the screensaver to freeze.

Fox, do you have your monitors set to go into standby mode? Would be very interesting if you did.... :)

EDIT: Haha, I just thought, why don't I just turn off my standby mode temporarily and see if the screensaver stops freezing - DUH. I'll try it and let you know.
User avatar
thefox
Posts: 3139
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Post by thefox »

jwdonal wrote:Fox, do you have your monitors set to go into standby mode? Would be very interesting if you did.... :)
Yeah, I do. Should go into standby after 10 minutes of inactivity (and screensaver comes up after 5 minutes), so yeah I guess the bug must be there. :)
User avatar
jwdonal
Posts: 719
Joined: Sat Jun 27, 2009 11:05 pm
Location: New Mexico, USA
Contact:

confirmed

Post by jwdonal »

And guess what? I turned off the standby mode on my monitors and the screensaver has not frozen once in over 2 hours. Haha, I think we've got this one figured out. :)

Pz!

Jonathon
Luke
Posts: 40
Joined: Mon Oct 06, 2008 6:03 pm

Post by Luke »

Ok, so it seems like the dust has settled and all of the bugs mentioned here (and a few that weren't!) have been fixed, with the latest binary available here. Thanks for bearing with me! :)
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

I just finally tried this thing out. It is AMAZING. Only thing is though it could probably use a faster emulator, maybe rip stuff out of LoopyNES or something.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
AndiNo
Posts: 37
Joined: Wed Nov 25, 2009 5:06 am

Post by AndiNo »

I, too, have to say that this is absolutely brilliant! It's my new screensaver now :) (although I wouldn't actually need one).
However if I activate the movie-wall the screensaver is running very slow, either my PC isn't fast enough or you could speed up your emulator.
When I saw this program I thought of having a screensaver that works for all systems (not only NES) by just starting a predefined emulator with a given movie file and ROM. I don't know if any current emulator supports this but it would be cool. However if you created a SNES screensaver I would download it instantly, too :)
Luke
Posts: 40
Joined: Mon Oct 06, 2008 6:03 pm

Post by Luke »

I recently posted a new version of the screen saver that addresses the speed issue. After lots of code optimization the emulation core is nearly twice as fast as before. Not sure whether to be proud of the improvement or embarrassed at how inefficient the code used to be. :lol: There is also a new "playlist" function that makes it easy to do fun things like tile your screen with all 6 Mega Man games. The web page is still here or you can just download it directly if you want. :)
User avatar
AndiNo
Posts: 37
Joined: Wed Nov 25, 2009 5:06 am

Post by AndiNo »

Thanks for the update! It's nice you were able to optimize the emulation so much.
However nearly everything I set as software up/scaler slows the whole thing down to crawling speed. I can use the hardware settings like "fit to entire screen" without problems, only the software based scaling routines seem to be very slow. Is there anything you (or I) can do about this?
Luke
Posts: 40
Joined: Mon Oct 06, 2008 6:03 pm

Post by Luke »

I will look at all of the upscaling and graphics effects code again, but I think I have already optimized that code to the best of my abilities. In the meantime, here are some options you can try to speed things up:

- The biggest thing is turning off all of the post-processing effects.

- You can also experiment with GDI/DirectDraw/Direct2D output; I have seen each graphics API perform better than the others on different machines so it might take a little trial and error to find the one that works best for you.

- The faster software upscaler is nearest neighbor.

- The movie wall window has an option to restrict the number of unique NES instances running. Lowering that will almost certainly improve performance, but games may be duplicated to fill out the contents of the wall.

Please let me know if you are able to get it running better or if you have any other questions. :)
User avatar
AndiNo
Posts: 37
Joined: Wed Nov 25, 2009 5:06 am

Post by AndiNo »

You are right, after I turned off the screen curvature everything seems to run smooth. That's a bit surprising as up to now I always had this option turned on. Well maybe it's because of the software upscaling. Anyhow I'm now using DirectDraw with "fit to entire screen" and hqx as upscaler with x3 software scale. All the time I have only been using one movie, no movie wall.
Anyway thanks for the help!

Oh and could you please start working on a similar SNES screensaver? :D I think I would even donate something if you created that, too. And there are some rather skilled players who already made some cool videos - I mean for the current NES.
User avatar
Kreese
Posts: 65
Joined: Sat Sep 22, 2007 3:42 pm

Post by Kreese »

Wow! Had no idea about this screensaver. Works excellent for me. Thanks alot... I'll spread the word about it to all my NES-friends. :)
Luke
Posts: 40
Joined: Mon Oct 06, 2008 6:03 pm

Re: NES emulator as a screensaver?

Post by Luke »

Sorry again for the bump (has it really been 4 years?!?), but I released another new version of the screen saver this morning. The big news is that this release includes a Mac port along with the standard Windows version! The Mac version ended up taking a hilarious amount of time longer then I expected which partially explains the long gap between releases. :lol:

Both versions feature new multi-player support - you can now have separate game "cursors" on the movie wall for each device connected to your PC. Previously, you only had one game cursor and it was always mapped to your keyboard. So with this feature you can e.g. have 4 people playing 4 different NES games simultaneously. Hardly practical but that's never been the point of this software. :D There's also some other new features and some significant stability improvements.

You can check out the official website here, or directly download the Mac version or Windows version.
aupton
Posts: 36
Joined: Tue Aug 06, 2013 12:07 pm

Re: NES emulator as a screensaver?

Post by aupton »

Luke wrote:Sorry again for the bump (has it really been 4 years?!?), but I released another new version of the screen saver this morning. The big news is that this release includes a Mac port along with the standard Windows version! The Mac version ended up taking a hilarious amount of time longer then I expected which partially explains the long gap between releases. :lol:

Both versions feature new multi-player support - you can now have separate game "cursors" on the movie wall for each device connected to your PC. Previously, you only had one game cursor and it was always mapped to your keyboard. So with this feature you can e.g. have 4 people playing 4 different NES games simultaneously. Hardly practical but that's never been the point of this software. :D There's also some other new features and some significant stability improvements.

You can check out the official website here, or directly download the Mac version or Windows version.

Thank you! I've been looking forward to a MAC version :)
Post Reply