Kodi Community Forum
IARL - Deprecated - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: IARL - Deprecated (/showthread.php?tid=231339)



RE: Internet Archive ROM Launcher - zachmorris - 2016-08-23

(2016-08-20, 19:14)flutieflakes22 Wrote: Mupen64plus crashes on me when I try to exit any game. It only does it when i launch the game outside of retroarch. What exactly do i need to type into the command line to use the standalone emulator Mupen64plus FZ on android?

You can try this, if it works I'll add it to the next update (if your manually typing in the command just use the stuff between <launcher command>:
Code:
<launcher name="Mupen64Plus AE (N64)" os="Android">
<launcher_command>/system/bin/am start -n paulscode.android.mupen64plusae/.MainActivity -a android.intent.action.VIEW -eu Uri "file://%ROM_PATH%"</launcher_command>
</launcher>



RE: Internet Archive ROM Launcher - zachmorris - 2016-08-23

(2016-08-21, 06:04)HeXDeMoN Wrote:
(2016-08-13, 22:45)zachmorris Wrote: 7zip testing on Android: Some users report that 7z archives dont work on android. Someone with an android box and adb and/or command line access on their system PM me if you're able to help with this.

Hey I got your PM , still can respond need 10 posts Sad

I turned on debugging and got the command its using but the error says "No such file or directory"

22:40:13 T:1397524784 DEBUG: IARL: Attempting 7ZA Conversion: "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.program.iarl/resources/bin/7za/7za.armv6l" -aoa -o"/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.program.iarl/temp_iarl/Activision_Classics" e "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.program.iarl/temp_iarl/Activision Classics (USA).7z"

Pasted snippet of the relevant part of the logs here:
http://pastebin.com/xre9xGZd

I kept getting permission denied when trying to run 7za manually even tried with root .. not that strong in unix/android so I'm sure I'm just running it wrong Sad

Yeah, it's possible the 7za binary doesn't work for some reason. If you just type in:
Code:
/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.program.iarl/resources/bin/7za/7za.armv6l
And it doesn't return any help info then it's not working. We could try a version of 7za from the XDA forums:
http://forum.xda-developers.com/attachment.php?attachmentid=3430885&d=1438918780


RE: Internet Archive ROM Launcher - yallah - 2016-08-23

Hi Zach

You need change some settings for amiga, to explain shortly:
- for game without (AGA) in name must use system A500
- for amiga with (AGA) in name must use A1200 system

thx

I think the best solution is to keep if you can the real game name like 'Slam Tilt - The Pinball Game (AGA)' and no 'Slam Tilt - The Pinball Game'
And with escalade batch we can try to choose if it's AGA game or not and select good amiga model


RE: Internet Archive ROM Launcher - lefty420 - 2016-08-24

(2016-08-23, 13:14)yallah Wrote: Hi Zach

You need change some settings for amiga, to explain shortly:
- for game without (AGA) in name must use system A500
- for amiga with (AGA) in name must use A1200 system

thx

I think the best solution is to keep if you can the real game name like 'Slam Tilt - The Pinball Game (AGA)' and no 'Slam Tilt - The Pinball Game'
And with escalade batch we can try to choose if it's AGA game or not and select good amiga model

Escalade's build forces to a500 even when the addons try to force a4000 but your right the config would need fixing to correct this.


RE: Internet Archive ROM Launcher - HeXDeMoN - 2016-08-24

(2016-08-23, 02:53)zachmorris Wrote:
(2016-08-21, 06:04)HeXDeMoN Wrote:
(2016-08-13, 22:45)zachmorris Wrote: 7zip testing on Android: Some users report that 7z archives dont work on android. Someone with an android box and adb and/or command line access on their system PM me if you're able to help with this.

Hey I got your PM , still can respond need 10 posts Sad

I turned on debugging and got the command its using but the error says "No such file or directory"

22:40:13 T:1397524784 DEBUG: IARL: Attempting 7ZA Conversion: "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.program.iarl/resources/bin/7za/7za.armv6l" -aoa -o"/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.program.iarl/temp_iarl/Activision_Classics" e "/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/userdata/addon_data/plugin.program.iarl/temp_iarl/Activision Classics (USA).7z"

Pasted snippet of the relevant part of the logs here:
http://pastebin.com/xre9xGZd

I kept getting permission denied when trying to run 7za manually even tried with root .. not that strong in unix/android so I'm sure I'm just running it wrong Sad

Yeah, it's possible the 7za binary doesn't work for some reason. If you just type in:
Code:
/storage/emulated/0/Android/data/com.semperpax.spmc16/files/.spmc/addons/plugin.program.iarl/resources/bin/7za/7za.armv6l
And it doesn't return any help info then it's not working. We could try a version of 7za from the XDA forums:
http://forum.xda-developers.com/attachment.php?attachmentid=3430885&d=1438918780

I'm on the train home I'll try the version you posted when I get home.


RE: Internet Archive ROM Launcher - HeXDeMoN - 2016-08-24

OK so running 7za.armv6l produces the same exact error "No such file or directory"

Using the 7za from the xda link produces a different error "error: only position independent executables (PIE) are supported."


RE: Internet Archive ROM Launcher - allenelson - 2016-08-24

kodibuntu, upgraded to latest 16.04 release, which in turn wiped kodi with debian's own 15.2 code. i've got the latest retroarch installed and working.

tried to install IARL via repo and failed. unzipped the plugin directly in the kodi addons folder. app itself works but doesn't load a ROM after hitting launch. i setup an external launcher and the path is /usr/bin/retroarch. system directory is /home/kodi/.config/retroarch. below is a snip of the kodi.log file



22:17:05 T:140068724815616 NOTICE: -->Python Interpreter Initialized<--
22:17:05 T:140068724815616 NOTICE: IARL: Lets Play!
22:17:05 T:140068724815616 NOTICE: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/.storage/
22:17:06 T:140068724815616 NOTICE: [resources.lib.xbmcswift2b] Request for "/" matches rule for function "index"
22:17:06 T:140068411930368 NOTICE: Thread BackgroundLoader start, auto delete: false
22:17:12 T:140068724815616 NOTICE: Thread LanguageInvoker start, auto delete: false
22:17:12 T:140068724815616 NOTICE: -->Python Interpreter Initialized<--
22:17:13 T:140068724815616 NOTICE: IARL: Lets Play!
22:17:13 T:140068724815616 NOTICE: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/.storage/
22:17:13 T:140068724815616 NOTICE: [resources.lib.xbmcswift2b] Request for "/Emulator/NES_Bestof_ZachMorris/1" matches rule for function "get_rom_page"
22:17:13 T:140067808999168 NOTICE: Thread BackgroundLoader start, auto delete: false
22:17:17 T:140068724815616 NOTICE: Thread JobWorker start, auto delete: true
22:17:17 T:140067808999168 NOTICE: Thread LanguageInvoker start, auto delete: false
22:17:17 T:140067808999168 NOTICE: -->Python Interpreter Initialized<--
22:17:18 T:140067808999168 NOTICE: IARL: Lets Play!
22:17:18 T:140067808999168 NOTICE: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/.storage/
22:17:18 T:140067808999168 NOTICE: [resources.lib.xbmcswift2b] Request for "/Emulator/NES_Bestof_ZachMorris/Game/13.++Contra" matches rule for function "get_selected_rom"
22:17:20 T:140067808999168 NOTICE: IARL: Download and Launch started for 13. Contra
22:17:20 T:140067808999168 NOTICE: IARL: Download started for 13. Contra
22:17:21 T:140067808999168 NOTICE: IARL: Retroplayer launch for: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/temp_iarl/Contra (USA).nes
22:17:21 T:140070462540224 ERROR: GetDirectory - Error getting plugin://plugin.program.iarl/Emulator/NES_Bestof_ZachMorris/Game/13.++Contra
22:17:21 T:140070462540224 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/NES_Bestof_ZachMorris/Game/13.++Contra) failed
22:17:21 T:140068411930368 NOTICE: Thread LanguageInvoker start, auto delete: false
22:17:22 T:140068411930368 NOTICE: -->Python Interpreter Initialized<--
22:17:22 T:140070462540224 NOTICE: DVDPlayer: Opening: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/temp_iarl/Contra (USA).nes
22:17:22 T:140070462540224 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
22:17:22 T:140067808999168 NOTICE: Thread DVDPlayer start, auto delete: false
22:17:22 T:140067808999168 NOTICE: Creating InputStream
22:17:22 T:140067808999168 NOTICE: Creating Demuxer
22:17:22 T:140067356210944 NOTICE: Thread FileCache start, auto delete: false
22:17:22 T:140067808999168 ERROR: Open - error probing input format, /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/temp_iarl/Contra (USA).nes
22:17:22 T:140067808999168 ERROR: OpenDemuxStream - Error creating demuxer
22:17:22 T:140067808999168 NOTICE: CDVDPlayer::OnExit()
22:17:22 T:140068362622720 NOTICE: 1Channel: Service: Playback Stopped
22:17:22 T:140068362622720 NOTICE: 1Channel: Service: Resetting...
22:17:22 T:140068379408128 NOTICE: Stream All The Sources: Service: Playback Stopped
22:17:22 T:140070462540224 NOTICE: CDVDPlayer::CloseFile()
22:17:22 T:140070462540224 NOTICE: DVDPlayer: waiting for threads to exit
22:17:22 T:140070462540224 NOTICE: DVDPlayer: finished waiting
22:17:22 T:140070462540224 NOTICE: CDVDPlayer::CloseFile()
22:17:22 T:140070462540224 NOTICE: DVDPlayer: waiting for threads to exit
22:17:22 T:140070462540224 NOTICE: DVDPlayer: finished waiting
22:17:23 T:140068411930368 NOTICE: IARL: Lets Play!
22:17:23 T:140068411930368 NOTICE: /home/kodi/.kodi/userdata/addon_data/plugin.program.iarl/.storage/
22:17:23 T:140068411930368 NOTICE: [resources.lib.xbmcswift2b] Request for "/Emulator/NES_Bestof_ZachMorris/1" matches rule for function "get_rom_page"
22:17:23 T:140067808999168 NOTICE: Thread BackgroundLoader start, auto delete: false


RE: Internet Archive ROM Launcher - zachmorris - 2016-08-24

(2016-08-24, 04:44)allenelson Wrote: kodibuntu, upgraded to latest 16.04 release, which in turn wiped kodi with debian's own 15.2 code. i've got the latest retroarch installed and working.

tried to install IARL via repo and failed. unzipped the plugin directly in the kodi addons folder. app itself works but doesn't load a ROM after hitting launch. i setup an external launcher and the path is /usr/bin/retroarch. system directory is /home/kodi/.config/retroarch. below is a snip of the kodi.log file

Hmm. I'm more interested in why the original attempt failed to install - most likely a dependency issue? I'm not sure. I'm not sure what the difference is between vanilla Kodi and the debian 15.2 version.

As for the other issue, it looks like the addon isn't setup for external launching. Try one of the following:
1) Run the wizard and see if that works for you. This will setup most lists for normal user use (although it's still a work in progress - I'm actually making a linux based gaming system right now and there are still some things to tweak in the wizard)
2) Configure the game system your interested in manually. See 4. Configure individual IARL archives here


RE: Internet Archive ROM Launcher - zachmorris - 2016-08-24

(2016-08-24, 01:05)HeXDeMoN Wrote: OK so running 7za.armv6l produces the same exact error "No such file or directory"

Using the 7za from the xda link produces a different error "error: only position independent executables (PIE) are supported."

Thanks for testing. I'll have to do some more research in finding or compiling a version of 7za that will work for android / Nvidia shield. It's strange because I believe this works on RPi's which are also ARM based systems.


RE: Internet Archive ROM Launcher - zachmorris - 2016-08-24

(2016-08-23, 13:14)yallah Wrote: Hi Zach

You need change some settings for amiga, to explain shortly:
- for game without (AGA) in name must use system A500
- for amiga with (AGA) in name must use A1200 system

thx

I think the best solution is to keep if you can the real game name like 'Slam Tilt - The Pinball Game (AGA)' and no 'Slam Tilt - The Pinball Game'
And with escalade batch we can try to choose if it's AGA game or not and select good amiga model

Yallah,

I would love to setup each game for use with the 'correct' system, and my addon is setup such that you can configure which Amiga system to use per game. If you take a look at the 'Best of Amiga' list here, you can see each entry has a command to setup the Amiga system in a config file. Right now they all default to:
Code:
<emu_command>A4000</emu_command>
Which may not be the best choice. For each game though, I don't see an automated way to know which are AGA and which aren't (AGA isn't listed in the filename), other than someone painstakingly going through and setting every one?

In the interim I can change the default value to something other than A4000. What is the best default?


RE: Internet Archive ROM Launcher - yallah - 2016-08-24

Check in your list by example :

<game name="Super Stardust (AGA)"> good for amiga 1200 (don't use A4000 not adapted for games)

and

<game name="Lightforce"> for amiga 500

and

other games with (ECS) instead (AGA) for amiga 600

for moment I change in your util.py file :
file_base_name = clean_file_folder_name(iarl_data['current_rom_data']['rom_title'])
to
file_base_name = clean_file_folder_name(iarl_data['current_rom_data']['rom_filenames'][0])

it's not clean because you have URL inside of the game's location but I can see AGA or ECS inside.

I change also the batch from escalade to reconize the game"s name if inside the name I get AGA I change to kick31.rom, if ECS I change for kick20.rom and nothing in name kick13.rom

Also the default is better A500 that A4000, most games is for 500 and a lot old games doesn't work in 1200/4000

sorry for my english Smile


RE: Internet Archive ROM Launcher - zachmorris - 2016-08-24

(2016-08-24, 21:00)yallah Wrote: Check in your list by example :

<game name="Super Stardust (AGA)"> good for amiga 1200 (don't use A4000 not adapted for games)

and

<game name="Lightforce"> for amiga 500

and

other games with (ECS) instead (AGA) for amiga 600

for moment I change in your util.py file :
file_base_name = clean_file_folder_name(iarl_data['current_rom_data']['rom_title'])
to
file_base_name = clean_file_folder_name(iarl_data['current_rom_data']['rom_filenames'][0])

it's not clean because you have URL inside of the game's location but I can see AGA or ECS inside.

I change also the batch from escalade to reconize the game"s name if inside the name I get AGA I change to kick31.rom, if ECS I change for kick20.rom and nothing in name kick13.rom

Also the default is better A500 that A4000, most games is for 500 and a lot old games doesn't work in 1200/4000

sorry for my english Smile

Ah ok, I get it. Actually the AGA / ECS nomenclature is on some of the URLs in the xml listed above, so I can easily use that to fix the default machine that will be set.

Also, I was trying to setup a config file generator for puae and uae4arm emulation (which I think is what escalade build uses?), which is a little different than the fs-uae config file that the addon currently makes. If you had a few examples of the config files for each type of amiga machine I could have IARL do all the work for you.


RE: Internet Archive ROM Launcher - yallah - 2016-08-24

since they use amiga system we dont need configuration a lot settings. Just like you use is enought I think. I will check this weekend or before if I get time


RE: Internet Archive ROM Launcher - allenelson - 2016-08-25

(2016-08-24, 17:11)zachmorris Wrote:
(2016-08-24, 04:44)allenelson Wrote: kodibuntu, upgraded to latest 16.04 release, which in turn wiped kodi with debian's own 15.2 code. i've got the latest retroarch installed and working.

tried to install IARL via repo and failed. unzipped the plugin directly in the kodi addons folder. app itself works but doesn't load a ROM after hitting launch. i setup an external launcher and the path is /usr/bin/retroarch. system directory is /home/kodi/.config/retroarch. below is a snip of the kodi.log file

Hmm. I'm more interested in why the original attempt failed to install - most likely a dependency issue? I'm not sure. I'm not sure what the difference is between vanilla Kodi and the debian 15.2 version.

As for the other issue, it looks like the addon isn't setup for external launching. Try one of the following:
1) Run the wizard and see if that works for you. This will setup most lists for normal user use (although it's still a work in progress - I'm actually making a linux based gaming system right now and there are still some things to tweak in the wizard)
2) Configure the game system your interested in manually. See 4. Configure individual IARL archives here

Sorry I should have specified. The wizard didn't do anything when I hit the run button so I setup the external launcher manually. I set the path to /usr/bin/retroarch and verified that is the correct path for the program. The config files are stored in my users home directory, /home/kodi/.config/retroarch. Now the core's I'm not so sure of and I think that may be the problem. I tested retroarch and verified I can launch a game manually with a ROM stored in /home/kodi/ROMs/NES/contra.nes. Whenever I view a howto for retroarch I'm looking at older documentation. It seems the cores / functionality are all built in by default, nothing in settings to download or update them.

I know this is outside of the scope of the topic but I tried to launch a ROM with advanced launcher just to see if it would work. Setup what I think is correct for the paths and such. Imported the contra.nes ROM which was successful. When I click on it to launch, the name is displayed as (ntra) like the co is cut off.. Not sure what's up with it but I'm definitely not having any luck running ROMs from within kodi.

I can launch a ROM manually running retroarch in LXDE or whichever desktop.

edit - I meant to ask if I was missing dependencies originally. Especially since I installed the plugin manually by unzipping. It seems python is a built in functionality for kodi, youtube is def installed, what else could I be missing? I was looking through the addon.xml/py files, I forget which other, but I definitely meant to ask that question and have forgotten twice now.


RE: Internet Archive ROM Launcher - zachmorris - 2016-08-25

(2016-08-25, 02:52)allenelson Wrote:
(2016-08-24, 17:11)zachmorris Wrote:
(2016-08-24, 04:44)allenelson Wrote: kodibuntu, upgraded to latest 16.04 release, which in turn wiped kodi with debian's own 15.2 code. i've got the latest retroarch installed and working.

tried to install IARL via repo and failed. unzipped the plugin directly in the kodi addons folder. app itself works but doesn't load a ROM after hitting launch. i setup an external launcher and the path is /usr/bin/retroarch. system directory is /home/kodi/.config/retroarch. below is a snip of the kodi.log file

Hmm. I'm more interested in why the original attempt failed to install - most likely a dependency issue? I'm not sure. I'm not sure what the difference is between vanilla Kodi and the debian 15.2 version.

As for the other issue, it looks like the addon isn't setup for external launching. Try one of the following:
1) Run the wizard and see if that works for you. This will setup most lists for normal user use (although it's still a work in progress - I'm actually making a linux based gaming system right now and there are still some things to tweak in the wizard)
2) Configure the game system your interested in manually. See 4. Configure individual IARL archives here

Sorry I should have specified. The wizard didn't do anything when I hit the run button so I setup the external launcher manually. I set the path to /usr/bin/retroarch and verified that is the correct path for the program. The config files are stored in my users home directory, /home/kodi/.config/retroarch. Now the core's I'm not so sure of and I think that may be the problem. I tested retroarch and verified I can launch a game manually with a ROM stored in /home/kodi/ROMs/NES/contra.nes. Whenever I view a howto for retroarch I'm looking at older documentation. It seems the cores / functionality are all built in by default, nothing in settings to download or update them.

I know this is outside of the scope of the topic but I tried to launch a ROM with advanced launcher just to see if it would work. Setup what I think is correct for the paths and such. Imported the contra.nes ROM which was successful. When I click on it to launch, the name is displayed as (ntra) like the co is cut off.. Not sure what's up with it but I'm definitely not having any luck running ROMs from within kodi.

I can launch a ROM manually running retroarch in LXDE or whichever desktop.

edit - I meant to ask if I was missing dependencies originally. Especially since I installed the plugin manually by unzipping. It seems python is a built in functionality for kodi, youtube is def installed, what else could I be missing? I was looking through the addon.xml/py files, I forget which other, but I definitely meant to ask that question and have forgotten twice now.

I think even when you install by zip the dependencies should install. They're listed here in the addon.xml though just in case.

The commands that IARL runs are pretty straightforward, here is the database of external commands that are used when you run the wizard or set the external launcher per the wiki. In the log, when you try and launch a game, there should be a line that says something along the lines of:
Code:
IARL:  External launch command sent:  "/usr/bin/retroarch" -L /usr/lib/libretro/nestopia_libretro.so "/home/z/Documents/roms/nes/contra.nes"

I'd suggest running the same command in an x window to see what the issue is. Maybe your setup has the cores in a different location?

Any particular reason to use 15.2 version of Kodi? I think that pre-dates when I wrote this addon, so I haven't tested it. You could update Kodi also to see if that works.


This forum uses Lukasz Tkacz MyBB addons.