Jump to content
LaunchBox Community Forums

Golden Tee Live 2006 Teknoparrot


Go to solution Solved by JoeViking245,

Recommended Posts

Posted

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!

Posted

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. 

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

  • Like 1
Posted

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}      

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

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

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

Posted
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!  

Batch file.png

Screenshot 2025-12-07 155130.png

Start database (without mouse settings).txt

Posted
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%

 

  • Like 1
Posted
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!!

  • Like 1
Posted
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!!

  • Game On 1
Posted

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

 

  • Thanks 1

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