Comments (5)
Well, simple batch script to launch:
@echo off net start winmgmt start "" "./bnetlauncher.exe" ow2 rem ping 127.0.0.1 -n 15 > nul start "" "./bnetlauncher.exe" ow2
ow2:
[ow2] name=Overwatch client=battlenet cmd=Pro exe=Overwatch.exe options=notask
notask
required, elsebnet
doesn't start.ping
used becausewine batch
doesn't know timeout and sleep commands.With this sctipt game launches, but I got error in log:
20:53:45.8596|1656|Program.Main:228|INFO|Given parameter 'ow2'. 20:53:45.8596|1656|Program.Main:264|INFO|Using 'battlenet' client. 20:53:45.8596|1656|BnetClient.InstallPath:86|INFO|Client InstallPath:'C:\Program Files (x86)\Battle.net'. 20:53:45.8596|1656|Program.Main:280|INFO|Checking for other bnetlauncher processes using same client 20:53:45.8596|1656|Program.Main:288|INFO|No other bnetlauncher detected 20:53:45.8996|1656|Program.Main:331|INFO|Client already running with pid:'428'. 20:53:45.9006|1656|Program.Main:350|INFO|Issuing game launch command 'Pro' at '08:53:45.8996' 20:53:45.9006|1656|BnetClient.InstallPath:86|INFO|Client InstallPath:'C:\Program Files (x86)\Battle.net'.
Works that? How do I have to set this so that the script starts via steam?
from bnetlauncher.
Well, I found how to make WMI work, but after launching bnetlaucher, the game still doesn't start, nothing starts at all.
Log:
debug_20230326.log
from bnetlauncher.
This service is necessary to bypass battle.net?
WMI is used to get information such as:
- is battle.net running?
- Did the game start?
- etc...
So bnetlauncher will not work without it.
Well, I found how to make WMI work, but after launching bnetlaucher, the game still doesn't start, nothing starts at all.
I never tested bnetlauncher under wine, I'd suggest trying to find a linux native alternative to bnetlauncher.
from bnetlauncher.
Well, simple batch script to launch:
@echo off
net start winmgmt
start "" "./bnetlauncher.exe" ow2
rem ping 127.0.0.1 -n 15 > nul
start "" "./bnetlauncher.exe" ow2
ow2:
[ow2]
name=Overwatch
client=battlenet
cmd=Pro
exe=Overwatch.exe
options=notask
notask
required, else bnet
doesn't start. ping
used because wine batch
doesn't know timeout and sleep commands.
With this sctipt game launches, but I got error in log:
20:53:45.8596|1656|Program.Main:228|INFO|Given parameter 'ow2'.
20:53:45.8596|1656|Program.Main:264|INFO|Using 'battlenet' client.
20:53:45.8596|1656|BnetClient.InstallPath:86|INFO|Client InstallPath:'C:\Program Files (x86)\Battle.net'.
20:53:45.8596|1656|Program.Main:280|INFO|Checking for other bnetlauncher processes using same client
20:53:45.8596|1656|Program.Main:288|INFO|No other bnetlauncher detected
20:53:45.8996|1656|Program.Main:331|INFO|Client already running with pid:'428'.
20:53:45.9006|1656|Program.Main:350|INFO|Issuing game launch command 'Pro' at '08:53:45.8996'
20:53:45.9006|1656|BnetClient.InstallPath:86|INFO|Client InstallPath:'C:\Program Files (x86)\Battle.net'.
from bnetlauncher.
Works that?
No it doesn't work, sadly.
I think the issue is winmgmt in wine/proton
How do I have to set this so that the script starts via steam?
Can add a bat file or another file as non-steam-game in desktop mode. To add a bat file you need to click the show all files. bat is an accepted exectuable type in wine/proton. But not all bat scripts work, not all functions in windows batch are programmed into wine batch.
from bnetlauncher.
Related Issues (20)
- cold war issue HOT 1
- 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
- Modern Warfare II does not launch properly HOT 4
- Vanguard launches with error HOT 3
- Spelling error in program.cs
- Diablo 4 Support HOT 1
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.