- C# 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .gitea | ||
| PinMameMover | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| PinMameMover.sln | ||
| README.md | ||
PinMameMover
This is a simple Utility to move the VPinMame - Window to the expected position after VPinBall started.
Config-Paramters (PinMameMover.Config)
PlayerName The name of the Player (usually Virtual Pinball). This is the Prefix and not case-sensitive. So "vpin" would find "VPinBall922" and so on MameName The ProcessName from VPinBall. Should be always MAME X, Y Position to move the window to Width, Height Size of the VPinMameWindow Delay Pause to be used after the VPinBall-Window has been found before the VPInMame-Window is visible. 0=No Delay Interval Recheck every xx seconds. -1= No recheck
Startup-Parameters
none Detect newly created threads, search for the MAME-WIndow and resize it MANUAL Detect and resize ONCE. The MAME-Window must already be visible. For testing purpouses NOMOVE Only display the current position and size. Don't move
Hints
Finding the right position:
- Set the Config-Paramter Interval to a 10 seconds. Then
- Start with "NOMOVE" - Parameter.
- You should now open your game and wait until the MAME-Window is visible.
- Move and resize the Mame-Window the the Position you want.
- Note the Values for X,Y, Width and Height
- Stop PinMameMover
- Enter the Values for X,Y,Width and HEight into the Config
Auto-Move/Resize
Using Visual Pinball directly
If you use Visual Pinball without a launcher, the VPinBall-Process will always be in Memory. That is why the new process-detection will not work. Simply set a value for "Interval" to some seconds. So every xx seconds we will recheck if the MAME-Window is present. This should have nearly no impact on the performance.
Start PinMameMover without any parameters and the Window should resize automatically
Using a launcher
If you use a launcher like PinballX, you can use the "smarter" detection. Put Interval to -1. Instead use a value for Delay. I had good experiences with 5 seconds. You might increase that if you computer is very slow.
Start PinMameMover without parameters and the MAME-Window should resize automatically after VPinball is started by your launcher.
Reduce Output
You can reduce the Output (and logging) by changing the level unter log4net/root/level Change the value to INFO, or WARN to get less output. If you want no output at all, remove the line appender-ref ref="ConsoleAppender"
Binaries
You can download V 1.0 there [https://files.oles-cloud.de/PinMameMover.1.0.zip]