Skip to main content

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

Hi :)

Verdant Village is beautiful! You are great! I have two things to tell you.

1- I'm a linux user and sometimes Verdant Village freezes, here are the logs:
./Verdant\ Village
[4562:4570:0531/194742.980876:ERROR:nacl_browser.cc(309)] Failed to open NaCl IRT file "/home/yuri/t/VerdantVillage/linux64/nacl_irt_x86_64.nexe": -4
[4582:4582:0531/194743.365221:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[W][000023717.106586][remote-node.c:630 client_node_port_use_buffers()] Failed to mlock memory 0x7fef0032d000 32816: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
[4562:4570:0531/194749.805431:ERROR:shader_disk_cache.cc(235)] Failed to create shader cache entry: -2
[W][000023722.689430][remote-node.c:630 client_node_port_use_buffers()] Failed to mlock memory 0x7fef001c2000 32816: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
[W][000023722.689635][remote-node.c:630 client_node_port_use_buffers()] Failed to mlock memory 0x7fef001b9000 32816: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
[W][000023769.663520][remote-node.c:630 client_node_port_use_buffers()] Failed to mlock memory 0x7fef00250000 32816: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
[W][000023769.663560][remote-node.c:630 client_node_port_use_buffers()] Failed to mlock memory 0x7fef00247000 32816: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
[W][000023981.748851][impl-node.c:937 node_on_fd_events()] node 0x5559a2afc8f0: missed 1 wakeups

2- The new save system has some bugs on Linux and probably on MacOs too (I don't have a Mac but it is a unix-like Os).
Now some config files are in '~/.config/VerdantVillage' (correct) and some files are in home directory (not correct):
VerdantVillage\audioSettings.config
VerdantVillage\saveData.save
VerdantVillage\saveSlot1.save

On Linux '\' is a normal caracter and the path separator is '/', so 'VerdantVillage\audioSettings.config' is a file, probably you were going to make a folder 'VerdantVillage' with 'audioSettings.config' 'saveData.save' 'saveSlot1.save' inside it. However, config file must go inside '~/.config' and data file must go inside '~/.local/share'.  (~ is the user home directory)

References:
https://unix.stackexchange.com/questions/312988/
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Thanks for the report. I’ll have to look into it. This sort of thing starts to get really messy, real fast. As for the errors. I honestly don’t know what to say. Looking into things a bit the memlock thing seems to be an issue you can set on your own OS via a command, just google the error message. As for the other one about failing to open the NaCl file I don’t exactly know. Other reports of similar issues I’ve seen online just say that people ignore it and it doesn’t bother them. Probably not a good solution, but I’ve yet to find one that explains the cause of the issue. All I can really do from my end is export. The game is written in Construct 3. On a whole I have little control over the export process and the files that actually comprise the game. I basically just select an operating system and architecture type and press go. Outside of that it’s basically all handled by the software.

I have a spare computer lying around. Assuming it still works I’ll try installing linux on it for testing. I’ve been flying blind in regards to linux, but it’s probably time to rectify that. It’s possible that I can alter the save location specifically for linux, and maybe Mac. The reason it is using whatever folder it uses is because there is a command in Construct 3 that basically points at the user folder on a computer, I.E. I didn’t consciously pick that folder, it’s just what C3 claims is optimal. The reason its used is because that essentially guarantees that the game can write to that location as pretty much every user will have read/write access to that area. I could technically make a folder where ever I want but it could cause issues with write permissions. Still I’ll have to look into things a bit and see what I can do.

1- it works! No more freezing! Thanks a lot! For future references:

add the following two lines to /etc/security/limits.conf

* hard memlock unlimited
* soft memlock unlimited

then reboot the system.

2- For the sake of clarity, the game works but save files must go in ~/.config/VerdantVillage or in ~/.local/share/VerdantVillage and not in ~/VerdantVillage

Thanks for everything and keep it up! Thumbs up!

Glad to know at least one thing is fixed. I’ll check into the linux save stuff, just gotta find time to install linux on a PC, or maybe just virtual box it. But I’ll see what I can do.