hi m0maid. I am sorry to hear of this complicated mess, very unfortunate indeed.
However, I agree with Peregrinus, be grateful for anything your friend offers you and accept it with real thanks. I believe under law, you are entitled to probably nothing, and there are reasons why this is so.
Your friend offered his assistance to you without conditions, with I assume no promise of payment and so he was in fact accepting a certain amount of risk for no return. This was an offer made based on friendship by your friend, not a contract with service and payment. Risks were assumed as understood by all, but after a few drinks I understand how these things seem so easy.
You were happy to accept his assistance for free, but after the fact unhappy to accept the consequences when something went wrong. This is analogous to being given a free watch by a friend, which fails after a day or so making you late for an appointment. Should you be angry with your friend about the watch? I say not. What do you expect for nothing?
If your parents gave you the computer for free, do they also expect to be reimbursed for its loss? Put yourself in their situation, where they spent money for your benefit but then you neglected to look after that asset well. Should they get a refund? Ask yourself why or why not? This may sound odd, but your parents are stakeholders in all this too, and their views and feelings are important.
This was a mistake waiting to happen. Be very grateful for anything your friend offers you and accept it with real thanks.