Jump to content
LaunchBox Community Forums

SsjCosty

Members
  • Posts

    47
  • Joined

  • Last visited

Posts posted by SsjCosty

  1. Thanks all.

    On 11/10/2020 at 10:57 PM, alfredolvera said:

    Hey @SsjCosty. if it's cool/useful enough for me, I would gladly pay for it. Can you tell us more about your plugin?

    I can indeed. I made a plugin last year for setting up Youtube videos on games with the ability to play them as if they were an "additional app" for the game - quite basic, but at the time it was fine for my own needs. I have recently felt the need to update the plugin so that it gives a much better user experience, both for adding videos and playing them from BigBox, + gamepad support, + support for the GamesDB video link, + support for videos from other services like IGN and Steam and auto-detection of the original video title etc. All of it would be streaming, to save up space, but I could probably add a download feature to it too.

    However this turned into a lot more work than I anticipated and it's taken up quite a big chunk of my evening time. So at this point I am not sure if should continue it, given the amount of remaining work. That's why I was wondering if maybe I could charge a small fee for it - that might give me a reason to dedicate time on this. But would anyone need such a plugin or is the current LaunchBox video functionality good enough?

  2. Hi all. Does anyone know if there is a way to set up my plugin to detect and respond to buttons pressed on the gamepad while LaunchBox/BigBox is running?

    I have experimented a bit with SharpDX library for DirectInput and XInput but this feels like reimplementing something that already works in LaunchBox. Another thing I noticed is that the button numbers I detect via SharpDX are very different from the numbers that show up in the Settings.xml and BigBoxSettings.xml files. For example, the BigBoxSettings.xml has the following configs:

    <ControllerSelectButton>1</ControllerSelectButton>
    <ControllerBackButton>2</ControllerBackButton>
    <ControllerPlayButton>8</ControllerPlayButton>

    Whereas the values for those same buttons via SharpDX DirectInput are 48, 49, 55 (from state.Offset). 

    When using SharpDX XInput I get the following values:

    • 'A', int value 4096
    • 'B', int value 8192
    • 'Start', int value 16

    Why does Launchbox think that these buttons should get have the numbers 1,2,8 assigned instead?

  3. Last year I made a Youtube video plugin for LaunchBox. It still works, but it wouldn't automatically import the video link from the GamesDB metadata. However, you get to add as many Youtube links as you want and have these available in the game's context menu in LaunchBox and also in the game's "Additional Apps" submenu in BigBox. You can even use start and end timestamps for the video if you want to link to only a section within a larger video.

    I could definitely make some improvements to it, but there was never much interest in the plugin. I mainly made it for myself though, and now all my games have trailer and gameplay videos as well as video reviews.

    You can find the plugin here: https://forums.launchbox-app.com/topic/49517-online-video-links/

     

    • Like 1
    • Thanks 1
    • Unusual Gem 1
  4. Online Video Links

    View File

    This plugin allows you to add online videos to your game, which will appear on the game's menu both in LaunchBox and BigBox. Mainly, it supports YouTube and Steam videos. The videos get played by LaunchBox's portable VLC distribution, so you don't have to worry about having the right video player installed.

    LaunchBox Interface

    There is a new menu item on the game's menu in LaunchBox, allowing you to manage your game's video links, which can be seen in the following screenshot, along with two sample video links. Once you open the video manager dialog, follow the on-screen instructions (and click "More info") to add, edit or remove your video links.

    LaunchBox Online Video Links interface

    BigBox Interface

    In BigBox, the video links can be played from the game's "Additional Apps/Versions" menu, as exemplified here:

    BigBox video links interface

     

    The project is available on GitHub.


     

    • Like 2
    • Thanks 1
    • Unusual Gem 1
  5. That's OK. I have previously used the "Additional Apps" feature when editing game details to add a "Play Trailer" or "Video Review" option, which would basically run VLC with the Youtube link as a command line parameter. I'm now thinking of adding a plugin to allow you to add Youtube videos to your games though ?

    I can still use the integrated VLC. I can simply check if the youtube.lua addon file exists and automatically download it if it doesn't.

    • Like 1
  6. I recently discovered that the VLC player packaged with LaunchBox cannot play YouTube videos, whereas the one properly installed on my local machine can. The problem, as I discovered, is the "lua" folder, which holds VLC add-ons. In a standalone VLC installation this can be found under C:\Program Files\VideoLAN\VLC\lua. However, the "lua" folder does not exist in LaunchBox's distribution of VLC. Does anyone know if this was intentional?

    For YouTube, VLC specifically needs the youtube.lua addon file.

    Thanks!

  7. Available on GitHub.

    If you find this plugin useful, BUY ME A BEER!

    Installation details

    To install the one available plugin, download the DLL file from the latest release, and add it to the Plugins subfolder from your main LaunchBox installation folder.

    Plugin description

    Currently, LaunchBox allows you to edit genres for games, however if use the default Bulk Edit Wizard to edit genres for multiple selected games then they will all be overwritten with the same exact set of genres. for

    This plugin allows you to add or remove genres to multiple games, while keeping each game's existing genres.

    The new menu item is available for one or multiple selected games:

    Bulk Add/Edit Genres menu item

    The menu item opens the following dialog form, where you can select the genre(s) that you want to either add or remove from each game:

    Bulk Add/Edit Genres dialog form

    You can also type in new or existing genres into the search box, which allows multiple entries separated by semicolon (;) and provides real-time suggestions:

    Bulk Add/Edit Genres search box

    Example:

    Let's say I have 3 games: Game 1, Game 2, and Game 3. To start, they have the following genres:

    • Game 1 has genres: Action;
    • Game 2 has genres: Role-Playing;
    • Game 3 has genres: Action; Adventure;

    After using this Bulk Genre Editor to add the genre "Beat 'em up", the result is this:

    • Game 1 genres: Action; Beat 'em up;
    • Game 2 genres: Action; Beat 'em up; Role-Playing;
    • Game 3 genres: Action; Adventure; Beat 'em up;
    • Thanks 6
  8. I have made my first small plugin for Launchbox, through which you can make some changes to selected game entries. However, if I restart LaunchBox, my games no longer have the values I have previously set through the plugin. How come? There's barely any API documentation on plugin development, so I'm doing a lot of trial and error...

    I also tried the following method, but it didn't do what I wanted:

    PluginHelper.DataManager.Save();

     

×
×
  • Create New...