# This file is overwritten after every install/update
# Persistent local customizations
include balrum.local
# Persistent global definitions
include globals.local

# Balrum is a lwjgl game and not a vanilla java game,
# so it does not have the ? folder issues

mkfile ${HOME}/games/Balrum/game/config_new.xml
mkfile ${HOME}/games/Balrum/game/debug.txt
mkdir ${HOME}/games/Balrum/game/files/saves
mkdir ${HOME}/games/Balrum/game/files/cache
mkdir ${HOME}/games/Balrum/game/files/cache/spritedata

whitelist-ro ${HOME}/games/Balrum

read-write ${HOME}/games/Balrum/game/config_new.xml
read-write ${HOME}/games/Balrum/game/debug.txt
read-write ${HOME}/games/Balrum/game/files/saves
read-write ${HOME}/games/Balrum/game/files/cache/spritedata

ignore memory-deny-write-execute

ignore noexec ${HOME}

include generic-game.inc