Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

3stadt

6
Posts
3
Topics
2
Followers
2
Following
A member registered Nov 07, 2016

Recent community posts

To my knowledge that’s currently not possible.

There is a workaround for C# by using RedirectStandardOutput:

using (Process butler = new Process())
{
    butler.StartInfo.FileName = "butler.exe";
    butler.StartInfo.Arguments = "your butler args";
    butler.StartInfo.UseShellExecute = false;
    butler.StartInfo.RedirectStandardOutput = true;
    butler.StartInfo.RedirectStandardError = true;              
    butler.Start();
    butler.WaitForExit();
}

This is basically the example from the ms docs. :)

For reference, this happens when running validate on a .itch.toml file containing only this:

[[actions]]
name = "Let's go already!"
path = "FooBar.exe"

[[actions.locales.fr]]
name = "Allons-y!"

[[actions.locales.de]]
name = "Gehen wir bereits!"
(1 edit)

Hi everyone!

I’m trying to add custom actions to my .itch.toml app manifest.

It works, what doesn’t work is the translation. Even with the bare example mentioned in the documentation I get this error when running butler validate .:

∙ Validating 161 B manifest at (.itch.toml)
error: Decoding error:
decoding manifest: 2 error(s) decoding:

* 'Actions[0].Locales[de]' expected a map, got 'slice'
* 'Actions[0].Locales[fr]' expected a map, got 'slice'

Am I doing something wrong or is this functionality currently not working as described in the documentation?

Kind regards, 3stadt

I exported a project of my own and used the resulting exe to run the Sprout pck. Now everything works - so most likely nothing is wrong with your code. Strange.

Sprout community · Created a new topic Crash on windows

Hi! :-)

Not sure how the controls are in the game, but I walk a bit and after a couple of right clicks the game freezes and then crashes without an error or smth.

How would I get a debug log to see what’s going on?