Jump to content
LaunchBox Community Forums

fraganator

Members
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by fraganator

  1. Thanks for confirming the behaviour, @C-Beats. I don't seem to be able to see the plugin interface documentation comment, only it's definition. This is what I see when I hover over IEmulatorPlatform.AutoExtract in Visual Studio 2019: Is there a corresponding xml documentation file for Unbroken.LaunchBox.Plugins.dll? This SO question indicates both xml and dll are required, but I can't seem to find the xml file. I've been referring to the online API docs, but they're a little out of date.
  2. This is a handy feature, thanks. From a plugin perspective, I noticed the IEmulatorPlatform.AutoExtract property can be null (because the property doesn't yet exist in Emulators.xml). In this case, does the IEmulator.AutoExtract property take priority?
  3. *NOTE* The attached beta plugin is for LaunchBox 12.8 beta, and will not work in earlier LaunchBox versions. With the latest LaunchBox 12.8 beta, there's a handy new feature which allows you to enable ROM extraction on a per platform basis. I've tested the current version of Archive Cache Manager (v2.0.9) with the 12.8 beta and the core functionality works, though the plugin is obviously unaware of the new per platform extraction setting. This means the plugin's "Select ROM in Archive" right-click menu will be available in cases where it should be disabled, plus a few minor setup / teardown steps which shouldn't be executed. Attached is a new beta version of the plugin which should correctly handle LB's new per platform extraction setting, so if you're running the 12.8 beta please download this version. Once 12.8 is out of beta, I'll release an official version of the plugin. Thanks! ArchiveCacheManager.v2.0.10.beta.zip
  4. v2.0.9 is out now, with a couple of small bug fixes: Fix file priority for files in subfolder of archive when not in cache Fix launching individual file from archive when not in cache This should fix the MSU-MD bios issue you were seeing, @zugswang
  5. Glad it's working now. I had a quick look around for the issue, and it appears to be a known bug in the PCSX2 core. Hopefully it gets fixed soon.
  6. It could possibly be the PCSX2 core, given other cores work. I've only used PCSX2 standalone but haven't had any problems. Maybe try enable both verbose and log to disk logging options in RetroArch (under Settings -> Logging), and see if there's errors in the log file when starting and exiting a PS2 game (it should be in the RetroArch\logs folder).
  7. Hi @GreaterMuta, I'd say RetroArch not exiting correctly is the main cause of the issue. LaunchBox won't clear the temp folder while it still thinks a game is being played (ie it can see the RetroArch process running). And when it does attempt to override the files when you play a 2nd time, 7z throws an error because RetroArch probably has a lock on those files. As to why it isn't exiting correctly, I'm not sure. Is it only happening with PS2 games? Did you modify the Exit Script for RetroArch in the emulator settings? LaunchBox only keeps the current game in the temp folder. If you're looking to keep a few recently played games extracted, I've written a plugin called Archive Cache Manager which does exactly that, skipping the extraction time when launching the game a second time. I suspect the plugin will also help with your issue trying to play the game a 2nd time, though it would be good to resolve the RetroArch exiting issue.
  8. Hi all, It's been a while between updates, but version 2.0.8 has just been released. This version includes: Wildcard based filename matching for file priorities in archive Prioritize a file extension, filename, or combination Create priorities to automatically play preferred ROM region from GoodMerged archives Performance improvements, especially for archives with many hundreds or thousands files [BigBox] "Select ROM In Archive" menu option (accepts keyboard input only) The filename priority selection extends the previous versions' file extension priority, but also includes matching full or partial filenames using wildcards. In the case of @Daniel15's suggestion for automatically picking the 'best' rom from a GoodMerged archive, a filename priority such as this could be used: *(*E*)*[!].*, *(*U*)*[!].*, *[!].* This would prioritize European good dumps, USA good dumps, then any region's good dump. I've added a rudimentary ROM selection dialog to BigBox, but it currently only supports keyboard input (not joystick). It's not a true WPF / BigBox based themed dialog, which would require edits to the end user's own themes which I did not want to impose.
  9. Hi @Corgana. Can you control anything using your remote (such as Kodi)? From memory the EventGhost script detects the arrow key events on the remote, then generates corresponding keyboard events which are sent to the currently focused application. I'll have to revisit how I set everything up - I'll export my EventGhost config and post it when I get a chance.
  10. The file extension match will only check for matches after the final period in the filename, so default.xbe won't match as it only ever checks against xbe. I saw your suggestion over on github about matching a filename which seems like a good solution.
  11. I've had this before, but it was because I somehow didn't select a platform to import under. So LB checked each rom file / game title against the entire games database, rather than a subset. It also pays to uncheck the "Remove roughly-matched duplicate images" setting, even if no media is selected. With no media downloads or checks, imports of 500+ roms take 2-3 seconds.
  12. Thanks for the feedback, glad to know that feature has proven useful Auto selecting a know good dump (via a regex or something), perhaps combined with LaunchBox's region priority, should be easy enough to add and shouldn't affect non-GoodTools sets. The idea of popping up the rom selection window when selecting the normal Play option is a good one. Choosing when to popup the rom selection window might need a few more checks. Probably a combination a configuration option to enable or disable the popup window, whether a rom has been selected before, and if the file names inside the zip are in the GoodTools style. The last check would hopefully prevent the window popping up for non-GoodTools sets (Redump, No-Intro, etc). I'll add the auto selection as a first step and go from there.
  13. Most newer TVs support HDMI CEC, which is a command message sent over the HDMI connection to each device on the HDMI 'network'. I use a Pulse8 HDMI CEC adapter with my HTPC, so when it is switched on, the TV and receiver automatically switch inputs to the HTPC. If I then switch on my PS3, it will auto switch over to that input (Bravia Sync must be enabled on the PlayStation, and the equivalent on the TV). I've not tried scripting the switch between the PS3 from the HTPC, but it should be possible. While TVs support HDMI CEC I don't think many monitors do, but if yours does this may be an option. There are probably other options involving external hardware to switch HDMI inputs, but they'd be increasingly unreliable and hacky.
  14. @Lordmonkus That was my understanding, but after testing that doesn't appear to be the case (LB bug perhaps?). Importing a duplicate file already on another platform won't work unless that option is checked. The video below shows trying to import NBA Jam.zip, where the same file exists on another console but not the console being imported to. dupe-import.mp4
  15. Did you try checking the "Force importing duplicate games" in the import wizard?
  16. Hi @Thierry6768 When you say extract the roms, do you mean just copy the roms to another folder on disk? Or actually unzip them? There is an Export/Copy ROM Files option under the Tools menu. Select all the roms in your playlist (select one, then press Ctrl+A), then use the export feature to copy the selected roms to another folder on disk. If you then want to extract them all, use something like 7-Zip. Select them all in File Explorer, then right-click -> 7-Zip -> Extract Here:
  17. Hi @enthusiast01 There are a few ways media can be tied to a game. In most cases the game title ties the two together. See this great post by @sards who goes over all the different matching criteria. In short, matching can be done based on game title, filename, stripped game title, and game ID (not the LaunchBox DB ID): So in your example with King's Field: The Ancient City, after a LaunchBox media import the media name will be King_s Field_ The Ancient City-xx.jpg, where xx is a number starting from 01. If you then rename the game within LaunchBox to King's Field 4, the media will auto rename to King_s Field 4-xx.jpg. With the disc number example, you might try name them with incrementing numbers for xx. So something like Final Fantasy VII which has three discs would be named Final Fantasy VII-01.png, Final Fantasy VII-02.png, and Final Fantasy VII-03.png. When you did the media cleanup, were the images to be removed listed as duplicates, or as not in use? (scroll to the very right of the Clean Up Media window to see the reason column in case it's not visible)
  18. I just ran across this with the Sega Mega Drive version of Aladdin. The original artwork has had a template with the black grid style slapped on the bottom, and then a clear logo thrown over the top to cover the original. Problem is it's not even very good. The apostrophe is wrong, and there's some terrible clipping going on:
  19. All good here, thanks @C-Beats.
  20. Hi @camboico. You might try a plugin I wrote called Archive Cache Manager. It will auto select the .bin file inside the .rar instead of the .cue file when launching PCSX2. Just make sure you have "Extract rom archives before running" option checked in the emulator config for PCSX2. The plugin will also keep a temporary copy of the extracted game so you don't need to decompress it every time.
  21. If you have a 'gold' set of xml files you're restoring from, you could use a batch file to copy them and then launch LB/BB. Here's a quick batch file which will recover from a backup file, then run LaunchBox. The backup file has been copied from the Backups folder to the top level LaunchBox folder, and renamed to Restore.7z. The batch commands below are saved to a file named Restore.bat, also in the LaunchBox folder. If you then run Restore.bat, it will extract Restore.7z to your Data folder, then run LaunchBox. I've done a quick test with the batch file and it works, but make any backups before running it just in case. @echo off ThirdParty\7-Zip\7z.exe x Restore.7z -oData -y -aoa Start LaunchBox.exe
  22. I imagine LaunchBox will throw a bunch of internal exceptions, and things like play count or last played info won't be updated. That said, it sounds like LaunchBox's data backup feature will handle your use case of potential corruption. It's enabled by default under Tolls -> Options -> Data -> Backups, and will create a snapshot of your data folder every time LaunchBox starts and exits. It keeps a rolling set of up to 25 backups. The backups can then be restored through the Tools -> Restore Data Backup menu.
  23. Also confirming the missing icons. Plugin icons also seem to be unaffected.
×
×
  • Create New...