Themes from "Downloadable Content" not working
Tue, 2014-02-25 09:30
Hello! I have a problem with themes from "Downloadable Content" section. They don't work on my PCs with Windows 7 and 8.1. When I wanna play on this themes it says: "Bad data or cannot access file /Themes/Planet_v1 (or smth like this)/theme.cfg". What can I do for fix it?
Here's a screenshots:
Windows 7:
Windows 8.1:
It looks like there's no problem with the map itself, but the theme it's linked to is broken. Try changing the theme. (button below the preview)
Oh, sorry for mistake. I meant themes (22 themes by Luelle and Military theme), not maps. First post fixed.
Hm. That's weird.
Do ANY DLC themes or maps work on those systems?
What does the PhysFS lines in the game0.log say? Did mounting the needed Folders succeed or fail?
(Maybe pastebin full game0.log - check it's contents and remove any references to e.g. your Windows username or language first, if you don't want them to be visible)
sheepluva <- me my code stats ->
a Hedgewars Developer
click here to message me
<- where I'm from what I speak ->
Thanks for help! I checked a log and saw that problem was caused by the non-latin name of my PCs. Does the game support only latin symbols? Have to create new profile for HW.
Hm, it should support non-latin names, but it might got broken in the recent releases that use PhysFS.
(Due to the way the game passes file paths to PhysFS - or it might even be a limitation of PhysFS)
Either way we'll have to look into this.
Thank you for reporting the issue and even finding+telling what caused it!
My apologies for the inconvenience - I'm glad you could also find a solution/workaround for you though!
Happy gaming!
... Oh I almost forgot!
You don't need to create a new Windows profile to workaround this.
Hedgewars can be started with a custom userfiles/profile location:
hedgewars.exe --config-dir="C:\myhwfolder"
So just copy your hedgewars profile folder to a path that does not contain any non-latin letters (and a location where you have read/write permissions) and supply its path in the link of hedgewars using --config-dir=, similar to what is shown above.
sheepluva <- me my code stats ->
a Hedgewars Developer
click here to message me
<- where I'm from what I speak ->
Can you by any chance test with UTF-8?
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Thanks again! It works. Now I can play with custom themes.
It was addressed to me? I have very little understanding of programming (only from school course) and I do not think I could do anything to help you. Sorry.