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

Improve compatibility with the Itch app: Allow downloading, launching, and tipping #14214

Closed
aaronfranke opened this issue Oct 19, 2017 · 9 comments · Fixed by #18387
Closed

Comments

@aaronfranke
Copy link

aaronfranke commented Oct 19, 2017

https://openra.itch.io/openra

Currently, the game has an Itch.io page and hosts setup files such as a .deb but it cannot be downloaded through the Itch app due to this. It gives the error:

No compatible downloads were found for 'OpenRA', so it wasn't installed.

Maybe it's not compatible with your platform or with the itch app yet!

Instead of hosting setup files, you should host archives. A .zip file is recognized by the Itch app, and it will extract and search for an executable file, then run that. Itch does a pretty good job at this, but in the even that it doesn't detect the executable, you can add your own launch script. It can even be told about multiple launch targets, for each OpenRA mod. More info, manifest guide.

You may be wondering, why bother adding this feature, since it does mean more packaging work? Simply put, just like Steam, games downloaded through the Itch app can be auto-updated. It would be great to have OpenRA auto-update, to easily keep Itch users on the latest version of OpenRA.

Also, Itch has a feature where games will appear in your library permanently, even if uninstalled, if you tip a small amount to the creator, even just $1. Please allow us to donate to add OpenRA to our Itch libraries. Itch has a feature called open revenue sharing, so you can keep 100% of the donated money, or you can give Itch a portion or purchases.

@aaronfranke
Copy link
Author

Downstream bug report: itchio/itch-compatibility-watchlist#1090

@pchote
Copy link
Member

pchote commented Oct 22, 2017

Does anyone want to volunteer to take the lead on this? I see that their docs also reference automatically pushing updates, which could, in principle, be easily added to our packaging scripts.

@aaronfranke
Copy link
Author

aaronfranke commented Jan 6, 2018

First I'd like to see if we can use a single manifest for all platforms of OpenRA. This would simplify things.

Waiting on: itchio/itch#1587 That issue has been solved!

We could still work on this and ship builds, but there is still the issue of itchio/itch#1606, so there is no way to tell Itch to install Mono. We would rely on people having Mono installed already, unless we wanted to bundle Mono somehow.

aaronfranke added a commit to aaronfranke/OpenRA that referenced this issue Jan 10, 2018
aaronfranke added a commit to aaronfranke/OpenRA that referenced this issue May 23, 2018
aaronfranke added a commit to aaronfranke/OpenRA that referenced this issue Jul 8, 2018
@Mailaender
Copy link
Member

I made an attempt but only kept https://github.com/Mailaender/OpenRA/tree/itch-app for now.

On Windows the .NET dependency is automatically sorted out, but somehow the game spits out weird error messages about traits not being found after downloading the assets just fine that I don't understand. Also, for the next version we rely on itchio/itch#2458.

On Linux I could get it to work but I will need to bundle Mono as itchio/itch#1606 is not resolved yet. Apparently having multiple launch-game.sh entries with just different parameters doesn't work. It will always only pick the first. I had to make wrappers to workaround.

@pchote
Copy link
Member

pchote commented Jul 6, 2020

It would make sense to defer anything here until after the net core migration is complete.

@Mailaender
Copy link
Member

My idea was to update the package for the current release.

@Mailaender
Copy link
Member

If you browse to https://openra.itch.io/openra in the itch App and select "Windows portable with experimental Itch App support" it should now work.

image

I repackaged it manually now and simply added the metadata for the mod selection. Not sure why it only shows the filename.

Pinging @jamesxmcintosh who requested it at itchio/itch-compatibility-watchlist#1090.

Requested .NET Framework 4.7.2 prereq at itchio/itch#2458 which we currently demand.

@Mailaender
Copy link
Member

Regarding tipping: that might be problematic as the game content does not fall under a license that permits it.

@jamesxmcintosh
Copy link

I can't test this on Windows as I am now using Kubuntu but I can confirm this works with the AppImage versions.
Great work.

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

Successfully merging a pull request may close this issue.

5 participants