Jump to content
LaunchBox Community Forums

Automatically set correct DISPLAY in mame.ini at startup - Marquee setups


Recommended Posts

Posted (edited)
25 minutes ago, kyzumi said:

I am getting an error message even though it appears to be working. Any idea how to fix it?

2025-07-18 21_07_03-Window.png

It looks like that specific output.txt file doesn't exist and isn't getting created. I'd double check that it's there.

if it is there and the mame.ini file is being written to correctly then I'm not sure what's going on.

As a final effort, you can uncomment the lines that print some variables (remove the # in front of lines that begin withWrite-Output) and run the script in powershell's IDE to see what's going on.

Edited by Hamburglin
Posted (edited)
15 hours ago, kyzumi said:

there is a output.txt file but it's empty

Interesting. To me, that feels like a file permissions issue.

Can you change the output.txt path to your desktop or somewhere else and see if the output file is correctly written?

If so, you'll want to check the read and write permissions for your mame folder.

If not, the user executing mame may not have high enough permissions in general. Try running it as administrator to check.

If not those, then I'm not sure what's going on.

Edited by Hamburglin
Posted
2 minutes ago, kyzumi said:

Ok, I will try that. Could this be related to the default.cfg file being read only? I do that to prevent accidental input changes

I doubt it. Unless you set that control at the folder level instead of the specific file level.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...