[ オリジナルレポート ]

BugID: #07628

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
インターフェイス仮承認未処理2020-04-28 11:052020-04-30 16:18
 
テスターozfalcon担当者 ソース
バージョン0.220発生バージョン0.188修正バージョン
フラグ
セット UI Configure Machine
セット詳細
 
概 要"Configure Machine"メニューに入るときmame.iniがロードできない。
詳 細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
再現手順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.
追加情報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.
 
添付ファイル