[SOLVED] Strange behavior with symlinks

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
arampl
Party member
Posts: 248
Joined: Mon Oct 20, 2014 3:26 pm

[SOLVED] Strange behavior with symlinks

Post by arampl »

Situation (Linux):

1. Game is allowed to use only recommended "love.filesystem" approach.
2. Game data files (static read-only resources) need to reside somewhere in the "/usr/local/share/games/game...". Not inside .love file, nor in the save dir.

When using .love file to execute the game it works only if this symlink is placed in TWO locations - in the save AND in the root of .love file.

When I execute "love <source dir>", it is enough to place symlink only in the source dir.

Symlinks are enabled in the game. Game is zipped with command "zip -y -r game.love <source dir>".

Does anybody knows what need to be done, to have symlink only in the save dir (for user to be able to set it to another location)?
What is wrong?

EDIT: Nevermind. Access rights stuff.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], CPop and 45 guests