Jump to content
LaunchBox Community Forums

Your Friendly A.I Overlord

Members
  • Posts

    662
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Your Friendly A.I Overlord

  1. Lol, this actually works! I never knew this. -shutdown closes steam and it's child processes and even does this after cloud syncing! Thank you!
  2. If you use RetroArch for multiple platforms, in LaunchBox > Tools > Manage > Emulators > RetroArch > Associated Platforms tab, you have to specify which core you want to use per platform. There's also a checkbox for enabling or disableling extracting roms per platform.
  3. Right click a game > Edit > Edit Metadata/Media > Startup/Pause tab > check "Override Default Startup Screen Settings" > Click "Customize". There you have a checkbox "Hide all Windows that are not in Exclusive Fullscreen Mode" and I found that that works pretty consistently for games that are using fullscreen exclusive mode. If you check that checkbox with games that are using borderless window fullscreen, you get a black screen when the startup screen duration finishes. But I check that checkbox for all my pc games and I fix the games that are giving trouble with a script. What the script does is wait for the game window to appear and send the startup screen to the bottom of the window stack. When you exit your game the script brings the startup screen back to the front and you get the a working shutdown screen. An example for the game Flower: #NoEnv #SingleInstance #NoTrayIcon SetTitleMatchMode, 3 SendMode Input SetWorkingDir %A_ScriptDir%\..\.. Run, com.epicgames.launcher://apps/Yarrow?action=launch&silent=true SendInput #!b WinWait, Flower ahk_class Flower[ 0] WinSet, Bottom, , LaunchBox Game Startup WinWaitClose WinActivate, LaunchBox Game Startup WinSet, AlwaysOnTop, on, LaunchBox Game Startup SendInput #!b #Include %A_ScriptDir%\CloseTrayApps\CloseEpicGamesLauncher.ahk ExitApp But again, this works best with the checkbox "Hide all Windows that are not in Exclusive Fullscreen Mode" checked. BTW, this topic is about closing Steam and I posted a script to do that. But what I did is make separate scripts for each launcher and #Include the appropriate script into my games' script. That way, if I want to change how I close a launcher I have to edit only one script instead of all the games that use that launcher.
  4. You can redo the bindings. While BigBox or LaunchBox aren't running delete InputBindings.xml from the LaunchBox\Data folder. If after that you start LaunchBox again a new InputBindings.xml will be created. *BTW* Are you using any keymapper software like JoyToKey? That can mess things up also.
  5. Have you switched controllers since doing the mapping in BigBox? This sound like you switched from a Xbox (xinput) to a Playstation (dinput) controller. You can't mix xinput and dinput controllers for navigating BigBox as those controller api's use different button numbers. i.e. On Xbox controllers button A = button 1 but on Playstation controllers the X button = button 2.
  6. I have done this for years with various scrips and approaches. For the longest time I used a script that sends the mouse pointer to the tray area, right click the Steam icon and select Exit from the tray menu. I used this script mainly because it is a completely safe way to close Steam. But the main appeal for me to use LaunchBox and BigBox is to get everything working as seamlessly as possible. So the drawback of this method was that a script opening tray menus wasn't visually appealing. Because of that I switched to force closing Steam (and other launchers as well). I start all my pc games from AutoHotKey scripts which I imported as roms with AutoHotkey.exe as the emulator. I share an example script for the game Rayman Legends: #NoEnv #SingleInstance #NoTrayIcon SetTitleMatchMode, 3 SendMode Input SetWorkingDir %A_ScriptDir%\..\.. Run, steam://rungameid/242550 WinWait, ahk_exe Rayman Legends.exe WinWaitClose Sleep 9000 Process, Close, upc.exe Sleep 3000 Process, Close, steam.exe Sleep 1000 Run, %A_WorkingDir%\Games\Windows\CloseTrayApps\SystemTrayRefresh.exe ExitApp What the script does: - First it sets the LaunchBox folder as the working directory - Then it launches Rayman Legends via a Steam url. - Waits for the game window to open and then close. - Because this game opens Steam and Ubisoft Connect upon launching, after the game window has closed it waits 9 seconds before closing Ubisoft Connect to give it some time to finish cloud syncing. - It waits another 3 seconds and then closes Steam. (Because in my experience cloud syncing on Steam can take a little more time.) - Lastly, force closing tray apps leaves "orphan" tray icons that will disappear when you hoover over them with your mouse. But to automate this process I run an app called SystemTrayRefresh which will remove all "orphan" tray icons. Of course there are many other reasons I start my pc games from scripts. For example to fix the LaunchBox / BigBox startup screens if they don't work properly and to toggle HDR on and off for supported games. *Edit* If you just want to add a script as an additional app to your game (tick "Automatically Run Before Main Application"), this is all you need: WinWait, ahk_exe Rayman Legends.exe ; The games' main executable WinWaitClose Sleep 12000 ; Adjust to how long it takes for cloud syncing to finish, if you use it at all. (1000 = 1 second) Process, Close, steam.exe ; The executable of the launcher ExitApp
  7. In LaunchBox > Tools > Manage > Emulators > RetroArch > Associated Platforms tab, have you selected the Flycast core for your Sammy Atomiswave platform. Check if this platform name exactly matches with how you have named it in LaunchBox. Also make sure you have "Extract ROMs" unchecked.
  8. Ah, that's a start. WinWait, information Sleep 500 SendInput {Space}
  9. That's because when you press the "exit button", LaunchBox / BigBox sends an Escape. Can you answer this for me? Do you know the name of the games' executable?
  10. I have to say, seeing as I don't own this game and it seems a bit obscure, it is pretty difficult making a script without knowing anything about this game. How did you add it to LaunchBox? Via a Steam url or an executable? You say you tried to close the game with escape, but have you also tried to close it with Alt + F4? Sometimes those dialog boxes also accept Space as confirmation.
  11. Well, if you scoured the menu settings and config files for options to disable "Confirm on Exit", beside force closing your game, you could write a script to click O.K. for you.
  12. I would advice against closing Steam games with an exit script. You don't know what a games does upon closing, like writing to it's config- or save files. Force closing PC games might corrupt those. Most Steam / PC games can be closed via it's menu, even with a controller. There might be a setting anyway, somewhere in it's config / .ini files.
  13. Almost always you can disable this in the emulator itself. In the emulators' settings look for a checkbox or setting named something like "Confirm Exit".
  14. You can: SendMode Input ;; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ;; Ensures a consistent starting directory. eProc = explorer.exe ^!e:: Process,Exist,%eProc% If ErrorLevel != 0 Run, taskkill /im %eProc% /f If ErrorLevel = 0 Run, %eProc% Return
  15. That's because you installed RetroArch twice. You once installed it manually, then downloaded it again from within LaunchBox. If you download RetroArch from within LaunchBox, LaunchBox will use that install. To change that, in LaunchBox click the "Tools" menu > Manage > Emulators > RetroArch. Click the "Browse" button and browse to the location of the retroarch.exe you want to use. BTW. Setting up controls in RetroArch can be a bit confusing. In Settings > Input, you set up a more general binding. In the Quick Menu > Controls you can set up system / game specific controls.
  16. BTW. Leave "Hotkey Enable" empty. That way they're enabled by default.
  17. I don't fully know what you mean with "the details of the game". But if you press F1 (or Home in your case) it will take you to the RetroArch "Quick Menu". Scroll down to "Controls". Maybe because you have to tell Dosbox Pure which file inside the zip is the games' executable. I made a post describing how to do that here: More information about Dosbox Pure on it's Github page. (Including running games from zip files.)
  18. You do not need to extract your games from zip to folders. In fact, if you use the Dosbox Pure core it's better if you import your dos games as zips and have "Extract ROMs" unchecked. If your zips contain disc images Dosbox pure will auto-mount the disc images this way. (And you will save some disk space in the process. 😉) Start your game and press F1. > Scroll down to Controls > Port 1 Controls. > Edit your controls. > Go back one level in the menu and go to Manage Remap files. > choose one of the Save options.
  19. I am not very knowledgeable when it comes to PC-98 emulation, but here is some information. Go to the "Mounting/Swaping Disk and HDD/CD mounting at start" section.
  20. https://www.pcgamingwiki.com/wiki/Marvel's_Spider-Man_Remastered#Skip_launcher
  21. Make sure you have supermodel.exe as the emulator. (Not supermodelUI.exe). Also make sure you have "Extract ROM archives before running" unchecked.
  22. I do this for all my Windows game. In LaunchBox I have added AutoHotKey.exe as the emulator. I start all my Windows games from autohotkey scripts. So I added those scripts as the roms to my Windows platform. But for you there might be a simpler solution. You could add the game itself as the emulator. I tested this with Quake II RTX. Create an emulator and add the path to the games' executable. Check "Remove File Extension and Folder Path". In the "Pause Screen" tab I checked all 3 options. This seems to work for Quake II RTX as the Pause Menu shows up. In the "Exit Script" tab add an exit script for your game so you can exit the game from the pause menu. In my case I used: WinClose, ahk_exe q2rtx.exe Right click your game and go to the "Emulation" tab. Tick "Use an emulator to play this game" and select the emulator you just created. In my case Quake II. Go to the "Launching" tab. I have enter a random letter here because you do not really want to launch a rom. This will only launch the chosen emulator as the emulator = the game. I tested this briefly but it seems to work.
  23. Yes, but why do you insist in closing the game via the pause menu. It's much faster (and easier) to close the game with Escape. (Or a controller button combination.)
  24. If you just want to close the game with your controller or Escape you could add a script as an additional app to your game. But if you absolutely want close the game via the LaunchBox pause menu I can only come up with sort of a work around. Right click your game > Startup/Pause > tick "Override Default Pause Screen Settings" > Click "Customize" > Tick "Enable Game Pause Screen". As you said, there is no "Exit Game" section. But you can put an exit script under the "Reset Game" tab. So, this is more of a work around because for exiting your game you have to select "Reset Game" from the pause menu. NOT "Exit Game".
×
×
  • Create New...