Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: An embedded NES emulator?

  1. #1
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335

    An embedded NES emulator?

    For a while now I have not been able to really find what I want with an NES emulator. I use RockNES and it works ok but I would really like to have an emulator that runs embedded in a program or front end like FP,ME or simply as a standalone app that is a frontend for a nes emulator out there.

    For instance, I'd want a program that has a button for a popup list of scrollable games similar to how you would scroll music in FP,ME or any other front end and on the same screen an embedded window that plays the game. I've attached a concept of this and was curious if anything has thought about this before? Im good with VB and VC++ and Java but I am not sure how to embed emulators so if anyone has any ideas please share.
    Attached Images Attached Images  

  2. #2
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335
    anyone have any ideas? How would I overlay a visual basic program when a program is running full screen?

  3. #3
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    I think that all depends on the frontend. You would need a way of interfacing with the frontend. It isn't difficult to put buttons on top of the emulator screen but you would need to be able to send the frontend commands. I was going to build an emulator launcher similar to carcade (search for it) but the problem is integrating with the frontends. So unless you worked something out with the specific frontend creator (or if one of them would create a plugin system) then I'm not sure what options you would have.
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  4. #4
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335
    I've looked into NES emulator sources and I'm not sure if I would be able to integrate into them. What I was thinking is writing an overlay frontend that would just call the system command to run the emulator with the filename of a rom as the argument and have it go to full screen automatically. Certain emulators you can set up to run fullscreen automatically. So all I would need to know is how to code a frontend that stays on top of the screen even when an app is in full screen mode.

  5. #5
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    Quote Originally Posted by tmar89
    I've looked into NES emulator sources and I'm not sure if I would be able to integrate into them. What I was thinking is writing an overlay frontend that would just call the system command to run the emulator with the filename of a rom as the argument and have it go to full screen automatically. Certain emulators you can set up to run fullscreen automatically. So all I would need to know is how to code a frontend that stays on top of the screen even when an app is in full screen mode.
    Do you have/know how to program in .NET studio?
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  6. #6
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    You don't even need to integrate with it too much. You can have the emulator run, make sure your app is running on top (above the others in terms of z-order). To send commands you can simply send messages to the Window. Look up info on FindWindow and SendMessage you can send appropriate WM_KEYDOWN and WM_KEYUP messages to "simulate" the user hitting hotkeys or pulldown menus. You can use SetWindowPos to make your window "Always on top".

    I know this is very straightforward in C. In VB you may have to import those library functions, but I haven't used VB since 5.0. I think the syntax was Declare <the func> ByVal Lib <the lib>.

  7. #7
    Super Moderator xBrady's Avatar
    Join Date
    Apr 2004
    Location
    USA
    Posts
    3,687
    Quote Originally Posted by TheLlama
    You don't even need to integrate with it too much. You can have the emulator run, make sure your app is running on top (above the others in terms of z-order). To send commands you can simply send messages to the Window. Look up info on FindWindow and SendMessage you can send appropriate WM_KEYDOWN and WM_KEYUP messages to "simulate" the user hitting hotkeys or pulldown menus. You can use SetWindowPos to make your window "Always on top".

    I know this is very straightforward in C. In VB you may have to import those library functions, but I haven't used VB since 5.0. I think the syntax was Declare <the func> ByVal Lib <the lib>.
    Problem with that is the app may not take sendkey commands (of course as I said it all depends on the frontend). You can try using the tab key to move around from control to control but that kind of sucks.
    AMD XP 2600+/512MB RAM/120GB hard drive
    Opus 150W/DVD/GPS/7" Lilliput TS/802.11g/Bluetooth
    Installed.


    -GPSSecure- - GPS Tracking
    -AltTabber2.2.2- - Handy touchscreen utility.

  8. #8
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335
    I don't have much experience with .NET Studio but I do have experience with VB so I can't imagine I would have issues learning the new language.

  9. #9
    Constant Bitrate cbergeron's Avatar
    Join Date
    Apr 2004
    Posts
    176
    You should look at the sources at: www.snex9x.com They're open-source and you should be able to adapt them to almost any operating system easily.
    DashPC - The Linux Car (since 1999).

    Dash LCD, Via Epia, GPS, XM, OBDII, DSSC Shutdown Controller.

    As seen in the book Geek My Ride

  10. #10
    Variable Bitrate
    Join Date
    May 2004
    Posts
    335
    Quote Originally Posted by TheLlama
    You don't even need to integrate with it too much. You can have the emulator run, make sure your app is running on top (above the others in terms of z-order). To send commands you can simply send messages to the Window. Look up info on FindWindow and SendMessage you can send appropriate WM_KEYDOWN and WM_KEYUP messages to "simulate" the user hitting hotkeys or pulldown menus. You can use SetWindowPos to make your window "Always on top".

    I know this is very straightforward in C. In VB you may have to import those library functions, but I haven't used VB since 5.0. I think the syntax was Declare <the func> ByVal Lib <the lib>.
    Do you have any examples of this in C?

Page 1 of 3 123 LastLast

Similar Threads

  1. CoPilot Live 8 Embedded
    By chuckster in forum Centrafuse
    Replies: 40
    Last Post: 11-10-2005, 12:24 PM
  2. Screen size of IGuidance Embedded in FP
    By PDiddy in forum FrodoPlayer
    Replies: 11
    Last Post: 02-11-2005, 07:07 PM
  3. Touch screen friendly NES emulator
    By warnockm in forum Software & Software Development
    Replies: 2
    Last Post: 01-05-2005, 09:39 PM
  4. Which NES emulator to use?
    By tmar89 in forum Software & Software Development
    Replies: 6
    Last Post: 10-06-2004, 02:56 AM
  5. NES emulator?
    By AlphaFox in forum Software & Software Development
    Replies: 9
    Last Post: 10-24-2003, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •