Mostly targeted at people using linux, is there a way to add a launch prefix to a game from the app itself or would it be possible?
Currently windows only games cannot be launched from itch app, this would fx that. Also adding options like dri_prime, vblank_mode, mesa prefixes etc. or debug/game prefixes are always helpful.
Currently butler handles the launching games I think and chooses the platform (?) :
func GetFilteredUploads(client *itchio.Client, game *itchio.Game, credentials *buse.GameCredentials, consumer *state.Consumer) (*manager.NarrowDownUploadsResult, error) { uploads, err := client.ListGameUploads(&itchio.ListGameUploadsParams{ GameID: game.ID, DownloadKeyID: credentials.DownloadKey, }) if err != nil { return nil, errors.Wrap(err, 0) }
but I couldn't find any docs on how launching a game is facilitated. Can someone point it to me?
I ran somethings in a terminal, seems itch creates a temporary runlock.json in the game directory : ~/.config/itch/apps/NAME/.itch/, detects wine 64 bit and 32 bit at /usr/local/bin, searchs for native game manfests- cannot find, can't run sandox, exits.
Sorry if it's not relevant here, I'm new :)