Write Blend, Normals and Map_Reflection material properties to obj if required. Not sure about the Map_Reflection bit, as it is set for all llama materials (except nav ani).
Not fixed issues:
Additional params that are not written to obj are lighting and cull.
While detail_plane is written to obj, it is not read properly(input is converted to upper but scanned for lower case detail_plane). No idea what has been the motivation there...
In general it seems that a round trip bfxm->obj->bfxm was not meant to be supported.
Attaching patch failed: http://pastebin.com/zczgWiPY
Just one question... did Blender read those obj files without issue? (We wouldn't like to break compatibility)
Blender import works fine, will also print the parameters it ignored.