Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Hi, I’m playing this and it’s really fun. I’m enjoying this as an ambient game I can play off and on and grow in. The different places to leave messages for each other and compare notes is great as well.

I installed this on a tilde server where I’m a user without sudo privileges. I found the sysop guide helpful and we have a number of players on the server. My question is about how the game can be launched from outside the directory holding sfp. When any user (including myself) tries to run ~username/sfp-directory/sfp I get the following error:

`@ERROR: no game data folder exists at 'data//sfp'. Ensure you are running this
`2from the root folder of a game install.

Ideally I’d like to build an alias on the server so that would trigger running ~username/sfp-directory/sfp from anywhere without first requiring players cd to the folder which is just enough friction as to discourage new folks from trying it out, I believe. Is there a workaround that would permit that?

(+1)

Glad you're enjoying it! 😊 

So, without access to /etc or the like, you can point environment variables called SFP_DATA and SFP_GAME to the two directories, to avoid that error message.

Then you just need the binary file to be in your path somewhere.

So, off the top of my head (and not knowing your OS) you probably want to have the 'sfp' binary file in any directory that's in your path, set in your .bash_profile or similar file.

Once it's in the path it should just find the binary fine, and with the two environment variables set above, it should find the correct game static and dynamic folders and run your instance.