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 - allenelson - 2016-08-25

(2016-08-25, 05:11)zachmorris Wrote:
(2016-08-25, 02:52)allenelson Wrote:
(2016-08-24, 17:11)zachmorris Wrote: 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.

zach I'm sorry forgive my ignorance. I couldn't load contra from the "best of nintendo" section. i can load contra directly from "nintendo entertainment system" section. i'm working on the audio right now, retroplayer version is 1.3.6 test build. again this is ubuntu 16.04 with debian kodi 15.2 and development retroarch build.

no reason for running 15.2, just when i updated ubuntu it also wiped kodi with it's own from the debian repository. the interface fonts look much more crisp so i left it be instead of reapplying 16.x


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

Here's what the Default.fs.uae looks like from Escalade's Build

Code:
# FS-UAE example configuration file
# The encoding of the configuration file must be UTF-8 (or ASCII)
#
# All paths can be either absolute, or relative to the current working
# directory. The same is true for all paths in the configuration file.
# Some relative paths will also be looked up relative to special
# directories. For example, a relative floppy image path will also be
# looked up relative to the FS-UAE Floppies dir.
#
# If you specify paths with backslash on Windows, you must escape them
# (use \\ instead of just \ - c:\\path\\to\\file). You can also just use
# forward slashes instead (c:/path/to/file).
#
# You can start paths with ~/ or $HOME/ to refer to the user's home.
# Example: ~/Documents/Floppies/example.adf
#
# There are many options available to configure FS-UAE.
# See http://fengestad.no/fs-uae/options
# for a complete list of configuration options with documentation

[config]
amiga_model = A500
kickstart_file = kick13.rom
assume_refresh_rate = 50
fullscreen_mode = fullscreen
fullscreen_width = 1024
fullscreen_height = 768
# Here or some additional options which can help if FS-UAE runs
# too slow on your system:
#
# accuracy = 0
# video_sync = off
# video_format = rgb565

I assume its loading from this because Fsuae try's to load a500 and not the 4000 which is in the iral config


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

ok lefty420 but I prefer also to add 512k Chip for memory because some game have some extra like Shadow of the beast II and need 1Mo

chip_memory = 1024


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

(2016-08-25, 13:47)yallah Wrote: ok lefty420 but I prefer also to add 512k Chip for memory because some game have some extra like Shadow of the beast II and need 1Mo

chip_memory = 1024

All good, its nice to have someone who understands the amiga on board. Smile
Do you have Amiga running on Escalade's build ?


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

yes 1 amiga 500 original + 1 amiga 1200 + 1 escalade and 1 retroarch (own build)

I love that computer Smile


RE: Internet Archive ROM Launcher - Biosolids - 2016-08-31

Been trying to run this on my shield tv for a few weeks now without any success.

I used to be able to run the Setup wizard even thought it didn't help me running games , now the setup Wizard won't even start when i try to use it. ( Even after uninstalling it from Kodi) and reinstalling it.) Im so lost.

My external launchers setting are:

Retroarch system folder: /storage/emulated/0/Android/data/com.retroarch/files/system
CFG Location: /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg

-Every single game i have tried just sent me back to the Rom selection screen in IARL.
-Im running Hyperspin and retroarch just fine, it's just IARL that's not working.
-I have followed every tutorials i could find online including the one on Github.
-Gave up for now but if anyone has any ideas feel free to suggest something.


RE: Internet Archive ROM Launcher - zachmorris - 2016-09-01

(2016-08-31, 20:02)Biosolids Wrote: Been trying to run this on my shield tv for a few weeks now without any success.

I used to be able to run the Setup wizard even thought it didn't help me running games , now the setup Wizard won't even start when i try to use it. ( Even after uninstalling it from Kodi) and reinstalling it.) Im so lost.

My external launchers setting are:

Retroarch system folder: /storage/emulated/0/Android/data/com.retroarch/files/system
CFG Location: /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg

-Every single game i have tried just sent me back to the Rom selection screen in IARL.
-Im running Hyperspin and retroarch just fine, it's just IARL that's not working.
-I have followed every tutorials i could find online including the one on Github.
-Gave up for now but if anyone has any ideas feel free to suggest something.

Do you have a debug log from Kodi you can post when you try both running the wizard and running a game?


RE: Internet Archive ROM Launcher - Biosolids - 2016-09-01

I don't really know how to do that.

Edit: HA! I did a factory reset , disconnected my sd card and usb and reinstalled everything like i did previously and now it works!


RE: Internet Archive ROM Launcher - GerritAmsterdam - 2016-09-01

First of all i really Love IARL.

But is it possible to point to a gdrive? For Roms?
If so how to do so.

And how come dreamcast,Sega CD and PS1 won't run? Keep getting concerting 7z file?

Again big thanks for this great addon!


RE: Internet Archive ROM Launcher - zachmorris - 2016-09-01

(2016-09-01, 19:44)GerritAmsterdam Wrote: First of all i really Love IARL.

But is it possible to point to a gdrive? For Roms?
If so how to do so.

And how come dreamcast,Sega CD and PS1 won't run? Keep getting concerting 7z file?

Again big thanks for this great addon!

Google drive and dropbox are good additions to the addon. I've made a quick modification to the addon to get it to work, and I'll include that capability in the next version.

Creating xml files that work with Google Drive or Dropbox are going to be manually done though. Here's a few examples using a public domain ROM: Google Drive, Dropbox

Info on finding the direct link for a Google Drive file can be found using the tool here
For a google drive file, you also need to append the following to your URL (replace GAMEFILENAME.nes):
Code:
&name=/GAMEFILENAME.nes

Info on converting a direct link for Dropbox can be found here

7zip doesnt work at the moment for android.


RE: Internet Archive ROM Launcher - GerritAmsterdam - 2016-09-02

Thank you for the fast reply zach!

As i am still in the learning proces, do i find the XML file in the hidden files folder in Kodi? And do i need to do it for every single game or can i direct it straight to the folder with all the games of the selected console? And is it possible to run external launchers? I saw the option to put in command line within IARL , but i am not sure where to direct it to outside retroarch. Big thanks for your help and effort mate!


RE: Internet Archive ROM Launcher - flipside101 - 2016-09-04

(2016-09-01, 00:29)zachmorris Wrote:
(2016-08-31, 20:02)Biosolids Wrote: Been trying to run this on my shield tv for a few weeks now without any success.

I used to be able to run the Setup wizard even thought it didn't help me running games , now the setup Wizard won't even start when i try to use it. ( Even after uninstalling it from Kodi) and reinstalling it.) Im so lost.

My external launchers setting are:

Retroarch system folder: /storage/emulated/0/Android/data/com.retroarch/files/system
CFG Location: /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg

-Every single game i have tried just sent me back to the Rom selection screen in IARL.
-Im running Hyperspin and retroarch just fine, it's just IARL that's not working.
-I have followed every tutorials i could find online including the one on Github.
-Gave up for now but if anyone has any ideas feel free to suggest something.

Do you have a debug log from Kodi you can post when you try both running the wizard and running a game?
i have this issue and really dont want to factory reset. ill try and get a log sorted after i fly home tonight

Sent from my SGP512


RE: Internet Archive ROM Launcher - proximulator - 2016-09-04

Hey guys, after half a year pause i tried to play some games. All were working perfectly, and i am still on KodiBuntu v16 (it might have upgraded to 16.1 though). As soon as I hit any of the cathegories let's say "Atari Jaguar" or "Game Boy Classic" it says : ADD-ON REQUIRED... to use this feature you must download an add-on Internet Archive ROM launcher... (strange i had it already, why this now?).. but okay, I say YES... and get an immediate "installation failed".

Went to Zach Morris repository which was added half a year ago - same thing , cannot install IARL. Is it moved?


RE: Internet Archive ROM Launcher - zachmorris - 2016-09-04

(2016-09-04, 21:01)proximulator Wrote: Hey guys, after half a year pause i tried to play some games. All were working perfectly, and i am still on KodiBuntu v16 (it might have upgraded to 16.1 though). As soon as I hit any of the cathegories let's say "Atari Jaguar" or "Game Boy Classic" it says : ADD-ON REQUIRED... to use this feature you must download an add-on Internet Archive ROM launcher... (strange i had it already, why this now?).. but okay, I say YES... and get an immediate "installation failed".

Went to Zach Morris repository which was added half a year ago - same thing , cannot install IARL. Is it moved?

Still in the same place, nothing has changed for installation and installing it should be just like any other addon.


RE: Internet Archive ROM Launcher - proximulator - 2016-09-07

Finally made it update. Now, setting all the variables leaves to this error, no idea what to do with it. Help would be much appreciated Smile

PHP Code:
20:24:08 T:2390088512  NOTICEIARL:  Lets Play!
20:24:08 T:2390088512  NOTICE: [resources.lib.xbmcswift2bRequest for "/Emulator/Nintendo+Entertainment+System+-+NES/1" matches rule for function "get_rom_page"
20:24:08 T:2390088512   ERRORIARL:  The archive Nintendo Entertainment System NES could not be found.
20:24:08 T:2390088512   ERRORIARL:  Unable to get ROM List: <type 'exceptions.TypeError'>
20:24:08 T:2390088512   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.TypeError'>
                                            
Error Contentsobject of type 'NoneType' has no len()
                                            
Traceback (most recent call last):
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/addon.py"line 1689in <module>
                                                
plugin.run()
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/resources/lib/xbmcswift2b/plugin.py"line 332in run
                                                items 
self._dispatch(self.request.path)
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/resources/lib/xbmcswift2b/plugin.py"line 306in _dispatch
                                                listitems 
view_func(**items)
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/addon.py"line 474in get_rom_page
                                                
for ii in range(0,len(rom_list)):
                                            
TypeErrorobject of type 'NoneType' has no len()
                                            -->
End of Python script error report<--
20:24:09 T:2989090688   ERRORGetDirectory Error getting plugin://plugin.program.iarl/Emulator/Nintendo+Entertainment+System+-+NES/1?parser_id=NoIntro_parser.xml&xml_id=%2fhome%2fretro%2f.kodi%2fuserdata%2faddon_data%2fplugin.program.iarl%2fdat_files%2fNES_ZachMorris.xml
20:24:09 T:2989090688   ERRORCGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/Nintendo+Entertainment+System+-+NES/1?parser_id=NoIntro_parser.xml&xml_id=%2fhome%2fretro%2f.kodi%2fuserdata%2faddon_data%2fplugin.program.iarl%2fdat_files%2fNES_ZachMorris.xml) failed
20:24:18 T:2412583744  NOTICEIARL:  Lets Play!
20:24:18 T:2412583744  NOTICE: [resources.lib.xbmcswift2bRequest for "/update_xml/%2Fhome%2Fretro%2F.kodi%2Fuserdata%2Faddon_data%2Fplugin.program.iarl%2Fdat_files%2FNES_ZachMorris.xml" matches rule for function "update_xml_value"
20:24:24 T:2412583744  NOTICEIARL:  Lets Play!
20:24:24 T:2412583744  NOTICE: [resources.lib.xbmcswift2bRequest for "/update_xml/%2Fhome%2Fretro%2F.kodi%2Fuserdata%2Faddon_data%2Fplugin.program.iarl%2Fdat_files%2FNES_ZachMorris.xml" matches rule for function "update_xml_value"
20:24:41 T:2412583744  NOTICEIARL:  Lets Play!
20:24:41 T:2412583744  NOTICE: [resources.lib.xbmcswift2bRequest for "/Emulator/Nintendo+Entertainment+System+-+NES/1" matches rule for function "get_rom_page"
20:24:41 T:2412583744   ERRORIARL:  The archive Nintendo Entertainment System NES could not be found.
20:24:41 T:2412583744   ERRORIARL:  Unable to get ROM List: <type 'exceptions.TypeError'>
20:24:41 T:2412583744   ERROREXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - 
NOTEIGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            
Error Type: <type 'exceptions.TypeError'>
                                            
Error Contentsobject of type 'NoneType' has no len()
                                            
Traceback (most recent call last):
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/addon.py"line 1689in <module>
                                                
plugin.run()
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/resources/lib/xbmcswift2b/plugin.py"line 332in run
                                                items 
self._dispatch(self.request.path)
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/resources/lib/xbmcswift2b/plugin.py"line 306in _dispatch
                                                listitems 
view_func(**items)
                                              
File "/home/retro/.kodi/addons/plugin.program.iarl/addon.py"line 474in get_rom_page
                                                
for ii in range(0,len(rom_list)):
                                            
TypeErrorobject of type 'NoneType' has no len()
                                            -->
End of Python script error report<--
20:24:41 T:2989090688   ERRORGetDirectory Error getting plugin://plugin.program.iarl/Emulator/Nintendo+Entertainment+System+-+NES/1?parser_id=NoIntro_parser.xml&xml_id=%2fhome%2fretro%2f.kodi%2fuserdata%2faddon_data%2fplugin.program.iarl%2fdat_files%2fNES_ZachMorris.xml
20:24:41 T:2989090688   ERRORCGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/Nintendo+Entertainment+System+-+NES/1?parser_id=NoIntro_parser.xml&xml_id=%2fhome%2fretro%2f.kodi%2fuserdata%2faddon_data%2fplugin.program.iarl%2fdat_files%2fNES_ZachMorris.xml) failed 



This forum uses Lukasz Tkacz MyBB addons.