xboxscene.org forums

OG Xbox Forums => Software Forums => XPort Projects => Topic started by: madmab on August 20, 2008, 09:45:00 PM

Title: Mednafenx-nes V10
Post by: madmab on August 20, 2008, 09:45:00 PM
MednafenX-NES - NES Emulator for XBox v10

Well I released this because it was the one x-port "Medna" emu that didn't make the last round of releases by Nes6502.  Special thanks to Nes6502 for his proof of concept.

----------------
Added support for video previews. Video previews must be in xmv format . Users running at 1080i need to adjust the font for the game select screen to the following:

Game Select Settings
Max Text Width: 220
Number of Lines: 10
Font Size: 20
Line Height: 32

The Xbox does not have enough CPU power to render several true type
fonts at 1080i and update the video preview. This does not apply to
480i/p or 720p.

----------------
Because of this, though. I had to make numerous changes to the x-port interface. Here is what they were.

Created a new configuration menu called "Screenshot/Movie Preview Configuration". It now contains the new Movie Preview settings as well as all the screenshot related settings that USED to be in "General Settings".

The "Screenshot/Movie Preview Configuration" is as follows.

    * Show Screenshots? No, Screenshots Only, Movies Only, Screenshots 1st- Then Movies, Movies 1st- Then Screenshots.
    * Play Sound From Movie? Yes, No
    * Seconds before auto-advancing screenshot - #
    * Auto-Screenshot Capture Delay - #
    * Show Screenshots While Scrolling? Yes, No

These were removed from the "General Settings Menu" and I shuffled around the "General Settings Menu" to better balance things.

You can set the movie/previews directory in the "Change Default Directories" section. The default location is "D:\VIDEOS\ in order to save confusion with the other two recent Medna releases.  However if you point the movie/previews directory to any drive other than "D:" it changes to the standard x-port emu format of "E:\VIDEOS\EMU_NAME".  That way if you want to you can store all your movies in the same directory and avoid mix-ups with other x-port emu's as they are released with movie preview.

The movie name has to be exactly the same as the ROM name. Only one movie per game.  tongue.gif

All settings are saved in the emu_name.ini file.

----------------
This is a recompiled version of the latest mednafenx with a correction to a typo in the last release that disabled the ability to load custom palettes.

This version of mednafenx also includes the correct nes color palette. (this is enabled by default) You can always autogenerate your own palette or load your own palette.  Included in this release is the old palette and the RGB palette. The RGB palette is colors that can be output by a svideo modded nes.

ENJOY!! please post any issues on the thread located in xport projects.

Compiled by madmab
new palette brought to you by XtecuterX73 and Madmab smile.gif
Title: Mednafenx-nes V10
Post by: althena on August 21, 2008, 01:08:00 AM
Thank you very much for this great update, finally video previews for my favorite emulator that emulates my favorite console of all times too biggrin.gif
Title: Mednafenx-nes V10
Post by: gilles9999 on August 21, 2008, 05:56:00 AM
very good madmab, the cherry on the cake!
me too it was unbelievable that the legendary nes didn't have video preview!
thx pop.gif
Title: Mednafenx-nes V10
Post by: DZIAD on August 21, 2008, 09:33:00 AM
Thank you  
beerchug.gif
Title: Mednafenx-nes V10
Post by: xyteam on August 21, 2008, 01:42:00 PM
great work as always madmab.
Title: Mednafenx-nes V10
Post by: dravichm on August 21, 2008, 06:59:00 PM
Nice to see an update.  Everything works great except with the FDS though just like v9 running it in HD (720p, & 1080i) is giving me a slow frame rate.
Title: Mednafenx-nes V10
Post by: ressurectionx on August 22, 2008, 01:02:00 AM
Hey madmab,

Just got around to trying this new emu.  It works great.  I'm using the "Screenshots first than Movie" setting.  Sucks how the emu music starts playing every time it bounces back to the screenshots, but there's probalby no easy way around that besides just turning the emu music off altogether.  I'll probably just go to the video only previews until somebody figures out how to do dual displays.

Thanks again for all your hard work man.  Can't wait to see what you come up with next.  
~Rx
Title: Mednafenx-nes V10
Post by: ressurectionx on August 22, 2008, 01:33:00 AM
Here's the compatibility list for NES and what videos still need to be made:

Mednafenx-nes V10

I'm wondering if you can make the XPORT emus handle screen size changes like it does joystick settings.  When you change the joystick settings in the main menu it will make the change to all games.  When you change the screensize, it doesn't do this.  

You are only able to set up a universal screensize before playing a game.  After the game has been played, you're SOL.

If it was a universal change like the joystick, you could easily change the size of the emu screen if you switch to a different TV set.  As it is now, you would have to change every single game you played if you used a different TV set.

Do you think this could be done madmab?

~Rx

This post has been edited by ressurectionx: Aug 22 2008, 08:43 AM
Title: Mednafenx-nes V10
Post by: madmab on August 22, 2008, 03:28:00 AM
QUOTE(ressurectionx @ Aug 22 2008, 03:33 AM) *

I'm wondering if you can make the XPORT emus handle screen size changes like it does joystick settings.  When you change the joystick settings in the main menu it will make the change to all games.  When you change the screensize, it doesn't do this.  

You are only able to set up a universal screensize before playing a game.  After the game has been played, you're SOL.

If it was a universal change like the joystick, you could easily change the size of the emu screen if you switch to a different TV set.  As it is now, you would have to change every single game you played if you used a different TV set.

Do you think this could be done madmab?

~Rx
Well that is certainly a feature I would have liked to have.  Had several titles I adjusted for 720p only to find they do not play well in 480p.  (IMG:style_emoticons/default/laugh.gif)  For example when I would switch from my HDTV to a normal set.

I'd have to look thru the code.  The settings are saved by several different functions (a couple interlinked) so I'm not sure how "hard" it would be to do.

QUOTE(ressurectionx @ Aug 22 2008, 03:02 AM) *

Just got around to trying this new emu.  It works great.  I'm using the "Screenshots first than Movie" setting.  Sucks how the emu music starts playing every time it bounces back to the screenshots, but there's probalby no easy way around that besides just turning the emu music off altogether.  I'll probably just go to the video only previews until somebody figures out how to do dual displays.

Thanks again for all your hard work man.  Can't wait to see what you come up with next.  
~Rx
Outside of manually turning it off (right stick click, 1st option) I'm not sure if there would be any feasable way to do it.


Title: Mednafenx-nes V10
Post by: ressurectionx on August 22, 2008, 11:43:00 AM
That would be a HUGE behind the scenes fix.  I hope it's not too difficult and that maybe NES has a suggestion on how to do it.
Title: Mednafenx-nes V10
Post by: Opoth on August 23, 2008, 08:14:00 PM
QUOTE(ressurectionx @ Aug 22 2008, 08:33 AM) *

Here's the compatibility list for NES and what videos still need to be made:



About your compatibility list, I haven't tested this version of Mednafen yet, but I'm pretty sure you need to hit Start on controller two in order to play the Nintendo World Championship cart, otherwise it might give you the perception it's frozen.

Also, I see that the source was updated to the latest Mednafen.  Did madmab keep all the mapper hacks that XPort had added to his more recent versions of his XBox port?  Apparently, Mednafen was missing some of the compatiibility that FCEUltra had, so XPort needed to carry over some mapper compatibility/work-arounds from FCEUltra.

Thanks for your hard work keeping these projects alive madmab!
Title: Mednafenx-nes V10
Post by: ressurectionx on August 23, 2008, 10:21:00 PM
I'm not sure about your mapper question Opoth.... but the only games that stated that "x" mapper wasn't supported were about 1/4 of the Sachen games (maybe like 10-12 games on the non-working list).  I don't know if they were suported before or not, but they don't work now.  (Big loss, right?)

Interesting note on that NES Championships thing.  I'll check it out and fix it in the sheet if it works for me.  

If you've played any games to the end, let me know and I'll update that as well.  

When I get everything together I will have a thread devoted to Xtras for the emus as well as compatibility for the major systems.  I will be asking anyone who has finished any game to let me know and I'll put that in the list.

~Rx

EDIT:  Yup.  NES world championships works that way.  I gave you credit in the spreadsheet.

This post has been edited by ressurectionx: Aug 24 2008, 05:40 AM
Title: Mednafenx-nes V10
Post by: madmab on August 25, 2008, 09:45:00 AM
QUOTE(ressurectionx @ Aug 22 2008, 03:33 AM) *

I'm wondering if you can make the XPORT emus handle screen size changes like it does joystick settings.  When you change the joystick settings in the main menu it will make the change to all games.  When you change the screensize, it doesn't do this.  

You are only able to set up a universal screensize before playing a game.  After the game has been played, you're SOL.

If it was a universal change like the joystick, you could easily change the size of the emu screen if you switch to a different TV set.  As it is now, you would have to change every single game you played if you used a different TV set.

Do you think this could be done madmab?


I think I found a better solution.  I was able to modify Adamx so that it automatically adapted my screen settings to the mode I was in.  For example my screen size settings are based on a standard 480i television (640x480).  When I change it in video options to 720p/i or 1080i it automatically adjusted the screen.  There was still a little "border space" due to the fact that normal TV's have overscan and HDTV's don't.  But it did a reasonable job!

The disadvantage is the user would have to reset the screensize at least once for each game that already has a configuration file (to match a default 640x480 ratio).  This could be got around by either a) adding an option as you suggested or B) have a new option to "Override game config screensize with 'default' screensize".

Or I could try to figure out the ratio difference between 640x480 and the other modes and have the emu auto "downsize" if the maxX and MaxY values exceed 640x480.  To be safe some pixels should probably be chopped off to take into account average "overscan sizes".

Suggestions?  Wanna do some testing?

This post has been edited by madmab: Aug 25 2008, 04:46 PM
Title: Mednafenx-nes V10
Post by: ressurectionx on August 25, 2008, 10:06:00 AM
I can't test till Wednesday, but you know I'm down for the task.  

There's got to be a way to override it so it handles like joysticks do.  My point in doing all the testing, in part, is to copy all the save information for when I make a box for a friend or update old ones I've done for friends and my brothers.  (so every game I have will have configurations already) I also do little control changes for some games that don't work so good (mostly racing games for NES so far) where I've made the left trigger the gas button as well if they find the standard control as uncomfortable as I do on some of them.  

It would be nice to be able to automatically switch all of that if somebody had and HD TV and wanted to use the HD capabilities in one click.  (sure, it takes about 20 seconds to do the controller thing when you've got almost 1500 games on an emu, but it's much better than reconfiguring every game you play after going HD.

Let me know, and I'll test whatever you've been working on.  AdamX would be perfect, because I haven't started testing on that at all.  I'd rather do it on a new system instead of one I've worked on for 2 weeks and have grown sick of.

Later,
~Rx
Title: Mednafenx-nes V10
Post by: madmab on August 25, 2008, 02:32:00 PM
Well now that I think about it as nifty and neat my idea sounds I think it'd be better to go with your original idea.  Have it ask the user if they wanna copy the screen size settings over to all configurations if they happen to change it.  I think that would make for less confusion on the users part.

Now at the moment that particular routine saves some other information (like filter, etc).  I can list them later.  But essentially I can just have it read that info in, change the screen size settings (and any other settings we feel appropriate) and save them.
Title: Mednafenx-nes V10
Post by: sotu on February 02, 2020, 04:49:00 PM
Great job Madmab and co for the update and continued efforts to make our emu setups as cool and comprehensive as they possibly can be.
Title: Mednafenx-nes V10
Post by: ressurectionx on February 03, 2020, 06:28:00 AM
QUOTE(madmab @ Aug 25 2008, 09:32 PM) *

Well now that I think about it as nifty and neat my idea sounds I think it'd be better to go with your original idea.  Have it ask the user if they wanna copy the screen size settings over to all configurations if they happen to change it.  I think that would make for less confusion on the users part.

Now at the moment that particular routine saves some other information (like filter, etc).  I can list them later.  But essentially I can just have it read that info in, change the screen size settings (and any other settings we feel appropriate) and save them.



Yeah.  That sounds great.  Something where any of the changes anyone would likely make could all be handled that way where you have the option to make the change on either just the one game if you do it in-game or to all games if you do it from the main menu.  

Another main motivating factor (the reason I brought it up the other night in the first place) was because somehow a bunch of my NES games were the wrong screen size.  (I think I was boozin' a bit and didn't notice that the bottom was slightly cut off until the next day)  After changing the screen size in the main menu, all new games that I opened for the first time for testing were sized perfect, but the hundreds that were messed up would all have had to have been changed by hand.  I opted instead to just delete every folder in the saves and start over.  (what a pain in the ass).  This would eliminate this completely as well in the future.

Personally, I don't think that I would really use any other settings change other than the screen size, but I'm not suggesting you don't extend this ability to other settings too.  I know that quite a few folks talk about the filter and other things.  I've just never really noticed the difference much myself, at least during gameplay, although it is obvious when somebody shows a screenshot of different filters side-by-side.  

I'm glad that it sounds like this should be an easy fix for you.  Hopefully it's not too hard to put into the other emulators as well.

Let me know when you want me to test it out,
~Rx