Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

gives me an error on Linux (installed via itch app):

Unhandled exception. System.FormatException: The input string '0.25' was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus, ReadOnlySpan`1, TypeCode )
   at System.Number.ParseSingle(ReadOnlySpan`1, NumberStyles, NumberFormatInfo)
   at System.Single.Parse(String)
   at System.Convert.ToSingle(String)
   at LD54.Data.PackageData.Initialize(String) in /home/cosmonaut/programming/LD54/LD54/Data/PackageData.cs:line 97
   at LD54.LD54.LoadContent() in /home/cosmonaut/programming/LD54/LD54/LD54.cs:line 151
   at Microsoft.Xna.Framework.Game.Initialize() in /home/cosmonaut/programming/LD54/FNA/src/Game.cs:line 655
   at Microsoft.Xna.Framework.Game.DoInitialize() in /home/cosmonaut/programming/LD54/FNA/src/Game.cs:line 776
   at Microsoft.Xna.Framework.Game.Run() in /home/cosmonaut/programming/LD54/FNA/src/Game.cs:line 408
   at LD54.LD54.Main() in /home/cosmonaut/programming/LD54/LD54/LD54.cs:line 81
[1]    149947 IOT instruction (core dumped)  ./LondonJerry
(1 edit) (+2)

incredible bug: it’s actually not because you’re on linux, i assume you’re from somewhere that uses the decimal comma? this is a bonkers .NET internationalization gotcha that we fell into accidentally, we’ll fix it soon. sorry!

(+2)

yay! (─‿─) ran it like this:

LC_ALL=en_US.UTF-8 ./LondonJerry

(my system default is ru_RU.UTF-8, no idea why it’s a comma)

yay!! glad you got it working ^^ hope you enjoy!!

(1 edit) (+1)

lmao seeing you fix Linux (sorta) bugs in the comments pushed me over from 'this looks cool' to 'lets actually try it'

Just uploaded a patch that should for real fix this. Thanks for the report!