Jabb3rJaw Posted Sunday at 12:19 AM Posted Sunday at 12:19 AM Has anyone gotten this to run and with a bezel? I can get it to launch using the pre application to start the server but need to known how to close the server. I’m guessing there needs to be key stroke sent on exit? Also no idea how to get a bezel to load. I downloaded Arccabview but can’t figure out how to get the bezel to appear. There is no game exe. Any help would be appreciated! Quote
Jayinem Posted Sunday at 12:34 AM Posted Sunday at 12:34 AM Don't know the answer to your questions unfortunately but just curious does that game require a subscription to Teknoparrot? I tried Golden Tee Fore! in MAME but can't get the trackball emulated with my controller correctly. Quote
Jabb3rJaw Posted Sunday at 12:52 AM Author Posted Sunday at 12:52 AM 18 minutes ago, Jayinem said: Don't know the answer to your questions unfortunately but just curious does that game require a subscription to Teknoparrot? I tried Golden Tee Fore! in MAME but can't get the trackball emulated with my controller correctly. 2006 doesn’t need a subscription the rest do though. 1 Quote
Jabb3rJaw Posted Sunday at 02:26 PM Author Posted Sunday at 02:26 PM I was able to just run it full screen for now by adjusting resolution . Would anyone know how to send a keypress on exit? I put send {f12} I think lol ChatGPT gave me this script SendF12() { Sleep, 500 Send, {F12} Quote
JoeViking245 Posted Sunday at 02:55 PM Posted Sunday at 02:55 PM 19 minutes ago, Jabb3rJaw said: Would anyone know how to send a keypress on exit? The issue with TeknoParrot is it's a launcher for its games. What happens is, you have LaunchBox start TP with the necessary parameters to start a game. TP launches, then starts "the game", then closes itself (while the game continues to play). LaunchBox sees TP closing as "the game exiting". So it (LaunchBox), can't tell when the actual "game" has exited. If you're referring to "when LaunchBox exits", that a different scenario. Quote
Jabb3rJaw Posted Sunday at 03:05 PM Author Posted Sunday at 03:05 PM 9 minutes ago, JoeViking245 said: The issue with TeknoParrot is it's a launcher for its games. What happens is, you have LaunchBox start TP with the necessary parameters to start a game. TP launches, then starts "the game", then closes itself (while the game continues to play). LaunchBox sees TP closing as "the game exiting". So it (LaunchBox), can't tell when the actual "game" has exited. If you're referring to "when LaunchBox exits", that a different scenario. Ok thanks Joe. Ya I was referring to when Teknoparrot closes. To run Golden Tee I need to run a batch file first to start the online database or the game won’t run and this batch file closes with a key press so I would need Teknoparrot to close then a key press sent. Maybe I’ll see if I can get the batch file to run minimized then I will be hitting keys playing or scrolling after that anyway I’m sure. Quote
JoeViking245 Posted Sunday at 04:21 PM Posted Sunday at 04:21 PM 19 minutes ago, Jabb3rJaw said: Ok thanks Joe. Ya I was referring to when Teknoparrot closes. To run Golden Tee I need to run a batch file first to start the online database or the game won’t run and this batch file closes with a key press so I would need Teknoparrot to close then a key press sent. Maybe I’ll see if I can get the batch file to run minimized then I will be hitting keys playing or scrolling after that anyway I’m sure. I assume you have this batch file set as an Additional App for Golden Tee and checked to Run Before Main Application. With just a little bit of work/investigation/discovery, you could make this work automatically. Steps (generically written) Find out what the games window actually is Typically, it's linked to an exe. But you indicated this game doesn't have one. In that case, you need to find what the windows Title is. Convert what your batch file does into an AutoHotkey script This [new] script will Start the online database Wait around for the games window to exist (a.k.a. The actual game is running) Wait around for the games window to not exist anymore (a.k.a. The actual game has exited) Disconnect/close the database (whatever sending F12 does) Set this script as an Additional App for Golden Tee and checked to Run Before Main Application Remove the batch file as an Additional App Alternately, it looks like you can just add the database to the game directly in TP by adding the Postgres info (as seen in this pdf file). I personally don't run TP, so don't know how all that works. Quote
Jabb3rJaw Posted Sunday at 09:12 PM Author Posted Sunday at 09:12 PM 4 hours ago, JoeViking245 said: I assume you have this batch file set as an Additional App for Golden Tee and checked to Run Before Main Application. With just a little bit of work/investigation/discovery, you could make this work automatically. Steps (generically written) Find out what the games window actually is Typically, it's linked to an exe. But you indicated this game doesn't have one. In that case, you need to find what the windows Title is. Convert what your batch file does into an AutoHotkey script This [new] script will Start the online database Wait around for the games window to exist (a.k.a. The actual game is running) Wait around for the games window to not exist anymore (a.k.a. The actual game has exited) Disconnect/close the database (whatever sending F12 does) Set this script as an Additional App for Golden Tee and checked to Run Before Main Application Remove the batch file as an Additional App Alternately, it looks like you can just add the database to the game directly in TP by adding the Postgres info (as seen in this pdf file). I personally don't run TP, so don't know how all that works. You are correct. I have it as an additional app. The last way is the older way i believe and a batch file was made to avoid all those steps. I think I found the window titles for the batch file and the game file below which is Teknobudgie. The game itself is a bin file. There is also the Teknoparrot window running as well. I'm not very good with AHK any suggestions on how to do what you said above in the batch file I attached with the windows names? Not sure how much work this entails so if its a lot no big deal. Thanks again! Start database (without mouse settings).txt Quote
JoeViking245 Posted Monday at 01:49 PM Posted Monday at 01:49 PM 16 hours ago, Jabb3rJaw said: I think I found the window titles for the batch file and the game file below which is Teknobudgie. The game itself is a bin file. There is also the Teknoparrot window running as well. I'm not very good with AHK any suggestions on how to do what you said above Give this a try. In the same folder your batch file is in, create a new text file. name it whatever you want. e.g. MyGTLscript.txt Copy and paste the code below into the file Save and close Change the file extension to .ahk e.g. MyGTLscript.ahk Make sure it doesn't save it as MyGTLscript.ahk.txt In LaunchBox, add an additional app to the game For the Application Path: Browse to your \LaunchBox\ThirdParty\AutoHotkey folder and select AutoHotkey.exe i.e. D:\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe For the Application Command-Line Parameters: type, "inside quotes", the full path to your saved .ahk file [from above] i.e. "D:\Games\Golden Tee Live 2006\MyGTLscript.ahk" Check the box Automatically Run Before Main Application Click OK to save and close Remove the Additional App you had using the batch file Cross your fingers and play the game SetWorkingDir %A_ScriptDir% #SingleInstance Force appPath = PostgreSQL\8.3\bin\pg_ctl.exe startCmd = start -D PostgreSQL\8.3\data -s stopCmd = stop -D PostgreSQL\8.3\data -m smart gameWindowTitle = TeknoBudgie ;start database Run, "%A_ScriptDir%\%appPath%" %startCmd% ;wait until gameWindowTitle exists WinWait, %gameWindowTitle% ;waits until gameWindowTitle does NOT exist anymore while winExist(gameWindowTitle) sleep 700 ;stop the database Run, "%A_ScriptDir%\%appPath%" %stopCmd% 1 Quote
Jabb3rJaw Posted Monday at 04:14 PM Author Posted Monday at 04:14 PM 2 hours ago, JoeViking245 said: Give this a try. In the same folder your batch file is in, create a new text file. name it whatever you want. e.g. MyGTLscript.txt Copy and paste the code below into the file Save and close Change the file extension to .ahk e.g. MyGTLscript.ahk Make sure it doesn't save it as MyGTLscript.ahk.txt In LaunchBox, add an additional app to the game For the Application Path: Browse to your \LaunchBox\ThirdParty\AutoHotkey folder and select AutoHotkey.exe i.e. D:\LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe For the Application Command-Line Parameters: type, "inside quotes", the full path to your saved .ahk file [from above] i.e. "D:\Games\Golden Tee Live 2006\MyGTLscript.ahk" Check the box Automatically Run Before Main Application Click OK to save and close Remove the Additional App you had using the batch file Cross your fingers and play the game SetWorkingDir %A_ScriptDir% #SingleInstance Force appPath = PostgreSQL\8.3\bin\pg_ctl.exe startCmd = start -D PostgreSQL\8.3\data -s stopCmd = stop -D PostgreSQL\8.3\data -m smart gameWindowTitle = TeknoBudgie ;start database Run, "%A_ScriptDir%\%appPath%" %startCmd% ;wait until gameWindowTitle exists WinWait, %gameWindowTitle% ;waits until gameWindowTitle does NOT exist anymore while winExist(gameWindowTitle) sleep 700 ;stop the database Run, "%A_ScriptDir%\%appPath%" %stopCmd% I can’t wait to get home from work to try this!! Can’t tell you how much I appreciate your help!!! Thanks again!! 1 Quote
Solution JoeViking245 Posted Monday at 04:16 PM Solution Posted Monday at 04:16 PM 1 minute ago, Jabb3rJaw said: I can’t wait to get home from work to try this!! Can’t tell you how much I appreciate your help!!! Thanks again!! You can thank me IF it actually works. 1 Quote
Jabb3rJaw Posted Monday at 09:31 PM Author Posted Monday at 09:31 PM 5 hours ago, JoeViking245 said: You can thank me IF it actually works. This works great!!!!! Exactly what I was looking for. I'm with you on most Teknoparrot games but this one is actually fun and better than the Mame version. Thanks again this will make playing it on my cab so much nicer!!! Crazy you know how to do this stuff lol!!!! I really appreciate your help!! 1 Quote
Jabb3rJaw Posted Monday at 09:38 PM Author Posted Monday at 09:38 PM Just curious.. I see the game window title part but looking at this I have know idea how its calling the batch file to run and close? What part is doing that?? Quote
JoeViking245 Posted Monday at 10:32 PM Posted Monday at 10:32 PM It's not 'calling the batch file'. It executing the commands to do the same thing the batch file did. But using AutoHotkey (AHK) verbiage. The lines in the script that start with a semicolon are comments. e.g. ;start database Words between percent symbols are variables in which you replace them with what they are equal to, noted earlier in the script. e.g. %appPath% ;start database Run, "%A_ScriptDir%\%appPath%" %startCmd% This [comment] says "the next line in the code will start the database". "Run" says to execute the following command. Now replace the percent symbols and what's in between them with what they are = to and leave the rest as is. "%A_ScriptDir%\%appPath%" %startCmd% Each part broken down: " (note, this is a literal quote that needs to be there) %A_ScriptDir% this is AHK lingo for the full path to where the script is located e.g. D:\Games\Golden Tee Live 2006 \ PostgreSQL\8.3\bin\pg_ctl.exe " {space} start -D PostgreSQL\8.3\data -s Put these all together and you get Run, "D:\Games\Golden Tee Live 2006\PostgreSQL\8.3\bin\pg_ctl.exe" start -D PostgreSQL\8.3\data -s The last line in the code is what is stopping (closing) the database 1 Quote
rexryan Posted Monday at 11:24 PM Posted Monday at 11:24 PM I'm just catching up but there is a whole pdf on setting up Golden tee for Teknoparrot so all you have to do is use the profile for importing. Quote
Jabb3rJaw Posted Monday at 11:36 PM Author Posted Monday at 11:36 PM I tried that but wasn’t able to get it working. The batch file worked perfect and now it closes with no problems too! 1 Quote
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.