libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
116 stars 62 forks source link

CTD in Kodi 19 Android #417

Closed versus2 closed 3 years ago

versus2 commented 3 years ago

Running a game from within IAGL using PUAE emulator latest build addon results in KODI exiting prematurely.

sonninnos commented 3 years ago

How old is the "latest" version exactly? It was not that long ago when I fixed a crash if rewind is enabled on startup, and the last time I checked IAGL has rewind enabled by default. So it could very well be already fixed, that is why log is so important.

Rewind is very resource hungry in this core anyway, so keeping it on by default isn't wise.

versus2 commented 3 years ago

Turned off rewind. No dice, still CTD. Here’s the log

From: Tony Sent: Tuesday, May 11, 2021 12:13 To: libretro/libretro-uae Cc: versus2 ; Author Subject: Re: [libretro/libretro-uae] CTD in Kodi 19 Android (#417)

How old is the "latest" version exactly? It was not that long ago when I fixed a crash if rewind is enabled on startup, and the last time I checked IAGL has rewind enabled by default. So it could very well be already fixed, that is why log is so important.

Rewind is very resource hungry in this core anyway, so keeping it on by default isn't wise.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sonninnos commented 3 years ago

I'm not seeing any log..

versus2 commented 3 years ago

https://pastebin.com/7fCQV34Y

sonninnos commented 3 years ago

Here is the obvious problem, Kickstart is not found/accessible:

2021-05-11 20:37:11.678 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Failed to open '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/game.libretro.uae/resources/system/'
2021-05-11 20:37:11.678 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Could not load system ROM, trying system ROM replacement.

So are the required file(s) in that path or not?

2021-05-11 20:37:11.639 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Unknown value ('') for option 'sound_interpol'.
2021-05-11 20:37:11.639 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Unknown value ('') for option 'sound_filter'.
2021-05-11 20:37:11.640 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Unknown value ('') for option 'sound_filter_type'.
2021-05-11 20:37:11.640 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Option 'cd_speed' requires a numeric argument but got ''
2021-05-11 20:37:11.640 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Option 'floppy_speed' requires a numeric argument but got ''
2021-05-11 20:37:11.640 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Option 'floppy_volume' requires a numeric argument but got ''
2021-05-11 20:37:11.641 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Unknown value ('') for option 'collision_level'.

These make no sense, since those values come straight from core options, and they do not have an empty choice..

2021-05-11 20:37:11.578 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Generating config file: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/game.libretro.uae/save/puae_libretro.uae'
2021-05-11 20:37:11.579 T:29995    INFO <general>: AddOnLog: game.libretro.uae: Booting model: ''
2021-05-11 20:37:11.583 T:29995    INFO <general>: AddOnLog: game.libretro.uae: HD (1) inserted in drive DH0: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.program.iagl/game_cache/BeachVolley_v1.0_1249.hdf'

Also that model can not be empty. Please paste the contents of the generated puae_libretro.uae. Something is clearly seriously wrong with it.

sonninnos commented 3 years ago

Ok, I think I sorted it out. Now only the IAGL plugin should update to the latest version.

versus2 commented 3 years ago

How do I get the updated plugin? Dev says its published in official repo

https://forum.kodi.tv/showthread.php?tid=332966&pid=3036559#pid3036559

but mine still reads 2.6.1.20 not 2.6.1.21

sonninnos commented 3 years ago

Keep trying, I guess..

versus2 commented 3 years ago

Could you care to explain the process?

Looking at the structure of the github tree I can see that this is not what I find in my addon folder. So I assume if these emulator addons get updated only source code is updated and than it's upon someone to compile a build for a specific platform, right? Why is it not done automatically? Can one do it by himself?

If I install an addon repository by zachmorris " KODI Libretro Game Addons" than there is additional emulator by

Author:buildbot.libretro.com version:1.2021.18761

Looks like it has been updated with latest source but still not working in KODI 19. Works in KODI 18.

Will there be any difference when the other emulator (author UAE team) is updated in official Kodi repo to 2.6.1.21?

sonninnos commented 3 years ago

Could you care to explain the process?

I can only try to explain things I know about and can do something about.. as in Kodi stuff is totally out of my/our reach.