oblivioncth / CLIFp

An alternate, command-line based launcher for Flashpoint Archive
GNU Affero General Public License v3.0
22 stars 0 forks source link

[BUG] Unity Web Player Games Don't Work on Steam Deck (Windows 10 and Steam OS) #59

Closed TheDoomCider closed 1 year ago

TheDoomCider commented 1 year ago

Can't launch Unity Web Player games on Steam Deck through CLIFp. I can launch html and flash games without issue. I am having the same issue on both Steam OS (using proton) and Windows 10. I also tried using both the normal flashpoint launcher and LaunchBox on Windows 10 and Unity Web Player games work. I am having no issues on my Windows 10 Intel gaming PC so the issue seems to be Steam Deck specific.

To Reproduce Steps to reproduce the behavior (Windows 10):

  1. Download CLIFP and Flashpoint Infinity 11.1
  2. Move the CLIFP.exe to the Flashpoint Infinity folder
  3. Commands tried: play -i 2abf6233-9c95-4e81-8196-722b17faa8eb run --app="FPSoftware\startUnity.bat" --param="2.x http://y8.com/ben_10_ultimate_crisis/ben_10_ultimate_crisis.html"
  4. The game downloads and the error occurs during the mounting process.

Steps to reproduce the behavior (Steam OS):

  1. Download CLIFP and Flashpoint Infinity 11.1
  2. Move the CLIFP.exe to the Flashpoint Infinity folder
  3. Add CLIFP to Steam and enabled Proton Compatibility
  4. Commands tried: play -i 2abf6233-9c95-4e81-8196-722b17faa8eb run --app="FPSoftware\startUnity.bat" --param="2.x http://y8.com/ben_10_ultimate_crisis/ben_10_ultimate_crisis.html"
  5. The game downloads and the error occurs during the mounting process.

Expected behavior Game launches without issue

Screenshots Windows 10: unity web error

Steam OS: Screenshot_20230502_095420

Version:

CLIFp Log file (Windows 10): CLIFp.log

CLIFp Log file (Steam OS): CLIFp.log

oblivioncth commented 1 year ago

This might be because of #57 (and a related bug I didnt make an issue for), let me know if this specific build works for you: https://github.com/oblivioncth/CLIFp/suites/12579933733/artifacts/672694390

Err, OK it might not since you're only getting it on the deck, but still give that a shot.

TheDoomCider commented 1 year ago

Thanks, I tried it on Steam OS and got the same error I mentioned before. However, on Windows 10 I get a new error message.

new error

TheDoomCider commented 1 year ago

Ok, so the Steam OS error seems to be an issue with Proton. I got the same issue when I tried using Ubuntu on my Gaming PC.

oblivioncth commented 1 year ago

Moving forward use this build to try anything until the next release, that last one I linked ended up having a different issue: https://github.com/oblivioncth/CLIFp/suites/12655626402/artifacts/678241068

For the Windows attempt, the log indicates a permissions denied error, specifically from FlashpointSecurePlayer.exe, which is ran by the batch file associated with Unity Web Player Games. Not sure what potential differences you have between your OS configuration on your Steam Deck and your desktop, but make sure that the entire flashpoint directory (including sub-folders) are set to "Full Control" for the Security Properties of the account you're running CLIFp/Flashpoint under.

TheDoomCider commented 1 year ago

Interesting! Thanks!

oblivioncth commented 1 year ago

@TheDoomCider We you able to get the games working on your Steam Deck (on Windows of course)?

TheDoomCider commented 1 year ago

Yes, all I did was copy the game commands that were in launchbox and paste them it into playnite (which is the launcher I'm using for my windows games). The games are launching without issue now.

oblivioncth commented 1 year ago

Hmm, strange that LB had an issue with it. But since you aren't actually using that, I won't bother trying to find the needle in the haystack in this instance.

Glad you're back on track.