kodi-game / game.libretro.fceumm

FCEU-Next GameClient for XBMC
0 stars 2 forks source link

Core crashes on start (OSX) #4

Open zach-morris opened 6 years ago

zach-morris commented 6 years ago

Version tested: RetroPlayer 18 alpha1 2018-02-11

Launch game and Kodi crashes consistently. Below is a log just before the crash:

22:00:40.917 T:140735305183232   DEBUG: Select game client dialog: User selected emulator game.libretro.fceumm
22:00:40.918 T:140735305183232   DEBUG: RetroPlayer: ---------------------------------------
22:00:40.918 T:140735305183232   DEBUG: RetroPlayer: Game tag loaded
22:00:40.918 T:140735305183232   DEBUG: RetroPlayer: URL:
22:00:40.918 T:140735305183232   DEBUG: RetroPlayer: Title: 2.  Mega Man 2
22:00:40.918 T:140735305183232   DEBUG: RetroPlayer: Platform:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Genres:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Developer:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Game Code:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Region:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Publisher:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Format:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Cartridge type:
22:00:40.919 T:140735305183232   DEBUG: RetroPlayer: Game client: game.libretro.fceumm
22:00:40.920 T:140735305183232   DEBUG: RetroPlayer: ---------------------------------------
22:00:40.922 T:140735305183232   DEBUG: ADDON: Dll Initializing - Nintendo - NES / Famicom (FCEUmm)
22:00:40.922 T:140735305183232   DEBUG: SECTION:LoadDLL(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.37.dylib)
22:00:40.922 T:140735305183232   DEBUG: Loading: /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.37.dylib
22:00:40.925 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_region'
22:00:40.926 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.926 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.927 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_region has value "Auto" in Kodi
22:00:40.927 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_aspect'
22:00:40.927 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.927 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.928 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_aspect has value "8:7 PAR" in Kodi
22:00:40.928 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_palette'
22:00:40.928 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.928 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.929 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_palette has value "default" in Kodi
22:00:40.929 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_use_ntsc'
22:00:40.929 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.929 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.930 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_use_ntsc has value "disabled" in Kodi
22:00:40.930 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_h'
22:00:40.930 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.930 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.931 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_h has value "disabled" in Kodi
22:00:40.931 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_v'
22:00:40.931 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.931 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.932 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_v has value "enabled" in Kodi
22:00:40.932 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_nospritelimit'
22:00:40.933 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.933 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.934 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_nospritelimit has value "disabled" in Kodi
22:00:40.934 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndvolume'
22:00:40.934 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.934 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.935 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndvolume has value "150" in Kodi
22:00:40.935 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndquality'
22:00:40.935 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.935 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.936 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndquality has value "Low" in Kodi
22:00:40.936 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_swapduty'
22:00:40.936 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.936 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.937 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_swapduty has value "disabled" in Kodi
22:00:40.937 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_enable'
22:00:40.937 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.937 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.938 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_enable has value "None" in Kodi
22:00:40.938 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_delay'
22:00:40.938 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.938 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.939 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_delay has value "3" in Kodi
22:00:40.939 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_zapper_mode'
22:00:40.939 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.939 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.940 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_zapper_mode has value "pointer" in Kodi
22:00:40.940 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_show_crosshair'
22:00:40.940 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.940 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.941 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_show_crosshair has value "enabled" in Kodi
22:00:40.941 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overclocking'
22:00:40.941 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
22:00:40.941 T:140735305183232   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overclocking has value "disabled" in Kodi
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Libretro controller info:
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Description: "Auto"
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Subclass: 0, Description: "Gamepad"
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_MOUSE, Subclass: 0, Description: "Zapper"
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
22:00:40.942 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading libretro buttonmap /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/buttonmap.xml
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Detected buttonmap version 2
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded buttonmap at version 2
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading controller topology "/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/topology.xml"
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded controller topology with 2 ports
22:00:40.943 T:140735305183232    INFO: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Frontend supports RGB565 - will use that instead of XRGB1555.
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library name:    FCEUmm
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library version: (SVN)
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Extensions:      fds|nes|unf|unif
22:00:40.943 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Supports VFS:    true
22:00:40.944 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
22:00:40.944 T:140735305183232   DEBUG: Calling TransferSettings for: Nintendo - NES / Famicom (FCEUmm)
22:00:40.944 T:140735305183232   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Settings port "1" (libretro port 0) to controller "game.controller.nes" (libretro device ID 1)
garbear commented 6 years ago

I've tracked down the crash. It occurs when calling retro_set_controller_port_device() before retro_load_game(). This should be valid behavior, because it's possible to connect a controller before turning a console on. The core shouldn't assume that controllers are only connected after the user starts playing. This will need to be fixed upstream.

garbear commented 6 years ago

I believe this was fixed in one of my input PRs. Is it still an issue?

zach-morris commented 6 years ago

Still an issue. Here's a log of the latest tested: Version:

-----------------------------------------------------------------------
16:24:38.837 T:140735187836928  NOTICE: Starting Kodi (18.0-BETA1 Git:20180817-6d3f248cdf). Platform: OS X x86 64-bit
16:24:38.838 T:140735187836928  NOTICE: Using Debug Kodi x64 build
16:24:38.838 T:140735187836928  NOTICE: Kodi compiled Aug 17 2018 by Clang 9.0.0 (clang-900.0.37) for OS X x86 64-bit version 10.9.0 (1090)
16:24:38.839 T:140735187836928  NOTICE: Running on Apple Inc. MacBookPro12,1 with OS X 10.11.6, kernel: Darwin x86 64-bit version 15.6.0
16:24:38.839 T:140735187836928  NOTICE: FFmpeg version/source: 4.0.2-Kodi
16:24:38.839 T:140735187836928  NOTICE: Host CPU: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz, 4 cores available

Log:

16:31:31.775 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
16:31:31.775 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Game tag loaded
16:31:31.775 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: URL:
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Title: 50.  R.B.I. Baseball (USA)
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Platform:
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Genres: Sports
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Developer: Tengen Inc.
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Game Code:
16:31:31.776 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Region:
16:31:31.777 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Publisher:
16:31:31.777 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Format:
16:31:31.777 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Cartridge type:
16:31:31.777 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: Game client: game.libretro.fceumm
16:31:31.777 T:140735187836928   DEBUG: RetroPlayer[PLAYER]: ---------------------------------------
16:31:31.780 T:140735187836928   DEBUG: ADDON: Dll Initializing - Nintendo - NES / Famicom (FCEUmm)
16:31:31.781 T:140735187836928   DEBUG: SECTION:LoadDLL(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib)
16:31:31.781 T:140735187836928   DEBUG: Loading: /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.40.dylib
16:31:31.787 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_region'
16:31:31.788 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.788 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.790 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_region has value "Auto" in Kodi
16:31:31.790 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_aspect'
16:31:31.790 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.791 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.791 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_aspect has value "8:7 PAR" in Kodi
16:31:31.791 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_palette'
16:31:31.792 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.792 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.793 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_palette has value "default" in Kodi
16:31:31.793 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_up_down_allowed'
16:31:31.793 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.793 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.794 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_up_down_allowed has value "disabled" in Kodi
16:31:31.794 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_h'
16:31:31.795 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.795 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.796 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_h has value "disabled" in Kodi
16:31:31.796 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overscan_v'
16:31:31.796 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.796 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.797 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overscan_v has value "enabled" in Kodi
16:31:31.797 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_nospritelimit'
16:31:31.798 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.798 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.798 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_nospritelimit has value "disabled" in Kodi
16:31:31.799 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndvolume'
16:31:31.799 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.799 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.800 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndvolume has value "150" in Kodi
16:31:31.800 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_sndquality'
16:31:31.801 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.801 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.801 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_sndquality has value "Low" in Kodi
16:31:31.802 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_swapduty'
16:31:31.802 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.802 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.803 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_swapduty has value "disabled" in Kodi
16:31:31.803 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_enable'
16:31:31.803 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.804 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.804 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_enable has value "None" in Kodi
16:31:31.804 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_turbo_delay'
16:31:31.805 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.805 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.806 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_turbo_delay has value "3" in Kodi
16:31:31.806 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_zapper_mode'
16:31:31.806 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.807 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.807 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_zapper_mode has value "pointer" in Kodi
16:31:31.807 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_show_crosshair'
16:31:31.808 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.808 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.809 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_show_crosshair has value "enabled" in Kodi
16:31:31.809 T:140735187836928   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'Nintendo - NES / Famicom (FCEUmm)' requests setting 'fceumm_overclocking'
16:31:31.809 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: loading setting definitions
16:31:31.809 T:140735187836928   DEBUG: CAddonSettings[game.libretro.fceumm]: trying to load setting definitions from old format...
16:31:31.810 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting fceumm_overclocking has value "disabled" in Kodi
16:31:31.810 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Libretro controller info:
16:31:31.810 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.810 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Description: "Auto"
16:31:31.810 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_JOYPAD, Subclass: 0, Description: "Gamepad"
16:31:31.811 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Device: RETRO_DEVICE_MOUSE, Subclass: 0, Description: "Zapper"
16:31:31.811 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.811 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading libretro buttonmap /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/buttonmap.xml
16:31:31.811 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Detected buttonmap version 2
16:31:31.812 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded buttonmap at version 2
16:31:31.812 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading controller topology "/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.fceumm/resources/topology.xml"
16:31:31.812 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded controller topology with 2 ports
16:31:31.812 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Setting libretro pixel format "RGB565"
16:31:31.813 T:140735187836928    INFO: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Frontend supports RGB565 - will use that instead of XRGB1555.
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library name:    FCEUmm
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Library version: (SVN)
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Extensions:      fds|nes|unf|unif
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: Supports VFS:    true
16:31:31.813 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): CORE: ----------------------------------
16:31:31.813 T:140735187836928   DEBUG: Calling TransferSettings for: Nintendo - NES / Famicom (FCEUmm)
16:31:31.814 T:140735187836928    INFO: Loading controller layout: /Users/xxx/Library/Application Support/Kodi/addons/game.controller.nes/resources/layout.xml
16:31:31.814 T:140735187836928    INFO: GAME: ------------------------------------
16:31:31.814 T:140735187836928    INFO: GAME: Loaded DLL for game.libretro.fceumm
16:31:31.815 T:140735187836928    INFO: GAME: Client: Nintendo - NES / Famicom (FCEUmm) at version 1.0.0
16:31:31.815 T:140735187836928    INFO: GAME: Valid extensions: .fds .nes .unf .unif
16:31:31.815 T:140735187836928    INFO: GAME: Supports VFS:                  yes
16:31:31.815 T:140735187836928    INFO: GAME: Supports standalone execution: no
16:31:31.815 T:140735187836928    INFO: GAME: ------------------------------------
16:31:31.815 T:140735187836928   DEBUG: RetroPlayer[INPUT]: Initializing input
16:31:31.815 T:140735187836928   DEBUG: PERIPHERALS: Event poll handle registered
16:31:31.815 T:140735187836928    INFO: RetroPlayer[PLAYER]: Opening: /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.815 T:140735187836928   DEBUG: GameClient: Loading /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.816 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loaded file into memory (98320 bytes): /Users/xxx/Library/Application Support/Kodi/userdata/addon_data/plugin.program.iagl/temp_iagl/R.B.I. Baseball (USA).nes
16:31:31.816 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Libretro input bindings:
16:31:31.816 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.816 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.816 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R2, Description: (VSSystem) Insert Coin
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_L, Description: (FDS) Disk Side Change
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_R, Description: (FDS) Insert/Eject Disk
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.817 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 0, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 1, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.818 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 2, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_LEFT, Description: D-Pad Left
16:31:31.819 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_UP, Description: D-Pad Up
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_DOWN, Description: D-Pad Down
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_RIGHT, Description: D-Pad Right
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_B, Description: B
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_A, Description: A
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_SELECT, Description: Select
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_START, Description: Start
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_X, Description: Turbo A
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Port: 3, Device: RETRO_DEVICE_JOYPAD, Feature: RETRO_DEVICE_ID_JOYPAD_Y, Description: Turbo B
16:31:31.820 T:140735187836928   DEBUG: AddOnLog: Nintendo - NES / Famicom (FCEUmm): ------------------------------------------------------------
16:31:31.821 T:140735187836928    INFO: AddOnLog: Nintendo - NES / Famicom (FCEUmm): Loading (null)...
garbear commented 6 years ago

Loading (null) in the log meant that the core was trying to determine the ROM's base name from the ROM path. However, although the libretro API says loading by memory must pass a null path, noncompliant cores try to parse the null path.

I've done the bare minimum of testing, but this seems to be fixed with https://github.com/kodi-game/game.libretro/pull/46.