Nakaka Posted January 30, 2021 Share Posted January 30, 2021 (edited) I had my hand at this yesterday and found a solution. This solution assumes you already have Frosty Mod Manager, and have attempted to launch the game with your imported mods. (this creates a necessary "ModData" folder)BackstoryRecently EA decided to update Origin to require the use of EpicGamesLauncher.exe to launch Battlefront II.Earlier versions of Origin doesn't need EpicGamesLauncher at all. Although nothing's technically preventing you from using the earlier Origin, you cannot play Battlefront II with friends. With the new version of Origin, Origin launches EALink.exe, which talks to EpicGamesLauncher.exe, and will not carry over the "-datapath" required to load mods.Solution Part 1 (Optional? See *Note) Open CMD.exe (from start menu) and go fullscreen so you can see it better Paste (without quotes): "WMIC path win32_process get Caption,Commandline" Launch Battlefront II from Epic Press enter inside CMD.exe Look for EALink.exe in the list. If you see it, you have all the information you need. Copy the whole line to Word/Notepad for reference. You can copy text from CMD.exe by selecting the text, then right-clicking it.If you don't see EALink.exe in the list, it isn't running, so you pressed enter too late/early.Solution Part 2 Open notepad.exe (from start menu) and paste this line of text to it (INCLUDING quotes): "[PATH_TO_ORIGIN]\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=[AUTHPASS]&AUTH_TYPE=exchangecode&epicusername=[EPICUSERNAME]&epicuserid=[EPICUSERID]&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %22[DATAPATH]%22" Replace [AUTHPASS], [EPICUSERNAME], and [EPICUSERID] with the information you gathered from CMD.exe earlier. Replace [DATAPATH] with something like: C:\Games\Origin\STAR WARS Battlefront II\ModData Replace [PATH_TO_ORIGIN] with something like: C:\Program Files (x86)\Origin Open another CMD.exe (from start menu) Paste the notepad's text into CMD.exe (right-click -> paste) Press enter to launch the game.*Note: It might be that [EPICUSERNAME] and [EPICUSERID] can be blank, and [AUTHPASS], though necessary, can be 0... epic. Solution #1Running this script accomplishes the same thing as Solution #2.You must bypass any anti-virus prompts.If you downloaded with Firefox, you must un-hide Windows file extensions, then rename the extension to ".cmd" instead of ".cmd.html" Solution #2 Open Epic & Origin Open notepad (from start menu) and paste in this line of text (INCLUDING quotes): "C:\Program Files (x86)\Origin\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=0&AUTH_TYPE=exchangecode&epicusername=&epicuserid=&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %%22DATAPATH%%22" Replace DATAPATH with something like C:\Program Files (x86)\Origin Games\STAR WARS Battlefront II\ModData Save the file (to your desktop) as Battlefront.cmd Double-click Battlefront.cmd to launch the game. If Origin pops up but the game doesn't open, your DATAPATH is probably wrong.There is no backslash at the end. The "%%22" is necessary.If the game still doesn't launch, or you get a error, you have a bad mod. Uncheck all mods and try again.Whenever you uncheck mods within Frosty, you MUST press "►Launch" to apply the changes.Thanks to Bread for helping me test. Edited February 8, 2021 by Nakaka Link to comment Share on other sites More sharing options...
Moontharo Posted January 30, 2021 Share Posted January 30, 2021 I can't believe it, this man did it, it worked for me! Thanks a lot bro! :psyduck: Link to comment Share on other sites More sharing options...
jus512 Posted January 30, 2021 Share Posted January 30, 2021 THANK YOU SO MUCH!!! I can confirm that this works!!! I hope you have a prosperous week! I had my hand at this yesterday and found a solution. This solution assumes you already have Frosty Mod Manager, and have attempted to launch the game with your imported mods. (this creates a necessary "ModData" folder)BackstoryRecently EA decided to update Origin to require the use of EpicGamesLauncher.exe to launch Battlefront II.Earlier versions of Origin doesn't need EpicGamesLauncher at all. Although nothing's technically preventing you from using the earlier Origin, you cannot play Battlefront II with friends. If you don't have friends, stop reading and use the earlier version of Origin, because it's an easier method.With the new version of Origin, Origin launches EALink.exe, which talks to EpicGamesLauncher.exe, and will not carry over the "-datapath" required to load mods.Solution Part 1 (Optional? See *Note) Open CMD.exe (from start menu) and go fullscreen so you can see it better Paste (without quotes): "WMIC path win32_process get Caption,Commandline" Launch Battlefront II from Epic Press enter inside CMD.exe Look for EALink.exe in the list. If you see it, you have all the information you need. Copy the whole line to Word/Notepad for reference. You can copy text from CMD.exe by selecting the text, then right-clicking it.If you don't see EALink.exe in the list, it isn't running, so you pressed enter too late/early.Solution Part 2 Open notepad.exe (from start menu) and paste this line of text to it (INCLUDING quotes): "[PATH_TO_ORIGIN]\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=[AUTHPASS]&AUTH_TYPE=exchangecode&epicusername=[EPICUSERNAME]&epicuserid=[EPICUSERID]&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %22[DATAPATH]%22" Replace [AUTHPASS], [EPICUSERNAME], and [EPICUSERID] with the information you gathered from CMD.exe earlier. Replace [DATAPATH] with something like: C:\Games\Origin\STAR WARS Battlefront II\ModData Replace [PATH_TO_ORIGIN] with something like: C:\Program Files (x86)\Origin Open another CMD.exe (from start menu) Paste the notepad's text into CMD.exe (right-click -> paste) Press enter to launch the game.*Note: It might be that [EPICUSERNAME] and [EPICUSERID] can be blank, and [AUTHPASS], though necessary, can be 0... epic. If Origin pops up but the game doesn't open, you made a typo or your [DATAPATH] is wrong.Thanks to Bread for helping me test my solution. Thread should be updated when someone posts a better solution or creates a program to automate this. Link to comment Share on other sites More sharing options...
jus512 Posted January 30, 2021 Share Posted January 30, 2021 THANK YOU SO MUCH!!! I can confirm that this works!!! I hope you have a prosperous week! I had my hand at this yesterday and found a solution. This solution assumes you already have Frosty Mod Manager, and have attempted to launch the game with your imported mods. (this creates a necessary "ModData" folder)BackstoryRecently EA decided to update Origin to require the use of EpicGamesLauncher.exe to launch Battlefront II.Earlier versions of Origin doesn't need EpicGamesLauncher at all. Although nothing's technically preventing you from using the earlier Origin, you cannot play Battlefront II with friends. If you don't have friends, stop reading and use the earlier version of Origin, because it's an easier method.With the new version of Origin, Origin launches EALink.exe, which talks to EpicGamesLauncher.exe, and will not carry over the "-datapath" required to load mods.Solution Part 1 (Optional? See *Note) Open CMD.exe (from start menu) and go fullscreen so you can see it better Paste (without quotes): "WMIC path win32_process get Caption,Commandline" Launch Battlefront II from Epic Press enter inside CMD.exe Look for EALink.exe in the list. If you see it, you have all the information you need. Copy the whole line to Word/Notepad for reference. You can copy text from CMD.exe by selecting the text, then right-clicking it.If you don't see EALink.exe in the list, it isn't running, so you pressed enter too late/early.Solution Part 2 Open notepad.exe (from start menu) and paste this line of text to it (INCLUDING quotes): "[PATH_TO_ORIGIN]\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=[AUTHPASS]&AUTH_TYPE=exchangecode&epicusername=[EPICUSERNAME]&epicuserid=[EPICUSERID]&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %22[DATAPATH]%22" Replace [AUTHPASS], [EPICUSERNAME], and [EPICUSERID] with the information you gathered from CMD.exe earlier. Replace [DATAPATH] with something like: C:\Games\Origin\STAR WARS Battlefront II\ModData Replace [PATH_TO_ORIGIN] with something like: C:\Program Files (x86)\Origin Open another CMD.exe (from start menu) Paste the notepad's text into CMD.exe (right-click -> paste) Press enter to launch the game.*Note: It might be that [EPICUSERNAME] and [EPICUSERID] can be blank, and [AUTHPASS], though necessary, can be 0... epic. If Origin pops up but the game doesn't open, you made a typo or your [DATAPATH] is wrong.Thanks to Bread for helping me test my solution. Thread should be updated when someone posts a better solution or creates a program to automate this. Link to comment Share on other sites More sharing options...
ComradeKemosabe Posted January 30, 2021 Share Posted January 30, 2021 Thanks for sharing! Works like a charm! Link to comment Share on other sites More sharing options...
TheSec3rtary Posted January 31, 2021 Share Posted January 31, 2021 (edited) I had this work once then it stopped working. It wont even start origin now, any idea what I could do? The easier solution worked I had my hand at this yesterday and found a solution. This solution assumes you already have Frosty Mod Manager, and have attempted to launch the game with your imported mods. (this creates a necessary "ModData" folder)BackstoryRecently EA decided to update Origin to require the use of EpicGamesLauncher.exe to launch Battlefront II.Earlier versions of Origin doesn't need EpicGamesLauncher at all. Although nothing's technically preventing you from using the earlier Origin, you cannot play Battlefront II with friends. With the new version of Origin, Origin launches EALink.exe, which talks to EpicGamesLauncher.exe, and will not carry over the "-datapath" required to load mods.Solution Part 1 (Optional? See *Note) Open CMD.exe (from start menu) and go fullscreen so you can see it better Paste (without quotes): "WMIC path win32_process get Caption,Commandline" Launch Battlefront II from Epic Press enter inside CMD.exe Look for EALink.exe in the list. If you see it, you have all the information you need. Copy the whole line to Word/Notepad for reference. You can copy text from CMD.exe by selecting the text, then right-clicking it.If you don't see EALink.exe in the list, it isn't running, so you pressed enter too late/early.Solution Part 2 Open notepad.exe (from start menu) and paste this line of text to it (INCLUDING quotes): "[PATH_TO_ORIGIN]\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=[AUTHPASS]&AUTH_TYPE=exchangecode&epicusername=[EPICUSERNAME]&epicuserid=[EPICUSERID]&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %22[DATAPATH]%22" Replace [AUTHPASS], [EPICUSERNAME], and [EPICUSERID] with the information you gathered from CMD.exe earlier. Replace [DATAPATH] with something like: C:\Games\Origin\STAR WARS Battlefront II\ModData Replace [PATH_TO_ORIGIN] with something like: C:\Program Files (x86)\Origin Open another CMD.exe (from start menu) Paste the notepad's text into CMD.exe (right-click -> paste) Press enter to launch the game.*Note: It might be that [EPICUSERNAME] and [EPICUSERID] can be blank, and [AUTHPASS], though necessary, can be 0... epic. Easier Solution Open Epic & Origin Open notepad.exe (from start menu) and paste in this line of text (INCLUDING quotes): "C:\Program Files (x86)\Origin\EALink.exe" "link2ea://launchgame/MtMassive?AUTH_PASSWORD=0&AUTH_TYPE=exchangecode&epicusername=epicuserid=&epiclocale=en&theme=sws&platform=epic&Hotfix=go& -datapath %22[DATAPATH]%22" Replace [DATAPATH] with something like C:\Program Files (x86)\Origin Games\STAR WARS Battlefront II\ModData Open another CMD.exe (from start menu) Paste the notepad's text into CMD.exe (right-click -> paste) Press enter to launch the game.If Origin pops up but the game doesn't open, your [DATAPATH] is probably wrong, or Epic thinks the game's already running.Thanks to Bread for helping me test my solution. Thread should be updated when someone posts a better solution or creates a program to automate this. Edited January 31, 2021 by TheSec3rtary Link to comment Share on other sites More sharing options...
D3THM1RICOOL954 Posted January 31, 2021 Share Posted January 31, 2021 cant get it to work :( Link to comment Share on other sites More sharing options...
l8ersk8er94 Posted January 31, 2021 Share Posted January 31, 2021 Origins opens up and then closes right away. Link to comment Share on other sites More sharing options...
BalerionInvert Posted January 31, 2021 Share Posted January 31, 2021 I got this to work once last night but can no longer get it to work? The code is the same and I repeated the entire process again and still only opens Origin and not the game?? Link to comment Share on other sites More sharing options...
Evanitis Posted January 31, 2021 Share Posted January 31, 2021 (edited) I have to start Epic and Origin, then use the command I saved earlier with my Epic ID and stuff. It works reliably since the solution was posted. If the EALink.exe isn't coming up in CMD, just keep spamming the command while the game is getting loaded, and find it with ctrl+f. Hope someone skilled comes up with a batch file for automating the process. Edited January 31, 2021 by Evanitis Link to comment Share on other sites More sharing options...
Recommended Posts