Open AmigaPuae opened 3 months ago
Full log from the core might help. If rewind or runahead are enabled, disable them. HDFs are the worst possible format anyway, but nothing should prevent reading from them, and nothing has here so far.
Unfortunately, I only have a debug log from Kodi it this helps somehow https://paste.libreelec.tv/enjoyed-possum.log
ADF files work fine but this makes then using IAGL in the moment not possible :-(
Sure it helps somewhat since it also shows the libretro logging inside that insane amount of noise:
2024-03-23 21:51:28.333 T:1139 info <general>: AddOnLog: game.libretro.uae: hfd attempting to open: '/storage/.kodi/userdata/addon_data/plugin.program.iagl/game_cache/WormsDirectorsCut_v1.1_AGA_0605.hdf'
2024-03-23 21:51:28.333 T:1139 info <general>: AddOnLog: game.libretro.uae: Attempting to open '/storage/.kodi/userdata/addon_data/plugin.program.iagl/game_cache/WormsDirectorsCut_v1.1_AGA_0605.hdf' in read-only mode.
2024-03-23 21:51:28.333 T:1139 info <general>: AddOnLog: game.libretro.uae: hfd attempting to open: '/storage/.kodi/userdata/addon_data/plugin.program.iagl/game_cache/WormsDirectorsCut_v1.1_AGA_0605.hdf'
I have no idea why it can't open the file properly with read and write access, but that seems to be the common theme with that IAGL stuff for some reason, and does not happen anywhere else. In any case the core version is also old (but I doubt that makes any difference), and HDF is the worst possible format for WHDLoad usage, and they should be nuked from the interwebs. What about the best option for WHDLoad which is LHA, which does not need write access ever? They should work since floppies work.
Oh well, looking further to the log shows that any WHDLoad related can not work, because it has serious disk write and path issues, since the required files for WHDLoad booting are "not there", and the paths have double //
for some reason yet the path exist, so it does allow something to be created:
2024-03-23 21:51:30.386 T:1382 info <general>: AddOnLog: game.libretro.uae: my_fsize: fseek on file '/storage/.kodi/userdata/addon_data/game.libretro.uae/save/WHDLoad//Devs/system-configuration' failed
2024-03-23 21:51:30.430 T:1382 info <general>: AddOnLog: game.libretro.uae: my_fsize: fseek on file '/storage/.kodi/userdata/addon_data/game.libretro.uae/save/WHDLoad//S/Startup-Sequence' failed
Also it seems to be constantly saving savestates, as in rewind is enabled, which can and will seriously break and slow things down.
The problem seems to be in the Kodi frontend, because the core works fine in RetroArch with every platform.
Also look at this other IAGL issue with the exact same problems and even a solution: https://github.com/libretro/libretro-uae/issues/586
I am getting this error message when loading a hdf from IAGL on a RP4 using libreelec 11.0.6 and KODI 20.
Please insert volume DH0 in any device.
The log file says of course that Startup sequence failed since DH0 is not found.
Further, info: AddOnLog: game.libretro.uae: HD (1) inserted in drive DH0: '/storage/.kodi/userdata/addon_data/plugin.program.iagl/game_cache/Worms_v1.0_1MB_0230.hdf'
2024-03-21 10:58:04.432 T:1793 info: GAME: ---------------------------------------
2024-03-21 10:58:04.432 T:1793 info : GAME: Game loop: true
2024-03-21 10:58:04.432 T:1793 info : GAME: FPS: 50.000000
2024-03-21 10:58:04.432 T:1793 info : GAME: Sample Rate: 44100.000000
2024-03-21 10:58:04.432 T:1793 info : GAME: Region: PAL
2024-03-21 10:58:04.432 T:1793 info : GAME: Savestate size: 11027793
2024-03-21 10:58:04.432 T:1793 info : GAME: ---------------------------------------
2024-03-21 10:58:04.432 T:1793 error : AddOnLog: game.libretro.uae: Failed to connect controller, invalid port addre
ss: /keyboard
2024-03-21 10:58:04.432 T:1793 error : AddOnLog: game.libretro.uae: Failed to connect controller, invalid port addre
ss: /mouse
2024-03-21 10:58:04.459 T:1793 error : Failed to open savestate file
2024-03-21 10:58:04.459 T:1793 error : Cheevos: Couldn't load patch file
2024-03-21 10:58:04.480 T:1793 error : CGUIMediaWindow::GetDirectory(plugin://plugin.program.iagl/game/Amiga_ZachMorris/Worms+%281+MB%29) failed
Which reflects also that neither a connected controller works not an attached keyboard or mouse unfortunately.
So there are currently 2 Problems.
Any help is highly appreciated.