Heroes of Hammerwatch

Heroes of Hammerwatch

View Stats:
XANi 11 Jul, 2018 @ 5:37pm
Language file nor language fallback file was found!
all of text or tooltips in game start with ERROR:

in game's output I see
[NFO] [02:29:24] Steam detected default language: "english" ... [ERR] [02:29:24] Language file nor language fallback file was found!

strace shows:
sendto(8, "\1 \1\0\0\0004\20\0\0\0U\n\0\0\0\0\0", 18, MSG_NOSIGNAL, NULL, 0) = 18 poll([{fd=8, events=POLLIN}], 1, 180000) = 1 ([{fd=8, revents=POLLIN}]) recvfrom(8, "\n\0\0\0\1", 5, 0, NULL, NULL) = 5 recvfrom(8, "\0\0\0\0\1\0\0\0\0", 9, 0, NULL, NULL) = 9 openat(AT_FDCWD, "res/language", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 35 fstat(35, {st_mode=S_IFDIR|0755, st_size=25, ...}) = 0 getdents(35, /* 3 entries */, 32768) = 80 getdents(35, /* 0 entries */, 32768) = 0 close(35) = 0 sendto(8, "\34\0\0\0", 4, MSG_NOSIGNAL, NULL, 0) = 4 sendto(8, "\1\21\1\0\0\0\261\7\0\0\0U\n\0\tlanguage\0 \0\0\0", 28, MSG_NOSIGNAL, NULL, 0) = 28 poll([{fd=8, events=POLLIN}], 1, 180000) = 1 ([{fd=8, revents=POLLIN}]) recvfrom(8, "\22\0\0\0\1", 5, 0, NULL, NULL) = 5 recvfrom(8, "\10\0\0\0english\0\1\0\0\0\0", 17, 0, NULL, NULL) = 17 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0 write(3, "[NFO] [02:32:50] Steam detected "..., 60) = 60 openat(AT_FDCWD, "saves/slot_0.hws", O_RDONLY) = 35

note that in getdents manual
Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) have full support for returning the file type in d_type. All applications must properly handle a return of DT_UNKNOWN.
I saw a similar problem when one other game (bioshock infinite) was using same call and xfs did not had that implemented

xfs didn't had it (it was added some time ago) so some older file systems were not formatted with it https://docs.oracle.com/cd/E52668_01/E88149/html/ol7-features-xfschange.html
Originally posted by XANi:
Had a chance to verify it on partition with ftype=0 and it seems to work fine, thanks ;)
< >
Showing 1-5 of 5 comments
Melissa  [developer] 12 Jul, 2018 @ 2:02am 
Wow, thank you for the hot tip. I'll look into this some more. Are you using xfs?

Also, in our code, we treat anything that's not of type DT_DIR as a file, so technically a result of DT_UNKNOWN should work just fine as a found file.
Melissa  [developer] 13 Jul, 2018 @ 3:59am 
I've implemented a fix for this now. Thanks so much for the XFS tip, probably would've never figured that one out!
Melissa  [developer] 13 Jul, 2018 @ 7:12am 
The patch is live now. Let me know how this works! :D:
A developer of this app has indicated that this post answers the original topic.
XANi 22 Jul, 2018 @ 12:32pm 
Had a chance to verify it on partition with ftype=0 and it seems to work fine, thanks ;)
Melissa  [developer] 23 Jul, 2018 @ 4:27am 
Great!! Thanks! :D:
< >
Showing 1-5 of 5 comments
Per page: 1530 50