Page 1 of 19

Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 9:30 am
by mkwong98
Hi, I recently resumed working on my emulator and now I think I have enough to show. The gimmick of the emulator is the ability to display custom true colour tiles at up to 4x resolution.

Link:
See the attachment of the third message

BombSweeper is used as an example and a simple 2x graphics pack is included in the files which replace the number tiles. You need to download and put BombSweeper.nes inside the rom folder. You can play around with the png files inside the BombSweeper folder and see the results. The emulator is still in early stage and so lacks many standard features. Please read the readme for the limitations before using it. Feel free to comment and please let me know if you have trouble running the emulator on your machine.

Thanks.

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 9:55 am
by ulfalizer
Heh... I have almost the exact same idea for my emulator. Looks like you beat me to it. :)

The download link seems broken though.

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 11:51 am
by thefox
Please use the attachment feature of the forum.

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 12:09 pm
by mkwong98
A demo with SMB
http://youtu.be/N57ApspYHVE

A quick run of Kung Fu
http://youtu.be/yySSNxkQ4Q8

The intro of Dragonball Z
http://youtu.be/uC73qM8YPPE

The intro of Dragonball Z II
http://youtu.be/ju-9yREPnn8

The first few stages of Nuts & Milk
http://youtu.be/gwORJNKOoqk

GitHub
https://github.com/mkwong98/HDNes

Here are the files. (Updated 24-2-2015)

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 12:32 pm
by tepples
Result:

Code: Select all

pino@pino-laptop:~/Desktop/hdnes$ wine hdnes.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: stub!
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: stub!
fixme:wgl:X11DRV_wglChoosePixelFormatARB unused pfAttribFList
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 0009), starting debugger...
A backtrace was produced; I'm attaching it.

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 12:32 pm
by 3gengames
I tried to load 2 ROMS, only showed the background color. Didn't let me assign keys. None of the tabs had any info. Size change didn't change window size at all for some reason. And no Y where there's an X in the screen change thingy...so I don't think I can provide any info on the emulation it's self as...yeah, it didn't work here. Win7 Home Prem., AMD Turion 2.5Ghz dual core, 4GB RAM, HD4250 Mobile GPU.

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 1:16 pm
by WedNESday
It works ok for me until I tried to close the program and not even windows task manager itself could do the job...

Re: Please try my NES emulator HDNes

Posted: Sun Mar 17, 2013 6:29 pm
by mkwong98
Thank you for your feedbacks.
I forgot to say in the readme that pressing the esc key to close the game window.

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 4:53 am
by Dwedit
I'm getting a null pointer exception when I run the program. It's jumping to address 00000000 at some point.

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 6:57 am
by mkwong98
I'm using VC++ 2010 Express. Maybe need to install the redistributable package?
http://www.microsoft.com/en-us/download ... px?id=5555

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 7:18 am
by Dwedit
It runs through the GUI, then when you start the game, the emulator window appears, but it crashes before any frames are rendered.
Using Windows XP. I'm sure it's not an issue with the redistributable, otherwise it wouldn't start at all.

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 7:35 am
by tepples
Dwedit wrote:when you start the game, the emulator window appears, but it crashes before any frames are rendered.
Using Windows XP.
That's the same misbehavior I saw on Wine.

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 7:40 am
by mkwong98
Looks like something failed to initialize and return 0 and I didn't check it.

What OpenGL version can your machine support?

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 7:48 am
by tepples
mkwong98 wrote:What OpenGL version can your machine support?
I don't know. It's a Dell Inspiron mini 1012. What command should one use to determine the supported OpenGL version?

Re: Please try my NES emulator HDNes

Posted: Mon Mar 18, 2013 8:12 am
by mkwong98
Try GPU Caps Viewer
http://www.ozone3d.net/gpu_caps_viewer/

What screen resolution are you using? Maybe the program is asking for a surface larger than available size. It is using 1024*720.