Jump to content
LaunchBox Community Forums

Fry

Members
  • Posts

    95
  • Joined

  • Last visited

Recent Profile Visitors

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

Fry's Achievements

16-Bit Artificial Intelligence

16-Bit Artificial Intelligence (4/7)

22

Reputation

  1. You could start by creating an automatic playlist where title contains Sonic. Then once it's created, edit it, uncheck auto-populate, and go to the games tab and delete out the ones you don't want. You'd want to come back and add any new sonic games to this playlist if you add one in the future but that works fine for me since the last sonic game game that was released was almost 5 years ago. Another option, puts some more effort on you to maintain your metadata but if you go through all the games that you want to appear in that playlist and set the series to Sonic The Hedgehog then you can use the series field to drive the automatic playlist.
  2. @Hazuki I think you want to use relative sizing of your grid rows and columns using * as you mentioned otherwise you're specifying absolute sizes and it will stretch off the screen like you said. I'm not 100% sure but can you try with VerticalAlignment set to stretch and remove the MaxWidth and MaxHeight properties? That should scale the height of your image to fill the vertical space as much as possible and then scale the width as much as possible while still keeping the original aspect ratio in tact. If you use * on those row/column sizes and then run at 1080, then column 1, row 1 would be at 4K: 2000x1418 at 1080: 1000x709 Then minus the 50 pixels off the top for your margin, your image would fill the height of 659 pixels and would scale the width accordingly. FYI - the designHeight and designWidth won't matter in the final result, that's just for how the preview is displayed in visual studio.
  3. @MetalRaven, would you mind sharing your LaunchBox data folder so I can see how you have some of these additional apps configured? All of the additional apps I use are things that automatically launch in the background when a game is opened or close like xpadder, setting up key mappings for systems that require keyboard input. I'm curious how you have your additional apps setup. Is it launching an external video player application to play your videos and then pointing to the video file with a command line argument? If you wouldn't mind zipping up your data folder (I don't think there should be sensitive information in there?) and sending it to me, that'd be a huge help just so I can understand what you're doing with your additional apps.
  4. Hi there, When in Big Box running most any theme, if you go a game details and select View Manual, it opens this PDF viewer embedded in Big Box where you can scroll up and down using your controller and close it with the back button. I am trying to do the same from a plug-in running in Big Box. I see there is an API for IGame.OpenManual: https://pluginapi.launchbox-app.com/html/ee870656-62a3-14af-b575-ac01a8e1d099.htm#! When I call this, it launches a web browser outside of BigBox with the manual PDF loaded in it. Is it possible for a plug-in to launch the manuals in that embedded PDF viewer to keep a more seamless experience? Thanks in advance for any suggestions!
  5. That's great, I'm glad it's working well for you! Out of curiosity, about how many games do you have and about how long did it take to scale the images the first time opening it up? Regarding additional apps and settings in the general options, this is true. Almost none of the big box settings are honored for this plug-in because the whole thing is coded from scratch. For videos, would you be looking to launch those in an external video player? What other types of additional apps do you have? It looks like the plug-in interface does have the ability for me to just launch an additional application so I think I could list the out on the game details screen and let you select one to launch from there. You're right, there is a bit of a problem where every time you go into the big-box options and come back, it reloads the plug-in at which time all of the game lists are regenerated and the images for the lists are re-cached. I don't really have control of the fact that the plug-in is getting reloaded, that's what Big Box is doing. I do need to look into options for optimizing the loading process. I have played with it a lot and I don't have any concrete plans for it at the moment but as I get back into this project, I'm sure I can come up with something.
  6. I'm on a fresh installation of LaunchBox version 11.15 and am rebuilding my library from scratch. I have been having a problem while importing ROM files where randomly some of the files that were specified don't get imported. I did the following: Tools > Import > Rom Files Click the Add Files button Navigate to my LaunchBox\Games\Nintendo Entertainment System folder Select all - there are 135 zip files selected - Click open All 135 files are listed in the files Files to Import dialog - Click next Select platform - Nintendo Entertainment System - Click next Choose an emulator - selected Retroarch - Click Next Click on "Use the Files in their current location" Check "Search for game information in the local metadata database (recommended)" - Click Next Would you like to download images for your games - Click "Check None" button - Click Next Did not configure EmuMovies - Click Next Check - "Force importing duplicate games", everything else unchecked - Click Next All 135 files and titles display in the "Ready to Import" dialog - Click Finish The success dialog states that 130 games were imported successfully Weird - so pull up the file explorer side by side with the list of games in Launch Box and compare to find the missing 5 games Start over at step 1 but only select those 5 files - Click Finish The success dialog states that 4 games were imported successfully Weird - ok so check those last 5 games and identify the one missing file Do it again - 1 game imported successfully I remember having something like this happen before so I thought to try again, I deleted all 135 of the games from LaunchBox and did the process again. Similar results but after the first round it imported 131 files and the 4 missing files were different. Is anyone else experiencing this problem? Can anyone see anything that I'm doing wrong? I deleted everything again and turned on the debug logging option, restarted LaunchBox and did the process again. Similar result - 131 files imported successfully and a different 4 files that were not imported. I do see some exceptions in the log but it seems unrelated. I've included the log file but I don't think the logging is verbose enough to give a clue as to what's going on. Any experts have any thoughts? I feel like I've seen this before but my google-fu or launch-box-forum-fu wasn't working and I couldn't find anything on it. Thanks in advance if anyone has ideas! Debug 2021-08-21 11-36-53 PM.log
  7. I'm not 100% sure what you mean by work per platform. The default view does group games by platform like this: If you hit esc then you can choose other options to group games by Platform, Genre, Series, Playlist, Play mode, Developer, Publisher, and Release year. Yeah, it scales the box front images to the height of that row. I mentioned it in the release notes but this takes quite a long time on the initial load of the theme as it makes a copy of the box front images scaled to the right size so that it doesn't hurt performance, trying to scale the images on the fly while you are moving around in the theme. It's a one-time terrible cost which might put most people off of using this theme. Kind of yes and kind of no. As also mentioned in the release notes, it's not working on any version of launch box released in the last year since the update to .net core. I need to get my act together and iron out those issues so it will work on the latest version. That being said, it completely overlays and in a way replaces the default big-box functionality so any updates to LaunchBox/BigBox shouldn't really impact it in any negative way once I'm able to port it to .net core
  8. This project is always in the back of my mind but due to time constraints, I'm not sure when I'll be able to finish it up. If anyone is interested in picking up this project or just reviewing the code, it's out here: https://github.com/AtomFry/Eclipse It's not great, I was teaching myself .NET and WPF with this project so I'm sure there are tons of best practice violations and better ways to do things. Anyways, if people want to play around with it, I've put out an initial pre-alpha-release with installation instructions over here but please read the warnings! https://github.com/AtomFry/Eclipse/releases/tag/v0.0.1 Please read the warnings. This only works with LaunchBox version 11.2 and prior. It works great on my laptop and on my powerful gaming PC. I have an older desktop in my arcade cabinet and it doesn't perform so great there so your mileage may vary! I'm going to keep working on it here and there when I get time.
  9. These are really great. Do you happen to have the template for these and if so, would you be willing to share it? I'd love to play around with it to add some other games that were not black box games but give a consistent look/feel all the NES library.
  10. Will do, it's getting close on 11.2. I have some work to do to get the voice recognition working in 11.3 and later due to the .net speech recognition changing to an azure function in .net core. It's an online paid service and I'd like to keep it offline and free so I'm going to have to look into some hacky approaches to calling .net framework from .net core.
  11. That works great and helped me avoid checking the big box settings XML file. Thanks again, @C-Beats!
  12. Thanks, I'll give this a shot! The short answer is that I want the dimensions of the monitor where my theme will be running so I can prescale box front images to improve the performance of moving around in my plugin/theme. The long answer is that I am creating a theme that is entirely run by a plug-in. My theme shows game box front images in a row, all scaled to the same height so they fit neatly. I wish I had your game wheel code (haha) because my game wheels were performing pretty poorly. I tried a lot of things but nothing got my wheel performing very well until I found that if I pre-scaled the images to the size that they will ultimately display then WPF doesn't incur the performance hit of scaling them at runtime. So when my plugin starts up, it duplicates all of the box front images that do not exist in my plug-in images folder and scale them to the right height based on the monitor height. Basically, my list of box front images is set to stretch uniformly into a row that takes up 5/18 of the screen so I can use the monitor height to determine the desired image size and then pre-scale the images properly on startup. The result is something like this and should work on any size screen Thanks again for your help!
  13. I think you’re right that there is no API for this and that if there was one, it’d probably do the same thing but the difference in using an approved API is that I don’t have to care how they get the value. They can change the underlying folder structure, XML file structure, or any other change all they want and it won’t break plugins using the API.
  14. I had some trouble with the update to .net core so I’m still running on 11.2 until I can iron those problems out. On 11.2, this gives me the directory with the BigBox executable.
  15. public static class Helpers { public static string ApplicationPath = Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName); public static string BigBoxSettingsFile = $"{ApplicationPath}\\Data\\BigBoxSettings.xml"; public static string GetMonitorIndex() { // get the index from the big box xml file var bigBoxSettingsXmlDocument = XDocument.Load(Helpers.BigBoxSettingsFile); var setting = from xmlElement in bigBoxSettingsXmlDocument.Root.Descendants("BigBoxSettings") select xmlElement.Element("PrimaryMonitorIndex").Value; return setting.FirstOrDefault(); } } I'm doing this for now. I'm not sure if there's a better alternative way to handle it.
×
×
  • Create New...