Home UserCP Memberlist Register Calendar FAQ
Home

Go Back   Official TouchBuddy Forum > Support > Technical Q&A
Register FAQDonate Members List Calendar Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Display Modes
Passing mode or profile via command line?
Old 12-17-2006, 05:59 PM   #1 (permalink)
Junky
 
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
RacerTippy is on a distinguished road
Default Passing mode or profile via command line?

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
RacerTippy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 06:46 PM   #2 (permalink)
 
ruggbutt's Avatar
Dealer
 
Join Date: May 2006
Posts: 705
ruggbutt is on a distinguished road
Send a message via ICQ to ruggbutt Send a message via MSN to ruggbutt
Default

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.
__________________
ruggbutt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 08:40 PM   #3 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,913
Wild.Bill.Kelso is on a distinguished road
Default

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 10:27 PM   #4 (permalink)
 
ruggbutt's Avatar
Dealer
 
Join Date: May 2006
Posts: 705
ruggbutt is on a distinguished road
Send a message via ICQ to ruggbutt Send a message via MSN to ruggbutt
Default

Quote:
Originally Posted by Wild.Bill.Kelso View Post
Local Mode:
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.
Fantastic! Happy happy joy joy!!!!!!
__________________
ruggbutt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 10:35 PM   #5 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,913
Wild.Bill.Kelso is on a distinguished road
Default

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 01:01 AM   #6 (permalink)
Junky
 
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
RacerTippy is on a distinguished road
Default

Quote:
Originally Posted by ruggbutt View Post
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.
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.
RacerTippy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 01:04 AM   #7 (permalink)
Junky
 
Join Date: Dec 2006
Location: Orlando, Fl
Posts: 44
RacerTippy is on a distinguished road
Default

Quote:
Originally Posted by Wild.Bill.Kelso View Post
Local Mode:
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.
WOW, that about covers it then. Thanks!
Just out of curiosity, how do you pass the profile in the current version of TBTk to TB?
RacerTippy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 01:08 AM   #8 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,913
Wild.Bill.Kelso is on a distinguished road
Default

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 02:02 AM   #9 (permalink)
 
ruggbutt's Avatar
Dealer
 
Join Date: May 2006
Posts: 705
ruggbutt is on a distinguished road
Send a message via ICQ to ruggbutt Send a message via MSN to ruggbutt
Default

Quote:
Originally Posted by RacerTippy View Post
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.
You can use Autostart to start any other program along with your sim program. I have mine to autostart TrackIR. Once the feature is introduced to launch TB in my preferred mode I'll add it to my autostart profile.
__________________
ruggbutt is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-19-2006, 01:38 PM   #10 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,913
Wild.Bill.Kelso is on a distinguished road
Default

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


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:01 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top