Jump to content
LaunchBox Community Forums

AgentJohnnyP

Members
  • Posts

    6
  • Joined

  • Last visited

AgentJohnnyP's Achievements

4-Bit Adder

4-Bit Adder (2/7)

1

Reputation

  1. Thanks again for the feedback! I've worked some changes in to the page, probably about the best I can get with the XML files. I got the validation down pretty good so users shouldn't be able to proceed with the wrong info. I'll try and work some export options in at some point too, but I've already started down the C# path lol ... Gonna take a bit, but I'll get a plugin working which I suspect will be a lot better. Cheers!
  2. You read my mind for some of the enhancements I'm looking to do with it! And thanks, I was hoping someone with familiarity with the structure would give me some advice, appreciate it! I wanted to add additional filtering as well to weed out hacks/beta/etc.. from the list. And yeah, validation for the user platform xml to the platform selection was probably the next thing I was going to tackle. I'll be changing the code to verify against the other platform file (..\Data\) and will probably work it in then. Honestly, my boss has been wanted me to 'branch' out so I'll be digging into .net 6 this fall and will use the plugin as my learnding project lol I haven't touched .net since the ASP.NET 4.5 👴 But I was looking over the API docs and there's a lot of good stuff to use so excited to get in and make it happen! Thanks again for the input!
  3. Awesome thanks! I just point to the Platforms.xml to populate the dropdown for the platform selection and use that to query against the larger Metadata.xml file (try to trim the process lol). I've updated the UI so it's a little clearer as to what files to use. Cheers!
  4. I see what's happening! I didn't see there is a Platforms.xml file in the ..\Data\ folder which causes the page to hang. I'll have to work a better validation in to make sure it get the right file. Make sure to use the Platforms.xml file in the ..\Metadata\ folder. Thanks again for the feedback!
  5. Hey thanks for the feedback! I had an urge and just started coding with no plan in place, so it is a little rough 😬 The UI is still very BETA lol and I will clean it up. Until then let me clarify it a little. These are based on the base files/locations in Launchbox: The Platforms.xml (Step 1) and Metadata.xml (Step 4) are from the ..\Metadata\ folder. The platform XML (Step 3) is from your ..\Data\Platforms\ folder (should be based on your collections). The Metadata.xml is BIG (370+MB) so depending on the computer, it might take awhile. I've run it on my i7 3xxx with 16gb Alienware laptop and it does take a few minutes. I was testing with a "trimmed" version of the Metadata.xml file until I got the async code in to handle the larger file. ONLY DO THIS IF YOU'RE FAMILIAR WITH XML AND TAKE A BACKUP OF YOUR LAUNCHBOX!!!! lol (Just had to FYI that). So I made a copy of the Metadata.xml and stripped out the excess code so it only included 2 platforms. But you have to make sure the base structure of the XML is intact. Then use that file as your 'Metadata.xml'. You could in theory make a copy for each of your platforms to speed it up. But I do believe the Launchbox Metadata.xml file is updated often which will put your copies out of sync. Hope that helps and thanks again! I'll pick away at it as I can 👍 Cheers!
  6. Hey everyone! My first post and thought I would share a tool I created to check your games collection against the LaunchboxDB. I looked for a plugin or similar but couldn't find anything, apologies if this has already been done. I gave a stab at doing a proper plugin in C#, but it's been eons (and many versions ago) since I worked in it and gave up quickly lol. Went back to my comfort zone and made the tool in JavaScript. Game Checker Expectations Just to give some heads up on what to expect from this: This only checks against local copies of the XML files and local Metadata.xml file (NOT the actually LaunchboxDB website). Some basic validation to verify files. Designed against Launchbox 13.5 file formatting and XML naming conventions. This is not a complete platform library check as Launchbox states their DB may not be complete and could be missing games. Feel free to leave feedback and any issues you might find. Also, my chance to give a shoutout to all the folk that make this scene possible!!!! Excelsior! https://www.johnprinz.com/gamechecker
×
×
  • Create New...