Discussion: Battlefield 2142 / Battlefield 2142 - Technical Support & FAQs - BF2142 + TeamSpeak + TSO In A Click - Anything that gets repetitive on a computer is tedious and we all want shortcuts.
So
Anything that gets repetitive on a computer is tedious and we all want shortcuts.
So how about a shortcut to
Start BF2142 and login automatically, while skipping introduction videos; start TeamSpeak, login with your details to the correct channel and minimize; and if you want to, start TeamSpeak Overlay and enable it
...all with a simple double click or hotkey. Here is MrJengles' Guide:
Making the vbscript file
This is only needed if you want to use TeamSpeak Overlay and rid yourself of the popup message that must be acknowledged before it starts.
Save as SendKeys.vbs (or any other name ending in .vbs) and make sure you know where you are saving to.
Making the batch file
Open notepad again and then copy and paste the code beneath:
Code:
@echo off
cd C:\Program Files\TSO
start tso.exe /AUTO
ping -n 1 -w 100 1.1.1.1 >nul
cd Insert SendKeys address here
Start /w SendKeys.vbs {ENTER}
cd C:\Program Files\Teamspeak2_RC2
start /MIN TeamSpeak.exe "teamspeak://67.19.106.94/nickname=Insert nickname?loginname=Insert login name?password=Insert password?channel="Insert Channel"?"
cd C:\Program Files\Electronic Arts\Battlefield 2142
Start BF2142.exe +menu 1 +fullscreen 1 +eaAccountName Insert AccountName +eaAccountPassword Insert Password +soldierName Insert SoldierName
exit
[Not Required Reading] Explanation of commands:
@echo off = This stops the commands being performed from being printed / shown on the screen when the batch file is run. It is not neccessary.
cd directory = The address where a file on your computer is stored. Do not end this with the file itself.
Start = This command tells a file to be run, it is either used with the entire address for a given file, the file name, and the file type (such as .exe); or as I have used it with cd telling the computer where to look, and then start need only reffer to the file name and file type.
/AUTO = This will simply tell TeamSpeak Overlay to automatically "Enable" when it starts.
ping -n 1 -w 100 1.1.1.1 >nul = This will tell the computer to wait 100 milliseconds before moving on to the next command (all commands are, by the way, performed sequentially, waiting for the previous one to finish before beginning the next). If your computer does not load TeamSpeak Overlay within 100 milliseconds you may need to up that number, although I expect that is unlikely as I can put mine on 1.
/w SendKeys.vbs {ENTER} = By using a vbscript file this will output the enter button as if you have just pressed it, thereby ridding you of the message that always appears when you start TeamSpeak Overlay.
/MIN = After start this will begin a program and minimize it.
Exit = Ends the batch file.
I have given the default location for the TSO, TS and BF2142 directories, if you have them stored anywhere else you will need to edit the address'. If you do not wish to start Teamspeak Overlay then delete the 5 lines of text after @echo off.
Replace Insert SendKeys address here with the address of the file. If you named it anything else then obviously rename the SendKeys.vbs written beneath to the new name.
Next, replace your nickname, login name, password and desired starting channel for teamspeak in the same fashion. This is the same as the entry to the desktop shortcut but with quotation marks around it. It is also explained on another thread http://www.tacticalgamer.com/battlef...-shortcut.html.
Repeat this again for your EA account name, password and desired soldier name for BF2142. Again this is the same code that can be added to a desktop shortcut to get the same effect.
Now, save this wherever you like as whatever you like but then end it with .bat (example BF2142 + TS + TSO.bat). This will save it as a batch program file, not notepad. It can be re-opened and edited by right clicking the file and logically selecting edit.
Finally, right click this file, left click create shortcut and put it on your desktop. To change the image right click the shortcut, left click properties and then change icon and choose anything you want. For the BF2142 logo, use the address %ProgramFiles%\Electronic Arts\Battlefield 2142\BF2142.exe and now you should be good to go. If you want to make a hotkey to start all of these then right click the shortcut, left click properties, click the white box next to Shortcut Key and enter the button combination you would like, click apply and then ok. You should now be able to run the batch file with a hotkey from the desktop.
Skipping Introduction Videos
If you would like to skip those pesky introduction videos which you cannot do so while they are playing, then go to C:\Program Files\Electronic Arts\Battlefield 2142\mods\bf2142\Movies
or wherever else you might have the game installed, and then rename the files by adding something such as (Skip). The main movie is the Intro.bik and that can be skipped while playing if you want to leave that one as it is.
This is put together by looking up how to do things on the internet, so although I may not be able to help, if you have any queries let me know.
This all works for me so try it out and I hope it works for you too!
Now, if you are lucky enough to have extra keys on your keyboard ( example: the My Favorites keys ), you can bind one to start the game and one to kill the game. Good times!
Thanks MrJengles!
Imaging a real super kewl 21st signature here
Situational Awareness Deficiency Syndrome It is a serious disease.
Please Q-Spot! generously
Now, if you are lucky enough to have extra keys on your keyboard ( example: the My Favorites keys ), you can bind one to start the game and one to kill the game. Good times!
Thanks MrJengles!
Hahaha, exactly, I had this setup for a bit and it was helpful lol XD
Originally Posted by Shane
Nice good short cut, if only I could get TSO to work.
I don't know how much help I can be but you just reminded me to make a post about TSO in Vista. So if that's why it won't work then...problem solved. Otherwise post it up and someone might be able to help
Everything works except for the auto-login for 2142.
Sorry to hear that and, though you may well have checked it through already, it is most likely a small error so I'll just point them out first.
Most likely I would say check the capitalisations on, and the spaces after, the +commands; I think both are needed. Copy and paste my code and then changing the underlined bits will make sure of this.
Check the information you replaced for the underlined bits. Note that the account name is the one you write in first along with the password. Soldier name is for whichever soldier under that login you wish to use.
Check the directory, the location of the BF2142.exe
For Vista mine is now C:\Program Files (x86)\Electronic Arts\Battlefield 2142
Furthermore, I have just done a bit of research and I think that if you install BF2142 via the EA Downloader, the BF2142.exe is instead called BF2142pace.exe
If you did then check that in your folder and if it is true, rename the .exe right after the Start command.
Finally if the batch is still no longer working then perhaps try the desktop shortcut method, as these commands for BF2142 are the same. If you right click the desktop shortcut and left click properties, then after target should be written the directory enclosed in quotation marks. By adding any of the +commands after that you should get the same effect. Check this link to Tweak Guides and scroll to the bottom for a full list of +commands. I havn't tested any more out but it is certainly a nice list.
I hope this gets it working but if not, please let me know and post any additional information
Make sure when running TSO that it's the overlay application running or it won't work. For instance, xfire's overlay will contend with TSO and XFire usually wins, same with FRAPS and probably Steam, though I haven't tried that one.
Eight months later I finally received the reports from three peer-reviews on my latest manuscript with the University of Toronto Press. This will be my third book with the same press and the second...
Posted By E-Male (0 Comments)
06-14-2013, 08:50 AM in E-Male
Here is my latest blog about TG and leadership in virtual environments. I approach blogging as a form of performance art. This blog highlights issues such as virtual identity as performance,...
Posted By E-Male (0 Comments)
06-12-2013, 12:27 AM in E-Male
Rage makes a great case for using the VR as a place for training as a sniper. Virtual training rooms for training in virtual warfare.
This post is a great TG read:
Posted By E-Male (1 Comments)
06-10-2013, 07:23 PM in E-Male
Bravo Microsoft, you have now surpassed EA in poor decisions and once and for all seized the crown for the worst 'Reveal' ever. That EA were standing there on the stage with you when you did it was...
Posted By Wicks (16 Comments)
05-22-2013, 01:04 PM in Wicks
Bookmarks