use save_load_online_state from gd.cc