Fun with Rotary Encoders

You're not trying to do both at once, are you?

Haha, no.

Have you ever wondered why the language used to program the Arduino is not called C=C+1?

I sense there is a hilarious joke here somewhere I'm not picking up on.

What is the first image called?

Ah yes, you were correct there was a disconnect in what processing was asking for and what I was trying to give. I've now renamed all files as FriendlyFire_0.png, FriendlyFire_1.png, and so on until the double digits. Then it's FriendlyFire_10.png, etc.

So, why do the other images use extensions like .01, .02, etc?

Well spotted. This was a spelling error in my post, I apologize for the inconsistency. All files use the filename + underscore + number format. I've double checked.

Are you missing the .png extension?

I was indeed!

With your help I've gotten rid of the old error messages and if been rewarded with brand new ones. Feels like progress.
Here are the new errors I'm getting with every click of the rotary encoder. The following is the result of two clicks forward and then two clicks backwards:

WARNING:  RXTX Version mismatch
	Jar version = RXTX-2.2pre1
	native lib Version = RXTX-2.2pre2
The file "FriendlyFire_52.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_48.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_52.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_49.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_52.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_48.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_51.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "FriendlyFire_57.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.

As you can see, often I get two pulses with one click of the encoder. I don't know why this would be with the result im getting off the arduino is so consistent. The encoder itself has 4 intervals in every click, but I've managed to fix that in code. So I don't know what to say. Also I have no idea why it wont go under 48. Here's my code as of now:

import processing.serial.*;

Serial myPort;  // Create object from Serial class
int val;      // Data received from the serial port
PImage img;

void setup() 
{
  size(1000, 1000);
  // I know that the first port in the serial list on my mac
  // is always my  FTDI adaptor, so I open Serial.list()[0].
  // On Windows machines, this generally opens COM1.
  // Open whatever port is the one you're using.
  String portName = Serial.list()[0];
  myPort = new Serial(this, portName, 9600);
  img = loadImage("FriendlyFire_1.png");
}

void draw() {
  image(img, 0, 0);
  if ( myPort.available() > 0) {  // If data is available,
     val = myPort.read();
     loadImage("FriendlyFire_" + val + ".png"); 
  }
}

Thanks so much for your help!