Results 1 to 5 of 5
  1. #1
    zahirpro2's Avatar
    Join Date
    Jul 2012
    Gender
    male
    Posts
    30
    Reputation
    10
    Thanks
    49
    My Mood
    Aggressive

    Smile Battlefield Heroes Portable/launcher

    This is a Really simple launcher it opens IE types in your login runs the game Closes IE. it also Makes the game Portable

    Launcher Not Tested on 32-bit i need some feedback.
    [WARNING] This Program modifies the registry:
    HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield Heroes Language
    HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield Heroes "Installation Dir"
    HKLM\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield Heroes "Installation Dir"
    HKLM\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield Heroes Language


    Updated the code
    Fixed: closes only the internet explorer's it opened
    Changed: Neatened the code up some

    Copy The code to notepad and save it as Launcher.bat
    Then copy/move Launcher.bat to your BFHeroes.exe
    now run Launcher.bat

    CODE:
    @EcHo off \\set the Cmd size mode con:cols=60 lines=25 \\Looks if your in the right place IF EXIST BFHeroes.exe ( Goto system ) ELSE ( goto Error) \\Looks if you have any saved info :system IF EXIST Settings.ini ( Goto Read ) ELSE ( goto Menu) \\Reads the info if you have any :Read setLocal EnableDelayedExpansion for /f "tokens=* delims= " %%a in (Settings.ini) do ( set /a N+=1 set v!N!=%%a ) Set login=!v1! Set password=!v2! Set TBit=!v3! goto Regedits \\main menu :Menu CLS Echo _____ _ _ _ Echo ^| __ \ ^| ^| ^| ^| ^| ^| Echo ^| ^|__) ^|__ _ __^| ^| __ _^| ^|__ ^| ^| ___ Echo ^| ___/ _ \^| '__^| ^| / _` ^| '_ \^| ^|/ _ \ Echo ^| ^| ^| (_) ^| ^| _^| ^|_^|(_^| ^| ^|_) ^| ^| __/ Echo ^|_^| \___/^|_^|^|_____\__,_^|_.__/^|_^|\___^| Echo. Echo. echo ***************l echo * 1 Portable * echo * 2 Quit * echo *************** Echo _ _ _ _ _ set /P C=^|_1_-_2_-_^> if "%C%"=="1" goto Language if "%C%"=="2" Exit CLS goto Menu \\Language menu :Language CLS Echo _ Echo ^| ^| Echo ^| ^| __ _ _ __ __ _ _ _ __ _ __ _ ___ Echo ^| ^|/ _` ^| '_ \ / _` ^| ^| ^| ^|/ _` ^|/ _` ^|/ _ \ Echo ^| ^| (_^| ^| ^| ^| ^| (_^| ^| ^|_^| ^| (_^| ^| (_^| ^| __/ Echo ^|_^|\__,_^|_^| ^|_^|\__, ^|\__,_^|\__,_^|\__, ^|\___^| Echo __/ ^| __/ ^| Echo ^|___/ ^|___/ echo. echo : 1 : English echo : 2 : German echo : 3 : French echo : 4 : Italian echo : 5 : Polish echo : 6 : Portuguese echo : 7 : Russian echo : 8 : Spanish echo : 9 : Turkish echo : 10 : Dutch echo : 11 : Back echo. Echo _ _ _ _ _ _ _ _ _ set /P C=^|_L_A_N_G_U_A_G_E_^> if "%C%"=="1" goto English if "%C%"=="2" goto German if "%C%"=="3" goto French if "%C%"=="4" goto Italian if "%C%"=="5" goto Polish if "%C%"=="6" goto Portuguese if "%C%"=="7" goto Russian if "%C%"=="8" goto Spanish if "%C%"=="9" goto Turkish if "%C%"=="10" goto Dutch if "%C%"=="11" goto Menu goto Language :English set Language=English goto Found :German set Language=German goto Found :French set Language=French goto Found :Italian set Language=Italian goto Found :Polish set Language=Polish goto Found :Portuguese set Language=Portuguese goto Found :Russian set Language=Russian goto Found :Spanish set Language=Spanish goto Found :Turkish set Language=Turkish goto Found utch set Language=Dutch goto Found \\Login page :Found CLS Echo _ _ Echo ^| ^| (_) Echo ^| ^| ___ __ _ _ _ __ Echo ^| ^| / _ \ / _` ^| ^| '_ \ Echo ^| ^|___^| (_) ^| (_^| ^| ^| ^| ^| ^| Echo ^|______\___/ \__, ^|_^|_^| ^|_^| Echo __/ ^| Echo ^|___/ Echo. Echo. set /P login=Email-^> CLS Echo _ _ Echo ^| ^| (_) Echo ^| ^| ___ __ _ _ _ __ Echo ^| ^| / _ \ / _` ^| ^| '_ \ Echo ^| ^|___^| (_) ^| (_^| ^| ^| ^| ^| ^| Echo ^|______\___/ \__, ^|_^|_^| ^|_^| Echo __/ ^| Echo ^|___/ Echo. Echo. set /P password=Password-^> Echo %login%>>Settings.ini Echo %password%>>Settings.ini Echo %Language%>>Settings.ini Cls goto system \\set's the registry data :Regedits CLS REG ADD "HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield Heroes" /v "Installation Dir" /d "%CD%" /f REG ADD "HKLM\SOFTWARE\Electronic Arts\EA Games\Battlefield Heroes" /v Language /d "%TBit%" /f REG ADD "HKLM\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield Heroes" /v "Installation Dir" /d "%CD%" /f REG ADD "HKLM\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Battlefield Heroes" /v Language /d "%TBit%" /f CLS goto login \\Logs you in :login IF "%PROCESSOR_ARCHITECTURE%"=="x86" ( Set bit= ) ELSE ( Set bit=C:\WINDOWS\SysWOW64\wscript.exe ) Echo Dim IET >>Temp.vbs Echo Set IET = CreateObject("InternetExplorer.Application") >>Temp.vbs Echo IET.Toolbar = false >>Temp.vbs Echo IET.statusbar=false >>Temp.vbs Echo IET.Visible = true >>Temp.vbs Echo IET.navigate "https://www.battlefieldheroes.com/en/",2 >>Temp.vbs Echo Do While (IET.Busy) >>Temp.vbs Echo WScript.Sleep 20 >>Temp.vbs Echo Loop >>Temp.vbs Echo Set Helem = IET.document.getElementByID("mail") >>Temp.vbs Echo Helem.Value = "%login%" ' change this to yours >>Temp.vbs Echo Set Helem = IET.document.getElementByID("password") >>Temp.vbs Echo Helem.Value = "%password%" ' change this to yours >>Temp.vbs Echo Set Helem = IET.document.Forms(1) >>Temp.vbs Echo Helem.Submit >>Temp.vbs Echo wscript.sleep 5000 >>Temp.vbs Echo Set IE = CreateObject("InternetExplorer.Application") >>Temp.vbs Echo IE.Toolbar = false >>Temp.vbs Echo IE.statusbar=false >>Temp.vbs Echo IE.Visible = true >>Temp.vbs Echo IE.navigate "https://www.battlefieldheroes.com/en/launchgame",2 >>Temp.vbs Echo Do While (IE.Busy) >>Temp.vbs Echo WScript.Sleep 2500 >>Temp.vbs Echo Loop >>Temp.vbs Echo IET.Quit >>Temp.vbs Echo IE.Quit >>Temp.vbs cd "%CD%" call %bit% "%CD%\Temp.vbs" del /f Temp.vbs Exit \\Error page :Error Echo ______ Echo ^| ____^| Echo ^| ^|__ _ __ _ __ ___ _ __ Echo ^| __^| ^| '__^| '__/ _ \^| '__^| Echo ^| ^|____^| ^| ^| ^| ^| (_) ^| ^| Echo ^|______^|_^| ^|_^| \___/^|_^| Echo. Echo. Echo Please Place with "BFHeroes.exe" Echo Defalt location is Echo 32-bit "C:\Program Files\EA Games\Battlefield Heroes" Echo 64-bit "C:\Program Files (x86)\EA Games\Battlefield Heroes" Echo. Echo. Echo. PAUSE

  2. #2
    TomAnderson's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Croatia,Zagreb
    Posts
    167
    Reputation
    10
    Thanks
    418
    My Mood
    Aggressive
    LoL SIR..?


  3. The Following User Says Thank You to TomAnderson For This Useful Post:

    Kedjohaxor (10-10-2012)

  4. #3
    Stimulate's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    The Netherlands
    Posts
    1,416
    Reputation
    77
    Thanks
    126
    My Mood
    Angelic
    Note; Replace the smile for : and )

    Please press thanks or rep if I helped you!

    A button says more than words!

  5. #4
    BattleEye's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    196
    Reputation
    10
    Thanks
    80
    My Mood
    Paranoid
    My Release. Please Close.

  6. #5
    AEGREAgawregaergh@#%#@%#5's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    it doesnt work for 32 bit

Similar Threads

  1. [Release] Battlefield heroes portable/Launcher
    By siahtekrr in forum Battlefield Heroes Hacks
    Replies: 11
    Last Post: 09-06-2012, 10:08 AM
  2. [Release] [Portable] Battlefield Heroes
    By siahtekrr in forum Battlefield Heroes Hacks
    Replies: 17
    Last Post: 03-18-2012, 01:56 PM
  3. [Release] Portable Battlefield Heroes
    By §☻$oo$☻§ in forum Battlefield Heroes Hacks
    Replies: 3
    Last Post: 07-03-2011, 08:46 AM
  4. Selling Battlefield heroes beta account and Quake Live
    By noobzor in forum Trade Accounts/Keys/Items
    Replies: 0
    Last Post: 10-12-2008, 09:37 AM
  5. Battlefield Heroes
    By Kung Fu Penguin31 in forum General
    Replies: 15
    Last Post: 06-01-2008, 09:57 AM