Jump to content
LaunchBox Community Forums

slipsystem

Members
  • Posts

    102
  • Joined

  • Last visited

Posts posted by slipsystem

  1. 11 hours ago, Thatman84 said:

    Sorry i didnt read the whoke thread. 

    What does the Android part do?

    On android devices it converts the command used to run the game. 

    retroarch.exe -L "cores/stella_libretro.dll" "%ROM_PATH%"

    becomes

    /system/bin/am start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "%ROM_PATH%" -e LIBRETRO /data/data/com.retroarch/cores/stella_libretro_android.so -e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch/files/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture

     

    • Like 1
  2. 2 hours ago, martinconroy said:
    
        <Emulator>227c8d86-77b0-471b-b787-265d06c3f92e</Emulator>
        <Platform>Atari 2600</Platform>
        <CommandLine>-L "cores\stella_libretro.dll" -c "config\stella_libretro.cfg"</CommandLine>
        <Default>true</Default>

    Actually @slipsystem - could you parse the RA parameters from the CommandLine tags in Emulators.xml where RA is used? Should be fairly easy to identify?

     

    yes this is possible. believe it or not it is already doing this. if it identifies that you are ising retroarch it will pass the parameters found in the emulator file. these commands need to be converted though because they are not in the same place across platforms also linux and android use .so and not .dll. i will be looking into the conversion again though.

  3. Hey Guys,

     

    Sorry I havent updated this Project in a while, I have been trying my hand at the new plugin system.

     

    I am going to start doing some work on Friday night so if anyone has any suggestions ,features they want to add or bug fixes please let me know.

    On 5/14/2017 at 0:24 AM, fawkesyeah said:

    Yes! Your package fixed it. I hadn't realized a few games were in no platform. Thank you for your help on that!

    A different question for you: I've tried flipping through a few different views in Kodi, and I'm seeing them all use either the game box or the background. Is there any way I can make a view(s) use the Steam Banner image instead? I have all of my games with proper Steam Banners and I prefer using those if I can.

     

    I will be adding the steam banners under Kodis banner path. any theme that supports banner views should use this setting.

     

    On 5/15/2017 at 7:47 AM, The_Keeper86 said:

    Would it be possible to only show games that have art? At least in the random games widget. A lot of Mame games show sometimes with no art. If not no worries. I hope this requests makes sense? 

     

    I will be adding an option under setting to only display games with artwork. 

     

    • Like 1
  4. 6 minutes ago, neil9000 said:

    He is using Libreelec though and that works out of the box with samba shares, you just need to add source and either point it at your samba share if it shows automatically , or type in your ip/system name of the samba share and add it as a source. At least that is how i do it, i have a kodi addon folder on my windows pc that is shared on the network, i then pointed my libreelec to that folder so i can instal addons over the network.

    Sorry you are most certainly correct. what i was refering to is my python code does not support smb shares as i have not written a way to handle these sources. Kodi most certainly does support smb shares.

  5. 2 hours ago, martinconroy said:

    Hi @slipsystem,

    Probably a stupid question but how would I get an Android or Linux install to access the media? Here I have a media server (SMB) which all can access. Is it best to install LaunchBox on there and point the Android/Linux systems to that as the install directory?

     

    2 hours ago, neil9000 said:

    @martinconroy The way i would do it is to add your network share as a source in kodi, just like you would if you were adding movies. Then point this addon at the bigbox.exe on the network share. 

    The best way would be to mount the network share in you fstab to create a mount point under /mnt/NetworkShare.

    then add the /mnt/NetworkShare to kodi and point the addon to the bigbox exe. 

    I may be wrong depending on the linux distro but smb shares are not working because the python code cannot convert the path.

     

    if you where using Ubuntu or Ubuntu based Distribution this would be the procedure.

     

    set up mount point using Disk Utility. I am running Xubuntu so I had to install the utility with this command

     sudo apt-get install gnome-disk-utility

     

    this is a picture from google because my Linux machine is not on at the moment but you get the idea

    gnome-disk-utility-drive-automount-1.png

     

    Install Retroarch using the following command

     

    sudo add-apt-repository ppa:libretro/testing
    sudo apt-get update
    sudo apt-get install retroarch* libretro*

     

     

    Install the addon and Point it to your bigbox.exe using the google example it would be something like.

    /mnt/0EC2439A6E2BFCA6/Games/LaunchBox/BigBox.exe

     

    then open the addon and run Update.

    this will scan the data folder and generate a database of games.

    it will set the games path using the data extracted from the data folder.

     

    if a platform is not working it is most likely due to the addon not knowing which emulator command to use.

    you can replace these commands by editing this file.

     

    /home/.kodi/addons/plugin.video.bigbox/resources/linuxcom.xml

     

    there are a few example overrides in there already but I am always looking for people to post there files so I can add them to the addon.

     

    the alternative way would be to copy your LaunchBox folder and Roms to the device, keeping it in the same folder structure.

     

    Please let me know if you run into any problems so I can attempt to fix the bugs.

    • Like 1
  6. 12 hours ago, lordmonkus said:

    Would it be possible to have this plugin work alongside Ember Media Manager ? http://kodi.wiki/view/Ember_Media_Manager

    I use this program to scrape all my movies for my Kodi setup so I have everything already scraped.

    If not possible or too much work then no big deal, I understand.

    yes this is possible, I will be doing some work on this after office hours.

     

    My update schedule is as follows.

     

    add the ability to check if the artwork files exists in the movies path and set the media in launchbox.

    find a way to read the nfo file and set the details accordingly.

    better handling of movies with the same or similar name and create an option to choose the correct movie.

     

     

    • Like 1
  7. 7 hours ago, fawkesyeah said:

    Yes! Your package fixed it. I hadn't realized a few games were in no platform. Thank you for your help on that!

    A different question for you: I've tried flipping through a few different views in Kodi, and I'm seeing them all use either the game box or the background. Is there any way I can make a view(s) use the Steam Banner image instead? I have all of my games with proper Steam Banners and I prefer using those if I can.

    yes and no. the plugin has support for banners if your custom theme supports it but i have not implemented steam banners yet. i will add this for you in the next release.

  8. 52 minutes ago, fawkesyeah said:

    Sure, here you go, my Launchbox Data folder.

    Data.rar

    Hey I have had a look at your data folder. the problem is coming from some of your pc games being listed as unknown platform. this is leaving the xml as 

     

      <Platform>
        <LocalDbParsed>false</LocalDbParsed>
        <Name />
        <Developer />
        <Manufacturer />
        <Cpu />
        <Memory />
        <Graphics />
        <Sound />
        <Display />
        <Media />
        <MaxControllers />
        <Folder />
        <Notes />
        <VideoPath />
      </Platform>

    the addon is erroring out because it cannot determine the platform.

     

    the only way to fix this at the moment is to remove those lines from the xml file.

    even once you have done this it will constantly tell you that the Unknown Platform.xml was changed since the last update and ask if you want to update the database.

     

    I will try and implement some error checking if the Platform Title is blank in the future.

     

    my best recommendation for now is to have a look at what games are in the Unknown Platform.xml delete the Unknown Platform.xml and import those games again under windows.

     

    attached you will find you data folder where i removed those lines from the platforms and deleted the xml labled unknown platform. i also replace the right quotation mark on Sid Meier’s as this is not supported in the addon it now looks like this Sid Meier's. I do think that the unknown platform xml is there by mistake and is not actually being used by launchbox. to be safe always backup your data folder before doing anything.

     

    Data.zip

    • Like 1
  9. 7 minutes ago, fawkesyeah said:

    Hi there, great plugin idea! Unfortunately I cannot get it to update the database. I installed the plugin, ran it, and then it pops an error. Looking at the log file, this is what I found at the bottom:

    
    15:12:49.851 T:8560   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
    15:12:52.235 T:856 WARNING: Attempt to use invalid handle -1
    15:12:52.651 T:19412 WARNING: CActiveAE::ActiveAE::CActiveAE::StateMachine - signal: 0 from port: OutputControlPort not handled for state: 6
    15:12:57.651 T:12036   ERROR: ActiveAE::ActiveAE::CActiveAE::Resume - failed to init
    15:12:57.651 T:12036 WARNING: Attempt to use invalid handle -1
    15:13:12.227 T:8560 WARNING: Previous line repeats 1 times.
    15:13:12.227 T:8560 WARNING: CGUIWindowManager - CGUIWindowManager::OnAction - ignoring action 107, because topmost modal dialog closing animation is running
    15:13:13.599 T:5176 WARNING: Previous line repeats 1 times.
    15:13:13.599 T:5176   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                Error Type: <type 'exceptions.TypeError'>
                                                Error Contents: unsupported operand type(s) for +: 'NoneType' and 'str'
                                                Traceback (most recent call last):
                                                  File "C:\Users\profu\AppData\Roaming\Kodi\addons\plugin.video.bigbox\default.py", line 1818, in <module>
                                                    elif mode==51: ResetDatabase()
                                                  File "C:\Users\profu\AppData\Roaming\Kodi\addons\plugin.video.bigbox\default.py", line 614, in ResetDatabase
                                                    DataString = (platformname + "','" + platformdisc + "','" + icon + "','" + fanart + "','" + icon + "','" + logo)
                                                TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
                                                -->End of Python script error report<--
    15:13:13.652 T:8560   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.bigbox/?iconimage=C%3a%5cUsers%5cprofu%5cAppData%5cRoaming%5cKodi%5caddons%5cplugin.video.bigbox%5cresources%5cimages%5cupdatedatabase%5cicon.png&mode=51&name=Update%20Database&url=url
    15:13:13.653 T:8560   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.bigbox/?iconimage=C%3a%5cUsers%5cprofu%5cAppData%5cRoaming%5cKodi%5caddons%5cplugin.video.bigbox%5cresources%5cimages%5cupdatedatabase%5cicon.png&mode=51&name=Update%20Database&url=url) failed

    Any idea what's going on? How I can fix it? Thanks!

    looks like it picked up a problem writing to the sql database.  can you send me your data folder so I can try it on my side.

  10. Movie Scraper Plugin

    View File

    This Plugin Is Currently Broken

     

    Downloads Information and Images for Movies.

     

     

    Thanks to @superfurry for the insperation(he created the Movie Launcher in this thread)

    thanks to @Nielk1 for assistance with the forms, you do amazing work and are always there to lend a hand.

     

    this Plugin uses the Fanart.TV Api and omdbapi to scrape images and details.

     

    simply add movies to your LaunchBox collection.

    Right Click on the Movie or Multiple Movies

    Select Scrape Movie.

    you may need to hit f5 to refresh the images.

     

    you can find this sourcecode and others at

    https://github.com/slipsystem/LaunchBox-Plugin-Examples

    BUY ME A BEER


     

    • Like 2
  11. 7 hours ago, BlackSol said:

    WOW, don't know how I missed this. This is exactly what I had hoped someone would do with BB and Kodi.

    Everything seems to work well. The only thing that seems to be missing is a way to directly BB from a main menu item. Is this feature already in there and my old eyes are missing it and if not, is it planned to be added?

    There is a menu item to Launch BigBox, unless you are using a different operating stem then this item is disabled.

  12. 14 hours ago, zetec-s-joe said:

    This is a great idea! Thank you so much for this, please keep working on it and tweaking it to perfection! What Kodi Theme are you guys using out of intrest??

    I am using estuary mod 17. it supports clear logos and trailers. it also uses skin helper which automatically downloads images on the fly.  I was using Aeon Nox but it didn't support trailers when I was testing.

  13. Before I get any bug reports. This is not meant to work. This is a Tutorial to show you what is possible with the plugin system

    I just wanted to share my projects with all the people eagerly waiting to start developing there own plugins but don't know where to start or how to implement the API.

     also although my job involves me writing code I would not say I am an expert so don't hate.

     

    simply download the project and open in visual studios.

     

    i will update the projects with more ways to use the API when I get a chance

     

    Contents

    Benchmark with Fraps

    GamesDB Scraper

    Movie Scraper

    BigBox Play and Kill by @don

     

    LaunchBox-Plugin-Examples GitHub

     

    BUY ME A BEER

    • Like 1
  14. 16 hours ago, sic said:

    Hey, it worked great after DB update :). Now the only emulator I can´t get running is dosbox. Will provide a log for you.

    I also have some questions/requests:

    1. Will there be support  to pull the AHK script that is provided in launchbox with each emulator. Me for example have a custom script for keymapping the C64 emulator.

    2. Provide or clone the function "quit key combo"  (Close the active window) from launchbox. Now some emulators is hard to quit without a keyboard.

     

    Many thanks slipsystem for this great addon :)

    kodi.log

    my focus at the moment is getting cross platform working to the max. i am starting with android and then moving to linux.

     

    as for auto hotkeys and quit key combos , i am doing some reading on the launchbox plugin system that has been recently implemented. I am hoping to be able to launch the games via launchbox itself instead of intercepting commands that it sends. this way the games will launch as if Launchbox actually launched it. i am not sure if this is even possible but thats where i will be putting my attention.

    • Like 2
  15. 57 minutes ago, sic said:


    Hi, you got PM :)

    Hi thanks allot for that. I have found the problem, there is an issue with converting some unicode characters in kodi. i am currently looking into how to fix this.

     

    as for scrummvm and windows, I had an issue with this in the past but I thought I fixed it. can you run the update database function inside the addon, this should fix launch parameters for previous versions. then let me know if they still are not able to launch.

  16. 2 hours ago, sic said:

    Thanks, that was fast! 

    Now C64 works fine. Did you see any reason why Commodore Amiga wouldn´t even show the games?

    I will check more emulators tonight and see if I can get them to run :)

    i notice commodore amiga is looking for the emulator as a image for some reason. if you can send me you launchbox data folder i can try diagnose why its getting confused.

  17. 1 hour ago, sic said:

    Hi slipsystem

    Ok, since it works for you I decided to remove my Kodi install and start over. I actually discovered that MAME was the only emulator that worked, but the others won´t.  

    When I checked the logs it seems like the addon sends the right commands, but still it wont work :(

     

    What I tried and logged for you was: 

    1. Choose Commodore Amiga platform but it didn´t even show the games. I got an error message that told me to check the logs for more information.

    2. Start a NES game nothing happend, just the busy screen.

    3. Start Commodore 64 game, the emulator starts up but no game boots.

    4. Start a MAME game, worked as it should.

    Extra info:

    Tried both stable and beta version of the addon, no difference.

    Can also add that I always get dual messages that tells me that one of the platforms has been updated whatever I click on in the addon. Doesn´t matter if I press yes or no, it still tells me that there was an update. 

     

    I hope my info is enough for you to see whats causing my issues, thanks again for looking into it. Love the idea of your addon and hope I can use it soon :)

    kodi.log

    Hey thanks for the info, this always helps diagnose the problem quickly. 

     

    I have updated the Beta Version in the original post, this should hopefully fix the issue.

    the problem was that I only joined the paths if they were relative outside the Launchbox folder because I was not sure what would happen if the paths were not relative. that is why commodore 64  started but did not launch the game because it could not find it. a lot of emulators like retroarch also will not start unless all the parameters are properly met so If it cant find the game it will not launch.

     

    the reason why you are getting the message that Bigbox was updated is because the plugin has detected that one of the platform xmls has been updated. this does a loop threw all the platforms so if you updated 2 platforms it will tell you twice. the nice thing about this is that if you click yes it will update just the platform that was updated and not the entire database which takes forever. i will be working on making this less annoying.

     

    also in the beta version I have  fixed the genre list it now displays individual genres instead of tag groups.

     ie instead of displaying

    action;shooter;adventure;

    adventure; shooter;

    puzzle;adventure

     

    it will display

     

    action

    adventure

    puzzle

    shooter

     

    i have also fixed retroarch config for android. this was an issue that I picked up when using my controller, every time I launched a game my controller was not configured.

     

    at the moment I am busy working on android command replacements, I am going to try get all my platforms out the box. I also want to do a scan so it can detect whether you have downloaded the core needed in retroarch as well as the bios, then warn you if they are not found and tell you what to download. 

    • Like 1
  18. 16 hours ago, sic said:

    Thanks for a great addon, to bad I have my Launchbox install on a NAS so it wont work for me. The share is mapped with a driveletter in Windows 10 but dosent work anyway. Is that BUG on your todo list?

    hey I was not aware of this issue, I have not tested it myself. I will have a look.

     

     

    Hey I have had a look and everything seems to be working on my side. can you upload your kodi log located in 

     

    Quote

    C:\Users\username\AppData\Roaming\Kodi\kodi.log

     

  19. New update to the Beta Version.

     

    there is now a command bypass xml file.

    you can configure each platform to bypass the generated command.

     

    the xml file is located under the addon folder

     

    Windows

    Quote

     

    C:\Users\username\AppData\Roaming\Kodi\addons\plugin.video.bigbox\resources\linuxcom.xml

    C:\Users\username\AppData\Roaming\Kodi\addons\plugin.video.bigbox\resources\androidcom.xml

     

    Linux

    Quote

     

    /home/.kodi/addons/plugin.video.bigbox/resources/linuxcom.xml

    /home/.kodi/addons/plugin.video.bigbox/resources/androidcom.xml

     

    Android

    Quote

     

    /Internal Memory/Android/Data/org.xbmc.kodi/files/.kodi/addons/plugin.video.bigbox/resources/linuxcom.xml

    /Internal Memory/Android/Data/org.xbmc.kodi/files/.kodi/addons/plugin.video.bigbox/resources/androidcom.xml

     

     

    • Like 3
×
×
  • Create New...