Like i said the snippet of info was actually Calamity in another thread:
" Instead of the desktop mode to grab the adjustments, use the closest mode to what you're going to be using in-game. Likely it's going to be 2560x240. Center the mode correctly in Arcade OSD and then copy those 2 horizontal values back to mame.ini."
Please someone stop me if im passing on bad info.
so either pick the modeline from the list in arcadeosd,or run mame in verbose mode.
So in my case H:\GROOVYMAME\mame64.exe pacman -v then exit mame once it has started.
I then flipped my desktop back to landscape,as i cant see any settings in arcadeosd when vertical.
start arcadeosd,and you will now see the option "get mode from clipboard" is available.
Now the modeline you can see is pacmans.choose horizontal geometry.From memory you can now centre the graphic box using the settings.front porch up & back porch down or vice versa will shift the image left and right.Then for example raising both values will make the image narrower.
When you have it how you want it,dont bother saving anything,either write down the front and back porch values,or copy to clipboard,then transfer them into your mame.ini.replacing the front and back porch values vmm generated during setup.
Then i flipped my desktop back to vertical,and was amazed to see pacman now perfect.
Then i entered the values into vmm.This meant if i ran vmm again at a later date,the front and back porch values id just created would be written automatically to mame.ini.
Theres so much more i need to learn about groovy but right now im at a place where at least the games i play look acceptable.
Please anyone correct me on any bad advice im giving out.