Jump to content
LaunchBox Community Forums

latin625

Members
  • Posts

    631
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

latin625's Achievements

64-Bit Supercomputer

64-Bit Supercomputer (6/7)

57

Reputation

  1. -Not sure if it will help anyone in the future. I just removed the PAUSE command from the end of the .bat script Before: @echo off "H:\LaunchBox\Emulators\HypseusSinge\hypseus.exe" lair vldp -framefile "H:\LaunchBox\Emulators\HypseusSinge\vldp\lair\lair.txt" -alwaysontop -fastboot -fullscreen -volume_vldp 50 -vulkan -x 1920 -y 1080 -nolog PAUSE After: @echo off "H:\LaunchBox\Emulators\HypseusSinge\hypseus.exe" lair vldp -framefile "H:\LaunchBox\Emulators\HypseusSinge\vldp\lair\lair.txt" -alwaysontop -fastboot -fullscreen -volume_vldp 50 -vulkan -x 1920 -y 1080 -nolog
  2. Thanks. I’m also setting up the AtomisWave platform in LEDBlinky, but I don’t have default settings to apply to the platform (light up the same for all games). Does anyone have a better or faster way to add all the buttons in LEDBlinky for this platform and its games?
  3. Thanks! Just did the update to waspi. Do I need to do anything else or undo anything?
  4. undid my "fix" and when with your first one. edit your mame.ini file, find 'sound auto' (around line 329'ish) and change the auto to xaudio2, save and retry. (you need to have DX9 runtimes installed) Works like a charm! Many Thanks!!!!!!!!!
  5. Under MANAGE SOUNDS DEVICES, I did this and it worked for me... somehow! Excuse my clumsy workaround, but it worked and I figured I share. Maybe someone can clean these up. 1. Disabled all the other DEVICES, except REALTEK 2. Launched MAME 278 3. Closed MAME 278 4. Enabled all of them again 5. The MAME 278 started using the default in AUDIO MIXER - REALTEK The problem for me what that I would have to launch each game, then TAB, then AUDIO MIXER, then choose REALTEK. No more. Hope this helps anyone with the same issue.
    Any chance of getting video snaps and backgrounds for Teknoparrot?
  6. Just an Update... That Shortcut in the script is critical. It will not work (at least for me) without it. Make a shortcut to the XArcade Xinput.exe, then add that location to the script. Stiil very cool to see this working, just had to remember that trick. Also steamapps on your windows drive is where all the games are downloaded to from steam, in case you need to update the location of the game. GAME ON! STEAM CODE UPDATE FOR ME: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance, Force #Persistent Run "F:\Tools\xarcade-xinput\XArcade XInput.exe - Shortcut" --skip-ui Sleep, 5000 Run, F:\SteamLibrary\steamapps\common\StreetFighterV\StreetFighterV\Binaries\Win64\StreetFighterV.exe Sleep, 1000 SetTimer, ProcessCheckTimer, 2000 Return ProcessCheckTimer: Process, Exist, StreetFighterV.exe pid1 := ErrorLevel If (!pid1) { Process, Close, XArcade XInput.exe ExitApp } Return
  7. All credit to isometrixk I updated my code from another post and now all my Mame games launch the correct recoil (semi vs automatic) type of gun that I want to fire during gameplay. A couple of things: Every game in LaunchBox must be edited to run these scripts individually. There is no workaround. When switching gun types, there is a 5 second delay after the previous executables are killed to allow time to fully close One time, only one of my Sinden guns switched. This makes me think the 5 second delay wasn't long enough. Besides that, it works great with LaunchBox with Mame and I'm going to try a few more emulators later. Prerequisites You created separate folders for each of your guns containing the Lightgun.exe. The folder path to your automatic Lightgun.exe setup must contain "auto". It doesn't matter where, it just matters "auto" is in the file path. C:\LightGuns\auto\..\Lightgun.exe Every Lightgun.exe is configured to "Start Application in System Tray" (bottom-right corner of Configuration tab) Save the two configurations below as Batch (.bat) files - edit each file to CD into your correct Lightgun.exe folder paths, I left my paths as examples. Obviously save them so you remember which is for automatic recoil and semi recoil. LaunchBox Add Additional Apps to run for each game by selecting a game, Edit > Metadata > Additional Apps Click Add Application Application Name: Type any name, doesn't matter Application Path: Browse to the appropriate batch file to run auto or semi recoil Check "Automatically Run Before Main Application" - runs the batch file before the Mame game executes Check "Wait for Exit" - waits for the batch file to complete before launching the Mame game That's it! Do this for each of your games, there is no easy way around this in LaunchBox. Batch Scripts Automatic --- IMPORTANT --- notice the "auto" keyword in my filepaths for this! @echo off setlocal enableextensions enabledelayedexpansion set "process=Lightgun.exe" for /f "usebackq skip=1 delims=" %%p in (`wmic process where "name='%process%'" get executablepath 2^>nul`) do ( if not defined exePath ( set "exePath=%%p" ) ) if not "%exePath%" == "" ( if not x%exePath:auto=%==x%exePath% ( REM do nothing... ) ELSE ( TASKKILL /F /IM Lightgun.exe TIMEOUT 5 /NOBREAK CD "C:\LightGuns\sindengun1auto\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe CD "C:\LightGuns\sindengun2auto\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe ) )^ else ( CD "C:\LightGuns\sindengun1auto\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe CD "C:\LightGuns\sindengun2auto\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe ) endlocal For Semi Auto setup @echo off setlocal enableextensions enabledelayedexpansion set "process=Lightgun.exe" for /f "usebackq skip=1 delims=" %%p in (`wmic process where "name='%process%'" get executablepath 2^>nul`) do ( if not defined exePath ( set "exePath=%%p" ) ) if not "%exePath%" == "" ( if not x%exePath:auto=%==x%exePath% ( TASKKILL /F /IM Lightgun.exe TIMEOUT 5 /NOBREAK CD "C:\LightGuns\sindengun1\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe CD "C:\LightGuns\sindengun2\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe ) ELSE ( REM do thing... ) )^ else ( CD "C:\LightGuns\sindengun1\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe CD "C:\LightGuns\sindengun2\SindenLightgunWindowsSoftwareV1.08\SindenLightgun\" START Lightgun.exe )
  8. @axman21 You can add an extension to it by renaming it and adding .exe on the end. It will still run with Teknoparrot alone or the through LB with no problem. Use the same file you use to run it in TP, just add .exe on the end.
  9. @The Hobgoblin That is the exe file. You can add an extension to it by renaming it and adding .exe on the end. It will still run with Teknoparrot alone or the through LB with no problem. Copy and pate the Jenniferpatched if you are worried about it not working. Save that Jenniferpatched as a Copy, then rename the original one.
  10. No joy with the suggestion. i might have to live with it being a one player game for now. Everything looks right but doesnt work as expected. Ill keep tinkering ans seeing what is what. Thanks for the help !!!! my latest attempt: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance Force l:: while (getkeystate("l","p")) { send, {Numpad2 down} sleep 100 } send {Numpad2 up} Return
  11. Still nothing. Just wont register. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. a:: while (getkeystate("a","p")) { send, {Numpad2 down} sleep 100 } send {Numpad2 up} Return
  12. No joy. Gonna tinker a bit with it. Cant get the Q key to send numpad2 . I am running it separate from the other because I am not sure how to add it to the original script you sent me. It sends it on notepad and I see the number 2, but in the game nothing. I have to press the physical numpad 2 key to give player two gas. q:: while (getkeystate("q","p")) { send, {2 down} sleep 100 } send {2 up} Return
  13. What is the P for in the line below? Is it a pause command? while (getkeystate("space","p"))
×
×
  • Create New...