Jump to content
LaunchBox Community Forums

superrob3000

Members
  • Posts

    171
  • Joined

  • Days Won

    4

Posts posted by superrob3000

  1. On 10/27/2023 at 11:57 AM, artiss said:

    Hello, I'm using the following AHK code to launch a game from my streamdeck:

    run, "G:\Launchbox\Emulators\Retroarch\retroarch.exe" -f -L "G:\Launchbox\Emulators\Retroarch\cores\mame_libretro.dll" "G:\Launchbox\Games\MAME\roms\robotron.zip"

    it works but now I want the games artwork to be displayed on my pixelcade LCD marquee and pixelcade LED marquee on my arcade.

    I'm sure I need to launch the game from LB/BB, is this possible?

    @artiss You can do this now using the CLI Launcher plugin. The AHK script to launch the game through LB/BB would just be a single line:

     Run, "LaunchBox\ThirdParty\CLI_Launcher\CLI_Launcher.exe" launch "<platform_name>" "<game_name>"

  2. CLI Launcher - LaunchBox Command Line Interface for launching games directly from Stream Deck

    View File

    This plugin adds a command line interface to LaunchBox/BigBox for launching games via Stream Deck or having platform and playlist shortcuts. Marquee(s)* and LEDBlinky get updated automatically. Launching games on a remote PC is also supported.

    *All Marquees will be updated when using either LaunchBox or BigBox if you are using the ThirdScreen Plugin. If you're using the default BigBox marquee handling, then your single marquee will be updated when using BigBox only.

     

    Installation:

    1. *** Before installing, if you are using the ThirdScreen plugin please make sure you are using the latest version. Version 3.0.1 or higher is compatible. ***
    2. Download CLI_Launcher.zip to your PC. Right click on the zip file and extract all files.
    3. Close LaunchBox/BigBox and copy the Plugins and ThirdParty folders to your LaunchBox directory. 

     

    Usage:

    Game Shortcuts (launch command)(works with both LaunchBox and BigBox)

    Create an AHK script with the following line, and point your StreamDeck shortcut to that script:

         Run, "<path_to_launchbox>\ThirdParty\CLI_Launcher\CLI_Launcher.exe" launch "<platform_name>" "<game_name>"

     

    For example, to launch Street Fighter Alpha 2 from the Arcade platform:

    Run, "C:\Users\Administrator\LaunchBox\ThirdParty\CLI_Launcher\CLI_Launcher.exe" launch "arcade" "Street Fighter Alpha 2"

     

    Platform Shortcuts (platform command)(added in v2.0.0 - only works with BigBox)

    Create an AHK script with the following line, and point your StreamDeck shortcut to that script:

         Run, "<path_to_launchbox>\ThirdParty\CLI_Launcher\CLI_Launcher.exe" platform "<platform_name>"

     

    For example, to navigate to the Arcade platform in BigBox:

    Run, "C:\Users\Administrator\LaunchBox\ThirdParty\CLI_Launcher\CLI_Launcher.exe" platform "arcade"

     

    Playlist Shortcuts (playlist command)(added in v2.0.0 - only works with BigBox)

    Create an AHK script with the following line, and point your StreamDeck shortcut to that script:

         Run, "<path_to_launchbox>\ThirdParty\CLI_Launcher\CLI_Launcher.exe" playlist "<playlist_name>"

     

    For example, to navigate to the favorites playlist in BigBox:

    Run, "C:\Users\Administrator\LaunchBox\ThirdParty\CLI_Launcher\CLI_Launcher.exe" playlist "favorites"

     

    Remote commands:

    To run a command on a different PC that has the plugin installed and is running LaunchBox or BigBox just add "remote_ip=<ip_of_remote_pc>". For example, to launch a game on a different PC with IP 192.168.168.238:

    Run, "CLI_Launcher.exe" launch "arcade" "Street Fighter Alpha 2"  "remote_ip=192.168.168.238"

     

    FAQs:

    Q. What if neither LaunchBox nor BigBox are open when the script runs?

      A. The command will just get ignored if LaunchBox or BigBox is not open.

    Q. What if a game is already open when the script runs?

      A. The command will just get ignored if a game is already open.

    Q. Why not just launch the emulator and/or game directly from the script?

      A. Using CLI Launcher is much simpler and leverages all the work you've already done in setting up LaunchBox to properly launch the game. Also, if you were to run the emulator and/or game directly from the script, your Marquee(s) and LEDBlinky would not get updated for the game.

    Q. If I want to use remote commands, which port do I need to ensure is open?

      A. If you are having trouble with remote commands, ensure port 0xb0b0 is open in Windows Firewall on the remote PC. 

    Q. Why would anyone want to launch a game on a remote PC?

      A. Dunno... but you can now.

    Q. Are AutoHotKey scripts really necessary?

      A. No, that's just the way I do it. You could also just point the Stream Deck shortcut directly to CLI_Launcher.exe and pass in the correct arguments.


     

  3. 2 hours ago, HiRez00 said:

    1 thing I cant seem to figure out - some of my topper videos and marquees have ambient music and sound efx tracks as part of the video and with this plug-in, audio from the videos doesn't play through - ie: there is no audio coming through.

    @HiRez00 Those slot machine cabs look awesome. The plugin mutes audio for all videos playing on your marquee(s). I think that would be the desired behavior in most cases, but if/when I have time I'll add a settings option for it.

    • Like 1
  4. @midd It uses the IDs of the physical ports, not the display numbers since Windows can and will renumber your screens. As long as you are leaving your screens plugged into the same ports it should be fine.

    Please click the gear icon in the upper right of the ThirdScreen settings page and enable logging. Then send me the ThirdScreen log (from the LaunchBox/Logs folder) after  doing the following:

    1. Start LB, and choose your displays in ThirdScreen settings.

    2. Restart LB.

    If I understand correctly, it works after doing 1, but stops working after doing 2, correct?  

  5. On 4/4/2023 at 10:27 AM, superrob3000 said:

    **** ANNOUNCEMENT ***   The latest LaunchBox beta release (13.3-beta-1) causes an issue where the ThirdScreen settings page might crash and corrupt your ThirdScreen settings. The plugin itself appears to be working just fine though, so if you are on beta releases just hold off on trying to go into the ThirdScreen settings page until I release a fix. It would also be a good idea to make a backup of LaunchBox/Data/ThirdScreenSettings.xml.

    All fixed with ThirdScreen v2.0.15. Even if you are not on beta releases you will need to install the new version of the plugin before LaunchBox version 13.3 is released to avoid any issues.

    • Like 1
  6. **** ANNOUNCEMENT ***   The latest LaunchBox beta release (13.3-beta-1) causes an issue where the ThirdScreen settings page might crash and corrupt your ThirdScreen settings. The plugin itself appears to be working just fine though, so if you are on beta releases just hold off on trying to go into the ThirdScreen settings page until I release a fix. It would also be a good idea to make a backup of LaunchBox/Data/ThirdScreenSettings.xml.

    Edit: This has been resolved with version 2.0.15 of the plugin.

    • Like 2
  7. 1 hour ago, PaulyC said:

    I seem to have an issue with the scaling though and can't click the start button.   Also when selecting the dropdown in Number 2 it move''s the dropdown over to the right hand side.   I'm using a 4k TV so am not sure if its my scaling or the app so i thought id let you know :)

    @PaulyC WinForm scaling is the bane of my existence. Give v1.0.3 a try. It adds scroll bars, so you should be able to access the whole form.

  8. Rename Media Images/Videos as Rom Name or Game Name Format

    View File

    A plugin to allow you to switch between ROM name format and Game name format for your media files.

     

    Installation:

    1. Download RenameMediaToRomNames.dll to your PC.
    2. Close LaunchBox/BigBox and copy the dll file to your LaunchBox/Plugins directory.
    3. It is highly recommended that you make a backup of your LaunchBox/Images and LaunchBox/Videos folders prior to using this plugin.

     

    Renaming game media for entire platforms:

    1. Select "Rename Media To ROM or Game Names" from the Tools dropdown in LaunchBox.

    2. Select the platform (or platforms) whose game media you want to rename.

    3. Choose which format you want to rename the media to (ROM name format or Game name format).

    4. Click Start.

     

    Renaming media for individual games:

    1. In LaunchBox, select the game or multiple games whose media you want to rename.

    2. Right click and select "Rename Media To ROM or Game Names" from the game menu.

    3. Choose which format you want to rename the media to (ROM name format or Game name format).

    4. Click Start.

     

    FAQs:

    Q. Why would anyone want to use this?

      A. I actually don't know, but I wrote it because some people on the forums requested it. So if you find this plugin useful please let us know why in the comments 😄.

     


     

  9. 2 hours ago, drady said:

    Just out of interest when building video marques I have a monitor that is 14.8 1280*390 but windows insists 1280*720 so what dimensions would I use? Ive tried to match other marquee dimensions but it letter boxes them :(

    Not sure I understand about windows forcing 1280x720 on a 1280x390 screen. But in general the marquees will look best if you create them to match the resolution you have set in Windows display settings. And if they don't match you can always turn on the stretch option.

  10. 2 hours ago, drady said:

    hey mate, i've tried - the one big problem now is that when i run it on my system and say run a game in bigbox - when i exit the game it goes to the desktop and misses the close out sequence entirely.  I then have to guess how to exit out of big box (as it sort of still runs in the background lol) or end in taskmanager or reboot :(  I've tried on 3 builds i have lightguns, driving and plain arcade, all have the same problem - not sure if its a windows 11 thing or not :(  I've reverted to bb marque setup to make it work again :( 

    @drady If you're having that issue, go to tools->Third screen settings. Then click the gear icon in upper right and select "Ignore resolution changes". 

  11. CreateGameList (Create Game List Plugin)

    View File

    A PlugIn to quickly dump your entire game list to a text file.

     

    Installation:

    1. Copy CreateGameList.dll to your LaunchBox/Plugins folder.

     

    Usage:

    1. From LaunchBox choose Tools->Create game list file

    2. Select or clear the checkbox for including playlists in the game list file.

    3. Hit Browse to choose the location of the game list file.

    4. Hit the "Create Game List" button.

     

     


     

  12. 36 minutes ago, d8thstar said:

    awesome rob, everything boots up fine now, thank you so very much!!!

    Thanks for confirming.

    I'm tagging everyone I know of that ran into this issue: @TekkamanBlade @vinnythecruel @HellraiserGN @artiss Starting with version 2.0.13 you can now use the plugin without having to disable any pen&tablet drivers, Wacom, or Parsec.

    • Like 2
  13. 6 hours ago, d8thstar said:

    ifound one pen service and stopped it.  unfortunately, still not working, LB crashes.  id theer a debug log for your plug in that i can view?

    EDIT.  found a LB log if this might help...

    thanks rob!

    Debug 2023-03-09 02-41-33 PM.log 4.58 kB · 1 download

    @d8thstar Thanks for the log file. It shows you are still getting the windows pen driver issue. Good news though, I think I may have fixed it with version 2.0.13 of the plugin. Please give it a try and let me know.

  14. 9 minutes ago, d8thstar said:

    if i can just clarify, in your thirdparty folder is a "MediaInfo" folder. within that are x64 and x86 folders.

    it IS the mediainfo folder that moves over, both x64 and x86 intact as is?

    Yes, the entire MediaInfo folder as-is gets copied into ThirdParty. The easiest way to do it is to unzip the file and then just copy everything (which will be two folders: Plugins and ThirdParty) into your LaunchBox folder. Click yes if it asks you to overwrite anything.   

  15. 6 minutes ago, d8thstar said:

    Hey Rob, I looked for the wacom service and came up blank but LB still crashes when I try to start it.  Just to confirm from your download:

    I took the folder in your "ThirdParty" folder and dropped it into the ThirdParty folder in my LB install.

    I took the three files in your plugin folder and dropped them into the LB plugin folder.

    Did I do something wrong?

    Thank you sir!

    That all sounds correct. Have a look at your launchbox debug log file. If it mentions Penimc then that's definitely the issue. Wacom is just one thing that might install the pen driver. Have a look in device manager for any tablet/touchscreen/pen related devices.

  16. 31 minutes ago, artiss said:

    Yes, I overlooked a pen device and now that I have disabled it, things are running good. Thanks so much for this awesome plugin.

    Question/feature request: It would be cool if it would rotate through the items you have selected in the game view: I have 3d boxes and control panel information, is there a way to have it show the 3d boxes for x number of secs then control panel information for x number of secs.

    Thanks again.

    Glad to hear it's working. Rotating through different media types is a good idea. I'll consider adding it if I have time.

  17. 9 hours ago, artiss said:

    Hey Rob, I tried installing this plugin but now LB wont startup fully, I copied the 3 .dll files to the plugin folder and copied the mediainfo folder to the thirdparty folder. I'm on 13.2 and version 2.0.11 of your plugin. I have attached my LB logs. I also dont see any pen or touch devices in device manager. Any help would be appreciated.

    Debug 2023-03-03 09-49-11 AM.log 2.42 kB · 2 downloads Debug 2023-03-03 09-49-59 AM.log 4.3 kB · 3 downloads

    @artiss From your log it is definitely the windows pen driver conflict that I mention in the troubleshooting section. Try going to windows->services and see if you have Wacom installed. If it listed there, then right click it and choose properties. Hit the Stop button to stop the service and then also change the startup type to Disabled.

    image.thumb.png.f845cc76bde5c65ac220e767f4a7ea98.png

×
×
  • Create New...