Dynizzle Posted August 20, 2017 Share Posted August 20, 2017 So I'm not sure if anyone else had issues with this, but I had trouble finding missing game info fields that were not one of the columns in the audit tool. As an example, I use Rocketlauncher for Fades when booting up games from BigBox and a part of the fade shows the logo for the game rating. If the Launchbox console XML is missing that, then it won't show anything. I couldn't find a way to add additional columns to the audit tool and I really didn't want to go through each game at a time checking for missing Ratings and Notes. I was originally trying to do a simple search in the file for <Rating></Rating>, but it looks like if the field is blank, the field in the XML won't exist. For the first time ever, Powershell has helped me outside of work! I ended up throwing the XML into a variable and running a few filters on it and was able to find what games were missing the field info! Not sure if there is an easier way of doing this. 1 Quote Link to comment Share on other sites More sharing options...
Omen Posted August 20, 2017 Share Posted August 20, 2017 I agree, we really need all of the game details in the audit tool. How were you able to get RocketLauncher to work with LB's media and data? I can't seem to get any LB info in RL's fade screens. Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 20, 2017 Author Share Posted August 20, 2017 For clear logos, it looks like RL looks in the LB's clear logo folder for the console (ex. \LaunchBox\Images\Nintendo GameCube\Clear Logo). I believe if the image name does not match Rocketlauncher's name of the game (so under the games tab run an audit for RL) then it won't show up. I ran into that issue and just copied all my old Hyperspin clear logos (that were the same name as my roms) and they all popped up in my fades all of a sudden. For the Ratings, RL looks for the same name as what the LB's console XML shows for a games rating and then checks the \RocketLauncher\Media\Rating\_Default folder and if the rating name doesn't match the image name in that folder it won't show up. I just renamed all the rating images in that folder to match what LB calls them (ex. LB calls E games 'E - Everyone' where RL image is called ESRB - E (Everyone).png which doesn't match. So now my Fade shows everything. 1 Quote Link to comment Share on other sites More sharing options...
Omen Posted August 20, 2017 Share Posted August 20, 2017 That worked! Thank you so much! This is going to enhance my RL/LB set up so much Quote Link to comment Share on other sites More sharing options...
Omen Posted August 20, 2017 Share Posted August 20, 2017 (edited) It took me a while to figure out how to align and constrain the clear logo size in RL, and I can't seem to get data like Last Time Played and Play Count to show up, but here's what I've got so far. I wish there was a way to show cartridge/disc art. I feel those don't get displayed enough in BigBox, unless you're using certain themes like NoshOnThis and CriticalZone. Edited August 20, 2017 by Omen Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 20, 2017 Author Share Posted August 20, 2017 3 hours ago, Omen said: It took me a while to figure out how to align and constrain the clear logo size in RL, and I can't seem to get data like Last Time Played and Play Count to show up, but here's what I've got so far. I wish there was a way to show cartridge/disc art. I feel those don't get displayed enough in BigBox, unless you're using certain themes like NoshOnThis and CriticalZone. What settings do you have for the statistics in RL? If you want to use cartridges/discs instead just swap the images out with those in the LB clear logo folder media folder. Here's an example - Quote Link to comment Share on other sites More sharing options...
Omen Posted August 21, 2017 Share Posted August 21, 2017 I thought about doing that, but won't that change all of my clear logos in LB to carts? I wish RL had more options for customizing the fade screens and pause menu. Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 21, 2017 Author Share Posted August 21, 2017 That definitely would. I was considering it since I don't use game clear logos with how I have my theme layout. I mostly use box art for games. I'll take a look tonight and see if I can edit one of the RL .ahk files to point at a different directory. Quote Link to comment Share on other sites More sharing options...
Omen Posted August 22, 2017 Share Posted August 22, 2017 That would be awesome if it's possible! I never thought about editing the AHK files, I'll take a look at them too and see if I can figure out anything. Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 22, 2017 Author Share Posted August 22, 2017 So I think I figured it out. I ended up just changing the Launchbox plugin found here \RocketLauncher\Plugins. On line 36 and 37 I changed it from 'Clear Logo' to a new folder I made in \LaunchBox\Images\TheConsoleYoureUsing\ and put all my carts in there just to test. After restarting RL and trying to run a fade, it uses any images found in there. So you could change that to be any of Launchbox's folders or a new folder. So this... logoPath := frontendPath . "\Images\" . gameInfo["Platform"].Value . "\Clear Logo" systemLogoPath := frontendPath . "\Images\Platforms\" . gameInfo["Platform"].Value . "\Clear Logo" To this... logoPath := frontendPath . "\Images\" . gameInfo["Platform"].Value . "\NewFolder" systemLogoPath := frontendPath . "\Images\Platforms\" . gameInfo["Platform"].Value . "\NewFolder" 1 Quote Link to comment Share on other sites More sharing options...
Omen Posted August 22, 2017 Share Posted August 22, 2017 I changed it to "\Cart - Front" and it worked, thank you! I had no idea those files could be edited, I guess I should stop looking for normal file extensions and just start opening everything that looks like a config file lol Quote Link to comment Share on other sites More sharing options...
Omen Posted August 23, 2017 Share Posted August 23, 2017 I've noticed that if a game in LB has either an & or colon in it, RL won't find the assets for that game. Not too big of an issue, I just have to rename the offending games, but you'd think the RL team would have thought of that lol. Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 23, 2017 Author Share Posted August 23, 2017 Yeah RL looks for media using the LB game's library title and if it can't find it will check for media using the ROM's filename. I wish there was an option for the Launchbox scraper to just name media the same name as the ROM file instead of the library name. Quote Link to comment Share on other sites More sharing options...
Omen Posted August 23, 2017 Share Posted August 23, 2017 I agree, almost every issue I've had has been connected to the way LB names games. I've seen a lot of people ask for the option to name games by the file name, I don't know why it hasn't been implemented yet. Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 24, 2017 Author Share Posted August 24, 2017 So I edited the Launchbox plugin for RL and put in a RegexReplace to look for the files with special characters as underscores. I only had it look for the ones windows complains about as invalid characters so it should be good enough. I would backup the whole plugin file just to be safe but here is the changed launchboxProcessExtraFiles function in the RL Launchbox plugin. It should pull in all the Launchbox media correctly. There's definitely a cleaner way of doing this, but today was my first time learning AutoHotKey so I was just trying to get it to work lol launchboxProcessExtraFiles(list,label,AssetType,extensions){ Global gameInfo, romName obj := {} StringSplit, labelArray, label, |, StringSplit, AssetTypeArray, AssetType, |, Loop, Parse, list,| { currentLabel := A_Index If !(labelArray%currentLabel% = "#disabled#"){ If (AssetTypeArray%currentLabel% = "game"){ ;adding dbnamed assets gameName:={} gameName := RegexReplace(gameInfo["Name"].Value, "[\\/:\*\?<>\|]" , "_") obj := BuildAssetsTable(A_loopfield . "\" . gameName . ".*",labelArray%currentLabel%,AssetTypeArray%currentLabel%,extensions, obj) Loop, 9 obj := BuildAssetsTable(A_loopfield . "\" . gameName . "-0" . a_index . ".*",labelArray%currentLabel% . "-0" . a_index,AssetTypeArray%currentLabel%,extensions, obj) if (parentDbName){ obj := BuildAssetsTable(A_loopfield . "\" . gameInfo["CloneOf"].Value . ".*","Parent " . labelArray%currentLabel%,AssetTypeArray%currentLabel%,extensions, obj) Loop, 9 obj := BuildAssetsTable(A_loopfield . "\" . gameInfo["CloneOf"].Value . "-0" . a_index . ".*","Parent " . labelArray%currentLabel% . "-0" . a_index,AssetTypeArray%currentLabel%,extensions, obj) } ;adding rom named assets obj := BuildAssetsTable(A_loopfield . "\" . romName . ".*","Rom " . labelArray%currentLabel%,AssetTypeArray%currentLabel%,extensions, obj) Loop, 9 obj := BuildAssetsTable(A_loopfield . "\" . romName . "-0" . a_index . ".*","Rom " . labelArray%currentLabel% . "-0" . a_index,AssetTypeArray%currentLabel%,extensions, obj) } else { ;system assets obj := BuildAssetsTable(A_loopfield . "\" . gameInfo["Platform"].Value . ".*",labelArray%currentLabel%,AssetTypeArray%currentLabel%,extensions, obj) Loop, 9 obj := BuildAssetsTable(A_loopfield . "\" . gameInfo["Platform"].Value . "-0" . a_index . ".*",labelArray%currentLabel% . "-0" . a_index,AssetTypeArray%currentLabel%,extensions, obj) } } } Return obj } 1 Quote Link to comment Share on other sites More sharing options...
Omen Posted August 24, 2017 Share Posted August 24, 2017 (edited) That works great! I noticed there was still an issue with games that have an apostrophe in them like "Conker's Bad Fur Day", but adding an apostrophe to the RegexReplace list of special characters, fixes the problem I noticed this on line 45 ;Acquiring Disc artwork (not available or location unknown on LaunchBox folders) But I don't see an option under RL's Fade settings for showing disc art. I'm gonna play around with the plugin and see if I can get that working. It would be cool to have both logos and carts. Also, do you know if it's possible to have RL search more than one location for images, like have it search both "Cart - Front" and "Disc" directories? Edited August 24, 2017 by Omen 1 Quote Link to comment Share on other sites More sharing options...
Dynizzle Posted August 24, 2017 Author Share Posted August 24, 2017 Good catch! I forgot about apostrophes. I believe its definitely possible since it sort of already does that as it checks for the ROM name once it can't find it in the media folder. So if you throw in another IF ELSE statement it should work. You probably would have to re-purpose one of the current fields like Genre in the Fade Info tab and have it set as 'Image' and then have the plugin point at the disc art. I found one other issue I can't figure out. For games that use more uncommon characters like accented characters and specifically the degree character like in "1080° Snowboarding", it should find the media files for it since Windows accepts them in the file names, but RL doesn't seem to find them when loading the fade. I am assuming it has to do with the text encoding maybe of how AHK handles them and might not use UTF-8. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.