[ オリジナルレポート ]

BugID: #06068

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
システムコア仮承認未処理2015-11-08 04:362017-08-19 04:26
 
テスターu-man担当者 ソース
バージョン0.167発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット CFG/INI confusion
セット詳細
 
概 要UIで変更した設定値がcfgファイルに保存され、iniファイルと衝突する。
詳 細core screen options (like brightness, gamma, contrast) that are altered with sliders while in game, are stored in the .cfg file on exit. The resulting .cfg file will override the .ini setting, which also stores core_screen_options.

This leads to a inconsistence, because the core screen options are stored in two places.
If a game with a existing .cfg file will started again, MAME will read any core screen options values only from the .cfg file and will ignore any setting from the .ini file.

This behaviour can lead to problems, if people wants to exchange .ini files among each other, or a user wants to change the core screen options via the .ini file and is not aware that a existing .cfg file will override the changes he made to the .ini file.
再現手順Create a .ini file for a game of your choice.
Start the game, use the tab-menue and enter the "slider controls" options there.
Change the Brightness, Contrast, Gamma settings via the sliders.
Quit MAME and a .cfg file for the game will be stored in the cfg folder.
Start the game again and it will have the Brightness, Contrast, Gamma settings, which was set by the sliders you used before and are overriding the (default) core screen options settings from your .ini file.
追加情報IMHO the core screen options settings should not be stored in two places, but rather only in one. Ideally only in the .ini file, as the users got used to this file.

The best way, would be a seperate screen setting file, that keeps track of any screen relevant settings, including HLSL/GLSL, core screen options, screen index, screen horizontal/vertical stretches and position, etc. etc.

Such a screen setting file, could be then considered and treated like a "screen preset" and this preset could be set in the .ini file.

This way we would also clean up the .ini file, that is cluttered and overloaded with all these available screen options.
 
添付ファイル