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

Itch app integration on Linux #2820

Closed
aaronfranke opened this issue Mar 3, 2018 · 4 comments
Closed

Itch app integration on Linux #2820

aaronfranke opened this issue Mar 3, 2018 · 4 comments
Assignees

Comments

@aaronfranke
Copy link

aaronfranke commented Mar 3, 2018

Currently, the game has an Itch.io page and hosts setup files such as a .deb and a .tar.gz with an installer script, but it cannot be downloaded through the Itch app due to this.

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 unfortunately it currently does not have an official way to launch Mono games on Mac/Linux: itchio/itch#1606 I have a work-around strategy if you wish, otherwise we can wait for Itch to design a better way to launch Mono games.

@Sortale
Copy link

Sortale commented Mar 4, 2018

linux install already come in a zip [the 600-700mb package title Linux portable] which is the default for Linux [last I checked]
and have a bash script that does pretty much the same [I haven't really check what you did so disregard this sentence as required(I am not really a Dev [due to lack of intelligent/skill])] as your solution.

I tried asking appimage Dev for help making a truly portable non root require solution but was declined
https://discourse.appimage.org/t/question-on-creating-mono-appimage/306/2
Monokick start experiment to do the same was a failure, which was not surprising considering it's last updated 3 years ago
though it maybe because of my incompetent as well

@Histidine91
Copy link
Member

The portable installer is currently tagged Win only, going by the icon on the page. (If it can't be ensured to install the needed Linux dependencies, should probably stay that way.)

Your Mono launch PR for OpenRA looks like it might do the trick, thanks for the pointer!

@Histidine91 Histidine91 self-assigned this Mar 4, 2018
@Histidine91
Copy link
Member

Histidine91 commented Mar 4, 2018

I've uploaded a portable .zip downloadable through the Itch app, but it seems to have trouble finding the executable:

[2018-03-04 @ 20:50:51.158] [launch] reconfiguring because of problem with cave: game.install.no_executables_found
[2018-03-04 @ 20:50:51.161] [configure] configuring /home/histidine/.config/itch/apps/Zero-K
[2018-03-04 @ 20:51:17.475] [configure] native-configure yielded execs: []
[2018-03-04 @ 20:51:17.482] [configure/compute-size] computing size of /home/histidine/.config/itch/apps/Zero-K
[2018-03-04 @ 20:51:17.564] [configure] total size of /home/histidine/.config/itch/apps/Zero-K: 681.68 MB (714794809 bytes)
[2018-03-04 @ 20:51:17.575] [launch] crashed with The game could not be configured (game.install.no_executables_found)
[2018-03-04 @ 20:51:17.575] [launch] The game could not be configured (game.install.no_executables_found)
[2018-03-04 @ 20:51:17.576] [diego] diego here, looking around
Linux ubuntuHome 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
model name	: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
model name	: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
model name	: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
model name	: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.4 LTS
Release:	16.04
Codename:	xenial
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c81 (rev a1)
diego out

Tried with no manifest (this is the latest download) and the following manifest:

# made with help from Aaron Franke

# Windows launch configs
[[actions]]
os = "windows"
name = "play"
path = "Zero-K.exe"
sandbox = true

# Linux launch configs
[[actions]]
os = "linux"
name = "play"
path = "mono"
args = ["Zero-K.exe"]
sandbox = true

[[actions]]
os = "linux"
name = "Play (check dependencies)"
path = "Zero-K.sh"
sandbox = true
console = true

# Website link (all OSes)
[[actions]]
name = "website"
path = "https://zero-k.info"
sandbox = true

# Wiki (all OSes)
[[actions]]
name = "wiki"
path = "https://zero-k.info/mediawiki/"
sandbox = true

@sprunk
Copy link
Member

sprunk commented Mar 9, 2018

Belongs to infra ZeroK-RTS/Zero-K-Infrastructure#2076

@sprunk sprunk closed this as completed Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants