HI IVI, if you're still looking to bulk add additional apps. try this powershell script, you'll need to edit it to suit your needs... its not fantastic but kind of does the job you want. I think this specific one adds joytokey. all you will need to do is paste the entire contents of the output file into a copied version of the xml database file:
I ended up using this code to run nomousey for each game on demul. Ive not used it lately though and I'm not sure if its gonna work with the current version of launchbox. So use it as more of a guide and I guess knowledge that id can or could be done.
WARNING, this could mess up your xml file completely and lauchbox could refuse to start. so, backup the xml first so that you can replace your edited xml if it screws up lauchbox.
you should paste the output at the bottom of the platform xml file just before </Launchbox>
$filein = read-host -Prompt 'enter the full path of the input xml file'
if (test-path -Path $filein -pathtype leaf) {
$fileout= read-host -Prompt 'enter the full path of the output file'
$input = Get-Content $filein
$array = @()
$input |ForEach-Object {
$writeobj = $false
$obj = New-Object System.Object
if ($_ -match '<ID>') {
$ID = ($_ -split '<ID>' -split '</ID')[1]
echo "<AdditionalApplication>"|out-file -append $fileout
echo "<GameID>$ID</GameID>"|out-file -append $fileout
echo "<ApplicationPath>..\JoyToKey\BatchFiles\Joy_to_key_Dreamcast.bat</ApplicationPath>"|out-file -append $fileout
echo "<AutoRunAfter>false</AutoRunAfter>"|out-file -append $fileout
echo "<AutoRunBefore>true</AutoRunBefore>"|out-file -append $fileout
echo "<CommandLine />"|out-file -append $fileout
echo "<Name>JoyToKey</Name>"|out-file -append $fileout
echo "<UseDosBox>false</UseDosBox>"|out-file -append $fileout
echo "<UseEmulator>false</UseEmulator>"|out-file -append $fileout
echo "<WaitForExit>false</WaitForExit>"|out-file -append $fileout
echo "</AdditionalApplication>"|out-file -append $fileout
echo "<AdditionalApplication>"|out-file -append $fileout
echo "<GameID>$ID</GameID>"|out-file -append $fileout
echo "<ApplicationPath>..\JoyToKey\BatchFiles\JoyToKeyKill.bat</ApplicationPath>"|out-file -append $fileout
echo "<AutoRunAfter>true</AutoRunAfter>"|out-file -append $fileout
echo "<AutoRunBefore>false</AutoRunBefore>"|out-file -append $fileout
echo "<CommandLine />"|out-file -append $fileout
echo "<Name>Kill_JoyToKey</Name>"|out-file -append $fileout
echo "<UseDosBox>false</UseDosBox>"|out-file -append $fileout
echo "<UseEmulator>false</UseEmulator>"|out-file -append $fileout
echo "<WaitForExit>false</WaitForExit>"|out-file -append $fileout
echo "</AdditionalApplication>"|out-file -append $fileout
}
}
}
if (-NOT (test-path -Path $filein -PathType leaf)) {
write-host "the File"$filein" Does Not Exist, Please Try Again"
}