using Raknet to create a patcher

I was curious if anyone has any experience with this , and issues they may have had. Also I would consider other solutions , besides M2H as it not a suitable option.

Patch data should be transferred using TCP. RakNet is UDP.

Unless I am mistaken RakNet has ability to use TCP from looking at their site. I am not all that familiar with raknet so I could be mistaken.

edit: Autopatcher

make a separate application that runs in background while its hidden. And let the app stream data and download it to the game directory and replacing files. And yes fholm is right TCP would be a better way, but mine is just a concept :]

If you download the source code for Raknet it actually comes with a Patcher. I’m not sure how it would work with Unity3D but I’ve used successfully with C++ projects I’ve done.

Hi fholm First of all the requirement for sending files is being reliable so either reliable UDP or TCP. The thing that agentleo is talking about is the patcher system in the RakNet itself and not it’s unity’s implementation. RakNet has this capability as a module in itself. @agentleo I have no experience with it but they have a SWAG wrapper for C# and unity so there should not be a problem in your standalone players to use it. Of course for web player it’s not possible to use RakNet (none integrated version) in unity at all and who needs a patcher on web player?

Thanks for replies, I think I may go ahead and try it out because I could always use Raknet for my C++ projects if I run into issues.

Oh and please keep in mind that there are other patching systems for unity games on asset store and internet as well. You might want to take a look at them as well. I never used any of them however. Actually anything that we worked on was either web player or mobile, unfortunately never worked on something standalone.

Good point , but only product in asset store I have found is m2h patcher , and while the dev is great guy, he has been busy with projects last few months and with the issues of loading updates greater 200MB price tag of $125 does not commute . Plus I could use the practice of using Raknet , and indy agreement is not bad. Even if I think the part of Jenkins being able to demand a rep review my accounting records on site a bit absurd if I broke 100k someone how I would just pay for the license.