Jump to content

Wondering what lib to use for a frontend of a hobby emulator I have been working on.

trying to be cross platform as I switch between a linux and windows dev environment pretty regularly. (though I have considered using wsl to simplify the environment)

 

The emulator effectively spits out a bitmap at a certain fps (e.x. 60fps/17ms) and I just need at a bare minimum to render the bitmap and display it. Ideally I would like to also display register values and other debug information as well.

 

I don't have a lot of GUI experience outside of wpf (what I do for work) and was wondering what people suggest for this type of thing in a .net environment.

 

I have been using skiasharp (for image tools) and sfml for rendering and window management.

unfortunately the c# bindings for sfml that I have found seem like they are missing some features and have little documentation resulting in weird differences in namespaces and signatures for methods, it has kind of made it a bit of a trial and error process trying to get gui stuff working.

 

using .NET 6.

 

Edit: a little snapshot of what I have with sfml at the moment.

nescap.PNG

If your question is answered, mark it so.  | It's probably just coil whine, and it is probably just fine |   LTT Movie Club!

Read the docs. If they don't exist, write them. | Professional Thread Derailer

Desktop: i7-8700K, RTX 2080, 16G 3200Mhz, EndeavourOS(host), win10 (VFIO), Fedora(VFIO)

Server: ryzen 9 5900x, GTX 970, 64G 3200Mhz, Unraid.

 

Link to comment
https://linustechtips.com/topic/1446846-cnet-nes-emulator-frontend/
Share on other sites

Link to post
Share on other sites

Well in case someone else comes to this via google I have started using monogame for rendering bitmaps as well as displaying text, and accepting inputs. Seems to work pretty well so far.

If your question is answered, mark it so.  | It's probably just coil whine, and it is probably just fine |   LTT Movie Club!

Read the docs. If they don't exist, write them. | Professional Thread Derailer

Desktop: i7-8700K, RTX 2080, 16G 3200Mhz, EndeavourOS(host), win10 (VFIO), Fedora(VFIO)

Server: ryzen 9 5900x, GTX 970, 64G 3200Mhz, Unraid.

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×