NIGHTKILLER05 Posted October 23 Share Posted October 23 Hi guys/gals, I want to know if there’s a way to execute a script before the Teknoparrot emulator runs a game. I have compressed my games so that when I launch one, the compressed file is uncompressed first, and then the emulator starts. I already have a script that does this, but since it includes launching the emulator, I’ve read that I might lose some Big Box functionalities, like the loading screens. Quote Link to comment Share on other sites More sharing options...
skizzosjt Posted October 23 Share Posted October 23 1 hour ago, NIGHTKILLER05 said: I want to know if there’s a way to execute a script before the Teknoparrot emulator runs a game. use the Additional Apps feature to launch a script, or anything, prior to launching the main app (the emulator/game) 1 hour ago, NIGHTKILLER05 said: I already have a script that does this, but since it includes launching the emulator, I’ve read that I might lose some Big Box functionalities, like the loading screens. assuming you wrote the script properly, losing the Startup and Shutdown screens is a bunch of baloney. they work with use of scripts and scripts can used to get Startup/Shutdown Screens working when they otherwise would not work! for ex, with Steam games Quote Link to comment Share on other sites More sharing options...
NIGHTKILLER05 Posted October 24 Author Share Posted October 24 Hi skizzosjt, thank you for your response. I found the "Additional Apps" option in the game's menu. Is there a way to configure an "Additional App" for the entire system, for example, for all Teknoparrot games? I selected all the games and clicked on "Open Bulk Edit Wizard," but I couldn't find the "Additional Apps" option in that menu. Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted October 24 Share Posted October 24 36 minutes ago, NIGHTKILLER05 said: Is there a way to configure an "Additional App" for the entire system, for example, for all Teknoparrot games? I selected all the games and clicked on "Open Bulk Edit Wizard," but I couldn't find the "Additional Apps" option in that menu. There's no built-in way to bulk add additional apps to multiple games. But there is a third-party plugin that can help with that. Quote Link to comment Share on other sites More sharing options...
NIGHTKILLER05 Posted October 25 Author Share Posted October 25 Thank you, I will try that !!! Quote Link to comment Share on other sites More sharing options...
TapeWorm Posted October 27 Share Posted October 27 (edited) Is your script a bat file? And is generic enough to accept different arguments to extract your different games? You can try setting up a new "Emulator" that points to your script file as the executable. You can name it something like "Teknoparrot Via Script". Then associate it to the Teknoparrot platform. You can then change your Teknoparrot games to use your script as the emulator. So, Launchbox will call your script with whatever parameters you need instead of calling the teknoparrot launcher directly. Then your script will launch Teknoparrot as it does now. You'll just need to start Teknoparrot with the /wait command so that your script stays open until Teknoparrot has closed. You can override the command line arguments per game with whatever you need. I did this for PC games in order to support a generic AHK script because only emulators support AHK scripts. You'd just need to make sure that you replace %~dp1 with your Teknoparrot folder in order to have the proper working directory set. Then replace %* with the call to teknoparrotUI.exe and any passed arguments (%1,%2,%3, etc..). You can fit in your extract routine before calling start. @ECHO OFF ::powershell -window minimized -command "" cd %~dp1 start /wait "" %* Edited October 27 by TapeWorm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.