diff --git a/linux64_exec/jewels b/linux64_exec/jewels index 481758e..9f62b0c 100755 Binary files a/linux64_exec/jewels and b/linux64_exec/jewels differ diff --git a/linux64_exec/pipes b/linux64_exec/pipes index eb89dad..f85db06 100755 Binary files a/linux64_exec/pipes and b/linux64_exec/pipes differ diff --git a/sources/config.h b/sources/config.h index 0320d18..078b773 100644 --- a/sources/config.h +++ b/sources/config.h @@ -1,3 +1,3 @@ -#define PP_SCORES "PipesScores" -#define JW_SCORES "JewelsScores" +#define PP_SCORES "/usr/games/pp_scores" +#define JW_SCORES "/user/games/jw_scores" //for easier access diff --git a/sources/jewels.c b/sources/jewels.c index eaf65dc..76e72fb 100644 --- a/sources/jewels.c +++ b/sources/jewels.c @@ -40,7 +40,7 @@ byte scorewrite(long score){// only saves the top 10 else{ deforno=0; if( !(scorefile = fopen(getenv("JW_SCORES"),"r")) ){ - fprintf(stderr,"\nNo accessible score files found. You can make an empty text file in %s/%s or set JW_SCORES to such a file to solve this. \n",getenv("HOME"),JW_SCORES); + fprintf(stderr,"\nNo accessible score files found. You can make an empty text file in %s or set JW_SCORES to such a file to solve this. \n",JW_SCORES); exit(EXIT_SUCCESS); } } diff --git a/sources/pipes.c b/sources/pipes.c index e914660..db10c30 100644 --- a/sources/pipes.c +++ b/sources/pipes.c @@ -51,7 +51,7 @@ byte scorewrite(void){// only saves the top 10, returns the place in the chart else{ deforno=0; if( !(scorefile = fopen(getenv("PP_SCORES"),"r")) ){ - sprintf(error,"No accessible score files found. You can make an empty text file in %s/%s or set PP_SCORES to such a file to solve this.",getenv("HOME"),PP_SCORES); + sprintf(error,"No accessible score files found. You can make an empty text file in %s or set PP_SCORES to such a file to solve this.",PP_SCORES); return -1; } }