カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
インターフェイス解決済み修正済み2014-01-04 11:562014-04-07 08:28
 
テスターozfalcon担当者Ossoソースmidway/mcr.cpp
バージョン0.152発生バージョン修正バージョン0.153
修正コミットプルリク
フラグ
セット dotron
セット詳細
dotron - ディスクスオブトロン (Upright, 10/4/83)
 
概 要ダイアルの増減操作をマッピングできない。
詳 細The Dial Increment/Decrement appear to be hardcoded and Mame CTRLR file fails to override default settings.

My configuration includes a Joystick (Sometimes not connected), So I must use the Mame ctrlr file to make these settings permanent.
Also, I'd simply like to use my own key assignments for Dial Increment/Decrement for better keyboard layout as well.

Bugs related include:
"bug02171"
"bug01080"
"bug04479"
再現手順Assign custom controls for Dial Increment/Decrement via Mame CTRLR file.
Play Discs of Tron, The Dial Inc/Dec are NOT overridden.

Example Mame ctrlr file:
<?xml version="1.0"?>
<mameconfig version="10">
<system name="dotron">
        <input>
<!-- Throw Disc -->
            <port tag=":ssio:IP0" type="P1_BUTTON1" mask="16" defvalue="16">
                <newseq type="standard">
                    KEYCODE_LSHIFT OR JOYCODE_1_BUTTON1
                </newseq>
            </port>
<!-- Deflect Disc -->
            <port tag=":ssio:IP2" type="P1_BUTTON2" mask="64" defvalue="64">
                <newseq type="standard">
                    KEYCODE_X OR JOYCODE_1_BUTTON3
                </newseq>
            </port>
<!-- Aim Disc -->
            <port tag=":ssio:IP1" type="P1_DIAL" mask="127" defvalue="0" keydelta="5">
   <!-- Aim Right -->
                <newseq type="increment">
                    KEYCODE_SPACE OR JOYCODE_1_BUTTON7
                </newseq>
   <!-- Aim Left -->
                <newseq type="decrement">
                    KEYCODE_LCONTROL OR JOYCODE_1_BUTTON5
                </newseq>
            </port>
<!-- Aim Down Level -->
            <port tag=":ssio:IP2" type="P1_BUTTON3" mask="16" defvalue="16">
                <newseq type="standard">
                    KEYCODE_Z OR JOYCODE_1_BUTTON2
                </newseq>
            </port>
<!-- Aim Up Level -->
            <port tag=":ssio:IP2" type="P1_BUTTON4" mask="32" defvalue="32">
                <newseq type="standard">
                    KEYCODE_LALT OR JOYCODE_1_BUTTON6
                </newseq>
            </port>
<!-- Not Used -->
            <port tag=":FAKE" type="P1_TRACKBALL_Y" mask="255" defvalue="0">
                <newseq type="increment">
                    NONE
                </newseq>
                <newseq type="decrement">
                    NONE
                </newseq>
            </port>
        </input>
</system>
</mameconfig>
追加情報IMHO, Using the default workaround is not a useful solution if you have other games that rely on a different default.

Using the default workaround in conjunction with Joysticks setup in the CTRLR file causes Mame to error & erase the game config!
Example:

Custom ctrlr file
<?xml version="1.0"?>
<mameconfig version="10">
<!-- ############################################################### -->
<!-- ########## START of DEFAULT controller configuration ########## -->
<!-- ############################################################### -->
<system name="default">
        <input>
            <port type="P1_DIAL">
                <newseq type="standard">
                    NONE
                </newseq>
                <newseq type="increment">
                    KEYCODE_SPACE OR JOYCODE_1_BUTTON7
                </newseq>
                <newseq type="decrement">
                    KEYCODE_LCONTROL OR JOYCODE_1_BUTTON5
                </newseq>
            </port>
        </input>
</system>
</mameconfig>




dotron config file:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="dotron">
        <input>
            <port tag=":ssio:IP1" type="P1_DIAL" mask="127" defvalue="0">
                <newseq type="increment">
                    DEFAULT
                </newseq>
                <newseq type="decrement">
                    DEFAULT
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>




Run Discs Of Tron, And dotron.cfg is modified as follows:
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="dotron">
        <input>
            <port tag=":ssio:IP1" type="P1_DIAL" mask="127" defvalue="0">
                <newseq type="increment">
                    KEYCODE_SPACE OR JOYCODE_1_UNKNOWN_SWITCH
                </newseq>
                <newseq type="decrement">
                    KEYCODE_LCONTROL OR JOYCODE_1_UNKNOWN_SWITCH
                </newseq>
            </port>
        </input>
    </system>
</mameconfig>




Run Discs Of Tron again, And Mame errors when exited.
Segmentation fault (core dumped)

The contents of dotron.cfg file have been completly erased!
(including any custom volume settings, Coin counters etc)
 
添付ファイル