Git Product home page Git Product logo

Comments (8)

dafzor avatar dafzor commented on August 20, 2024

from bnetlauncher.

hemiipatu avatar hemiipatu commented on August 20, 2024

I've just tested it now and it seems the release on August 4th (v.1.22) was the last version it would work on - So I believe that this issue was introduced in v2.00

from bnetlauncher.

hemiipatu avatar hemiipatu commented on August 20, 2024

I also just had a look at what might be blocking it (or the reason why) using sysinternals, but nothing obvious stood out at me. ie. It was being being blocked access to creating/accessing a file or folder etc.

Quite strange whatever is causing it.

from bnetlauncher.

dafzor avatar dafzor commented on August 20, 2024

v2.00 introduced quite a few things:

  • creation and use of schedule tasks to start the battle.net client (check task bnetlauncher\battlenet is created and active)
  • use of a gamedb.ini database with configurations
  • entirely new logging system.

Your log says it managed to create the scheduled task but then never actually starts it, could you see if you can launch the battle.net client by running it on demand?
running-battlenet-task

Also can you provide more detail on what AppLocker policies are enabled on the system in question?

from bnetlauncher.

hemiipatu avatar hemiipatu commented on August 20, 2024

So I have tried running Battle.net as per you would normally and everything runs perfectly fine - I then tried launching a game using Steam (as described in the readme) and it failed, I tried to launch it directly from the task too, and that also failed.

The task is definitely there in Task scheduler and the status is ready.

from bnetlauncher.

dafzor avatar dafzor commented on August 20, 2024

Could you show me the configuration of the task? I suspect Microsoft SRP made bnetlauncher create the task as another user so when it tries to launch it it just fails due to it not being logged in.

If my guess is right you can fix it by manually changing the user in security options and changing the description to 9.99 to make sure newer versions of bnetlauncher do not try to update it.

from bnetlauncher.

hemiipatu avatar hemiipatu commented on August 20, 2024

Apologies for the late reply, I've been super busy recently and almost forgot about this.

I actually managed to get this resolved by making a few changes to the task manually. The changes involved included:

  1. Run whether user is logged on or not
  2. Configure for: Windows 10
  3. If the task is already running > Stop the existing instance.

I also changed the formatting of the SRP rules that could affect the program and its' operation to:

  1. %HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir (x86)%
  2. %HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir (x86)%
  3. %ProgramData%\Battle.net
  4. E:\games\battle.net_library

Finally, since I also have 'Randomware protection' on I added both the bnetlauncher and Battle.net client on the whitelist.

from bnetlauncher.

dafzor avatar dafzor commented on August 20, 2024

I add a switch/option in the code to not use tasks to launch which should make it behave like pre 2.0 versions.

Should be out on the next version and make it play nicer with all the security policies.

from bnetlauncher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.