![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| Passing mode or profile via command line? |
|
|
#1 (permalink) |
|
Junky
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
![]() |
Hi all, is this software one of the greatest free add-ons ever? Thanks so much for this!
Anywho, I see that WBK can start TB from within TBTk to test the profile as it is being edited, so he must be passing the profile name to TB somehow, but I can't find any references here about it. In fact, I can't find any references to any command line switches anywhere, have I missed it? I'd like to start up the server side TB in server mode off the bat, and the client side with the appropriate profile with the program launcher I'm using to start up the Wingman team software, TrackIR software, TB, and the game. Right now TB is holding things up since I have to select all the states and profiles manually every time. Thanks much! Tommy |
|
|
|
|
|
#2 (permalink) |
|
Dealer
|
I think Zorlac is working on some of what you ask. Have you tried FS Autostart? I start my TrackIR via command line that way. And Z said something about being able to fire up TB either in "last mode used" or by editing an .ini file in the newest version that's coming up.
Correct me if I'm wrong Z, or WBK.
__________________
|
|
|
|
|
|
#3 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,913
![]() |
Local Mode:
"D:\My Documents\TouchBuddy-1.3.0.2\TouchBuddy.exe" -m local -c "d:\My Documents\TouchBuddy-1.3.0.4\profiles\simple-layout.tbc" Client Mode: "D:\My Documents\TouchBuddy-1.3.0.2\TouchBuddy.exe" -m client -c "d:\My Documents\TouchBuddy-1.3.0.4\profiles\simple-layout.tbc" Server Mode: "D:\My Documents\TouchBuddy-1.3.0.2\TouchBuddy.exe" -m server -c "d:\My Documents\TouchBuddy-1.3.0.4\profiles\simple-layout.tbc" I can't remember much either, but here's what I had commented in my code: '------------ COMMAND LINE PARAMETERS ------------------------------------- ' -m [local|client|server] -c <*.tbc> ' "-m local" and "-m client" requires the -c option as well ' server mode only requires the "-m server" option (no config required) ' the -c option can be relative to where TouchBuddy is located ' 'PARM: -c "c:\touchbuddy diretory\profiles\simple-layout.tbc" ' "D:\My Documents\TouchBuddy-0.6.2 BETA\TouchBuddy.exe" -m local -c "D:\My Documents\TouchBuddy-0.6.2 BETA\profiles\LockOn - FC\Lomac-A10-wbk.tbc" '------------------------------------------------------------------------- PS: The next 1.3 version of TBTk will have an option on the Tools menu to create desktop shortcuts to automatically load specific profiles in TB.
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
|
|
#5 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,913
![]() |
Glad you like it.
I have also added a button on the Window tab that will let you just click the monitor that you want your profile to appear on. So, you don't have to enter the x/y postion manually. ![]()
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
|
|
#6 (permalink) |
|
Junky
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
![]() |
No I've heard of it but haven't used it. Does it do anything else that any other freeware launcher doesn't do, besides the services and process shutdown and restart? I have a pretty powerful computer, so that feature was not a selling point for me.
|
|
|
|
|
|
#7 (permalink) | |
|
Junky
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
![]() |
Quote:
Just out of curiosity, how do you pass the profile in the current version of TBTk to TB? |
|
|
|
|
|
|
#8 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,913
![]() |
If you are a programmer, do you know the 'shell' command? It's pretty much like the Run item in the Start menu. If you type or paste a command like the ones I posted above into the Start/Run window, it should load your profile into TouchBuddy.
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
|
|
#10 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: On your Six!
Posts: 1,913
![]() |
I use FSAutoStart too.... sometimes. It's an awesome program. Once you create a profile, it's a good idea to back it up, because it can take a long time to figure out all of the Service you should/can stop and the ones you should not stop.
But the profiles are buried and hard to find. They are kept here: C:\Documents and Settings\your login name\Application Data\FSAutoStart
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|