code: def interface_options(score=False, raw=False, features=None, rgb=None):
    
    interface = sc_pb.InterfaceOptions()
    interface.score = score
    interface.raw = raw
    if features:
      interface.feature_layer.width = 24
      interface.feature_layer.resolution.x = features
      interface.feature_layer.resolution.y = features
      interface.feature_layer.minimap_resolution.x = features
      interface.feature_layer.minimap_resolution.y = features
    if rgb:
      interface.render.resolution.x = rgb
      interface.render.resolution.y = rgb
      interface.render.minimap_resolution.x = rgb
      interface.render.minimap_resolution.y = rgb
    return interface
docs: Get an InterfaceOptions for the config.