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

[BUG] Unable to launch any games #339

Closed
y2k04 opened this issue Dec 17, 2023 · 9 comments · Fixed by #342
Closed

[BUG] Unable to launch any games #339

y2k04 opened this issue Dec 17, 2023 · 9 comments · Fixed by #342
Labels
bug Something isn't working

Comments

@y2k04
Copy link

y2k04 commented Dec 17, 2023

Describe the bug
Rare is unable to launch any games. It can install them no problem, just cannot launch the process.

To Reproduce

  1. Open Rare
  2. Click Launch on any game
  3. See error

Screenshots

image

System information

Please complete the following information

  • Operating system: Windows 11 23H2
  • Rare Version: 1.10.7
  • Installation method: pip (VirtualEnv)
  • Python version: 3.11.2

Log displaying error

[Rare] INFO: Launching Rare version 1.10.7
[Rare] INFO: Operating System: Windows
[LGDLFS] INFO: Using Rare's LGDLFS monkey
[Core] INFO: Using Rare's LegendaryCore monkey
[Core] INFO: Logging in...
[LaunchDialog] INFO: You are logged in
[RareCore] INFO: Got API results for COMBINED
[LaunchDialog] INFO: App starting
[Rare] INFO: Renewed session expires at 2023-12-17T10:49:49.150Z
[MainWindow] WARNING: Discord RPC module not found
[WineResolver] INFO: Origin game Star Wars Squadrons is not installed
[WineResolver] INFO: Origin worker finished in 0.017055273056030273s
[RareGame] INFO: Start new Process: (E:\Games\Legendary\Scripts\pythonw.exe E:\Games\Legendary\scripts\rare launch Fortnite)
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
@y2k04 y2k04 added the bug Something isn't working label Dec 17, 2023
@loathingKernel
Copy link
Contributor

loathingKernel commented Dec 17, 2023

Please verify if it is happening using one of the packages or try it with pip and the development version directly from git. The underlying issue should be fixed in the development version.

Why did you select that method though? Is is convenient somehow? I am asking beacuse I am thinking of removing it from Readme.

@loathingKernel
Copy link
Contributor

It tested the pip method on Linux with the upcoming release and it worked. It should also work on Windows in the new version. I will leave this issue open until you can verify that it works for you too.

@y2k04
Copy link
Author

y2k04 commented Dec 18, 2023

Please verify if it is happening using one of the packages or try it with pip and the development version directly from git. The underlying issue should be fixed in the development version.

Why did you select that method though? Is is convenient somehow? I am asking beacuse I am thinking of removing it from Readme.

I had downloaded the main repo and ran pip install -e .

@y2k04
Copy link
Author

y2k04 commented Dec 18, 2023

Okay so, 1.10.6 (pip latest release) works fine. The version that was causing me problems was 1.10.7. I do notice that there is an update for Rare for 1.10.9, but that is not on pip yet.

Log:

(Legendary) E:\Games\Legendary>rare
[Rare] INFO: Launching Rare version 1.10.6
[Rare] INFO: Operating System: Windows
qt.qpa.fonts: Unable to open default EUDC font: "C:\\WINDOWS\\FONTS\\EUDC.TTE"
[Core] INFO: Logging in...
[LaunchDialog] INFO: You are logged in
[RareCore] INFO: Got API results for COMBINED
[LaunchDialog] INFO: App starting
[Rare] INFO: Renewed session expires at 2023-12-18T09:49:14.599Z
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
[MainWindow] WARNING: Discord RPC module not found
[WineResolver] INFO: Origin registry worker finished in 0.0009765625s
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QPainter::end: Painter not active, aborted
[About] INFO: Update available: 1.10.6 -> 1.10.9
[RareGame] INFO: Start new Process: (E:\Games\Legendary\Scripts\pythonw.exe E:\Games\Legendary\Scripts\rare.exe start Fortnite)
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] INFO: Connection established for Fortnite (Fortnite)
[GameProcess] INFO: Launched Game
QIODevice::read (QLocalSocket): device not open
[GameProcess] ERROR: Received unsupported message:
[About] INFO: Update available: 1.10.6 -> 1.10.9

@y2k04
Copy link
Author

y2k04 commented Dec 18, 2023

Ok, I tested 1.10.9 and it is as broken as 1.10.7. Same issue is occurring.

[Rare] INFO: Launching Rare version 1.10.9
[Rare] INFO: Operating System: Windows
[LGDLFS] INFO: Using Rare's LGDLFS monkey
[Core] INFO: Using Rare's LegendaryCore monkey
[Core] INFO: Using config in C:\Users\<username>/.config/legendary
[Core] INFO: Trying to re-use existing login session...
[LaunchDialog] INFO: You are logged in
[FetchWorker] INFO: Requesting Windows metadata, without Unreal engine
[RareCore] INFO: Got API results for COMBINED
[LaunchDialog] INFO: App starting
[Rare] INFO: Renewed session expires at 2023-12-18T09:49:13.903Z
[MainWindow] WARNING: Discord RPC module not found
[WineResolver] INFO: Origin game Star Wars Squadrons is not installed
[WineResolver] INFO: Origin worker finished in 0.0s
[RareGame] INFO: Start new Process: (E:\Games\Legendary\Scripts\pythonw.exe E:\Games\Legendary\scripts\rare launch Fortnite)
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name
[GameProcess] ERROR: Fortnite (Fortnite): QLocalSocket::connectToServer: Invalid name

@y2k04
Copy link
Author

y2k04 commented Dec 18, 2023

I do notice something peculiar however: [Core] INFO: Using config in C:\Users\<username>/.config/legendary
I did not hide my username, that is how it is displayed in the log... 🤔

Also in 1.10.7+, there is no longer any output when launching from the console. It just launches like it was run with the start command.

@loathingKernel
Copy link
Contributor

loathingKernel commented Dec 18, 2023

The name hiding is my doing. I was considering anonymizing the logs but that's most likely in vain, python will happily dump everything in the case of an exception anyways.

There is no output because the entry point in setup.py was changed from a console script to a gui script, which on windows makes python assume that there is no console to output to.

loathingKernel added a commit to loathingKernel/Rare that referenced this issue Dec 18, 2023
Fixes launching the game launcher when Rare is installed through `pip`
on Windows.

Fixes: RareDevs#339
@loathingKernel
Copy link
Contributor

loathingKernel commented Dec 18, 2023

The problem was related to the change from consoles_script to gui_script in setup.py. And it was only relevant on Windows. The commit above should fix it.

You could easily install with pip install https://github.com/RareDevs/Rare/archive/refs/tags/1.10.10.zip

PyPI will be updated soon too has also been updated.

@y2k04
Copy link
Author

y2k04 commented Dec 19, 2023

It works, thank you! Rare still doesn't have a terminal output, but at least games launch now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants