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 - blinken - 2017-03-08

(2017-03-04, 01:13)zachmorris Wrote:
(2017-03-04, 00:46)blinken Wrote: Fantastic program! I just have a question. When I download PSX images, the downloaded rar file is kept even after its contents are extracted. I wonder why? If I delete the rar, the rom will no longer launch, it just says it is extracting the rar that no longer exists. If I restore the deleted rar, it will launch again.

I did just change this logic as well. The zip files are deleted after extraction. However, if you attempt to launch the game again, the addon will look to see if the folder or files in the current launch directory match the zipfile name, and it should not re-download (unless the cache was emptied). If you find an example that this doesn't work let me know. In my testing, this worked every time (although it was not exhaustive).

This is great thanks a lot! I just have one other question. Is it possible to add your own custom archive for local roms? I'd like to add some Wii and GameCube stuff, since it seems redundant to have both IARL and AEL.


RE: Internet Archive ROM Launcher - zachmorris - 2017-03-08

(2017-03-08, 00:04)blinken Wrote:
(2017-03-04, 01:13)zachmorris Wrote:
(2017-03-04, 00:46)blinken Wrote: Fantastic program! I just have a question. When I download PSX images, the downloaded rar file is kept even after its contents are extracted. I wonder why? If I delete the rar, the rom will no longer launch, it just says it is extracting the rar that no longer exists. If I restore the deleted rar, it will launch again.

I did just change this logic as well. The zip files are deleted after extraction. However, if you attempt to launch the game again, the addon will look to see if the folder or files in the current launch directory match the zipfile name, and it should not re-download (unless the cache was emptied). If you find an example that this doesn't work let me know. In my testing, this worked every time (although it was not exhaustive).

This is great thanks a lot! I just have one other question. Is it possible to add your own custom archive for local roms? I'd like to add some Wii and GameCube stuff, since it seems redundant to have both IARL and AEL.

You can create your own lists, although this is a manual process. AEL will create the listing and scrape all automatically for you.


RE: Internet Archive ROM Launcher - jline123 - 2017-03-09

To date, I have put about 6 hours into getting the ability to play ROMs on my firestick. I have read this whole thread and still can't get it to work. I will PAY someone to help me get this going, before I punch a hole in my own face.


RE: Internet Archive ROM Launcher - zachmorris - 2017-03-09

(2017-03-09, 03:58)jline123 Wrote: To date, I have put about 6 hours into getting the ability to play ROMs on my firestick. I have read this whole thread and still can't get it to work. I will PAY someone to help me get this going, before I punch a hole in my own face.

No need for self harm.

I suggest you read the wiki regarding setup, which is about as detailed as I think I can be. There's a few specifics for android also covered in the wiki.

Suggestion:
Start with one archive, say NES. Follow the instructions here on setting up one system manually. If you cant get that working, provide some details (preferably a debug log, since the first post in the thread specifically talks about the issue you describe).

If you DO get it working, tell me what the hangup was, and how the wiki can be improved. And then pay via a donation to the internet archive.


RE: Internet Archive ROM Launcher - jline123 - 2017-03-10

(2017-03-09, 05:59)zachmorris Wrote:
(2017-03-09, 03:58)jline123 Wrote: To date, I have put about 6 hours into getting the ability to play ROMs on my firestick. I have read this whole thread and still can't get it to work. I will PAY someone to help me get this going, before I punch a hole in my own face.

No need for self harm.

I suggest you read the wiki regarding setup, which is about as detailed as I think I can be. There's a few specifics for android also covered in the wiki.

Suggestion:
Start with one archive, say NES. Follow the instructions here on setting up one system manually. If you cant get that working, provide some details (preferably a debug log, since the first post in the thread specifically talks about the issue you describe).

If you DO get it working, tell me what the hangup was, and how the wiki can be improved. And then pay via a donation to the internet archive.

So for firestick I should select Android as my OS? Sorry if I missed that detail somewhere. I think your wiki is fine. It's my lack of skills that's the issue, I am sure of that.


RE: Internet Archive ROM Launcher - mountbaldy - 2017-03-11

Hey Zach,

Thanks for responding! I tried this and it still bombs.

I tried following the wiki you provided. I even used the example of using N64 and it still did not work. It seems that others have had problems with the version of python running on LibreElec... I'd love ot see a tweak to fix that. I did update to the latest version you have out. :-)

Thanks Zach!!!

Cheers!

(2017-03-03, 01:43)zachmorris Wrote:
(2017-03-01, 02:12)mountbaldy Wrote: I have been having a heck of a time getting the IARL up and going. I'm using a LibreElec box running 7.95.3 8.0 (Kernel: Linux 4.9.8) I'm running Krypton v17.0 Git:a10c504 (Feb 10 2017) with the Spinz-TV Skin. I have downloaded the RetroArch Launcher. I set my System Type in the settings to LibreElec x86.

The launcher runs... Loads the list of systems... When you try and run one of the games... The launcher begins to load it spins for a while and then nothing happens. It goes back to the list of games...

I even tried running this through GameStarter... It will close Kodi... Than it will start to load and returns back to Kodi...

The version of RetroArch i'm using is for Openelec.tv 1.3.3.

I also have enabled Advanced Emulator Launcher but cannot launch any downloaded ROMS either...

What am I missing? I"m sure it's something painfully simple.

Thanks!

Cheers,


Joe

I'd say try looking at manually setting up launching for one game list per these instructions and see how it goes. If it doesn't work, post a debug log where you attempt to launch a game. There's a new version of the addon I'm just uploading now, which will also provide a context menu item to review the launch commands for each game list, so you can review what command the addon will send to launch a game.



RE: Internet Archive ROM Launcher - mountbaldy - 2017-03-12

So I was completely wrong on assuming others were having problems due to python... That was another issue I was having with a different plug in (MP3 Streams on LibreElec)... My bad there! I'm working on installing the LibreElec Extended edition on my x86 box now. We'll see if that helps. Thanks! :-)

Cheers!

Joe


RE: Internet Archive ROM Launcher - PimmoZ - 2017-03-12

Hey Zach,

Thanks for the great work your doing here!

I have one problem with the addon and would like your help:

MS-DOS games do not download (0kb) when login is enabled (also no warning screen). If login is disabled it workes fine but it wont download other games like for the PSX because they need a login.

Below is a part of the debug log. If you need a full log let me know.

Code:
13:19:05.672 T:7760  NOTICE: IARL:  Download and Launch started for Oregon Trail, The
13:19:05.674 T:7760   DEBUG: IARL:  Loading history cache C:\Users\pimve\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\list_cache\iarl_history.pickle
13:19:05.685 T:7760   DEBUG: IARL:  List cached to file C:\Users\pimve\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\list_cache\iarl_history.pickle
13:19:05.685 T:7760  NOTICE: IARL:  Download started for Oregon Trail, The
13:19:05.688 T:7760   DEBUG: IARL:  No matching file found for D:\Games\Retro Games\Oregon_Trail_The_1990.zip
13:19:05.688 T:7760   DEBUG: DialogProgress::Open called
13:19:05.688 T:7760   DEBUG: ------ Window Init (DialogConfirm.xml) ------
13:19:05.688 T:7760    INFO: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
13:19:09.060 T:7760   DEBUG: IARL:  Download with login URL: https://archive.org/download/msdos_Oregon_Trail_The_1990/Oregon_Trail_The_1990.zip
13:19:09.060 T:7760   DEBUG: IARL:  Download save filename: D:\Games\Retro Games\Oregon_Trail_The_1990.zip
13:19:10.449 T:7760   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ZeroDivisionError'>
                                            Error Contents: float division by zero
                                            Traceback (most recent call last):
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1825, in onClick
                                                download_and_launch_rom(self,iarl_data)
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1559, in download_and_launch_rom
                                                iarl_data['current_save_data'] = download_rom_only(iarl_data)
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1126, in download_rom_only
                                                iarl_data['current_save_data']['rom_save_filenames_success'][ii] = download_tools().Downloader(quote_url(iarl_data['current_rom_data']['rom_filenames'][ii]),iarl_data['current_rom_data']['rom_save_filenames'][ii],iarl_data['settings']['ia_enable_login'],iarl_data['settings']['ia_username'],iarl_data['settings']['ia_password'],iarl_data['current_rom_data']['rom_size'][ii],iarl_data['current_rom_data']['rom_title'],'Downloading, please wait...')
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\resources\lib\webutils.py", line 60, in Downloader
                                                percent = 100.0 * size / est_filesize
                                            ZeroDivisionError: float division by zero
                                            -->End of Python script error report<--
13:19:10.669 T:3084   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
13:19:10.683 T:3084   DEBUG: ------ Window Deinit (Pointer.xml) ------
13:19:15.291 T:3084   DEBUG: ------ Window Init (Pointer.xml) ------
13:19:17.011 T:3084   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
13:19:17.027 T:3084   DEBUG: ------ Window Deinit (C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\resources\skins\Default\720p\default.xml) ------
13:19:17.030 T:7760    INFO: CPythonInvoker(4, C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py): script successfully run
13:19:17.044 T:3084   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/Game/Oregon+Trail%2C+The
13:19:17.044 T:3084   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/Game/Oregon+Trail%2C+The) failed
13:19:17.045 T:3084   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/1)
13:19:17.045 T:3084   DEBUG:   ParentPath = [plugin://plugin.program.iarl/]
13:19:17.048 T:7760    INFO: Python script stopped

Thanks!


RE: Internet Archive ROM Launcher - zachmorris - 2017-03-13

(2017-03-12, 14:44)PimmoZ Wrote: Hey Zach,

Thanks for the great work your doing here!

I have one problem with the addon and would like your help:

MS-DOS games do not download (0kb) when login is enabled (also no warning screen). If login is disabled it workes fine but it wont download other games like for the PSX because they need a login.

Below is a part of the debug log. If you need a full log let me know.

Code:
13:19:05.672 T:7760  NOTICE: IARL:  Download and Launch started for Oregon Trail, The
13:19:05.674 T:7760   DEBUG: IARL:  Loading history cache C:\Users\pimve\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\list_cache\iarl_history.pickle
13:19:05.685 T:7760   DEBUG: IARL:  List cached to file C:\Users\pimve\AppData\Roaming\Kodi\userdata\addon_data\plugin.program.iarl\list_cache\iarl_history.pickle
13:19:05.685 T:7760  NOTICE: IARL:  Download started for Oregon Trail, The
13:19:05.688 T:7760   DEBUG: IARL:  No matching file found for D:\Games\Retro Games\Oregon_Trail_The_1990.zip
13:19:05.688 T:7760   DEBUG: DialogProgress::Open called
13:19:05.688 T:7760   DEBUG: ------ Window Init (DialogConfirm.xml) ------
13:19:05.688 T:7760    INFO: Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY
13:19:09.060 T:7760   DEBUG: IARL:  Download with login URL: https://archive.org/download/msdos_Oregon_Trail_The_1990/Oregon_Trail_The_1990.zip
13:19:09.060 T:7760   DEBUG: IARL:  Download save filename: D:\Games\Retro Games\Oregon_Trail_The_1990.zip
13:19:10.449 T:7760   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ZeroDivisionError'>
                                            Error Contents: float division by zero
                                            Traceback (most recent call last):
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1825, in onClick
                                                download_and_launch_rom(self,iarl_data)
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1559, in download_and_launch_rom
                                                iarl_data['current_save_data'] = download_rom_only(iarl_data)
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py", line 1126, in download_rom_only
                                                iarl_data['current_save_data']['rom_save_filenames_success'][ii] = download_tools().Downloader(quote_url(iarl_data['current_rom_data']['rom_filenames'][ii]),iarl_data['current_rom_data']['rom_save_filenames'][ii],iarl_data['settings']['ia_enable_login'],iarl_data['settings']['ia_username'],iarl_data['settings']['ia_password'],iarl_data['current_rom_data']['rom_size'][ii],iarl_data['current_rom_data']['rom_title'],'Downloading, please wait...')
                                              File "C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\resources\lib\webutils.py", line 60, in Downloader
                                                percent = 100.0 * size / est_filesize
                                            ZeroDivisionError: float division by zero
                                            -->End of Python script error report<--
13:19:10.669 T:3084   DEBUG: ------ Window Deinit (DialogConfirm.xml) ------
13:19:10.683 T:3084   DEBUG: ------ Window Deinit (Pointer.xml) ------
13:19:15.291 T:3084   DEBUG: ------ Window Init (Pointer.xml) ------
13:19:17.011 T:3084   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
13:19:17.027 T:3084   DEBUG: ------ Window Deinit (C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\resources\skins\Default\720p\default.xml) ------
13:19:17.030 T:7760    INFO: CPythonInvoker(4, C:\Users\pimve\AppData\Roaming\Kodi\addons\plugin.program.iarl\addon.py): script successfully run
13:19:17.044 T:3084   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/Game/Oregon+Trail%2C+The
13:19:17.044 T:3084   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/Game/Oregon+Trail%2C+The) failed
13:19:17.045 T:3084   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.iarl/Emulator/IA_MSDOS_ZachMorris/1)
13:19:17.045 T:3084   DEBUG:   ParentPath = [plugin://plugin.program.iarl/]
13:19:17.048 T:7760    INFO: Python script stopped

Thanks!

Thanks PimmoZ, looks like a silly divide by zero bug. I'll fix that for the next update. Thanks for the report.


RE: Internet Archive ROM Launcher - mountbaldy - 2017-03-14

Hi Zach!

I finally got this to work! I ended up doing a fresh install of the Community Build LibreElec and that worked! Now I'm just looking to get Intellivision Games to work...

What emulator do I use? I tried all of the MESS entries I saw but they all bomb...
Can I download an emulator? If so what directory do I put it in?
Do I need to set the directory for that? If so what do I set that to?

Thanks for all of your hard work!!!

Cheers,

Joe


RE: Internet Archive ROM Launcher - zachmorris - 2017-03-14

(2017-03-14, 01:40)mountbaldy Wrote: Hi Zach!

I finally got this to work! I ended up doing a fresh install of the Community Build LibreElec and that worked! Now I'm just looking to get Intellivision Games to work...

What emulator do I use? I tried all of the MESS entries I saw but they all bomb...
Can I download an emulator? If so what directory do I put it in?
Do I need to set the directory for that? If so what do I set that to?

Thanks for all of your hard work!!!

Cheers,

Joe


I was just replying to your other report to say LibreElec and OpenElec should work without issue. Not sure what your original OpenElec problem was.

For Intellivision, the only core currently that IARL is setup to support is MAME (latest) (the next revision will support MESS2014 as well). You'll need to use the online updater within retroarch to download the lastest MAME core, then ensure the external launcher is set to MAME. You'll also need to set the IARL setting for System/BIOS directory to the roms/bios folder (or whatever you have it set to in Retroarch).


RE: Internet Archive ROM Launcher - cchocas - 2017-03-14

hi.great job with addon! i have some questions if anyone can help me please i apreciate. Im using windows10 64x with retroarch. Unfortunatly NDS and PSP dont appear on my emulators list. I have uptaded every core possible. is there any way to add these two emulators? and can i add another external emulator like epsxe? thanks for your attention and sorry for my bad english.


RE: Internet Archive ROM Launcher - mountbaldy - 2017-03-14

(2017-03-14, 01:50)zachmorris Wrote:
(2017-03-14, 01:40)mountbaldy Wrote: Hi Zach!

I finally got this to work! I ended up doing a fresh install of the Community Build LibreElec and that worked! Now I'm just looking to get Intellivision Games to work...

What emulator do I use? I tried all of the MESS entries I saw but they all bomb...
Can I download an emulator? If so what directory do I put it in?
Do I need to set the directory for that? If so what do I set that to?

Thanks for all of your hard work!!!

Cheers,

Joe


I was just replying to your other report to say LibreElec and OpenElec should work without issue. Not sure what your original OpenElec problem was.

For Intellivision, the only core currently that IARL is setup to support is MAME (latest) (the next revision will support MESS2014 as well). You'll need to use the online updater within retroarch to download the lastest MAME core, then ensure the external launcher is set to MAME. You'll also need to set the IARL setting for System/BIOS directory to the roms/bios folder (or whatever you have it set to in Retroarch).

Thanks Zach!

So I was able to download the updated MAME bios within Retroarch... However, when I go to add my file directory for Retroarch (/storage/.config/retroarch/) to IARL it won't let me browse to that directory. I tried adding it to File Manager in Setings within LibreElec but it will not show up within IARL. I can browse to /storage/ but I do not see the hidden directory. Any ideas?

I'll try the Ole reboot but I have my doubts!

I really appreciate all of your help!!!

Cheers!

Joe


RE: Internet Archive ROM Launcher - cchocas - 2017-03-14

i think im losing my mind Sad ... wich core you use for psx, x68000 and saturn? i cant make these 3 to run. and still cant figure out how to add NDS, PSP AND GAMECUBE to the list of emulators. Also iits giving me the runtime error on reicast. I know that i have to place the bios correctly but can you tell me where exactly like you would explain to a child? Please can anyone give me some advices how to make them work? Thanks


RE: Internet Archive ROM Launcher - zachmorris - 2017-03-15

(2017-03-14, 13:53)mountbaldy Wrote: Thanks Zach!
So I was able to download the updated MAME bios within Retroarch... However, when I go to add my file directory for Retroarch (/storage/.config/retroarch/) to IARL it won't let me browse to that directory. I tried adding it to File Manager in Setings within LibreElec but it will not show up within IARL. I can browse to /storage/ but I do not see the hidden directory. Any ideas?
I'll try the Ole reboot but I have my doubts!
I really appreciate all of your help!!!
Cheers!
Joe

The only requirement is the setting in Retroarch for System / BIOS directory (top setting shown below) matches the setting in IARL for "Retroarch System Folder"
Image

You can change the directory in the Retroarch settings to whatever you want and then set IARL to match. In LibreElec x86 I think mine is "/storage/roms/bios"


This forum uses Lukasz Tkacz MyBB addons.