Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash Bandicoot 4 doesn't launch. #57

Open
Ethan-BB opened this issue May 30, 2021 · 12 comments
Open

Crash Bandicoot 4 doesn't launch. #57

Ethan-BB opened this issue May 30, 2021 · 12 comments

Comments

@Ethan-BB
Copy link

With version 2.14, trying to start a game with the "bnetlauncher.exe cb4" command only opens the battle.net window, it doesn't select the correct game and doesn't start anything, I need to go to the correct tab and click on the play button after that overlay works fine.

I tried sending some commands directly:
"Battle.net.exe --game=wlby" opens the correct game tab, just doesn't start the game (as expected)
"Battle.net.exe --exec=wlby" doesn't work

@dafzor
Copy link
Owner

dafzor commented Oct 4, 2021

Hi, are you still having the issue?

@Ethan-BB
Copy link
Author

Ethan-BB commented Oct 4, 2021

Yeah, same behaviour on v2.15
Not sure if it makes a difference, I have a Friends List (old one) always open on the desktop.

@dafzor
Copy link
Owner

dafzor commented Oct 4, 2021

The battle.net command is actually Battle.net.exe --exec "launch wlby" so make sure that works.

If bettle.net client is working, please enable loging in bnetlauncher (see readme) and post a copy of the log.

@Ethan-BB
Copy link
Author

Ethan-BB commented Oct 4, 2021

Yeah, that command doesn't work. Just opens Battlenet on the last open game.

@dafzor
Copy link
Owner

dafzor commented Oct 4, 2021

Yeah, that command doesn't work. Just opens Battlenet on the last open game.

It's possible blizzard changed the code for the game or broke the launch functionality for it.

Can you confirm it works for other games? You can see the list here for the cmd (pick one of the battlenet games, not battlenet2)?

@Ethan-BB
Copy link
Author

Ethan-BB commented Oct 4, 2021

StarCraft: Remastered, StarCraft 2, WarCraft 3: Reforged, Hearthstone, Overwatch and World of Warcraft all work fine.
Is there a way I could capture the command used when launching a game from the context menu from the tray? Because from there it starts fine.

@dafzor
Copy link
Owner

dafzor commented Oct 4, 2021

The launch code can be extracted from products.db which is an hidden file in C:\ProgramData\Battle.net\Agent. Opening with notepad should allow you to see some text information like the one bellow:

�diablo3��d3�D
�D:/Games/Diablo III��eu�

Where diablo3 is the game d3 the launch code and D:/Games/Diablo III the install path. Unfortunately the launch code is case sensitive and not show in the correct case. In Diablo 3 case the code is D3 and not d3.

@Ethan-BB
Copy link
Author

Ethan-BB commented Oct 4, 2021

I can confirm wlby is correct, however I have a feeling --exec "launch wlby" isn't.
But I have no clue how to get the command used, Window Spy from HotkeyP is not working on Battlenet.

@dafzor
Copy link
Owner

dafzor commented Oct 4, 2021

You can try changing the code to all caps, or just first uppercase letter and see if that makes any difference.

Beyond that you could try adding an entry using "battlenet2" which uses different codes or try to reach out to the devs on blizzard forums so they can fix the client (assuming it's a bug on their end).

@Ethan-BB
Copy link
Author

Ethan-BB commented Oct 10, 2021

Finally had time to test this, --exec "launch WLBY" (all capitals) will launch the game correctly.
However, putting it in all capitals into gamesdb.ini is not working for some reason ... maybe parsing is ignoring the letter case?

@dafzor
Copy link
Owner

dafzor commented Oct 10, 2021

Try creating a new gamedb.ini entry instead of overwriting the setting on the existing one.

@Ethan-BB
Copy link
Author

Yeah, that works.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants