Listen I know that you dont want to lose your buddy. But if you care for him like you seem to then putting him down, or having someone put him down might be a better option than allowing him to suffer. Maybe maybe more pictures or video would help people make a better analysis. He sounds in bad shape though.
Try to get some nutrients in him. Scrambled egg. Nutri-drench directly into his mouth. Or something with added electrolytes in his water. Try to give him some energy to keep fighting and get him in a small comfortable place so that he doesnt try to move much. That's where I would start, maybe clean his face and assess the wounds.
Please consider that you may lose him and may have to put him down to keep him from suffering. Sorry