Quote: "When the message box with the path shows the Template folder is created but empty. Just when I press "OK" to close this message box - I can see the created files"
That is as expected, the files aren't actually created until the InitGL method.
Before the call to InitGL call agk::SetErrorMode(1) so it will continue after the error, then after the call to InitGL I would try loading the file myself. Use agk:
penToRead( 1, "/Arial.png" ) and see what happens, does agk::GetFileExists( "/Arial.png" ) return 1 or 0, try the following code which is similar to what AppGameKit is doing internally
uString sPath( "/Arial.png" );
agk::PlatformGetFullPathWrite( sPath );
agk::Message( sPath.GetStr() );
struct stat buf;
if ( stat( sPath.GetStr(), &buf ) != 0 ) agk::Message( "Not Found" );
else agk::Message( "Found" );