Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

file name with upper/lower cases

A topic by pulsar68 created Jun 27, 2020 Views: 366 Replies: 4
Viewing posts 1 to 3

Hi Jake,

I've tried the new version of the proto (0.52.x) under Linux. It looks like there is an issue with the file names. When I try to start a new game (tuto as an example) or to load a save file, the game crashes with the following message:

file corrupt: songsofsyx/res/data/assets/init/resource/WOOD.txt
Could not find texture file wood. Error parsing key wood

I can edit the WOOD.txt file changing SPRITE: wood to SPRITE: Wood. Then another trial gives:

file corrupt: songsofsyx/res/data/assets/init/resource/FRUIT.txt
Could not find texture file fruit. Error parsing key fruit

I can also edit the FRUIT.txt file changing SPRITE: fruit to SPRITE: Fruit... I did so, but there are to much files to edit changing lower case to upper case... Maybe the Windows/MAC versions are not impacted. May I ask you to check this issue. Thanks in advance!

Another small question: I don't know where to choose the resolution in this version...

Regards

pulsar

Developer

Thank you for bringing this to my attention! It should be fixed and hopefully won't happen again as I now check for case of paths on all platforms. The game now wants an argument (launcher) to start the settings launcher prior to the game. I thought you passed an argument with -argument, but apparently you don't use the "-", so I've removed that from the script and hope it works, let me know if it doesn't!

/Jake

Some more files had to be renamed for the current version:

cd ~/songsofsyx/res/mods/swedishMenu/
mv _Info.txt _info.txt
cd ~/songsofsyx/res/base/data
mv Nobles.txt nobles.txt
mv Knights.txt knights.txt mv Citizens.txt citizens.txt
Developer(+2)

Ah, thank you. Those slipped through case-check. I've fixed it (0.52.24) and should hopefully not happen again in the future.

Thanks for your quick answer.

Both issues have been solved with the version 0.52.16 (file names & launcher)! Thanks a lot!

pulsar