remove .orig files, mod protocol.h with protocol_v3 and add t to gen_tile.cpp