Jump to content
LaunchBox Community Forums

JoeViking245

Moderators
  • Posts

    3,446
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by JoeViking245

  1. Did you set up the Controller Mapping in BigBox itself for Close Active Window? LB and BB controller mappings are set independently from each other. You can use the same button combo. Just need to map them in each program separately.
  2. But the batch file needs some information 1st to make it dynamic (aka universal to many ROMs). The games ROM (.exe in your initial testing) doesn't need to physically be there. But the game does need to point to where it's going to be. i.e. game.exe is going to be downloaded (copied) to d:\no\where\in\particular\ Then, launching the game with the [batch file] Emulator (like the one I posted earlier), 2 parameters get passed to the batch file. The 1st one is the %romlocation% parameter and the 2nd one is the full path to the ROM file (or .exe in your case). Now, that batch file can look for GamesSource.txt in the romlocation's parent directory (extrapolated in the 1st FOR statement). blah blah blah and so on. You can adjust your games Launching File Location so that it looks for GamesSource.txt in the appropriate parent folder. And if all your game's download info is coming from the .txt file, you'll still need a fake "game.exe" in the Launching path for the above batch file (as written) to work correctly. You can always adjust the Location path and/or batch file contents accordingly. My Dummy.bat file (emulator) that gave the above output when launching "game.exe" looks like @echo off set path=%1 set fullRom=%2 echo. echo RomLoaction: %path% echo. echo FullPathToRom: %fullRom% echo. echo. echo The End pause
  3. To enable saving local high scores in stand-alone MAME, an alternate method (and possibly less susceptible to human error) than mentioned above is to set it up directly in MAME. In LaunchBox, right on an Arcade game and select Open MAME. Once opened, double-click on General Settings. On the General Settings menu, double-click on Plugins. If MAME 0.229 has the older menu items, once MAME is opened, Plugins will be a menu option below Configure Options. On the Plugins menu, select Hiscore support and press the left or right arrow key to turn it on (or off). Press Escape once to close the Plugins menu. [If showing the 'older' menu(s), double-click Configure Options] then double-click Save Settings. Press Escape to close the General Settings menu and again to close MAME. No. A premium license is not required for setting up accounts. For the Forums, you obviously already have one. To connect to the LaunchBox Games Database, in LaunchBox click Tools, Cloud, Connect to the LaunchBox Games Database. This will be a separate account than the forums and a "Register for an Account" link will appear. To Request a Feature (top of this page under Help & Support), You will need to create a (free) BitBucket account. Hopefully one of those 3 was 'an account' you were referring to.
  4. What ROM are you passing to the Emulator (batch file)? The ROM shouldn't have changed any. Thus it exists. Just the Emulator you're passing the ROM to changed. I did forget to mention (remind you) to associate the new emulator to the platform. You can set it as default, or leave that unchecked and right click the game and choose Launch With, then select the original emulator or the new one. This [has and] will work. If it's still causing issues, share screen shots of your new Emulators Details section and the Associated Platforms section. Then also, the game you're trying to launch, its Launching section and Emulation section.
  5. Well, if it ain't broke, don't "fix" it. It may very well be valid. I've just never seen it in a set parameter. Though I've never used /p in there either. So may be a part of that?
  6. Yes. Get your stuff to process in less that 40 seconds. Didn't realize there was a 40-second 'safety net' for Additional Apps. But makes good sense. Well, except for your unique circumstance. I think this puts you back to creating a new emulator. You wouldn't have to use cmd.exe. Just point to the batch file. But you would have to create one for each emulator you need to do this 'download' process for. This might work for something like PCSX2.. and you can put this batch file anywhere. It doesn't rely on where it is located. Not tested but looks good in print. Note: parameter %1 and %2 both include quotes. You'll see where I removed them at the beginning for %1 (path). And on the last line, did not put quotes around the path to Rom because %2 (fullPathToRom) already includes them. May need to modify eof to either start the game or just completely exit the script. oh... where you set the GameSource, is that less-than symbol supposed to be there? set /p GameSource=<"%parent%\GamesSource.txt" @echo off set path=%1 set fullPathToRom=%2 rem remove quotes set path=%path:"=% if exist "%path%\CopyComplete.txt" ( goto eof ) FOR %%A IN ("%path%\..") DO SET "parent=%%~fA" if exist "%parent%GamesSource.txt" ( set /p GameSource=<"%parent%\GamesSource.txt" ) else ( cls echo %parent%GamesSource.txt does not exist. echo This file must exist at the root of games directory. echo It must contain the path where the games are stored on your network. echo The path must end with a \. pause Goto eof ) for /f "delims=" %%A in ('cd') do ( set FolderName=%%~nxA ) if exist "%GameSource%%FolderName%" ( robocopy "%GameSource%%FolderName%" "%~dp0." /e echo Copy Completed. > "%~dp0.\CopyComplete.txt" echo Game Launching... ) else ( cls echo The directory "%GameSource%%FolderName%" does not exist. echo If the path above is not correct, check %parent%GamesSource.txt. echo This file must exist at the root of games directory. echo It must contain the path where the games are stored on your network. echo The path must end with a \. pause ) :eof start "" /w "D:\LaunchBox\Emulators\pcsx2.exe" %fullPathToRom%
  7. Hi @dummy-account. Welcome to the forums. What controller issues specifically are you experiencing? Do note that LaunchBox does not configure nor adjust controllers in and for the emulators themselves. That is completely independent of controller configuration for navigating within LaunchBox. To answer @roofamilyh's question, yes, a Premium account is required to be able to navigate LaunchBox with a controller. But this has no effect on using a controller within an emulator. The caveat to the latter is with Steam when you have its' UI set controller configurations. So I've heard as I've never set them in Steam itself. Steam games, ya. Steam UI, no.
  8. In short, no. You can't pass variables to Additional Apps. One possible solution is to create a new emulator in LaunchBox that points to a batch file. Use this emulator as the default. The Application Path for your emulator would point to this .bat file. The Default Command-Line Parameters could/would be %romlocation% This will send to the batch file parameter %1 = "C:\Path\To\Rom\" (aka %PathToGame%). Parameter %2 will depend on the boxes you check (or don't check). Remove quotes and also Remove file extension and folder path. But you'll probably want to at least keep Remove Quotes un-checked. %2 will be the ROM_file. Either "full\path\to\ROM_file.ext" or "ROM_file" (without the path and file extension). In the batch file, start the ps1 script using a /w for "wait for exit" and use %1 in its parameters. set PathToGame=%1 set ROM=%2 start "" /w "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -file "%PathToGame%/Get-Game.ps1" On the next line, start the actual emulator with any of its parameters and %2 (actually %ROM%) for the ROM. You should use /w here as well so the games Shutdown Screen will work correctly and also if you want to remove the downloaded game after it exits [on another line]. Or if, unlike me, you're PowerShell savvy, you can do all this in a single ps1 script rather than a batch file calling a ps1 script. If you do go this route, to make the scripts 'less visible' when executed... for the batch file, create a shortcut to it, right click the shortcut, select Properties, next to "Run", choose "Minimized" and click OK to save. Then point to the shortcut in LaunchBox. For PowerShell, right before "-file", add in "-WindowStyle hidden" (without quotes).
  9. Look for and delete: Path_to_your_emulator/MAME/ini/ptblank.ini Or it may be in MAME's root folder: Path_to_your_emulator/MAME/ptblank.ini If you're not using the parent ROM, look for ptblanka.ini Edit: Just reread that you said it was mirrored. In that case look for and delete Path_to_your_emulator/MAME/cfg/ptblank.cfg
  10. No. This plugin doesn't have the option to display videos. So there's nowhere to even overlay an image on.
  11. If you have your own videos and assuming they're properly named (either same name as the games Title [in LaunchBox] or same name as the ROM [minus extension], you can place them in /LaunchBox/Videos/name_of_platform/. If your platform is named "Arcade" and LaunchBox is located on your G drive, you'd put them in G:\LaunchBox\Videos\Arcade\. That would be for [regular] game play videos. If they're Theme videos, place them in G:\LaunchBox\Videos\Arcade\Theme\.
  12. "For clarification you will need a Emumovies subscription to download videos, as well as a LaunchBox one." Once you have that and set it up in LaunchBox (Tools, Options, Integrations, EmuMovies), when you click Next [in your screenshot above], you'll see the options to select images, manuals, music and videos from EmuMovies. Keep in mind, all those are not available for all games.
  13. Needs a SetKeyDelay. Also, instead of guessing how long to pause for, simply wait for the executables window to become active. WinWaitActive ahk_exe melonDS.exe SetKeyDelay, -1, 110 Send, {F11} A year and a half ago I had it in a loop waiting until the window is active. This way (above) does the same thing, but a lot cleaner.
  14. Try checking the 2 boxes: Remove quotes and Remove file extension...
  15. Copy/Move/Whatever "pegasus.zip" into the same folder as your pegasus_cart ROMs are located. Edit your MAME emulator in LaunchBox and in the Associated Platforms section, for your Pegasus Platform set the Default Command-line Parameters to pegasus -rompath %romlocation%
  16. Just tried fullscreen. Still worked here (sending "7"). Are you using v1.62.3? You may try a [temp] fresh install of SNES9x. Create a new folder next to the original install (/Emulators/SNES9xTEMP/). Open "snes9x-1.62.3-win32-x64.zip" (that's the one I downloaded) with 7-Zip and drag/drop the files into the new TEMP folder. Use 7-Zip so you don't have to mess with un-blocking any of the files. Start it once and close (in case it needs to create any files on 1st run). Don't change any settings at this point. In LB, edit the emulator and change the app path to "snes9x-x64.exe" that's in the new temp folder. I tried it with and without "-port1 mouse1" in the default command-line and both ways worked to send 7. I never tested actual playing with a mouse (because that would be weird ). But at game startup, the screen text would appear briefly.
  17. Download and tested a game and the following worked for me. WinWaitActive ahk_exe snes9x-x64.exe send 7 This assumes your executable is "snes9x-x64.exe". Didn't need the key delay (which some emulators do. i.e. MAME) and the WInWaitACtive alleviates any guessing games for the Sleep timer. Be sure it's above any escape sequence. If that still doesn't work for you, then there's something else wonky going on. It'd also mean it's time to move to BigBox and a proper controller.
  18. I've never used SNES9x. Does the Use Mouse not work? Regardless, if you find you still need to press 7 to switch controllers, you may try adding a SetKeyDelay. You'll also need to add a delay/pause/wait because the running script executes right away. You want to wait a little for the emulator to actually be running before "pressing 7". Sleep, 5000 SetKeyDelay, 125, 50 Send, 7 "5000" = 5 seconds. Adjust accordingly depending on how long it takes for the emulator to be fully loaded.
  19. These things are going to be Theme dependent. You may want to check/ask on that particular themes' Get Support page.
  20. 2 options: On the left sidebar, select Games Missing Media. Then click Games missing Boxes. Select Tools, Audit and then select All games. To select a single platform, on the left side bar, select Platforms, click the platform you want to audit, then select Tools, Audit and click that platform. The image files are associated to the games Title or ROM name. You can't really change that. When you import images from the LaunchBox database (when initially importing games, using the bulk media updater or while editing an individual game), LaunchBox will save them using the games Title.
  21. Two years ago you had a non-merged set. The method I suggested won't work with a merged set without 'breaking' some (or a lot) of the games. Merged sets never made sense to me, so I've never messed with them.
  22. Search the forums for "multi monitor" and also "thirdscreen". Both searches (including quotes) will give you at least 2 options.
  23. Does the image return after exiting the game? If it's a Steam game, the image won't display at all during gameplay in either LB or BB. Otherwise, I may have missed applying the option keep images visible during gameplay to the BigBox side-of-things when the feature was added. I will have my team look into it. There are no plans to add support for more than 3 monitors.
  24. Maybe it wants the Number Pad "down arrow" (as in you'd turn the NumLock off) instead of the Number Pad "2". Numpad2 will send "2" (as detected from the number pad). NumpadDown will send the "down arrow" (as detected from the number pad). Try this one.
  25. Oh, the number pad. Change your 2's to "Numpad2" (without the quotes). You should be able to piggyback both of them into one script.
×
×
  • Create New...