Comments (4)
bnetlauncher should detected the exe from the launcher and just copy the parameters as is to relaunch it under steam so it should always be 1:1.
If there's a difference I can only guess two things:
- The game launching multiple cod.exe and bnetlauncher picking up the wrong one
- The game is doing something to confuse bnetlauncher (anti cheat protections?)
There's already code to stop 1 from happening, and there's not much that could be done about 2 without going into dangerous territory.
from bnetlauncher.
Okay after messing around and checking stuff, when the game launches through the play button, it's launched with the following arguments:
Whats partly hidden is a 24-alpha numeric code (not sure if unique)
Edit: It is not unique. What's hidden is
"cod.exe -uid auks hdeyguxs3zaumvlgvybm2vyc"
And these are the arguements when launching via bnetlauncher:
We lose the -uid, the game descriptor and the 24-char code is reduced to 4, and fails to launch.
When I launch other games like COD Cold War, the arguements match 1:1, and both launch perfectly.
About this ID though, I'm not sure if it's specific to a machine or an account or if it's static. I can maybe check with a friend in a couple of hours.
Edit: I searched it up and it's a static identifier, nothing special.
from bnetlauncher.
Okay well, holy shit. I just accidentally found a workaround to launch the game without bnetlauncher and even without battlenet.
Create a shortcut of the cod.exe located in [gamedir]\_retail_\
folder and add the following launch parameters to it
"C:\Games\Call of Duty\_retail_\bootstrapper.exe" -uid auks
It shows the Richochet anticheat splashscreen, and the game launches. My battlenet info is passed through perfectly fine despite it never opening. I have no idea why this works, as it doesn't work with any of the other COD games, or any other game on battlenet at all.
If I were to guess, I'd say it's because this is the first COD in 4 years to be multistore front on PC so they didn't tie their Blizzard launcher stub into the executable. See how great the PC space can be without needless DRM?
Edit: Leaving this topic open as this is something I can see Activision breaking on purpose in the future.
Edit2: After restarting my PC, it seems to not work. But I can report this, I found out that the cod.exe game runs underneath the bootstrapper.exe which is also another executable in the folder. I'll do some more testing tomorrow when I have time.
Edit3: Found out why it wasn't working; It's NOT cod.exe
that needs to launched, it's bootstrapper.exe
This bootstrapper passes information (and likely does an anticheat check) and then opens the process cod.exe
with the parameters -uid auks hdeyguxs3zaumvlgvybm2vyc
(just as I've written before.) Tons of moving parts in this launch process.
Edit4: Okay this is just beyond me. Sometimes launching cod directly with the parameters I wrote above works, and sometimes it doesn't. The bootstrapper method works for my streamdeck but not as a standard shortcut in a folder. I'm losing it here, and admittedly my environment isn't as clean as it should be for doing this.
from bnetlauncher.
Sorry to necro a year old post, but I'm back again. I also found out the trick to this is the run it again while bnet launcher is open.
A command script like this works perfectly.
"C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe" --exec="launch AUKS"
timeout /t 10 /nobreak
"C:\Program Files (x86)\Battle.net\Battle.net Launcher.exe" --exec="launch AUKS"
exit
First line opens battle net to the COD HQ page, second waits for however long it takes to actually get battlenet to open (adjustable) third line actually opens the game, unlike previous CODs this one wants two calls to open, which is what's missing from the current implementation, and last one exits.
from bnetlauncher.
Related Issues (20)
- WoW Classic not launching HOT 1
- WoW Classic TBC HOT 9
- Crash Bandicoot 4 doesn't launch. HOT 12
- CoD: MW 2019 not launching properly HOT 2
- Cannot launch warzone with bnetlauncher. HOT 2
- Add support for Blizzard Arcade Collection HOT 3
- Add support for Call of Duty: Vanguard HOT 1
- Add support for SoM version of Classic WOW HOT 5
- Add support for Classic World of Warcraft HOT 3
- A way to launch overwatch 2 beta HOT 5
- Add support for Diablo Immortal HOT 2
- Breaks XInput in Overwatch HOT 7
- Not Launching Overwatch 2 HOT 32
- Add support for COD Modern Warfare 2 (CODhq) HOT 5
- Vanguard launches with error HOT 3
- Steam Deck support HOT 5
- Spelling error in program.cs
- Diablo 4 Support HOT 1
- Error: Client not found & steam overlay not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bnetlauncher.