BritneysPAIRS Posted October 19, 2009 Posted October 19, 2009 BOOL Create( BOOL enableVSYNC, BOOL smallFootprint ) { if( m_created ) return FALSE; if( !(m_pD3D = Direct3DCreate8( D3D_SDK_VERSION ) ) ) return FALSE; D3DPRESENT_PARAMETERS params; memset( ¶ms, 0, sizeof(params) ); DWORD vidStandard = XGetVideoStandard(); PRINTMSG(( T_INFO, "Video Standard: 0x%X", vidStandard )); DWORD vidFlags = XGetVideoFlags(); PRINTMSG(( T_INFO, "Video Flags: 0x%X", vidFlags )); g_skinOptions.m_currentSkin = "LowDef"; // this sets skin to 480i m_backBufferWidth = 640; m_backBufferHeight = 480; params.BackBufferFormat = smallFootprint ? D3DFMT_R5G6B5 : D3DFMT_X8R8G8B8 ; params.BackBufferCount = 1; params.EnableAutoDepthStencil = FALSE; params.AutoDepthStencilFormat = D3DFMT_D24S8; params.SwapEffect = D3DSWAPEFFECT_FLIP; params.FullScreen_RefreshRateInHz = 60; params.FullScreen_PresentationInterval = enableVSYNC ? D3DPRESENT_INTERVAL_DEFAULT : D3DPRESENT_INTERVAL_DEFAULT; // Screen Tearing Fix // params.FullScreen_PresentationInterval = enableVSYNC ? D3DPRESENT_INTERVAL_ONE_OR_IMMEDIATE : D3DPRESENT_INTERVAL_IMMEDIATE; PRINTMSG(( T_INFO, "Hello World" )); if( vidStandard == XC_VIDEO_STANDARD_PAL_I ) { if( !(vidFlags & XC_VIDEO_FLAGS_PAL_60Hz) ) { // Since many games run at 60Hz, it's easier to be at 60Hz for proper sound emulation params.Flags = D3DPRESENTFLAG_EMULATE_REFRESH_RATE; //m_backBufferHeight = 576; // Set the buffer to full PAL height to disable scaling } } if( vidFlags & XC_VIDEO_FLAGS_HDTV_480p ) params.Flags |= D3DPRESENTFLAG_PROGRESSIVE; if( vidFlags & XC_VIDEO_FLAGS_HDTV_720p && g_romListOptions.m_hidefinition == TRUE) // if hidefination is enabled in settings and it can run make it HD { g_skinOptions.m_currentSkin = "HiDef"; // LowDef"; // this sets skin to HiDef m_backBufferWidth = 1280; m_backBufferHeight = 720; params.Flags |= D3DPRESENTFLAG_PROGRESSIVE | D3DPRESENTFLAG_WIDESCREEN; } params.BackBufferWidth= m_backBufferWidth; params.BackBufferHeight= m_backBufferHeight; theres the source to autoselect 480i-480p-720p it uses one setting "romListOptions.m_hidefinition " to enable or disable and it needs to run when the video size is setup on intialisation
BritneysPAIRS Posted October 19, 2009 Posted October 19, 2009 A logo if you want one...id rather insert it into CoinOPS and I can add the credit to splash screen (this is the proposed logo id add to spash) or you can take it if you want it.
oldpainless Posted October 19, 2009 Posted October 19, 2009 Just my 2 cents on this whole merging thing..... I think, in principle, it may be of great benefit to those that want a simple emulation launcher. I guess, the downside I can see that there is a real danger of the "launcher" influencing what an author of an emulator might want to include with their emu...such as screen re-sizing and different filter options..... Like I said, just my 2 cents....for what it's worth..lol. K
BritneysPAIRS Posted October 19, 2009 Posted October 19, 2009 I wont be touching that stuff and final burn is very limited option wise that isnt gui setup options... but I agree alot thats why ive made a splash if he wants it sep and have no issues with that
oldpainless Posted October 19, 2009 Posted October 19, 2009 Ok...cool....still have my fingers crossed Nes adds a scanline option....does that count as begging?...lol K
fumanchu Posted October 19, 2009 Posted October 19, 2009 all these new arcade games we have now with final burn and coinops it feels like christmas all at once.
oldpainless Posted October 19, 2009 Posted October 19, 2009 all these new arcade games we have now with final burn and coinops it feels like christmas all at once. Sure does! K
nes6502 Posted October 20, 2009 Author Posted October 20, 2009 A logo if you want one...id rather insert it into CoinOPS and I can add the credit to splash screen (this is the proposed logo id add to spash) or you can take it if you want it. Very nice! As far as the Scanline option. I tried to add the Scanline option but couldn't get it to work. However, my Final Burn Legends port has a Scanline (and many more) filter. It plays all the games Final Burn does and about 1300 more. I am considering upgrading the core so that the newer PGM games work (like Martial Masters). No ETA on that release. A couple weeks at the earliest. A couple months at the latest.
neoryu Posted October 20, 2009 Posted October 20, 2009 (edited) Looking forward to Final Burn Legends, nes6502. Based on your excellent past works, I'm sure it will be great. Edited October 20, 2009 by neoryu
- kenshiro - Posted October 20, 2009 Posted October 20, 2009 (edited) I am considering upgrading the core so that the newer PGM games work (like Martial Masters Good luck. Latest iq_132 PGM drivers are slow as fuck on Xbox i had a try in the past and that was... scary lmao. Since ARM7 is emulated it's a pain for the black box. Edited October 20, 2009 by - kenshiro -
oldpainless Posted October 20, 2009 Posted October 20, 2009 (edited) Final Burn Legends?....can't wait... Are you saying that you have already ported FBL, or going to port and if possible add the PGM drivers? K Edited October 20, 2009 by oldpainless
ac3t1ne Posted October 20, 2009 Posted October 20, 2009 I am considering upgrading the core so that the newer PGM games work (like Martial Masters). that would be AMAZING lolone of my favorite fighting games ever
iq_132 Posted October 20, 2009 Posted October 20, 2009 I am considering upgrading the core so that the newer PGM games work (like Martial Masters). No ETA on that release. A couple weeks at the earliest. A couple months at the latest. A few things to be aware of if you want to add those: The ARM7 core's page handling takes a lot of RAM, you can free up a bunch if you remove the page handling and useif (address >= xxx && address Since you're probably going to be using the vmm for almost all of the graphics, it would probably be a decent idea to disable line scrolling first thing and add it back in if it doesn't slow down too much. (the line scrolling calls each tile 16 times [once per line] in the tile map). Rom loading and crunching takes a little bit of work to get it going on xbox. PGM, like Neo-Geo, has massive rom capacities.
oldpainless Posted October 20, 2009 Posted October 20, 2009 Hey Nes, sorry, I also meant to say thanks for trying to add the scanline option dude. K
nes6502 Posted October 20, 2009 Author Posted October 20, 2009 Just my 2 cents on this whole merging thing..... I think, in principle, it may be of great benefit to those that want a simple emulation launcher. I guess, the downside I can see that there is a real danger of the "launcher" influencing what an author of an emulator might want to include with their emu...such as screen re-sizing and different filter options..... That's not a problem. The real concern is the following. Any developer who takes the time to port from scratch an emulator, game, etc... and then designs a GUI, adds the options that they think the users would want most, etc... only does so for one reason. They do it for all the Xbox fans who would appreciate it. I didn't port Final Burn for me. I did it for the Xbox users around the world. It's the same reason I did ZsnexBox. If it was just for me, I would have stopped at ZsnexBox 1.3. They don't get anything for their work. The only thing they get is the "Great emulator!" posts. The satisfaction of the users is all you get. If I or any developer released a port, and no-none took the time to say "great job", then that would be the last port I ever did. The point in all of this is, I personally would like my work to stay "my work" for at least a little while. I don't want it immediately wrapped up in someone else's emulator where they get all the credit. If I was to release a port and someone took my source and added it to their emulator the next day, then I just did all that work for someone else. The source is out there and people can do whatever they like with it of course (that's the point of open source), but I'd be lying if I said I didn't have an opinion on it.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now