nesdev.com
http://forums.nesdev.com/

Please try my NES emulator HDNes
http://forums.nesdev.com/viewtopic.php?f=3&t=9935
Page 15 of 19

Author:  mkwong98 [ Wed Oct 08, 2014 9:24 am ]
Post subject:  Re: Please try my NES emulator HDNes

GGuy wrote:
It probably would be better to come up with our own animation system in a traditional sense with multiple images per sheets that it scrolls through.


Yes, I think the best way to do that is to define our own animation data.

I thought about this function before as tepples suggested something similar earlier in this topic.

The minimal implementation is to define the animation as a sequence of replacement sprites and how many frames each sprite lasts. We also need to define how many idle frames the animation can have before the emulator considers the animation as not in use and resets it.

There are some problems which I can think of:
1. All occurrences of the same animation on the screen will display the same sprite. This can be a problem if there are multiple enemies on the screen and their actions do not sync with each other.
2. The animation always run at the same speed even when the game uses slow motion.
3. The animation always run forward, so if the game repeats sprites backward (eg. ABCCBA) to display a swinging motion then the added frames in the animation will not link up correctly(A1A2-B1B2-C1C2-C1C2-B1B2-A1A2 instead of A1A2-B1B2-C1C2-C2C1-B2B1-A2A1).
4. When the same sprite is use at more than one situation, the the same animation will be shown regardless of the situation.

I think this is an important function which addresses one of the 5 main limitations of NES graphics (number of colours we can use, range of colours we can choose from, the screen resolution, number of animation frames we can fit inside a bank and number of sprites we can have on screen) and I may add this to the emulator in the future. But to do this I think I need to redesign the GUI as it is getting cluttered.

Author:  Xenobond [ Thu Oct 30, 2014 10:59 am ]
Post subject:  Re: Please try my NES emulator HDNes

This is really cool guys. I am no programmer by a long shot, but had something like this in mind for some time. I started doing my own mockups a few months ago just to let some of what I had been wanting to do out onto paper/photoshop. My first mockup was from Zelda.
Attachment:
File comment: Zelda Test Mockup
Zelda_mockup_4x_000.jpg
Zelda_mockup_4x_000.jpg [ 353.79 KiB | Viewed 3040 times ]


Following that by Mega Man III. Since MM3 uses a currently supported mapper, I plugged in what I had so far from the Spark Man stage followed by recreating the logo and some text.
Attachment:
File comment: Spark Man 00
20141030103916.jpg
20141030103916.jpg [ 392.54 KiB | Viewed 3040 times ]

Attachment:
File comment: MM3 Logo
20141030103859.jpg
20141030103859.jpg [ 107.43 KiB | Viewed 3040 times ]


I look forward to the continued development of hdNES. Keep on rocking!
**things I'd like to see**
- controller support
- cheat codes (help with dumping and testing)

Author:  tepples [ Thu Oct 30, 2014 12:11 pm ]
Post subject:  Re: Please try my NES emulator HDNes

Perhaps someone should start a new NES Graphics thread for 32x32 pixel fonts for use with HDNes.

Author:  Tygerbug [ Thu Oct 30, 2014 12:22 pm ]
Post subject:  Re: Please try my NES emulator HDNes

Looking good, Xenobond! I'm sure you could do some very good work in HDNes. I like the font you used on the Mega Man 3 title screen as well.

Mega Man is a good one to experiment on, as a full set of sprites for Mega Man himself would obviously be of use in all the games.

That's part of why I was working on Mario. Should get back to that when I can.

Author:  mkwong98 [ Fri Oct 31, 2014 12:24 am ]
Post subject:  Re: Please try my NES emulator HDNes

Xenobond wrote:
I look forward to the continued development of hdNES. Keep on rocking!
**things I'd like to see**
- controller support
- cheat codes (help with dumping and testing)


Good work, Xenobond!
Controller support is not on my high priority list, so I'm afraid you have to use joytokey for the time being.
What kind of cheat code features are you looking for? The audio pack feature can be used for cheat codes too.


tepples wrote:
Perhaps someone should start a new NES Graphics thread for 32x32 pixel fonts for use with HDNes.


That will be very useful. I want one for Japanese too, just in case I need to work on Japanese only games.

Author:  GGuy [ Sat Nov 01, 2014 8:51 pm ]
Post subject:  Re: Please try my NES emulator HDNes

I've started work on a font pack. It will include all of the default NES colors. Hiragana, Katakana, and English letters. Also special characters such as the copyright symbol and trademark symbol. It should be done within a week.

Edit 1:
Ok here is a quick and dirty 4x font pack for anyone that wants it. I'm thinking of standardizing the layout to match the unicode character table but it's a bit time consuming. Anyways hope this helps!
[Link Removed]


Edit 2: Old link removed.

Author:  GGuy [ Tue Nov 04, 2014 2:52 pm ]
Post subject:  Re: Please try my NES emulator HDNes

I just noticed a really strange bug today while testing 4x. I'm running Windows Technical Preview so it might be different for others but when you have your mouse over the game window the emulator slows down. When the mouse is not over the window but somewhere else like the desktop the emulator runs without slowdown. It's quite odd.

Author:  mkwong98 [ Wed Nov 05, 2014 5:18 am ]
Post subject:  Re: Please try my NES emulator HDNes

GGuy wrote:
Ok here is a quick and dirty 4x font pack for anyone that wants it. I'm thinking of standardizing the layout to match the unicode character table but it's a bit time consuming. Anyways hope this helps!
https://drive.google.com/file/d/0B5aZT1 ... sp=sharing


Nice! Are you going make another set with the lower case letters for English games?

GGuy wrote:
I just noticed a really strange bug today while testing 4x. I'm running Windows Technical Preview so it might be different for others but when you have your mouse over the game window the emulator slows down. When the mouse is not over the window but somewhere else like the desktop the emulator runs without slowdown. It's quite odd.


Thanks for telling me.

Author:  GGuy [ Wed Nov 05, 2014 8:17 am ]
Post subject:  Re: Please try my NES emulator HDNes

mkwong98 wrote:
Nice! Are you going make another set with the lower case letters for English games?

Yes I'm working on a "standard" set right now that includes a lot of missing things.
mkwong98 wrote:
Thanks for telling me.

No problem. :D

Edit 1: The font pack is done!
It includes all of the standard NES palette colors, English and Japanese (Hiragana and Katakana) sheets at 4x.
https://drive.google.com/file/d/0B5aZT1 ... sp=sharing


Edit 2: New gradient pack!
Attachment:
Blue (Dark).png
Blue (Dark).png [ 75.82 KiB | Viewed 2770 times ]
https://drive.google.com/file/d/0B5aZT1 ... sp=sharing


Edit 3: Gold font.
Attachment:
gold-example.png
gold-example.png [ 33.22 KiB | Viewed 2727 times ]
https://drive.google.com/file/d/0B5aZT1 ... sp=sharing

Author:  mkwong98 [ Fri Nov 07, 2014 6:48 pm ]
Post subject:  Re: Please try my NES emulator HDNes

Wow, very good! Thank you very much!

Author:  mkwong98 [ Tue Nov 18, 2014 7:37 am ]
Post subject:  Re: Please try my NES emulator HDNes

Update 2014-11-18:
1. Changed the caption of the game window to HDNes.
2. Enabled the window close button.
3. Added an option to change the rate of continuous screen capture.
4. Removed the mouse the cursor from the game window.


GGuy, Please check if the slow down problem still exists. Thanks.

Author:  GGuy [ Tue Nov 18, 2014 8:38 am ]
Post subject:  Re: Please try my NES emulator HDNes

mkwong98 wrote:
GGuy, Please check if the slow down problem still exists. Thanks.

Yes the problem is still there. Fraps reports an drop of 10-20 FPS when the mouse cursor is over the game window (even though it's no longer being drawn). It dips more when the mouse is moved around within the window. It's easy to see the slowdown in Zelda 1 when the text is scrolling during the title screen opening showing all the items.

Author:  Sik [ Tue Nov 18, 2014 8:16 pm ]
Post subject:  Re: Please try my NES emulator HDNes

Probably the problem is handing mouse events, not drawing the mouse.

Author:  mkwong98 [ Fri Dec 26, 2014 8:08 am ]
Post subject:  Re: Please try my NES emulator HDNes

26-12-2014
1. Disabled a few events which are not in use.
2. Changed the naming of the screen shots so that sorting by name will list them in chronological order.

Author:  evgeny [ Sat Dec 27, 2014 7:44 am ]
Post subject:  Re: Please try my NES emulator HDNes

Graphic pack for "Nuts & Milk (J).nes"

Attachment:
Nuts & Milk (J).zip [436.08 KiB]
Downloaded 131 times

Page 15 of 19 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/