LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-14-2020, 07:40 PM   #1
cjspizz
LQ Newbie
 
Registered: Nov 2018
Location: Rock hurtling through space-time
Distribution: Linux Mint 20.3 "Una"
Posts: 21

Rep: Reputation: 2
MAME's folder structure


Hi all. I could use some help understanding the MAME linux (Ubuntu-based) folder structure better. In Windows, everything goes in the MAME folder, e.g. C:\MAME\. In contrast, in Linux Mint, I find the following:
  • /usr/games [The MAME binary's location]
  • ~/.mame ["Core Output" folders, i.e. cfg, diff, nvram, sta, ui, and the files ui.ini and mame.ini]
  • /etc/mame [ini files, including another mame.ini]
  • /usr/share/games/mame AND some are also in /usr/local/share/games/mame [Supporting folders, e.g. artwork, cheat, samples, etc.]
A couple questions:
  1. Why are there two mame.ini files? Which one should I edit when I need to make changes?
  2. The ui.ini file references folders that don't exist, but that I'd like to create, e.g. "marquees_directory {tab} marquees". In Windows, that means the the "marquees" folder goes in MAME's 'root' folder, i.e. C:\MAME\. There's no such MAME root folder for linux, so where is ui.ini looking for these folders?
The mame.ini and ui.ini files read like they're operating in a Windows environment, and I could really use help understanding how to interpret them for linux.
 
Old 04-15-2020, 12:08 AM   #2
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by cjspizz View Post
Why are there two mame.ini files? Which one should I edit when I need to make changes?
In general the /etc one is global initialization for all users, the one in your home dir is specific to you and should normally only contain the changes you want compared TO the global default. Mpstly all options will be commented out, for you to UNcomment and change when you want a different behaviour THEN the global (for all other users) one provides.
So you need to edit the /etc one if you want to change things for everyone, the one in .mame if it's only for you.

As I do not knwo mame I cannot respond to your other question(s).
 
1 members found this post helpful.
  


Reply

Tags
mame



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Added to favorites and enabled high scores in MAME - now there's 'hi' and 'ui' folders in home folder. linustalman Linux - Games 2 01-11-2018 02:34 PM
structure inside a structure in C batman4 Programming 3 09-13-2012 05:52 AM
Convert directory structure from long file names in Linux to DOS 8.3 structure? manorina Linux - Software 5 09-12-2009 09:18 AM
Home Jail Folder Structure like Gobolinux Directory Structure luispt Linux - General 3 07-26-2008 06:46 PM
structure within a structure in C knobby67 Programming 3 03-06-2007 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration