CnCNet / cncnet-yr-client-package

The official CnCNet Yuri's Revenge package for online.
https://cncnet.org/yuris-revenge
GNU General Public License v3.0
103 stars 26 forks source link

[Steam Version] Steam does not detect Red Alert 2 is running when launched via CnCNet #347

Open alexlambson opened 6 months ago

alexlambson commented 6 months ago

Reproduction steps.

  1. Install Red Alert 2 via Steam
  2. Install CnCNet to the Steam directory
  3. Launch CnCNet
  4. Start a game via skirmish, campaign, or multiplayer

Expected: The Steam UI should show that Red Alert 2 or Yuri's Revenge is running

Actual: The steam UI shows the Play button, which means it doesn't see that Red Alert 2 was launched.

alexlambson commented 6 months ago

We may need to detect if the game was installed to steam, then launch the game via steam://

JeodC commented 6 months ago

You would expect to accomplish this via steam://launch/2229850/option1, but the problem is the other two options don't have a Launch Type: https://steamdb.info/app/2229850/config/

I have tested this with various options like steam://launch/2229850/option3 to launch FinalAlert2YR without success.

besselfunct commented 5 months ago

I'm putting a comment here so I can follow this issue. With the release of the steam version of RA2, I would like to try to install CnCNet and run it via Proton.

besselfunct commented 5 months ago

I managed to get this running today on Pop_OS 22.04 using SteamTinkerLaunch to install CnCNet into the existing YR prefix. Maybe this issue is fixed?

I'm having performance issues, but they seem to be related to this thread. I'll keep working at it.

besselfunct commented 5 months ago

Performance issues fixed by not setting a specific resolution in ddraw.ini and adding WINEDLLOVERRIDES="ddraw.dll=n,b" %command% as a launch option

Saint146 commented 2 months ago

Also leaving a comment to watch. Would be great to have this resolved! Maybe also somehow have option to run cncnet launcher via simply pressing play on steam.