Sign in to follow this  
Fulayfel

[Help] How can I implement a CDN for MPQ files (4.3.4) ?

Hello everyone, first post here.

so I've seen this post

And I'm wondering If I could do the same with MPQ files for WoW Cataclysm?

I know Twinstar.cz (Apollo-WoW) have done it, so I know it's possible.

Anyone has ideas on how can I start this?

Thanks.

Share this post


Link to post
Share on other sites

Thank you for replying!

However, I've setup my own cataclysm client and server (https://github.com/The-Cataclysm-Preservation-Project/TrinityCore) and it still works (it is still downloading in the background), so I think this is different from what you are describing.

 

After a bit of research, I've discovered that there is a file: WoW.mfil that describes the server that they are using:

version=2
server=limelight
 location=http://cdn.twinstar-wow.eu/15050.direct/
 server=limelight
location=http://cdn.sispnet.de/15050.direct/
manifest_partial=wow-15595-0C3502F50D17376754B9E9CB0109F4C5.mfil

So they are using limelight (after googling it turns out to be a cdn)

and they have these addresses:

http://cdn.twinstar-wow.eu/15050.direct/

and

http://cdn.sispnet.de/15050.direct/

 

when you add manifest_partial to the first address you get this:

 http://cdn.twinstar-wow.eu/15050.direct/wow-15595-0C3502F50D17376754B9E9CB0109F4C5.mfil

If you click on that link you'll actually find a document containing the paths, sizes, locales of the all MPQ files needed by the client.

it seems that this manifest_partial tells the client where to download these files.

We can actually append the path of the MPQ files to the address and get the file like so:

Downloading world.MPQ for example:

http://cdn.twinstar-wow.eu/15050.direct/Data/world.MPQ

 

So how are they setting up their server? Is it simply serving this document on the manfiest_partial endpoint and hosting the MPQ files?

This seems too good to be true.

 

Again, If anyone got any ideas please share!

 

Share this post


Link to post
Share on other sites

They use a CDN to delvier the mpqs via a 3rd party application. This is a whole other thing than streaming files into WoW. 
CDN stands for content delivery network. Which basically only means its a system that allows you to download content. This content can be anything from images to mpqs to other file types. 
As far as I know the streaming files to client functionallity of MPQ's whas never implemented in the client of wow so you cannot use it . Streaming is one of the key benefits of modern wow file distribution. MPQ is just awfully old peace of technology.

Share this post


Link to post
Share on other sites

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
Sign in to follow this