libretro / mame

MAME - Multiple Arcade Machine Emulator
Other
64 stars 74 forks source link

Some problem when used ini config #484

Open lrf739146825 opened 4 months ago

lrf739146825 commented 4 months ago

When "Read Configuration" and "MAME ini Path" are enabled in "Quick Menu" - "Core Options" - "System". Add the mame.ini file to the RetroArch/system/name/ini/.

  1. I found that RetroArch can only "Load Content", which is located in the rompath configuration path of the mame.ini file.
  2. When Mame runs the game, I change the game through RetroArch's "Load Content", and RetroArch will crash directly. RetroArch Log : [libretro WARN] [LUA] emu.register_start is deprecated - please use emu.add_machine_reset_notifier
sonninnos commented 4 months ago

Yes, the rom path in the ini will override everything. And that LUA thing sounds like you need to keep the system plugins dir up-to-date.

lrf739146825 commented 4 months ago

I downloaded mame0265b_64bitxe and installed it. Copy the plugins folder to Retroarch/system/name/plugins. Set the value of the pluginspath attribute to system/name/plugins in the mame.ini file.The problem has not been resolved. I configure the interface menu of MAME to display in Chinese and use MAME's plugin functions through INI. This requires the use of uismall.bdf fonts that support CJK. I have uploaded the Libertro: MAME configuration kit that I am currently using. This may help you find the reason for the crash. RetroArch-MAME_Config.zip

lrf739146825 commented 4 months ago

Description correction /system/name/plugins -> /system/mame/plugins

lrf739146825 commented 4 months ago

After checking one by one, I found that the problematic plugin is "gdbstub". Remove this plugin from the plugins folder, and then use RetroArch's "Load Content" to replace the loaded game and it will no longer crash.