Is Lutro not working in Android?

I can download the Lutro core from the updater, as well as the sample games… but when I try to run them retroarch simply crashes.

This is the logcat when trying to load Spaceship.lutro:

09-17 17:16:57.267 13940 13968 I RetroArch: Using content: storage/emulated/0/Download/Spaceship.lutro.
09-17 17:16:57.267 13940 13968 I RetroArch: Resetting undo buffers.
09-17 17:16:57.282 13940 13968 I RetroArch: Threaded video stats: Frames pushed: 1539, Frames dropped: 0.
09-17 17:16:57.283 13940 13968 I RetroArch: Monitor FPS estimation is disabled for threaded video.
09-17 17:16:57.284 13940 13968 I RetroArch: Redirecting save file to "/storage/emulated/0/Android/data/com.retroarch/files/saves/Spaceship.srm".
09-17 17:16:57.284 13940 13968 I RetroArch: Redirecting savestate to "/storage/emulated/0/Android/data/com.retroarch/files/states/Spaceship.state".
09-17 17:16:57.285 13940 13968 I RetroArch: === Build =======================================
09-17 17:16:57.285 13940 13968 I RetroArch: Version: 1.3.6
09-17 17:16:57.285 13940 13968 I RetroArch: =================================================
09-17 17:16:57.287 13940 13968 I RetroArch: Resetting undo buffers.
09-17 17:16:57.287 13940 13968 I RetroArch: Loading dynamic libretro core from: "/data/data/com.retroarch/cores/lutro_libretro_android.so"
09-17 17:16:57.289 13940 13968 I RetroArch: Overrides: no core-specific overrides found at /storage/emulated/0/Android/data/com.retroarch/files/lutro/lutro.cfg.
09-17 17:16:57.289 13940 13968 I RetroArch: Overrides: no game-specific overrides found at /storage/emulated/0/Android/data/com.retroarch/files/lutro/Spaceship.cfg.
09-17 17:16:57.289 13940 13968 I RetroArch: Environ SET_SUPPORT_NO_GAME: no.
09-17 17:16:57.289 13940 13968 I RetroArch: Remaps: remap directory: /data/data/com.retroarch/remaps
09-17 17:16:57.289 13940 13968 I RetroArch: Remaps: no game-specific remap found at /data/data/com.retroarch/remaps/lutro/Spaceship.rmp.
09-17 17:16:57.289 13940 13968 I RetroArch: Remaps: no core-specific remap found at /data/data/com.retroarch/remaps/lutro/lutro.rmp.
09-17 17:16:57.290 13940 13968 I RetroArch: Redirecting save file to "/storage/emulated/0/Android/data/com.retroarch/files/saves/Spaceship.srm".
09-17 17:16:57.290 13940 13968 I RetroArch: Redirecting savestate to "/storage/emulated/0/Android/data/com.retroarch/files/states/Spaceship.state".
09-17 17:16:57.291 13940 13968 I RetroArch: Environ GET_LOG_INTERFACE.
09-17 17:16:57.291 13940 13968 I RetroArch: Environ GET_PERF_INTERFACE.
09-17 17:16:57.291 13940 13968 I RetroArch: Content loading skipped. Implementation will load it on its own.
09-17 17:16:57.291 13940 13968 I RetroArch: Environ SET_INPUT_DESCRIPTORS:
09-17 17:16:57.291 13940 13968 I RetroArch:     RetroPad, User 1, Button "D-Pad Up" => "Up"
09-17 17:16:57.291 13940 13968 I RetroArch:     RetroPad, User 1, Button "D-Pad Down" => "Down"
09-17 17:16:57.291 13940 13968 I RetroArch:     RetroPad, User 1, Button "D-Pad Left" => "Left"
09-17 17:16:57.291 13940 13968 I RetroArch:     RetroPad, User 1, Button "D-Pad Right" => "Right"
09-17 17:16:57.291 13940 13968 I RetroArch: Environ SET_PIXEL_FORMAT: XRGB8888.
09-17 17:16:57.291 13940 13968 I RetroArch: Environ SET_FRAME_TIME_CALLBACK.
09-17 17:16:57.291 13940 13968 I RetroArch: Environ SET_AUDIO_CALLBACK.
09-17 17:16:57.292 13940 13968 E RetroArch: Failed to load content.
09-17 17:16:57.292 13940 13968 I RetroArch: Resetting undo buffers.
09-17 17:16:57.293 13940 13968 I RetroArch: Monitor FPS estimation is disabled for threaded video.
09-17 17:16:57.294 13940 13968 E RetroArch: Failed to start audio driver. Will continue without audio.
09-17 17:16:57.323 13940 13968 I RetroArch: Saving config at path: "/storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg"
09-17 17:16:57.345 23298 23414 V FolderObserver: Received inotify event 8 at /retroarch.cfg
09-17 17:16:57.345 23298 23407 V PostScanTask: Calling Rest API at https://127.0.0.1:8384/rest/db/scan?folder=retroarch&sub=retroarch.cfg
09-17 17:16:57.346 13940 13968 I RetroArch: Saved new config to "/storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg".
09-17 17:16:57.346 13940 13968 I RetroArch: android_app_destroy
09-17 17:16:57.363 13940 13940 I RetroArch: WindowFocusChanged: 0xb4fbf600 -- 0
09-17 17:16:57.364 23298 23407 W System  : ClassLoader referenced unknown path: /system/framework/tcmclient.jar
09-17 17:16:57.374 13940 13940 I RetroArch: Pause: 0xb4fbf600
09-17 17:16:57.379 13940 13968 I RetroArch: Monitor FPS estimation is disabled for threaded video.
09-17 17:16:57.436   824  2692 W InputDispatcher: channel '95c11f com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture (server)' ~ Consumer closed input channel or an error occurred.  eve
nts=0x9
09-17 17:16:57.436   824  2692 E InputDispatcher: channel '95c11f com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture (server)' ~ Channel is unrecoverably broken and will be disposed!
09-17 17:16:57.437   824  4395 I WindowState: WIN DEATH: Window{95c11f u0 com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture}
09-17 17:16:57.437   824  4395 W InputDispatcher: Attempted to unregister already unregistered input channel '95c11f com.retroarch/com.retroarch.browser.retroactivity.RetroActivityFuture (server)'
09-17 17:16:57.440   824  2692 I InputDispatcher: Dropping event because there is no touchable window at (481, 283).
09-17 17:16:57.453   824  2819 I ActivityManager: Process com.retroarch (pid 13940) has died
09-17 17:16:57.470 23298 23398 V GetTask : API call result: [{"id":1305,"globalID":1313,"time":"2016-09-17T15:16:57.468984234Z","type":"StateChanged","data":{"duration":25.714030478,"folder":"retroarch","
from":"idle","to":"scanning"}}]

Yeah, I think you have to unzip them first or something…? The .lutro files are just renamed zip archives, so rename to zip first and then load the main.lua from inside the directory.

Lutro is a core that is always closing here never got to use and test it since it launched to retroarch android, try the core as picked up straight games by retroarch but carry the core and when I choose the game to load it simply closes the retroarch.

Thanks, that worked. It works when I load it using the main.lua file directly

I knew it was a renamed zip file but I expected some sort of virtual filesystem would be created so it wouldn’t be needed to extract to disk, which would have been very convenient. It makes little sense to distribute and load them as “lutro” extension if retroarch can’t really load it directly. I mean… the lutro files are the oines that get added to the library/playlist section and those cannot be run…

I just verified and even in the PC it extracts them to a subdirectory next to where the lutro file is. I guess it tries to do that in android and realizes it doesnt have permissions or something.

yeah, it’s just for ease of distribution but Android indeed has some sort of problem with the extraction that makes it… less than convenient :confused:

If it ever picks up any gamedevs, we’ll certainly polish it up.

¡gracias por la información, tengo el mismo problema!

I had a look at the libretro core github and it looks like they are working on a branch with support for loading the game content directly from the lutro without the need of unzipping it: https://github.com/libretro/libretro-lutro/issues/72

Also, they might add support for PICO-8 games: https://github.com/libretro/libretro-lutro/issues/52 This would allow a lot of community made little games to run on retroarch.