How to "play" with several accounts on one PC simultaneously

If u think there is something to do or anything wrong tell us!

How to "play" with several accounts on one PC simultaneously

Postby nkaels » 24.09.2017, 15:10

Let's say you run a server. The server is empty most of the time. You want to do something about it by having a couple of idles on the server. But you don't really have any friends (who are willing to help). However, you have the following:
  • multiple Revive/BF2 accounts with: username, password and CD key
  • a windows computer strong enough to run multiple instances of BF2
  • your BF2 install path (usually C:\Program Files (x86)\EA Games\Battlefield 2\)
  • your BF2 key registry location (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Electronic Arts\EA Games\Battlefield 2\ergc on Win10 64 Bit [scroll to the very bottom to see how to find the location])
  • admin rights on the computer you will be using
You have all the ingredients? Let's get started!

Step 1: Setting up the CD keys
These will be needed in order to run each instance with a different CD key.
  • Press the windows and R keys to open the run window.
  • Type "regedit" and hit enter/click OK.
  • Windows will ask you, whether you want to allow this app to make changes to the system. Click yes.
  • Go to your BF2 key location (by copying the path mentioned above or following the instructions at the very bottom).
  • Check which accounts CD key is currently "installed".
  • Mark the registry entry with the CD key and go to File > Export.
  • Save the file somewhere and ideally name it with the account name the cd key belongs to.
  • Close the registry editor.
  • Open the exported file with a text editor (the windows editor will work just fine).
  • In the line with your CD key (@="x9392AAAA-AAAA-AAAA-AAAA-AAAA") change the CD key to one of a different account so that you get @="x9392BBBB-BBBB-BBBB-BBBB-BBBB" .
  • Go to File > Save as and save the file under the different accounts name.
  • Repeat steps 9 to 11 for every account you want to use (including the account you will be playing with).
What you should have now: A .reg file with the CD key for every account you want to use.
You might want to put these files into your BF2 install folder to have all your BF2 files in one location.

Step 2: Setting up the account in game
  • Open BF2.
  • Click "Manage Accounts" in the account selection menu.
  • Click "Retrieve Account".
  • Enter your account details. Make sure to check "remember password".
  • Repeat these steps for every account you want to use.

Step 3: Setting up the launch script
The script will set the necessary launch flags for BF2 and handle CD key switching.
  • Open a text editor (again, the windows one will do fine).
  • In the first line, paste REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-1.reg" . You might need to change the path and filename.
  • In the second line, paste start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +lowPriority 1 +playerName "account-1" +playerPassword "account-1-password" +joinServer 127.0.0.1 +szx 800 +szy 600 +fullscreen 0 +multi 1 . A quick explation:
    • The first part (start ...) simply starts BF2 in it's install folder. Again, you will need to adjust the path if your copy of BF2 is installed elsewhere.
    • The +restart 1 flag skips the intro.
    • The +lowPriority 1 makes the game run in low priority, meaning that your computers ressources will be made available to other programs if needed.
    • The +playerName "account-1" +playerPassword "account-1-password" flags will log the player in automatically
    • The +joinServer 127.0.0.1 flag will tell BF2 to automatically join the specified server. You will of course need to change the IP to that of your server.
    • The +szx 800 +szy 600 +fullscreen 0 flags make the game in windowed mode with the lowest possible resolution.
    • The +multi 1 flag is necessary to be able to run multiple instances of the game.
  • After these two commands, we need to wait for the first instance to start the game and join the server. Therefore we ping ourself for a set amount of seconds: ping -n 30 -w 1 127.0.0.1>nul .30 seconds work fine for me, but you might need to adjust this (-n [number of seconds]) based on the speed of your computer.
  • You will need these three lines for every instance you want to run. However, you wont need the last line (ping ...) after starting the last instance.
  • When you prepared all instances, go to File > Save as and select "All files" under filetype.
  • Save the file as a .bat file (mine is called start-bf2-idles.bat).
  • Right click the .bat file and under under "Send to" click "Desktop (create shortcut)".
  • Go to your desktop, right click the shortcut for the .bat file and click "properties".
  • Under "Shortcut" click "Advanced".
  • Check "Run as administrator" and click OK.
  • Click OK.
What you should have now: A .bat file that looks similar to this:
Code: Select all
REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-1.reg"
start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +lowPriority 1 +playerName "account-1" +playerPassword "account-1-password" +joinServer 127.0.0.1 +szx 800 +szy 600 +fullscreen 0 +multi 1
ping -n 20 -w 1 127.0.0.1>nul
REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-2.reg"
start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +lowPriority 1 +playerName "account-2" +playerPassword "account-2-password" +joinServer 127.0.0.1 +szx 800 +szy 600 +fullscreen 0 +multi 1
ping -n 20 -w 1 127.0.0.1>nul
REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-3.reg"
start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +lowPriority 1 +playerName "account-3" +playerPassword "account-3-password" +joinServer 127.0.0.1 +szx 800 +szy 600 +fullscreen 0 +multi 1


You can now test the .bat file by right clicking the file and selecting "Run as administrator" or by using the desktop shortcut. All instances should start up one after the other and join the server.

Step 3.1: Trouble Shooting
  • I'm getting an "Invalid CD key" error. Possible reasons/solutions:
    • You did not run the script file as admin. You need to right click the file and select "Run as administrator" for it to work.
    • Something is wrong with your .reg files. Please check them to make sure they contain the correct CD keys.
    • Your timing is off. An instance tried to join the server before the one before was on the server. Increase the number of seconds in the ping ... line.
  • Nothing happens when I run the script. Possible reasons/solutions:
    • Your script file was not saved correctly. Please check steps 6 to 7 under Step 3 and make sure you saved your file as described.
    • Your paths are incorrect. Please make sure both the paths of your .reg files and the game folder path for BF2 are correct.

Step 4 option 1: Setting up to still be able to play while the idles are running via desktop shortcut
  • If you don't have a desktop shortcut for BF2, create one:
    • Go to your game folder.
    • Right click on "BF2.exe" and under "Send to" click "Desktop (create shortcut)".
  • Go to your desktop.
  • Right click on the BF2 shortcut and click "properties".
  • Under "Shortcut" look for the "target" field.
  • Add the following after the path that already in the field: +restart 1 +multi 1 +playerName "account-you-play-with" +playerPassword "account-you-play-with-password" . My complete target looks like this: "C:\Program Files (x86)\EA Games\Battlefield 2\BF2.exe" +restart 1 +multi 1 +playerName "account-you-play-with" +playerPassword "account-you-play-with-password" .
  • Click OK.
  • Before you play, you will need to change the CD key to the one of the account you play with. You can do so simply by double clicking the .reg file for that account and clicking Yes, Yes, OK.

Step 4 option 2: Setting up to still be able to play while the idles are running via another script
  • Open a text editor.
  • In the first line, paste REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-you-play-with.reg" . You might need to change the path and filename.
  • In the second line, paste start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +playerName "account-you-play-with" +playerPassword "account-you-play-with-password" +multi 1 .
  • Go to File > Save as and select "All files" under filetype.
  • Save the file as a .bat file (mine is called play-bf2.bat).
  • Right click the .bat file and under under "Send to" click "Desktop (create shortcut)".
  • Go to your desktop, right click the shortcut for the .bat file and click "properties".
  • Under "Shortcut" click "Advanced".
  • Check "Run as administrator" and click OK.
  • Click OK.
What you should have now: A .bat file that contians the following:
Code: Select all
REG import "C:\Program Files (x86)\EA Games\Battlefield 2\account-you-play-with.reg"
start /b /d "C:\Program Files (x86)\EA Games\Battlefield 2\" BF2.exe +restart 1 +playerName "account-you-play-with" +playerPassword "account-you-play-with-password" +multi 1


Questions and/or suggestions for improvments are very much welcome!

Sources:

Keywords:
Battlefield 2 BF2 play game online several multiple two accounts instances one computer pc at the same time at once simultanously CD Keys server idle ideling idles admin
Last edited by nkaels on 03.10.2017, 13:56, edited 2 times in total.
nkaels
Clan-Member
 
Posts: 3
Joined: 15.09.2017, 14:41

Re: How to "play" with several accounts on one PC simultanou

Postby Akane » 26.09.2017, 23:58

Damn man, that's a very nice and detailed guide man. I definitely think you should make more guides like this. :D
I eat bad bitches for breakfast ;)
User avatar
Akane
Clan-Member
 
Posts: 9
Joined: 14.09.2017, 20:59
Location: Sweden

Re: How to "play" with several accounts on one PC simultaneo

Postby Torben-Toastbrot » 04.10.2017, 16:40

nkaels wrote: But you don't really have any friends (who are willing to help).

close call :geek:
Image MAH REGG9R!
Torben-Toastbrot
Clan-Member
 
Posts: 34
Joined: 26.01.2011, 19:35

Re: How to "play" with several accounts on one PC simultaneo

Postby Torben-Toastbrot » 05.10.2017, 10:14

yo,
when i run the script, it doesn't log in my accounts.
passwords are saved. suggestions? :?: :?: :(


nvm i am retarded
Image MAH REGG9R!
Torben-Toastbrot
Clan-Member
 
Posts: 34
Joined: 26.01.2011, 19:35

Re: How to "play" with several accounts on one PC simultaneo

Postby Torben-Toastbrot » 05.10.2017, 22:48

Thank you for the guide :) this is so important, i really appreciate your contribution :!: :!: :!: :!: :mrgreen: :mrgreen: :mrgreen: :mrgreen:
Image MAH REGG9R!
Torben-Toastbrot
Clan-Member
 
Posts: 34
Joined: 26.01.2011, 19:35

Re: How to "play" with several accounts on one PC simultaneo

Postby boz2k1 » 11.05.2018, 01:52

Just what i have been looking for Thanks,

However, using BF2Hub it seems all the CD-Keys end up as one as you connect.

Is there a work around by any chance, and again great bit of work !!

Thanks boz
boz2k1
 
Posts: 1
Joined: 11.05.2018, 01:47


Return to Something to say!

Who is online

Users browsing this forum: No registered users and 1 guest

cron