Texture[0]=<entSkin1>;
Texture[1]=<entSkin2>;
Texture[2]=<entSkin3>;
Texture[3]=<entSkin4>;
MagFilter[2]=linear;
MinFilter[2]=linear;
MipFilter[2]=linear;
MagFilter[3]=linear;
MinFilter[3]=linear;
MipFilter[3]=linear;
ZWriteEnable=true;
VertexShaderConstant[0]=<matWorldViewProj>;
VertexShaderConstant[4]=<matWorld>;
VertexShaderConstant[8]=<matWorldView>;
VertexShaderConstant[16]=<vecSunDir>;
VertexShaderConstant[20]=<vecFog>;
some of this stuff is case sensitive now and you have to remove the .x of oFog.x. these are the errors i noticed at first sight but there might be some others. what do the error messages say?