Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Win7 ddraw switch interlace/progressive  (Read 2669 times)

0 Members and 1 Guest are viewing this topic.

iori01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:May 18, 2024, 05:41:12 pm
Win7 ddraw switch interlace/progressive
« on: May 02, 2020, 05:29:58 pm »
Hi All

I recently try to setup a good system for Fightcade 1 (fba emu) but facing weird issue.

System is :
Win7 64b - HD4550 - CRT Emudriver 2.0 b15 without super resolutions (just user modeline)
System is only connected to CRT TV, then I need 480i for Fightcade user interface, but trying to acheive pixel perfect with fba (like I have with groovymame)

I have correct modelines for CPS2 384x240 , 384x224 and windowed mode is ok. Problem is when I try to go fullscreen. I have then error message saying impossible, not VGA standard resolution.
After troubleshoot this, I understand fba is working with differents bilter.

The only one working is the DirectX 9 , which allow a fullscreen but with forced filter which is horrible on CRT; then no way.
Other ones are Ddraw 7 , or DX7 ; both have the same problem, when the emu try to switch resolution from Interlace to progressive : error which looks related to WIN7 bug ddraw
If i set the desktop resolution to a progressive one, the fba switch on fullscreen perfectly and pixel perfect is here with no filter !

My problem now is that I can 't keep progressive resolution for desktop cause best is 288 lines : impossible to see fightcade.

I try to apply Windows Interlace Patcher 1.1 but not working with my version of Win7 and not sure this would fix the issue.

what can I do ? move to WinXP ? move to Win10 ? change to HD6XXX ?

I've tested Fightcade2 beta , which allow Directx9 without filter and results is perfect , but, I don't like the interface and nobody is connected compare to Fightcade 1. Then no way.

Any help is more than welcome to have Fightcade 1 working like Groovymame on my New Astro City ;)

Many thanks in advance.

ps : I try also to keep my 'old hardware' cause I still use PPjoy and parralel port (not sure working with Win10)




psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 465
  • Last login:September 24, 2024, 11:54:25 am
  • I want to build my own arcade controls!
Re: Win7 ddraw switch interlace/progressive
« Reply #1 on: May 03, 2020, 05:48:58 am »
Just try to switch a progressive resolution before start fightcade and restore it at exit.

iori01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:May 18, 2024, 05:41:12 pm
Re: Win7 ddraw switch interlace/progressive
« Reply #2 on: May 03, 2020, 07:03:50 am »
Thanks Psakhis

Indeed, this works ! but the problem is that it's really difficult to do that everytime you want to change game, and also a problem.
When Fightcade launch the game windowed, if I swap from interlace to progressive resolution, this will crash the emulator.

This means I would need to stay on progressive resolution with Fightcade, which is impossible on a CRT

But thanks for the hint ;)

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 465
  • Last login:September 24, 2024, 11:54:25 am
  • I want to build my own arcade controls!
Re: Win7 ddraw switch interlace/progressive
« Reply #3 on: May 03, 2020, 08:33:50 am »
Another alternative is to switch to progressive when detects fba process. With a simple script you can do that.

If you are interested in this workaround, i can you attach some examples.

EDIT: Attached a tested launcher for fightcade. You can replace your own scripts for switch resolutions.
« Last Edit: May 03, 2020, 02:29:28 pm by psakhis »

iori01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:May 18, 2024, 05:41:12 pm
Re: Win7 ddraw switch interlace/progressive
« Reply #4 on: May 04, 2020, 07:17:59 am »
Hi psakhis,

Many thanks for your help, this is really appreciated.

I must say that in between, I've tried a WinXP 64 setup and it works like a charm.

Also, reading Calamity bible, it seems he already identified this issue and fixed it of course since years  :dizzy:
http://forum.arcadecontrols.com/index.php/topic,149052.0.html

on this thread, there is just a ddraw.dll patched to copy on Emulator that are using ddraw and we want to switch from progressive to interlace.

I've looked an entire day on google but was not enough  :dunno

Maybe this can help others, thanks again for your help.

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 465
  • Last login:September 24, 2024, 11:54:25 am
  • I want to build my own arcade controls!
Re: Win7 ddraw switch interlace/progressive
« Reply #5 on: May 04, 2020, 08:07:23 am »
I have W7x64 and i tried ddraw.dll before script launcher.bat as you have well commented but it didn't work for me.

I'm relatively happy with the launcher, but knowing that it's a workaround.

iori01

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:May 18, 2024, 05:41:12 pm
Re: Win7 ddraw switch interlace/progressive
« Reply #6 on: May 05, 2020, 08:03:22 am »
I've discovered that if you don't select the 'CRT 4:3 format screen' it will not work.

Also, I will upload my config file if this can help you.

Now, since it's not using super resolution, I had to use standard ones, like 304x224 , 384x224 because only playing MVS and CPS.
My problem now is to have the exact refresh rate and modeline which looks to be not easy. I always have some 'tearing' on games with scrolling.

I can see it well with 2X background, and Samourai Shodown 2 selection background.

Any idea where to have those 'perfect' modelines ?

psakhis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 465
  • Last login:September 24, 2024, 11:54:25 am
  • I want to build my own arcade controls!
Re: Win7 ddraw switch interlace/progressive
« Reply #7 on: May 05, 2020, 11:53:42 am »
For me, not working interlaced to progressive arcade resolution even with CRT 4:3. For remove tearing i need to check Triple Buffer, i created exact modelines that GroovyMame says for these games.

Works fine with dx9 experimental without triple buffer too, only you need it's the correct modeline, for example sf2 says in Groovymame 384x224@59.637405 exact refresh.

If you are interested i programmed a launcher for autoselect game, it's still beta but works.

FightCade_Launcher.exe %basename% -f (this argument is optional for autofullscreen at startup a game)

https://drive.google.com/drive/folders/12aT5kQSmcX-S9wfSU_5m0oJsjvSUUMu0?usp=sharing

« Last Edit: May 06, 2020, 12:05:22 pm by psakhis »