Question: how to edit ydr files?
Answer: ydr file, extract to OpenFormats. You get an *. odr file and loose textures, edit those PNG or DDS textures (you setup in the options for OpenIV to which format to extract) in GIMP or Photoshop. Then import the edited textures into OpenIV using the created *.