You can maybe use this code:
int rawId = context.getResources().getIdentifier(filename, "raw", context.getPackageName());
With the method getResources() you can get the id of all the ressource. The second paramter is the type of the ressource (string, drawable, raw, ...)
Your code will be something like that:
int[] playerArray = new int[100];
String filename;
for(int i = 0; i<100; i++){
filename = "player"+String.valueOf(i);
int rawId = context.getResources().getIdentifier(filename, "raw", context.getPackageName());
playerArray[i] = rawId;
}