![LOL :lol](http://newforum.arcadecontrols.com/Smileys/default/lol.gif)
Care to elaborate?
yes sir, happy to explain
![Smiley :)](http://newforum.arcadecontrols.com/Smileys/default/smiley.gif)
the problem i was having was using mameuifx, outputting to a pal scart tv (which also handles ntsc). i am forced to use direct3d not directx (for reasons i wont go into, it will make this post even longer!). as you know already, when using direct3d with standard build mame versions, unlike directdraw mode, direct3d
always applies vertical stretching if you try to run a game where the native game resolution and the output screen resolution do not match exactly.
the problem i was having: i was trying to create a low res resolution of 512x288 so i could run games like galaga and pacman etc on my horizontal mounted tv. the problem, when i tried to get my tv to display a 288 lines high resolution, the tv switched into PAL mode (no doubt it decides between pal/ntsc mode depending on the amount of vertical lines). i then discovered that the tv would stay in ntsc mode as long as i didnt go above 286 lines. but of course, then if i tried to run galaga (288 lines) on the 286 lines mode, directd3d applies stretching of a few lines (which IS visible as a couple of blurry lines)
i couldnt figure out a solution to the problem until i read one of your posts from a past thread on this forum which mentioned using the stretch options in the
slider controls menu of mame. i did the math and saw that 288/286 = 1.007 so in the .cfg files for the 288 games like galaga, pacman i set
hstretch=1.007000 and there we have it, no visible stretching anymore when running 288 games using my 286 screen resolution under direct3d (instead, a couple of lines are simply displayed off the screen)
so thanks again cools for giving me the idea to fix my problem
![Smiley :)](http://newforum.arcadecontrols.com/Smileys/default/smiley.gif)