Patch for createing Filenamecache.txt

added in Cubical's changes where he created the filenamecache manually, however he used openJDK so i had to re-write most of it. there seem to be issues with having to select graal folder and a tileset (should be pics1.png on default?) manually, got really annoying seeing as graal folder is hidden on both linux and mac.