| カテゴリ | 重要度 | ステータス | 解決状況 | 登録日時 | 最終更新 |
|---|---|---|---|---|---|
プラグイン | 中 | 新規 | 未処理 | 2026-09-19 20:57 | 昨日 00:57 |
| テスター | Russell | 担当者 |   | ソース | |
| バージョン | 0.289 | 発生バージョン | 修正バージョン | ||
| 修正コミット | プルリク | ||||
| フラグ | |||||
| セット | |||||
| セット詳細 | |||||
| 概 要 | Luaチートプラグインの|=表記が動作しない。 | ||||
| 詳 細 | The Lua Cheat plugin cannot load an XML cheat action containing the MAME compound assignment operator like this one |=. The same XML expression is accepted and executed correctly by MAME's regular built-in cheat engine. However, when the cheat is loaded through the Lua Cheat plugin, a pop-up error is displayed: e.g. <action>maincpu.pb@202A26 |= 01</action> error cheat script error: "Compound assignment test" [string "Compound assignment testrun"]:1: unexpected symbol near '|' | ||||
| 再現手順 | 1. Use an official MAME 0.289 2. Enable the Cheat Lua plugin. https://www.mamecheat.co.uk/forums/viewtopic.php?t=14201 3. Place the XML example above in the configured cheat path as metamrph.xml 4. Start the game. 5. Open Plugin Options, then Cheat. 6. Observe the Lua compilation error near '|'. | ||||
| 追加情報 | The relevant regular-expression implementation is: https://github.com/mamedev/mame/blob/mame0289/src/emu/debug/express.cpp The XML converter that does not currently expand |= is: https://github.com/mamedev/mame/blob/mame0289/plugins/cheat/cheat_xml.lua Edit: In case it is helpful for investigating this issue, I have posted my modified cheat_xml.lua. The file adds tested conversion support for the complete compound-assignment family and several other commonly used MAME XML expressions and conditions. And sorry about duplicated reports. https://www.mamecheat.co.uk/forums/viewtopic.php?p=29916#p29916 | ||||
| 添付ファイル | |||||