Jump to content
LaunchBox Community Forums

possible? adding additional apps to multiple roms at once


d8thstar

Recommended Posts

hey guys,

is this possible?  if not, i'll open a feature request.

as i'm setting up my sinden lightguins, i've had to create some generic bat files to do a few things before a lightgun game starts and another bat to close some things out when the game is exited.  but i am having to add "additional apps" to each and every game and this is pretty time  time consuming.  I have a playlist with 217 games in it and i'm having to do this to each and every one.  I can't do it at the emulator level because i only want these bats to run for lightgun games.

if i select all the games in my lightgun list, i can bulk edit a bunch of stuff but it would be great to be able to bulk add additional apps.

any thoiughts?

Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...

is there anyway to pass the actual value of the "%romfile%" launchbox variable to an AHK script  via the Additional Apps feature?  I'm trying to use an AHK script to launch DemulShooter and my 2 lightgun processes but need to pass the "rom name" into  my ahk script for DemulShooter but I get the literal value of %romfile% instead of the rom name.  Any help would be greatly appreciated.

 

image.thumb.png.d70b922de6c74966f4adb70a463a6117.png

 

#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.

Process, Exist, Lightgun.exe
If (!ErrorLevel = 0) {
Process,Close,Lightgun.exe
sleep, 1000
}

for n, param in A_Args  ; For each parameter:
{
    MsgBox Parameter number %n% is %param%.
}

Run, C:\emulators\SindenLightGun\SindenGunBlack\SindenLightgunWindowsSoftware\SindenLightgun\Lightgun.exe
Sleep, 500
Run, C:\emulators\SindenLightGun\SindenGunBlue\SindenLightgunWindowsSoftware\SindenLightgun\Lightgun.exe
Sleep, 500
Run C:\emulators\DemulShooter\DemulShooter.exe -target=%1% -rom=%2%
Sleep, 5000
Send, !b

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...