Jump to content
LaunchBox Community Forums

pdavis

Members
  • Content Count

    27
  • Joined

  • Last visited

Community Reputation

17 Good

About pdavis

  • Rank
    8-Bit Processor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This is great news. I've been meaning to write another plugin... and maybe add some enhancements or fix some bugs in my existing ones.
  2. I am assuming you have the manuals for the game. I will take a look at it tonoght to see if I can replicate the problem.
  3. Marquesas HTTP Server View File Small Footprint HTTP Server Plugin for LaunchBox. Example Uses * Display the current game marque full screen on a seperate system such as a tablet or smart phone. * View the current game manual on a seperate system such as a tablet, laptop, smart phone. * Retrieve LaunchBox and game information through a standard HTTP JSON API. Installation To install unzip and copy the MarquesasServer folder into your LaunchBox/Plugins folder. The server will begin running whenever LaunchBox is started. The first time you run it with the plugin a Windows security dialog will pop up asking if you want to allow it to connect to the network. You will need to select one of the two options presented, the option "Private networks, such as my home or work network will suffice". Once in LaunchBox you will see a new "Marquesas Server Admin" option under the Tools menu to manage the server. The server can then be accessed from any computer, phone, or tablet located on (or with access to) the same network as the machine running LaunchBox/BigBox. Auto Refreshing Web Pages These pages (specifically the Marque page) were designed to be brought up on a separate computer such as an old tablet to display the marque of the game currently being played in BigBox. It is recommended that the page be loaded and then the browser set to full screen (kiosk) mode. In most browser on Windows you can toggle kiosk mode by hitting F11 when in your browser. Each page will refresh automatically every few seconds to insure that the game being played will be reflected in the browser. Works via a standard HTTP interface allowing the retrieval of HTML pages for the current game. Any *ImagePath property can be retrieved from the IGame object (Unbroken.LaunchBox.Plugins.Data.IGame.*) by specifying /Image/ followed by the Image descriptor (the part preceeding ImagePath) * /Image/Back * /Image/Background * /Image/Box3D * /Image/Cart3D * /Image/CartBack * /Image/CartFront * /Image/ClearLogo * /Image/Front * /Image/Marque * /Image/PlatformClearLogo * /Image/Screenshot * /Manual JSON API for retrieving * /StateManager (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager) * /StateManager/IsInGame * /StateManager/* (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager.*) * /SelectedGames (Unbroken.LaunchBox.Plugins.Data.IGame) * /SelectedGames/* (Unbroken.LaunchBox.Plugins.Data.IGame.*) JSON API for retrieving raw binaries * /Binary/ScreenshotImage * /Binary/FrontImage * /Binary/MarqueeImage * /Binary/BackImage * /Binary/Box3DImage * /Binary/BackgroundImage * /Binary/Cart3DImage * /Binary/CartFrontImage * /Binary/CartBackImage * /Binary/ClearLogoImage * /Binary/PlatformClearLogoImage * /Binary/Application * /Binary/Configuration * /Binary/DosBoxConfiguration * /Binary/Manual * /Binary/Music * /Binary/ScummVmGameDataFolder * /Binary/Video * /Binary/ThemeVideo See the default index (LaunchBox->Tools->Marquesas Server Admin->Ellipses) for direct links and detailed information. Source: https://github.com/fpdavis/MarquesasServer Submitter pdavis Submitted 08/16/2017 Category Third-party Apps and Plugins  
  4. Version 1.0.0

    41 downloads

    Small Footprint HTTP Server Plugin for LaunchBox. Example Uses * Display the current game marque full screen on a seperate system such as a tablet or smart phone. * View the current game manual on a seperate system such as a tablet, laptop, smart phone. * Retrieve LaunchBox and game information through a standard HTTP JSON API. Installation To install unzip and copy the MarquesasServer folder into your LaunchBox/Plugins folder. The server will begin running whenever LaunchBox is started. The first time you run it with the plugin a Windows security dialog will pop up asking if you want to allow it to connect to the network. You will need to select one of the two options presented, the option "Private networks, such as my home or work network will suffice". Once in LaunchBox you will see a new "Marquesas Server Admin" option under the Tools menu to manage the server. The server can then be accessed from any computer, phone, or tablet located on (or with access to) the same network as the machine running LaunchBox/BigBox. Auto Refreshing Web Pages These pages (specifically the Marque page) were designed to be brought up on a separate computer such as an old tablet to display the marque of the game currently being played in BigBox. It is recommended that the page be loaded and then the browser set to full screen (kiosk) mode. In most browser on Windows you can toggle kiosk mode by hitting F11 when in your browser. Each page will refresh automatically every few seconds to insure that the game being played will be reflected in the browser. Works via a standard HTTP interface allowing the retrieval of HTML pages for the current game. Any *ImagePath property can be retrieved from the IGame object (Unbroken.LaunchBox.Plugins.Data.IGame.*) by specifying /Image/ followed by the Image descriptor (the part preceeding ImagePath) * /Image/Back * /Image/Background * /Image/Box3D * /Image/Cart3D * /Image/CartBack * /Image/CartFront * /Image/ClearLogo * /Image/Front * /Image/Marque * /Image/PlatformClearLogo * /Image/Screenshot * /Manual JSON API for retrieving * /StateManager (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager) * /StateManager/IsInGame * /StateManager/* (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager.*) * /SelectedGames (Unbroken.LaunchBox.Plugins.Data.IGame) * /SelectedGames/* (Unbroken.LaunchBox.Plugins.Data.IGame.*) JSON API for retrieving raw binaries * /Binary/ScreenshotImage * /Binary/FrontImage * /Binary/MarqueeImage * /Binary/BackImage * /Binary/Box3DImage * /Binary/BackgroundImage * /Binary/Cart3DImage * /Binary/CartFrontImage * /Binary/CartBackImage * /Binary/ClearLogoImage * /Binary/PlatformClearLogoImage * /Binary/Application * /Binary/Configuration * /Binary/DosBoxConfiguration * /Binary/Manual * /Binary/Music * /Binary/ScummVmGameDataFolder * /Binary/Video * /Binary/ThemeVideo See the default index (LaunchBox->Tools->Marquesas Server Admin->Ellipses) for direct links and detailed information. Source: https://github.com/fpdavis/MarquesasServer
  5. Sorry I missed your post. This information is actually available in: /selectedgame/title /selectedgame/platform Currently you will have to poll to see when the title changes. I actually use /selectedgame/id to detect a game change since it is guaranteed to be unique. I have not had a chance to roll in the Websocket code, that should be coming within the next couple of weeks. You can see all available information on the index page "/" The list of available properties are automatically updated based on what the LaunchBox API returns for the given objects (SelecteGames and StateManager). I just pass these properties straight through. I have not added any theme information. I believe this is available and shouldn't be hard to add. BTW, a new update is available with the following changes * Bug fixes * Added port use detection on startup * Reworked help to use Tool Tips * Added first time run dialog * Changed background color on autoloading pages to black * Enhanced the default index page with tabs and minor documentation, links now open in a new browser tab/window
  6. Great minds think alike! This is exactly the idea that got me started on the HTTP server plugin.
  7. I just checked in a new version with the following changes: Added Manual Support Added HTML Error pages Split up game heiarchy into SelectedGame (game being played?) vs SelectedGames (not being played, with possible multiple selections) Renamed SelectedGames to SelectedGame (without the S) Changed SelectedGame (previously SelectedGames) so the root /SelectedGame only returns information if one and only one game is selected Added SelectedGames (with the S) JSON responses to return information on multiple games Gracefully handles empty properties Added Binary support for selected game (you can now pull back images, manuals, music, video directly) Continued to refine default HTML page Main features yet to add: Add port use detection on startup Finalize naming convention for Auto Refreshing HTML pages (images/manual) - I still may change this to make it clearer Evaluate integration of Web Sockets code Need to continue to refine default html page and add documentation to it Complete Etag support for default html page (cache Page/MD5Sum) Add support for /Game/ID to pull back game information for games not selected but in XML files Memory/CPU profile I think an initial release (at least without web sockets) should be ready by next week. I want to get the Web APIs sorted out before tackling web socket support. Source: https://github.com/fpdavis/MarquesasServer
  8. Were you already running a web server on the default ports? I had not taken that into account. I more or less assumed this would be running on a dedicated or desktop PC without a web server. And for those that are running a web server they probably know what they are doing and can manually change the ports on the settings screen. I need to add code to check to see if the default ports are being used and inform the user if that is the case. Currently I am finishing up the manual/pdf support and adding binary retrieval for assets such as the manual and images. Currently images are only returned via a web page that refreshes whenever the game/image changes.
  9. Thanks for the suggestion. I tried installing it on D:\LaunchBox with the same result. @DOS76 is correct that LaunchBox isn't designed to be run from the Program Files directory.
  10. Today when I went to run LaunchBox 7.10 nothing happened. I'm on Windows 10 (Version 1607, Build 14393.1198) The spinning hourglass symbol shows for a second and then disappears. There is no LaunchBox task in the TaskManager. The same thing happens when I try to run BigBox. I went into the updates folder and tried to reinstall into a new folder, the install gets to "Installing/Updating DirectX" and then the installation dialog disappears and nothing else happens. The new folder only contains a Metadata folder, BigBox.exe, BigBox.exe.config, LaunchBox.exe, and LanunchBox.exe.config (see screenshot). I then tried to install LaunchBox-7.10-beta-10-Setup.exe from my updates folder but the same thing happened. I went back to the version I had before that, LaunchBox-7.10-beta-7-Setup.exe, and it installed without any issue. I then let it automatically download the latest 7.10 update (thinking maybe my version was corrupt) but the same installation issue reoccurred. Rebooting didn't help I'm installing to the default user directory (C:\Users\USERNAME\LaunchBox) I didn't see any errors, no errors were reported in the Event Viewer 7.10-beta-7 installs and works fine Windows is up to date Running DirectX 12 Any suggestions on what I should look for or try next?
  11. @Echoshard1 Just let me know if there is anything specific you need and I will see about adding it. I changed the interface a bit in the last version and I still need to add proper header response codes for errors and null/empty responses. I believe all available information should be there and working though through the JSON WebAPI interface. I'm looking at the websocket code provided by @Nielk1 and will try to include a websocket interface as well.
  12. I just checked in a new version of the server, it now offers a default page with links to make it easier to see what is available. A link to the default page is available in the plugin's admin menu as an ellipses button beside the port. Be warned that 404 pages are still returned when data isn't available (such as when no game is selected, but game information is requested or an image page is requested with no associated image). I originally envisioned this for use in displaying a Marquee image on a separate device such as an old tablet or PC dedicated to the task. This is what the /image pages are for. This will probably be the last update for about a week as I will be going on holiday. @Nielk1, I would love to take a look at the code, will shoot you a PM. I think there is plenty of room for a good set of web services, web sockets, and other much faster/tightly coupled options
  13. It is rough around the edges but is working none the less! This is a small footprint HTTP Server Plugin for LaunchBox. It contains image and web service APIs for accessing LaunchBox/BigBox properties. Provides the following: Standard HTTP interface for retrieving HTML pages for the current game. Any ImagePath property can be retrieved from the IGame object (Unbroken.LaunchBox.Plugins.Data.IGame.) by specifying /Image/ followed by the Image descriptor (the part preceding ImagePath). The page returned will refreshed every few seconds to keep the image current. * /Image/Back * /Image/Background * /Image/Box3D * /Image/Cart3D * /Image/CartBack * /Image/CartFront * /Image/ClearLogo * /Image/Front * /Image/Marque * /Image/PlatformClearLogo * /Image/Screenshot * /Manual - Not yet implemented JSON API for retrieving: * /StateManager (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager) * /StateManager/* (Unbroken.LaunchBox.Plugins.PluginHelper.StateManager.*) * /StateManager/SelectedGames (Unbroken.LaunchBox.Plugins.Data.IGame) * /StateManager/SelectedGames/* (Unbroken.LaunchBox.Plugins.Data.IGame.*) * /StateManager/IsInGame The JSON being returned doesn't use envelopes and is subject to change until release. I'm open to suggestions on the formatting, structure, and interface in general. I just got this working for my test cases and it may hit a null reference and 404 pages when elements are empty or missing. Source: https://github.com/fpdavis/MarquesasServer To install copy the folder MarquesasServer that is located under the bin folder into your LaunchBox/Plugins folder. The server will begin running whenever LaunchBox is started. The first time you run it with the plugin a Windows security dialog will pop up asking if you want to allow it to connect to the network. You will need to select one of the two options presented, the option "Private networks, such as my home or work network will suffice". Once in LaunchBox you will see a new "Marquesas Server Admin" option under the Tools menu to manage the server.
  14. You can edit the quotes.xml file that comes with it, it is a standard XML file and you can add your own quotes and remove quotes from this file as desired. As far as other sources, no those currently have to be added programatically. If you have any suggestions I can look into making those available as well.
  15. The plugin is fully functional now and I have uploaded it to the Download section of the site.
×
×
  • Create New...