Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07628 Interface Major Always Apr 28, 2020, 02:05 Apr 30, 2020, 07:18
Tester ozfalcon View Status Public Platform SDLMAME
Assigned To Resolution Open OS Linux (64-bit)
Status [?] Acknowledged Driver
Version 0.220 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 07628: UI Configure Machine: Mame fails to load mame.ini when entering "Configure Machine" menu.
Description When entering "Configure Machine" menu, Mame will attempt to re-load the mame.ini file.
Under Linux this file is usually locate in "$HOME/.mame"
Mame does not try to load from this location. (It only tries to load it from the "Current" directory)
The result is "Default" settings for all configuration options.
ie. "Save Machine Configuration" will write a game.ini file with incorrect (Default) configuration options.
Running the game after saving machine configuration will result in default options and failure if rompath is different from default.

When viewing -verbose output initially the mame.ini is seen to be loaded/parsed.
When entering the "Configure Machine" menu, The mame.ini file is not parsed (found/loaded).

Initial mame.ini load
Attempting load of mame.ini
Parsing mame.ini
Attempting load of mame.ini
Parsing mame.ini
Reading translation file English: 1 strings, original table at word offset 7, translated table at word offset 9
.........

"Configure Machine" mame.ini load
.........
Attempting load of mame.ini
Attempting load of mame.ini
Attempting load of horizont.ini
Attempting load of arcade.ini
Attempting load of raster.ini
Attempting load of source/88games.ini
Attempting load of 88games.ini
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
Exit
Steps To Reproduce 1) Ensure you have a valid "mame.ini" file locate in "~/.mame"
2) Open a terminal window so Mame output can be viewed.
2) Ensure you DO NOT have a "mame.ini" file in the "Current" directory.
3) Run Mame from terminal to get into UI, Use the "-verbose -window" options to display output.
4) View Mame terminal output to see "mame.ini" is loaded/parsed at the beginning of output.
5) Enter the "Configure Machine" menu.
6) View Mame terminal output to see "mame.ini" is Attempting to load but not parsed (Not found).
Extra steps
7) Select the "Save Machine Configuration" to create the currently selected game config.
8) Open and examine the saved machine configuration ini file to see that all options are now defaults.
Additional Information Running the game after saving machine configuration will result in default options and failure if rompath is different from default.

If a "mame.ini" file is in the "Current" directory then Mame will load/parse this file when "Configure Machine" menu is entered.
Github Commit
Flags
Regression Version 0.188
Affected Sets / Systems UI Configure Machine
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.17584
ozfalcon
Tester
Apr 29, 2020, 22:37
The regression appears in Mame 0.188.