Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits) (+1)

I see. The save slider value issue likely stems from the float.ToString() and float.Parse() functions now being conflated with different regional formatting if your prior save was on a different region.

Similar functions are used to process model data, which the modpackassets folder and modpackmodels folder uniquely contain. 

I should be able to modify my code to be more portable across different regions, I erroneously assumed some of these functions by default did not utilize regional formatting.

Also, huge thanks for uncovering these errors. They would have remained unrecognized otherwise.

(2 edits) (+1)

Hopefully I'll "quickly" check if some locale emulators can be used as workaround and update this post, but thanks for listening to non-US "complaints".

EDIT:

First - I checked some regional formats and some work and some don't. As I checked, Albanian, Hungarian and Russian regional formats break the mod, while Japanese, Spanish and Turkish regional formats will work with the mod. I haven't checked sub-types of those formats, only the "most expected" ones based on their name.

Second - Locale Emulator (from Github, for example, latest version 2.5.0.1) works as a workaround. I'll write down below how to use it "as portable as it can be":

1. Unpack downloaded LE (Locale Emulator) and launch LEGUI and close it.

1a. If LEGUI doesn't launch normal window - launch LEInstaller and it will prepare the environment - and immediately close it (alt-f4 is sufficient) - now relaunch LEGUI to make sure it loads as in step 1.

2. Drag modded game executable onto LEGUI exe and click "Create Shortcut" - if nothing else was modified - then LEGUI will create(update) specific config/shortcut for the game and immediately launch the game with parameters set, namely Japanese locale (that works with the mod).

3. Now the game can run with all the mod's features working (assets and models included).

Now for the testing if some regional formats will break the mod - in step 2 change the location to something that doesn't work, i.e. Hungarian (Hungary) - and game will behave exactly as I described earlier in this comment thread.