How Frictional Properties Lead to Either Rupture-Front Focusing or Cracklike Behavior