lovr.filesystem.getIdentity

Returns the identity of the game, which is used as the name of the save directory. The default is default. It can be changed using t.identity in lovr.conf.

identity = lovr.filesystem.getIdentity()

Arguments

None

Returns

NameTypeDescription
identitystringThe name of the save directory, or nil if it isn't set.

Notes

On Android, this is always the package id (like org.lovr.app).

See also