Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    2,934
  • Joined

  • Last visited

  • Days Won

    25

Posts posted by JoeViking245

  1. There is not a direct [built-in] way to do this.

    But I will always contend that there is pretty much always a way to do anything.  It comes down to how determined you are and if what you say you want is really what you want. ;) 

     

    One way to do what you're asking:

    • Start LaunchBox
    • Start the MAME Arcade Full Set Import Wizard
    • Create a new platform.  "Arcade-Temp" or any name other than your existing platform
    • Select your ROM folder and Manually Configure MAME Emulator and select MAME
    • Skip leaderboards but do check Search for game information...
    • Check None for all images and skip bezels
    • Set clones and region to whatever you like
    • Click Check All for Game Type and Features
      • Then Un-Check Skip non-arcade games
    • Under Create Playlists, click Uncheck All
      • Then Check Create Playlists for genres

    After importing has completed, switch Views to Genre.  Scroll down to and select Handheld / Electronic Game

    • Select one of the games
      • Press Ctrl+A (to select all)
      • Press Ctrl+E (to start the Bulk Edit Wizard)
    • For Field:, select platform
    • For Value:, enter a name you want to call your new platform ("MAME Handheld Electronic Games" or whatever)
    • Click Next, Next, to finish up.  Since we didn't import images, you won't need to migrate those.
    • No more changes

    Now switch Views back to Platform.  Right-click on your new platform and select Edit and set Scrape As to Arcade. Click OK.

    You can now remove Arcade-Temp. (right-click, Delete)

    • Thanks 1
  2. You should be able drag and drop the single game ROM (can do it with multiple games ROMs as well) onto LaunchBox.  Then follow through the prompts.  If on the last page it still shows 0 games to import, click Back and check the box Force importing duplicate games.

    Alternatively, Click ToolsImportManually Add Game.  This will open a blank Edit Game window.

     

    • Like 1
  3. 15 minutes ago, TheNewClassics said:

    I'm getting the "Could not retrieve achievements" error in BB for any game I've checked, not sure if it's from this beta. I've verified my API key and rescan all my roms for the correct hashes.

     

    • Thanks 1
  4. I'm not real familiar with those emulators but based on your many attempts, if your press "E" on the keyboard, they'll exit?

    If that's the case, along with a key delay (sleep 50), you may need a longer key-press duration to be able to send from AHK.

    SetKeyDelay, 125, 50
    Send, e

     

    Using Process, Close is sort of like pulling the computer plug out of the socket to exit Windows.

    The "nice" way is to use WinClose.  The 'nice' default way is to use:

    WinClose, ahk_exe {{{StartupEXE}}}

     

    If that doesn't work, you can get a little more direct:

     WinClose, ahk_exe bsnes.exe
  5. Bulk Add/Remove Additional Applications

    View File

    Thanks to the new (since v13.5) plugin feature that supports menu nesting, 2 plugins have been combined into 1.

    (Bulk) Add Additional Applications         - https://forums.launchbox-app.com/files/file/2866-bulk-add-additional-applications/
    (Bulk) Remove Additional Applicationshttps://forums.launchbox-app.com/files/file/2980-bulk-remove-additional-applications/

     

    These combined plugins have both been overhauled both functionally and visually to 'keep up with the times' and have a smaller footprint plus added features.

    This plugin Requires LaunchBox v13.5 (or newer)

    If you haven't updated to LaunchBox v13.5 (or newer), you really should.  But until then, the original versions of the plugins (for now) still work. (see links above)

     

    Installing:
    After downloading the file, open the zip file and copy the contents into \LaunchBox\Plugins\
    i.e.   D:\LaunchBox\Plugins\BulkAddRemoveAdditionalApps\BulkAddRemoveAdditionalApps.dll

    If you didn't use 7Zip to extract the contents, 

    • Navigate to the plugin folder and right-click the file. 
    • Select 'Properties'  
    • Click "Unblock" and then click OK.

    If switching to this plugin from either of its predecessors, be sure to remove the older version(s) from your 'Plugins' folder.

     


    Using:

    • Select one or more games
    • Right-click on one of the selected games
    • Select Bulk Add/Remove Additional Apps to expand 2 more options
    • Select either:
      • Bulk Add Additional Apps
      • Bulk Remove Additional Apps



    Bulk Add Additional Apps 

    The intent of this is to add the same Additional Application to more than one game, all in one shot.
    It can also be used to add an Additional App to a single without having Edit the game.


    What's new:

    • UI completely overhauled for that 'modern look'
    • Removed restriction requiring multiple games be selected
      • aka: You can now add an Additional App directly to a single game without having to Edit the game
    • NEW Feature: Add %romfile% to the Command-Line Parameters to insert the "full\path\to\ROM\file.ext" (including quotes) when saved
      • Option: Remove quotes
      • Option: Remove file extension and folder path
      • Tip: press Ctrl+R to insert %romfile%
    • Bonus Feature: 
      • Add %title% to insert the games full Title
      • Add %platform% to insert the games platform Name
      • Tip: press Crtl+T or Ctrl+P to insert these (respectively)
      • Hint: You may want to enclose these in quotes if they consist of more than 1 word
        •  %platform%   =  Atari 2600
        • "%platform%" = "Atari 2600"

    Huge Thanks to @Headrush69 for the idea of adding the %romfile% option!!!   (%title% and %platform% was also his.)

     


    Bulk Remove Additional Apps

    The intent of this plugin is to Remove the same* Additional Application for all games in a given Platform, all at one time.

    *Same is determined by the Additional Applications Application Name and Application Path.  If they match exactly, they are the ‘same’.

     

    Why use this?
    Quite possibly you used Bulk Add Additional Apps and you clicked “OK” before realizing you forgot to add in the Command-Line Parameters, or the Additional App is simply not needed anymore.


    Using:
    When opening, the plugin will default to the selected games' Platform.  You can select a different platform using the dropdown box.

    By default, the plugin will 'combine' all Additional Apps that have the exact same Application Name AND Application Path, and only display one of those.  
    When you remove that "one", all occurrences (having the same Name and App Path) will be removed.  Regardless of Command-Line parameters.

    To separate these out by Command-Line parameters, check Split By Command-line.

    Once you click Remove, there's no going back.

     

     

    Some icons by Yusuke Kamiyamane

     


     

    • Like 2
  6. 11 hours ago, skizzosjt said:

    hey joeviking I finally had a moment to try this out and reporting with a thumbs up!

    my constructive criticism would be game specific bezel options would be a desirable feature to add. but current functions worked as expected and it has been smooth sailing thanks to the detailed instructions given!

    Thanks for the thumbs up (and noticing the (possibly tldr:) instructions :D)!

    Regarding the request/suggestion for adding the option for game specific bezels, I was happy just to be able to get the platform bezels working on my PC. :) 

    I will add it to feature request list.  However, at this time with only 3 'it works' (4, including me), I'd like to see more interest and confirmations for the project before dedicating any more time to it.  (and hopefully get it out of beta someday)

    • Like 1
  7. Glad to hear you're having fun with LaunchBox!

    In short:  To import manuals, just place the pdf files into \LaunchBox\Manuals\name-of-your-platform\.  However, the files will need to be named the same as the game's Title. 

     

    As for making them look amazing, they'll only look as good as they do in your pdf's. 

     

    1 hour ago, DruidofParadise said:

    Is there a repository of artwork for them

    Not sure what you mean by artwork for them, but EmuMovies does have manuals for some (not all) games.  That will vary by platform and what's been submitted to them.

    • Thanks 1
  8. 48 minutes ago, Gregorick said:

    Most of my other systems run on the system -cart command line but that won't work for Hyperscan. The files are CHD files so not sure if that makes a difference?

    A CHD is not a "cart".  It's a cdrom.   Try "-cdrom" (or it may be "-cdrm"?  Depends on where you look.).   

    Tip: As with a lot of the MAME softlists, you may be able to get away with using just the System and not having to add the Media Option at all.   In this case, the Command-line Parameter would simply be "hyperscan".  (Not test [by me] with Mattel's HyperScan)

    • Thanks 1
  9. 11 hours ago, Cnells2000 said:

    The set Key delay was already at the top. I just forgot to copy that part

    Well that don't help me, help you. ;)  

     

    11 hours ago, Cnells2000 said:

    my actual arcade cabinet with usb keyboard and I-pac encoder

    Presumably, if you press Alt and the arrow buttons etc. on the keyboard (on the Cab), Keyboard Splitter receives the inputs.  

    Maybe on your cab (for some reason), you need to send it a more literal keypress.  Try using SetKeyDelay, 100, 50   This will hold the key down for 50 milliseconds and have the delay of 100 milliseconds between presses.  The only other thing might [remotely] cause an issue is, for your Alt command use "LAlt" instead of "Alt".  Beyond this, I'm at a loss as to why it's not receiving key inputs from AHK on your cab only.  

     

    Out of curiosity, (assuming your I-Pac is in keyboard mode and not Xinput mode) instead of using the keyboard, are you able to press Player1-Button2 and then Player1 joystick in lieu of Alt, arrow keys?

     

    • Like 1
  10. 8 hours ago, Cnells2000 said:

    Still Not grabbing.

    To clarify, you got the script to work on one computer, but it doesn't work on a different computer?

    In your 2nd video here, it looks like when you double-click the script, KeyboardSplitter takes focus.  But not 6 seconds later.  Which tells me, after you start the script, you click on KS to set focus.  So we don't know if the 2nd line of the script is even working.  Granted, KS has focus and after 6 seconds the key presses should be sent.

    Speaking of lines in the script, try adding back-in the SetKeyDelay line.  Some apps can't handle a rapid succession of key inputs so they need that slight delay. If that line bothers you, you can go back to what the AI told you and put a Sleep after each keypress. These 2 do the exact same thing, it's just the 2nd way gives your brain more of a visual of what's going on (and is fugly ;)).

    • Like 2
  11. 1 hour ago, Zaphod54 said:

    any advantage to treating NAOMI and Model 2 as separate platforms vs. just playlists under Arcade, when using a different emulator for those games, particularly in regard to having an "associated" emulator to the platform?

    The advantage (for me) of having them in their own platform is setting the associated emulator.  If they were all in Arcade, I'd have to determine which games I need to change their respective emulators for.  There may be a way to filter, then just do a bulk edit. But [for me] this is way easier.

     

    1 hour ago, Zaphod54 said:

    what does configuring an emulator to be associated with a platform actually do?

    With multiple associated emulators, you're able to right click a game and select one-or-the-other of them.  Say you had the Atari 7800 platform using RetroArch and you wanted to test the A7800 emulator.  You add A7800 and associate it to Atari 7800 (not making it Default) then can right click various game to test it.   ...as one example.

  12. 11 hours ago, Cnells2000 said:

    i couldnt find this.

    You had it highlighted right at the end of the video. ;) 

    image.png.79a4c874ebeaceff10ef3329a366ea8a.png

     

    To verify the script is doing something, add in some message boxes at key points.  Like right before the 1st "Send", add "MsgBox, About to send keys".  Then after those sends', "MsgBox, Keys sent Waiting for tmnt to exit".  And maybe some others if you feel like it.

     

    The window is in-focus (you can see it), but does it have-focus (it's the active window)?  To be sure, after your 3 second pause, you could add in "WinActivate ahk_exe whateverGKS.exe".  (replacing the last part with your Gaming Keyboard Splitter executable)

    • Like 1
  13. 1 minute ago, Cnells2000 said:

    everything works now.

    You beat me to it. ;)   Glad you got it working.

    I adjusted the script [above] to reflect the proper WinWaitActive line.

    • Like 1
    • Thanks 1
  14. 14 hours ago, Cnells2000 said:

    Its supposed to finish these steps.....

    Try giving tmnt more time to [fully] close. (1 [FULL] second? 2 seconds?)

    Is it safe to assume that 'Send {Tab}' is to set focus on "OK" (then 'Send {Enter}' to select it)?

     

    SetKeyDelay, 100
    
    Sleep, 3000
    
    Send {Alt}
    Send {Right 4}
    Send {Down}
    Send {Right}
    Send {Down}
    Send {Enter}
    Sleep, 3000
    Send, {Tab}
    Send {Enter}
    
    ; Wait for the "tmnt.exe" window to become active
    WinWaitActive, ahk_exe tmnt.exe
    
    ; Wait until the process closes
    Process, WaitClose, tmnt.exe
    
    ; give it a sec to completely close
    Sleep 1000
    
    Send {Tab}
    
    ; Send Enter key
    Send {Enter}
    Sleep 2000
    
    ; Send Alt + F4 to close the Keyboard Splitter Program
    Send !{F4}
    
    ;not required
    ;ExitApp

     

    • Like 1
  15. 34 minutes ago, bradbradbrad said:

    I added the absolute path per your recommendation. I then made sure to save it as a .ahk extension, but it didn't load UCR at all still for some reason.

    Line 1 in the script is missing some quotation marks.  Because the path to UCR.exe has spaces in it, that whole part needs to be encapsulated.

    Run, "C:\Program Files (x86)\UCR_v0.9.0\UCR.exe" -p "Steam"

     

    • Thanks 1
  16. 3 minutes ago, DeadVoivod said:

    I know that you can put whatever link you want, that's what I usually do, but I don't want it to say Wikipedia when it's clearly not. 

    Ya, the latter part of the method I showed (changing the W image) is an all-or-nothing deal.  Which I agree, doesn't help too much.

    Another [interim] workaround is to add a Custom Field that has the Value set to your ROM Hack site URL.   And again, with some creative xaml manipulation, make the Custom Field clickable to take you to the site.

     

    • Like 1
    • Thanks 1
  17. [Not to stray too much from the OP...]

    9 hours ago, DeadVoivod said:

    I made once a request in BitBucket to be able to add customizable fields for the URL fields, there's only one for Video and one for Wikipedia, I would like to change the name f.ex. to Hack that would point you to the ROM Hack site instead of Wikipedia. 

    For the interim, you can put whatever hyperlink/web-URL you want in the Wikipedia field.

    image.png.05c52c232411b79c184c4311fa959eb3.png

    And with some creative xaml manipulation, you could even change the  <Path Data=  line to change the icon that's shown.

    image.png.0a4e1f4c722c699cd28f0baca0a60514.png

     

    Edit:  Something like this

    image.png.0fcc7ee0f750b25739e726f545f82f7a.png

     

    • Like 1
  18. 41 minutes ago, midd said:

    So now it’s making more sense.

    Yes it does. :) 

    I don't emulate DC much either.  In fact, I think I only have 1 game for testing purposes. lol 

    Curious... with the ROM File (screenshot) not actually pointing to the physical file, is LB able to launch the game through emulator?

     💡 Is it safe to assume that your emulator settings in LaunchBox has the checkbox: Use Filename Only without extension, checked?  If so, then the emulator knows to look for the folder named after the ROM name (minus extension).

     

    Thanks again for digging into this!

  19. 40 minutes ago, midd said:

    They are in the right location and path file

    Really not sure what to say then.   Is the full path to, and including the ROM name by chance super long? i.e.

    D:\This\is\a\super\long\path\to\way\deep\into\the\harddrive\where\no\man\has\gone\before\Ms. Pac-Man Maze Madness (USA).gdi

    Is the ROM located on a server of sorts making the path different than normal?  Had one use during beta testing say theirs was on a server, but it had worked as expected.  I know nothing about servers so don't know hot that all works. But supposedly it did.

    Beyond that, I'm at a loss.   

     

  20. 10 minutes ago, midd said:

    take notice of me. Pac-Man . Look below the concert box and you’ll see the file that the plug in claimed to not use found.

    The plugin gets the games ROM location from its Application Path.

    Can you edit the game "Ms. Pac-Man Maze Madness", go to the Launching section and confirm that ROM File is pointing to either the Full\Path\To\ or Relative\Path\To\ the .gdi file?

     

  21. Copy Metadata (plugin): Apply metadata from someone else's XML file to your own.

    View File

    Scenario:
    "I have a build where I'm manually changing every game genre to a single genre/subgenre value and would love to share it, but without a tool to apply my metadata to their own it's kinda pointless."

    Solution:
    Copy Metadata plugin.


    Purpose:
    Import selected metadata from someone else's platform_name.xml file into one of your existing Platforms.

    This will scan a LaunchBox platform_name.xml file and compare it your existing platform.  For all matching games*, it will update the metadata you chose to have imported.  

    (*See Finding Matching Games for how games are matched up.)

     

    Metadata fields to import (can select one or more):

    • Genre
    • Series
    • Developer
    • Publisher
    • Notes
    • ReleaseDate
    • DatabaseID
    • VideoUrl
    • WikipediaURL
    • CustomField (up to 3)

     

    Warning:

    • This will REPLACE any existing metadata for the fields you've selected. There is no un-do button.
    • The exception is Custom Field(s). 
      • This will add new Custom Fields.
      • If an existing Custom Field with the same Name as one be imported is found, you have the option to
        • Overwrite your existing Custom Field
        • Add a new Custom Field (creating 2 with the same Name but different Values)

     

    How to:
    Requires LaunchBox 13.3 or newer

    • Download, unblock the zip file, copy the contents of the zip to ..\LaunchBox\Plugins\
      • i.e. D:\LaunchBox\Plugins\CopyMetadata\CopyMetadata.dll
    • Start LaunchBox
    • Click Tools
    • Select "Copy Metadata"
    • Click Browse to locate and select the xml file you want to import from
      • (optional) Drag & Drop the file onto the TextBlock (directly above the Browse button)
    • Select your platform you want the metadata imported to
      • (The plugin will attempt to 'select' the appropriate one for you)
    • Check the metadata items you want imported
    • To import a Custom Field
      • Click "Include Custom Field(s)"
      • Click the dropdown box and select the one you want imported
      • Check the box next to it to have it imported
      • (optional: you can select up to 2 others to be imported)
    • Click Import

     

    Finding Matching Games:
    Every effort is made to properly match games in your existing platform to an external platform_name.xml.

    1. It will first use the games LBDatabaseID # to ensure an exact match.
    2. If there are no matching database ID #'s, it will compare the games file_name.ext.
    3. If there are still no matches, it will look for a matching game Title.

     

    Concept for this plugin was inspired by @C-Beats who caught me when I was bored and looking for a plugin idea. ;) 


     

    • Like 1
×
×
  • Create New...