<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to automatically rotate display for MFME?]]></title><description><![CDATA[<p dir="auto">Trying to figure this out I did a lot of research and found something called <a href="http://noeld.com/dl.asp?filename=display.zip" target="_blank" rel="noopener noreferrer nofollow ugc">Display</a>, which is a small application that lets you control the orentation of your screen through the command line. Since MFME takes command line arguments, I made a <code>.bat</code> file to automatically open a specified ROM.</p>
<pre><code>@echo off

REM Create a temporary file to indicate script completion
echo &gt; close.tmp

REM Start command prompt windows for display commands
start cmd.exe /k "C:\Display\display64.exe -device 1 -rotate 90 /toggle" ^&amp; timeout /t 1 &gt; nul

REM Run the MFME executable
"C:\MFME\v20\MFME.exe" "E:\Fruit Machine\ROMS\Some MFME ROM\Some_MFME_ROM_(Brand)_[Dx02_15jp].gam"

REM Start command prompt windows for display commands
start cmd.exe /k "C:\Display\display64.exe -device 1 -rotate 90 /toggle" ^&amp; timeout /t 1 &gt; nul

REM Wait for MFME to finish and then delete the temporary file
timeout /t 1 &gt; nul
del close.tmp

REM Check if the temporary file exists; if not, close all windows
if not exist close.tmp (
    taskkill /f /im cmd.exe
)

exit
</code></pre>
<p dir="auto">For this code to work you need to change where the files are located to where you have them on your PC. You also need to setup MFME like this: File/Preferences/Load Mode = Full Screen Max Stretch, after you do that just run the .bat file and it should rotate your display, and then run the game. After you exit the game it will rotate your display back and then automatically close all of the CMD windows.</p>
]]></description><link>https://forum.sumisu.xyz/topic/11/how-to-automatically-rotate-display-for-mfme</link><generator>RSS for Node</generator><lastBuildDate>Sat, 30 May 2026 23:26:42 GMT</lastBuildDate><atom:link href="https://forum.sumisu.xyz/topic/11.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jul 2024 13:14:44 GMT</pubDate><ttl>60</ttl></channel></rss>