kodi-game / game.libretro.bluemsx

BlueMSX for Kodi
https://github.com/libretro/blueMSX-libretro
1 stars 4 forks source link

Crash on first core start #5

Open zach-morris opened 6 years ago

zach-morris commented 6 years ago

Version tested: RetroPlayer 18 alpha1 2018-02-11

To Recreate: Fresh install, start Colecovision game (from IARL). Core complains about BIOS files (this is good). Place BIOS files into correct folder and retry game. Kodi crashes:

20:53:13.566 T:140735305183232   DEBUG: RetroPlayer: ---------------------------------------
20:53:13.566 T:140735305183232   DEBUG: RetroPlayer: Game tag loaded
20:53:13.566 T:140735305183232   DEBUG: RetroPlayer: URL:
20:53:13.566 T:140735305183232   DEBUG: RetroPlayer: Title: Activision Decathlon, The
20:53:13.566 T:140735305183232   DEBUG: RetroPlayer: Platform:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Genres:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Developer:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Game Code:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Region:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Publisher:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Format:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Cartridge type:
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: Game client: game.libretro.bluemsx
20:53:13.567 T:140735305183232   DEBUG: RetroPlayer: ---------------------------------------
20:53:13.570 T:140735305183232   DEBUG: SECTION:UnloadDll(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.37.dylib)
20:53:13.570 T:140735305183232    INFO: ADDON: Dll Destroyed - MSX/SVI/ColecoVision/SG-1000 (blueMSX)
20:53:13.570 T:140735305183232   DEBUG: ADDON: Dll Initializing - MSX/SVI/ColecoVision/SG-1000 (blueMSX)
20:53:13.570 T:140735305183232   DEBUG: SECTION:LoadDLL(/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.37.dylib)
20:53:13.570 T:140735305183232   DEBUG: Loading: /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro/game.libretro.1.0.37.dylib
20:53:13.575 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_msxtype'
20:53:13.576 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.576 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.576 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_msxtype has value "Auto" in Kodi
20:53:13.576 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_overscan'
20:53:13.577 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.577 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.577 T:123145309356032    INFO: Python script stopped
20:53:13.577 T:123145309356032   DEBUG: Thread LanguageInvoker 123145309356032 terminating
20:53:13.578 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_overscan has value "disabled" in Kodi
20:53:13.578 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_vdp_synctype'
20:53:13.578 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.578 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.579 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_vdp_synctype has value "Auto" in Kodi
20:53:13.579 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_nospritelimits'
20:53:13.579 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.579 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.579 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_nospritelimits has value "OFF" in Kodi
20:53:13.579 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_ym2413_enable'
20:53:13.580 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.580 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.580 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_ym2413_enable has value "enabled" in Kodi
20:53:13.580 T:140735305183232   DEBUG: CAddonCallbacksAddon - GetAddonSetting - add-on 'MSX/SVI/ColecoVision/SG-1000 (blueMSX)' requests setting 'bluemsx_cartmapper'
20:53:13.580 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: loading setting definitions
20:53:13.580 T:140735305183232   DEBUG: CAddonSettings[game.libretro.bluemsx]: trying to load setting definitions from old format...
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Setting bluemsx_cartmapper has value "Auto" in Kodi
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Libretro controller info:
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): ------------------------------------------------------------
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Device: RETRO_DEVICE_JOYPAD, Description: "RetroPad"
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Device: RETRO_DEVICE_KEYBOARD, Description: "RetroKeyboard"
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Device: RETRO_DEVICE_JOYPAD, Subclass: 1, Description: "RetroPad Keyboard Map"
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): ------------------------------------------------------------
20:53:13.581 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Loading libretro buttonmap /Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.bluemsx/resources/buttonmap.xml
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Detected buttonmap version 2
20:53:13.582 T:140735305183232   ERROR: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): <feature> tag has invalid "mapto" attribute: ""
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Loading controller topology "/Applications/Kodi_Retroplayer.app/Contents/Resources/Kodi/addons/game.libretro.bluemsx/resources/topology.xml"
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Loaded controller topology with 2 ports
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: ----------------------------------
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: Library name:    blueMSX
20:53:13.582 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: Library version: git
20:53:13.583 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: Extensions:      rom|ri|mx1|mx2|dsk|col|sg|sc|cas|m3u
20:53:13.583 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: Supports VFS:    false
20:53:13.583 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): CORE: ----------------------------------
20:53:13.583 T:140735305183232   DEBUG: Calling TransferSettings for: MSX/SVI/ColecoVision/SG-1000 (blueMSX)
20:53:13.583 T:140735305183232   DEBUG: AddOnLog: Joystick Support: Loaded device "Keyboard" with 1 controller profiles and 139 total features
20:53:13.590 T:140735305183232   DEBUG: Failed to load button map for "Keyboard"
20:53:13.590 T:140735305183232   DEBUG: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): Settings port "1" (libretro port 0) to controller "game.controller.msx.joystick" (libretro device ID 517)
20:53:13.590 T:140735305183232   ERROR: AddOnLog: MSX/SVI/ColecoVision/SG-1000 (blueMSX): [libretro]: Invalid device, setting type to RETRO_DEVICE_JOYPAD ...

Restart Kodi and try game again, and the second time it launches.

zach-morris commented 5 years ago

Figure this out. It will work if the BIOS files (Machines and Databases folder and related files) are in:

...path_to_your_userdata_folder/game.libretro.bluemsx/resources/system/

rather than

...path_to_your_userdata_folder/game.libretro.bluemsx/resources/