[Archive] [Help] How can I implement a CDN for MPQ files (4.3.4) ?
[Archive] [Help] How can I implement a CDN for MPQ files (4.3.4) ?
Archived author: Fulayfel • Posted: 2020-05-29T20:27:21+00:00
Original source
Hello everyone, first post here.
so I've seen this post
https://www.wowmodding.net/tutorials/art.../?do=embed
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.
Archived author: dashker • Posted: 2020-05-30T12:48:40+00:00
Original source
it's not a cdn, they use this version with mpq updater from server and client.
https://github.com/luth31/ElunaTrinityWo...ientupdate
Archived author: Fulayfel • Posted: 2020-05-30T18:31:28+00:00
Original source
Thank you for replying!
However, I've setup my own cataclysm client and server (https://github.com/The-Cataclysm-Preserv...rinityCore) 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!
Archived author: Mr. DK • Posted: 2020-11-19T19:54:33+00:00
Original source
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.