Jump to content

Open Source CRC Patcher


Recommended Posts

  • VIP

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Internal )

June 17 2014 - I rewrote the whole the source.

 

FAQ:

How can I open the project, which version of Visual Studio do I need?
I used Visual Studio 2013, but I'm sure you can open in 2012 too.

What is CRC?
You can learn more about Cyclic redundancy check 

Hidden Content

    Give reaction to this post to see the hidden content.
.

How can I make a list for the patcher?
You can use the lister tool, it's in the source.

 

HOW TO MAKE IT WORKS:

 

1. Change the ServerURL variable in Globals.cs to your url

2. Build the project

3. Create a list with the lister tool (

Hidden Content

    Give reaction to this post to see the hidden content.
)

4. Upload the files and the patchlist to your server (

Hidden Content

    Give reaction to this post to see the hidden content.
)

 

Downloads:

Hidden Content

    Give reaction to this post to see the hidden content.

 

If you have any question or suggestion please just reply to this topic.
 
Kind Regards,
Sanchez

  • Metin2 Dev 12
  • Love 45
  • Love 3
  • Good 6
  • Think 1
  • Vomit 1
Link to comment

It's a nice little tool, good job. However I must advise you to completely migrate to WPF (believe me, it's worth the effort). You'd make use of its awesome two-way data binding (along with many other features), and by using an MVVM coding pattern, the business logic would be completely decoupled from the view(s), thus improving unit testing capabilities. One other feature worth noting: with WPF you can customize your GUIs to a depth that Win Forms doesn't even dream of, it's a whole new level. Better multi-threading support, better code maintainability, 0 problems updating your View(s)... All this is possible with WPF and MVVM.

 

PS: Win Forms is no longer being developed, it won't evolve anymore. WPF is considered the future of Windows development.

  • Love 1
Link to comment

Thanks for your reply, but it doesn't have any special GUI. Its open source so everybody can modify everything.

a1_2014_2_8_s7siztm3yc.png

 

yes I understand the goal of what you're posting but screens are still a "plus" :P

Link to comment

Hi everyone,

 

Today I upgraded the project to WPF, hope it helps to many people.

 

Downloads:

 

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.

Kind Regards,

Sanchez

Using WPF with the same approach as you'd use in Windows Forms brings nothing good to the table. You should read some articles on WPF and MVVM. The most powerful feature of WPF (two-way data binding) keeps untouched in your project, you manually update your view and rely on your code-behind to perform all tasks (one good thumb rule is: if you need to set names of your controls often, you're doing something wrong). I can't recommend enough WPF using a MVVM approach, you won't use anything else once you get used to it, I can guarantee you that :)

I'll leave you with a few links if you're interested in learning more about the subject:

Hidden Content

    Give reaction to this post to see the hidden content.

Hidden Content

    Give reaction to this post to see the hidden content.
(One of the best MVVM articles I've found)

  • Metin2 Dev 3
  • Love 2
  • Good 1
Link to comment
  • VIP

Thanks for your reply and for these useful links too, but I'm not really interested in WPF. 5-6 months ago I wrote some applications to Windows Phone and I had to learn a bit about XAML, WPF, Data binding but It was not really my style. But again, thanks for the links.  :)

  • Love 1
Link to comment
  • 3 months later...
  • 2 weeks later...
  • 6 months later...
  • 2 months later...
  • VIP

It works perfect! Thanks but 

Do you know how to add administrator privilege by starting the patcher.

And how to add a design

Hello.

 

Design you can do it yourself, by adding images, a web browser component to show a website and so on.

Administrator, didnt made it yet, but i think you have to add it to a manifest file.

Link to comment
  • 1 month later...
  • 3 weeks later...
  • VIP

Hello,

Today, when I launched an update, my players have downloaded, but stopped when they did not see an NPC that was included in the patch already a long time, but if I move the file without the updater, they can see everything.

Why the updater does not download some files in their entirety? It has some size limit or something?

Thank you

QJ0orbR.png

Metin2 Icon Database

Link to comment

Hello,

Today, when I launched an update, my players have downloaded, but stopped when they did not see an NPC that was included in the patch already a long time, but if I move the file without the updater, they can see everything.

Why the updater does not download some files in their entirety? It has some size limit or something?

Thank you

​Everytime you add/remove/edit something in the patcher, you have do add or remove the hashes again... You get the hashes with the PatcherList, so, everytime you add/remove/edit anything in the patcher, run the PatcherList again and refresh the hashes in the patcher

Link to comment
  • VIP

I always use PatchList...

The patch was already in the folder pack, I add something's to him, then I ran patchlist and then I upload to the site, but the files isn't download completely...

QJ0orbR.png

Metin2 Icon Database

Link to comment
  • VIP

Hello again,

I realised that the patcher doesn't download bigger files, like 35MB +, but the download, checks them as complete...

Is the Lister that is doing wrong the crc code? Or is the patcher that have a size limit to download?

Thanks...

QJ0orbR.png

Metin2 Icon Database

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.