Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    5,297
  • Joined

  • Last visited

  • Days Won

    38

Posts posted by JoeViking245

  1. You can't associate an emulator to a playlist.  But you can associate it a platform and just un-check Default Emulator.

    You'll now have the option to manually which emulator to use but will default to the original emulator.

    To set the default emulator to use for games that are in a specific Playlist:

    • Select your [Naomi] playlist.
    • Select all games in that playlist. (click on 1 of them, then press Ctrl+A to select all)
    • Press Ctrl+E.  This will open the Bulk Edit Wizard.
    • Click Next.
    • In Field, Select Emulator.
    • In Value, select the emulator you want the selected games in that playlist to use as-default.
    • Like 1
  2. 3 hours ago, jmirage said:

    Sorry if this is already available somewhere else, but is there any reference to which other variables we can use in AutoHotKey scripts? Or is it only {{StartupEXE}} ?

    For Running Scripts (and Additional Apps), you can't pass any variables to them.  But for Command-Line Parameters....

    In addition to those listed, there's also %romlocation% (added in v12.7).

    • Thanks 1
  3. 5 hours ago, DnK said:

    The only way I can find to do it is to call it in Sort Title as "0 Recently Played", showing this as first.

    But I'm sure there must be a more convenient way.

    I'm not really sure how else you could sort/filter your list to always have one specific Platform/Category/Playlist always listed 1st.

    I think the intent of having a Sort Title field is to do something just like that.  I use it to put SNES next to the other Nintendo's.  Never thought about using it to put something always at the top of the list.  Thanks for the idea.  Sound pretty convenient. ;) 

  4. 17 minutes ago, CrizzlyR said:

    The games do not launch.

    I've only ever used stand-alone Citra. But a couple RetroArch-related settings you have stand out....

     

    Edit your emulator.

    Uncheck the boxes Remove Quotes and Remove space before ROM.  You can also completely remove the Default Command-Line Parameters (on this screen).  [It gets overridden on the next screen. So serves no purpose for this emulator.]

    image.thumb.png.d892b9e6a871c3f01666c38e2877b76e.png

     

    In the Associated Platforms section, replace the Extra Command-Line Parameters with -f (just like the others).

    image.thumb.png.320a017c6e5697d58ee409bcf5c3df9c.png

    • Thanks 1
  5. 2 hours ago, CalmGamer said:

    Is there a way to change the game loading screen on a per emulator basis to tell the player that the game will use the controller and not the arcade control panel?

    Not on a per emulator basis.  But you can do it on a per platform basis.  If you look in  \LaunchBox\StartupThemes\Default\, you'll notice there's the Default.xaml theme and then a couple more for specific platforms.  They just need to be named the exact same as the specific platform, in your setup.

    As an example for your use, for Dolphin emulator, you'll see specific [platform] ones are already there.  "Nintendo GameCube.xaml" and "Nintendo Wii.xaml".

  6. I tried to make it NOT work.  But failed.  If the game can be launched from a shortcut (or better yet, test from the Command Prompt), it'll launch from LaunchBox.

    From the Command Prompt I used/typed (long-hand):

    "T:\Emulators\Citra\nightly-mingw\citra-qt.exe" "T:\LaunchBox\Games\Nintendo 3DS\3DS0128 - Frogger 3D (Usa)-decrypted.3ds"

     

    Emulator settings in LaunchBox: (Be sure to point to citra-qt.exe. Not "citra.exe".  No checkboxes checked)

    image.thumb.png.ce6c82ce17d00afb6795b5eb993d47d0.png

     

    • Like 1
  7. 1 hour ago, LuWhisky said:

    I'm using zip files and some of them are in 7z format.

    However it worked before but it has stopped. 

    I know that Snes 9x supports zip files, so it should work. Correct?

    If the emulator does support zip files, you shouldn't have LaunchBox extract them.

    • Like 1
  8. 12 hours ago, AceEsCloud said:

    it did not work to launch the second during exit

    If you're using FPLoader to launch your tables, it never will.  The Running script only stays active while the 'emulator' (FPLoader.exe in this case) is running.  If I recall correctly, FPLoader is essentially a launcher for 'Future Pinball.exe'.  So as soon as it launches it, it itself closes. Thus, closing out the Running Script making the escape sequence unavailable.  

    Steam is the same way.  So if you need to run something after playing a Steam game, you're in the same boat.  'Nature of the beast'.

     

    The Fix: Create a new "emulator".

    Unless you know how to "wait for an application to not exist [anymore]" (Future Pinball.exe in this case) using a batch file, we'll have to learn ya' some AHK.

    Create a new text document.  ("FP-DMD.txt" or whatever)  In there, put:

    Run, "dmdext.exe" mirror --source=futurepinball -q --virtual-stay-on-top --fps 60 -g "[GAMENAME]" --use-ini="C:\Visual Pinball\VPinMAME\DmdDevice.ini", C:\Visual Pinball\VPinMAME, Min
    
    Run, "C:\Future Pinball\BAM\FPLoader.exe" /play /exit /open "%1%"
    Sleep, 10000
    
    While WinExist("ahk_exe Future Pinball.exe")
      sleep 700
    
    Process, Close, dmdext.exe
    ExitApp

    Adjust the 2nd Run command to point where your FPloader.exe is located.

    Save to somewhere convenient to you, Close and change the file extension to .ahk ("FP-DMD.ahk").  Be careful that it's not saving it as ""FP-DMD.ahk.txt".

    In LaunchBox, Add a new Emulator.

    • Name the emulator (FP-DMD or whatever you want)
    • Browse to and set the Application Path to ..\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe
      • Note: once selected, LaunchBox will show it as a relative path.
    • In the Default Command-Lin Parameters: enter the full path to the AHK file you created, in quotes.
    • In the Associated Platforms section (select it on the left), Add "Future Pinball" (or whatever the exact name of your platform is).
    • Assuming all your FP tables will be using dmdext, check the box for Default Emulator.
      • You'll probably be asked, Do you want to make this the default emulator?. Yes.
    • Click OK to save and close.
    • Play a table (or two)

    image.thumb.png.94486227cd91aa91269631f66e35d229.png

  9. It's not that it's not finding the files inside the zip. It's not 'seeing' the zip, itself. 

    Edit your MAME emulator in LaunchBox and in the Default Command-Line Parameters, add -rompath %romlocation%.  Also make sure both "Remove Quotes" and "Remove file extension" boxes are checked.

    To test it from Window Command Prompt:  G:\LaunchBox>

    Emulators\MAME240\mame.exe -rompath Games\Arcade asteroid

    or from any location

    "G:\LaunchBox\Emulators\MAME240\mame.exe" -rompath "G:\LaunchBox\Games\Arcade" asteroid

     

    • Like 1
    • Thanks 1
    • Game On 1
  10. 1 hour ago, BrainyCabde said:

    Thank you for this. Display Fusion seems to be a bit easier to use than MonitorSwitcher.

    You're welcome.

    As for Display Fusion being easier to use, you already had MonitorSwitcher working.  Just needed the command lines. ;) 

    Anyway, I like the footprint of MonitorSwitcher compared to DF (KB's vs. 200+ MB's), and it doesn't require any installation.  Also the $ cost to save profiles for later use is a bit cheaper.  But that's just me. :D

    Glad you got something working for you.

    • Thanks 1
  11. 52 minutes ago, BrainyCabde said:

    maybe to add them hotkeys to the running script section of Launchbox/BigBox?

    Instead of creating/adding/using the hotkeys and using AutoActions, just use the command(s) available in MonitorProfileSwitcher to load the profiles.

    If it works to change the profile while the game is loading (vs. it HAS to be switched PRIOR to loading the game), add to the Running Script for that emulator:

    (For cxbx emulator)

    Run, "MonitorSwitcher.exe" -load:Profile-1.xml, F:\Misc\Monitor Switcher
    
    Process,Wait,cxbx.exe
    while winExist("ahk_exe cxbx.exe")
        sleep 700
    
    Run, "MonitorSwitcher.exe" -load:Profile-2.xml, F:\Misc\Monitor Switcher
    • Change Profile-1.xml and Profile-2.xml to your saved profile_names.xml you want to load when the emulator launches (1st line) and after it exits (last line).  Respectively.
    • Change F:\Misc\Monitor Switcher (2 places) to the full path where your MonitorSwitcher.exe is located.

    For your Xenia emulator, do the same thing(s), and also change cxbx.exe to xenia.exe (2 places).

     

    If they have to be switched before loading the game (emulator), then you'll [instead] need to add Additional Apps for each game and have them checked to Run Before Main App and Run After Main App using only [modified] line 1 above and the last line. Respectively.

     

    1 hour ago, BrainyCabde said:

    I wish LB/BB had a feature built in like this so we could avoid using this many third party applications to get the desired result.

    LaunchBox can't 'fix' finnicky emulators.  But it can accommodate most all of their shortcomings. ;) 

  12. If you have an EmuMovies account

    • Select the Platform you want to add manuals to
    • Click on one of the games in that platform then press Ctrl+A to select all games
    • Click ToolsDownloadUpdate Metadata and Media for Selected Games...
    • Follow through the prompts until you get to Would you like to download media from EmuMovies?
    • In that view, scroll down and check the option Manual
    • Kepp going through the prompts until you get to Ready to Download
    • Click Finish

    Note, not all platforms will have manuals available.

  13. When you replaced the icon, I presume it was in

    ..\LaunchBox\Images\Platform Icons\Platforms\Super Nintendo Entertainment System.png

    It needs to be a .png file (vs .ico).

    If you didn't have LaunchBox closed while replacing it, you may be able to select the Platform (on the left pane) and press F5 to refresh the image.  Worse case, close and restart LaunchBox and it should appear.

  14. 7 minutes ago, latin625 said:

    The mame emulator settings are these:

    Change the last line to

    RunWait, "D:\LaunchBox\Emulators\MAME 0.243\mame.exe" -skip_gameinfo -waitvsync -keyboardprovider dinput -rompath %romlocation% %ROM%, D:\LaunchBox\Emulators\MAME 0.243

     

    • Game On 1
  15. 6 minutes ago, latin625 said:

    Worked!  Only thing now is that the bezels are gone.  On regular MAME they are there, but when I use the "new emulator" the bezels are gone.  Odd!

     

    What does your existing MAME emulator (in LB) Default Command-Line Parameters look like?

  16. (another "try this") For the fullscreen thing, create a new file ("BSfullscreen" or whatever).  In it, put: 

    Set WshShell = WScript.CreateObject("WScript.Shell") 
    WScript.Sleep 10000
    WshShell.SendKeys "{F11}"

    Save the file with a .vbs extension.  ("BSfullscreen.vbs")

    Create an(other) additional app to Run Before. Have the Application Path point to this file.

    If that works, you can thank @AliMujahid20 (you. lol).  :)  If it doesn't, you can blame me. ;) 

  17. 8 hours ago, latin625 said:

    I run this as an application "before main application" on  all the MAME games only.

    This won't work when running as an Additional App because you can't send parameters to them.  (EMU = %1% ROM = %2%)

    To have the parameters sent to the script, you'd need to have it as-the-emulator.**

    In your script "EMU" is always going to be "MAME" since you're only using this for MAME. Correct?  If so, replace that variable.  i.e. (replace the 1st line with the 2nd line)  This assumes your asset folder is called "MAME".

    ;ROM_STK_PROF := "D:\LaunchBox\ThirdParty\UltraStick\" . EMU . "\" . ROM . ".ugc /showfeedback"
    ROM_STK_PROF := "D:\LaunchBox\ThirdParty\UltraStick\MAME\" . ROM . ".ugc /showfeedback"

     

    **To set the script up as the emulator, you'd need to add a new emulator in LaunchBox that points to this script. 

    • Give it a name
    • Point the App Path to ..\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe
    • In quotes, set the parameters to point to your .ahk script
      • add a [space] and then %romlocation%
    • Check 2 boxes

    image.thumb.png.6f5807c207214eab6529a18a4bb68dae.png

     

    Then at the bottom of your script, you'd have it launch MAME with the ROM file.  Something (but not necessarily exactly) like this.  (added some beeps when it loads a specific config)

    romlocation = %2%
    ROM = %3%
    
    ;Process UltraStick Profiles
    ROM_STK_PROF := "D:\LaunchBox\ThirdParty\UltraStick\MAME\" . ROM . ".ugc /showfeedback"
    EMU_STK_PROF := "D:\LaunchBox\ThirdParty\UltraStick\MAME\MAME.ugc /showfeedback"
    DEF_STK_PROF := "D:\LaunchBox\ThirdParty\UltraStick\default.ugc /showfeedback"
    
    ULTRAMAP := "D:\LaunchBox\ThirdParty\UltraMap.exe"
    
    ;Load the joystick profile
    if FileExist(ROM_STK_PROF)
    {
       SoundBeep, 750, 500
       RunWait %ULTRAMAP% %ROM_STK_PROF%
    }
    else if FileExist(EMU_STK_PROF)
    {
       SoundBeep, 750, 200
       SoundBeep, 1350, 200
       RunWait %ULTRAMAP% %EMU_STK_PROF%
    }
    else
    {
       SoundBeep, 750, 200
       SoundBeep, 1350, 200
       SoundBeep, 750, 200
       RunWait %ULTRAMAP% %DEF_STK_PROF%
    }
    
    RunWait, "D:\LaunchBox\Emulators\MAME\mame.exe" -keyboardprovider dinput -rompath %romlocation% %ROM%

     

    Not tested, but looks really good 'on paper'. ;)

    Depending on how your MAME is setup and where it's located, you may need to change something on the last line.

    • Unusual Gem 1
  18. 30 minutes ago, Kinglifer said:

    This is a bit old but.... Where the heck is Dolphin.ini?!? Are you talking about Retroarch?

    Stand-alone Dolphin. Definitely not RetroArch.  The post you quoted pretty much says exactly where Dolphin.ini located. 

     ..\Dolphin\User\Config\Dolphin.ini

  19. 3 minutes ago, knux666 said:

    Any advice and help would be greatly appreciated, thank you :)

    Try this:

    RunWait, D:\SteamLibrary\steamapps\common\Vampire Survivors\VampireSurvivors.exe
    ExitApp
    
    z::Enter

     

×
×
  • Create New...