Search the Community
Showing results for tags 'CDN'.
Found 3 results
Hello, I am writing this tutorial becasue I have strugeled to do this and did not find many people that seem to know wbout this topic. So here we go: What is this tutorial about? Today I want to show how to setup a CDN for yourself to be independent from Blizzard. This is very usefull when you want to stick to a certan version of WoW. This tuorial is made for people that have basic skills in WoW-Modding and know some terms. For simplicity I will use Legion as my prime version. This works very similar to all versions that have a CASC storage. What is a CDN used for? As you may have noticed your Legion Client is able to load files not only via the BattlenetApp but also ingame. This is caused by a technology called CASC. A CASC is a special type of storage developed by Blizzard to be able to stream files to a game client. These CASC storage is provided via a CDN. Why have a own CDN? The anser is quite simple. Blizzard turns off support for older game versions. If you run a server and Blizzard shuts down their CDN for your client version it might stop working. To avoid this you need to have your own CDN. What do I need? You need a list of software in order to host a own CDN. Alot of these tools can be changed for equivalents feel free to use whatever tool suits you. I wont cover how to install these if you have trouble feel free to ask me. Here is my list: A Web server : https://httpd.apache.org/ A 010 Editor: https://www.sweetscape.com https://github.com/wowdev/Ribbit.NET (if you want to compile BuildBackup) Marlamin BuildBackup: https://github.com/Marlamin/BuildBackup/ (or allready downloaded CDN-Files) A simple Text Editor What to do? 1. Step Marlamin BuildBackup NOTE: You need Ribbit.net to use BuildBackup this is due to recent changes in the way Blizzard cdns work. You will need to use this aswell to downlaod from Blizzard cdns. After you have compiled the sources you will have a output that looks like this: You probably lack the batch but I will show you how to do this right now. dotnet BuildBackup.dll forcebuild wow 3b0517b51edbe0b96f6ac5ea7eaaed38 da4896ce91922122bc0a2371ee114423 As you can see this batch runs the BuildBackup.dll with the following parameters forcebuild - This forces it to load the right version wow - This is the game you want to download from the Blizzard CDN (only wow should matter) 2 Hashes You have to modify the 2 Hases to get the correct version. Todo so you open up following page: https://wow.tools/builds/ There you will find a long list of different builds. Search for the correct one and get the Build Config (1. Hash) aswell as the CDN Config (2. Hash). Fill those in to get the right Version. Sadly alot of the older Versions are not available anymore. I cant provide those so back up your Version as long as it still exists! Now run the batch and wait for the process to finish. Your outcome should be a folder named tpr. Make a backup of this folder in case you mess up your working Version. Keep in mind this can be around 200 GB of data. 2. Step getting all other needed Files Click the following 2 links and keep the Files where you can find them. We will need them in a minute. http://us.patch.battle.net:1119/wow/versions http://us.patch.battle.net:1119/wow/cdns These files direct your client to downlaod the correct Version of the Game from your CDN instead of the oficial ones. You need to modify those later. 3. Step configurating the web Server Now you have to open your web-Server. This is needed becasue your Client uses HTTP to request its Files. (Note this will only work for WoD and Legion since they introduced a new Type in BFA). Setup the following folders in your Root folder. In case of Apache 2.4 this folder is called htdocs. htdocs/wow htdocs/tpr/wow/... Copy your CDN-Files from step 1 in place of the trp folder and your files from step 2 in your wow folder. 4. Step editing the wow-folder files. Now open and modify the files according to my example. Starting with cdns: Name!STRING:0|Path!STRING:0|Hosts!STRING:0|Servers!STRING:0|ConfigPath!STRING:0 eu|tpr/wow|localhost|http://localhost|tpr/configs/data tw|tpr/wow|localhost|http://localhost|tpr/configs/data us|tpr/wow|localhost|http://localhost|tpr/configs/data kr|tpr/wow|localhost|http://localhost|tpr/configs/data cn|tpr/wow|localhost|http://localhost|tpr/configs/data Of course you should use the web-server adress you have. To set it up locally you can use localhost. You can also use a diffrent port. If you do simply add the port behind both localhost. I use default 80. Next up is versions: Region!STRING:0|BuildConfig!HEX:16|CDNConfig!HEX:16|KeyRing!HEX:16|BuildId!DEC:4|VersionsName!String:0|ProductConfig!HEX:16 eu|c67ad9d5ac4908d65a512b21fc9171bd|e9754adcc354309d735e9a4b3ba1ec87||26972|22.214.171.124972| tw|c67ad9d5ac4908d65a512b21fc9171bd|e9754adcc354309d735e9a4b3ba1ec87||26972|126.96.36.199972| us|c67ad9d5ac4908d65a512b21fc9171bd|e9754adcc354309d735e9a4b3ba1ec87||26972|188.8.131.52972| kr|c67ad9d5ac4908d65a512b21fc9171bd|e9754adcc354309d735e9a4b3ba1ec87||26972|184.108.40.206972| cn|c67ad9d5ac4908d65a512b21fc9171bd|e9754adcc354309d735e9a4b3ba1ec87||26972|220.127.116.11972| Fill in the hashes you used to download the files in step 1 aswell as the correct Version. Now you are nearly good to play. 5. Step modifying your client The URL to the Blizzard CDN is hardcoded in the client so you need a hex-editor to change this. Open your WoW-exectuable with 010 Editor and hit "ctrl + F". A small search bar apears at the bottom. Select the option text and search for cdns. You will find 2 links pointing to a Blizzard CDN. Simply change those URL's to point to your Web-Server and save the Files. 6. Step Logging in Now you can Login to your Client and use your own custom CDN as long as your Web-Server is running! Als long as your webserver is running your client will patch itself. Also Here is a tutorial on how to add custom files to your own cdn.
Hello, today I want to provide some information on how the new Infrastructure looks like. The main goal of this topic is to help new Legion modders understand how things work now. The following information only show the basics of this topic, but will cover everything you need to get you started. Please note that this is a complex topic. If you find any errors please let me know so I can fix them. This Image shows every part of the new Infrastruture you need to know right now. We will now talk about every part in Detail. 1. CDN The word CDN is often used as a false name for TACT. A CDN is the combination of TACT and webserver. Since webservers are not a Blizzard thing they are not covered here. The only thing you need to know is that for Legion a simple http based webserver is enough to host your TACT. This has changed in BFA. A CDN serves as a provider for the client to patch itself. Having a complete CDN will allow your client to complete itself by just having a WoW.exe. 2. TACT The TACT-Files are a lage amount of files that basically replaced the MPQ files we knew. Its a modern storage that holds ALL FILES OF EVERY LOCALIZATION. You can not only have TACT files of one localization. This is also the place where you will add custom files. Keep in mind that most files within a TACT uses FileDataIDs by now. 3. Client ant CASC Once you connect your client to a CDN it will start downloading files for its selected configuation (e.g OS, localization,...). These files are stored in a CASC. You cannot build a TACT from a CASC. You could theoratically copy these CASC-files to another client to "patch" it but this would be a very bad way of doing things. 4. Trivia Your best bet for starting Legion modding is to setup your own CDN. This way you can always download a fresh client. You cannot / should not add files to your client anymore like you did in early versions of Legion modding You can modify your TACT using Caschost or TACTAdder Better make a Backup of your TACT files those are valuable You can download the most recent TACt files from blizzard using BuildBackup Older versions of TACT are not available anymore. (But some modders do still have them around) FileDataIDs usually dont change between patches and even expansions
Hey! I try make this guide for you can make you CDN with custom files for 7.3.5 Legion (u other versión). Before I’m sorry for my english level and I hope it can understand you. The first step is download CDN Blizzlike files. Here I share us the CDN Blizzlike files for 7.3.5 26972 (I'm not allowed to share it. When i have time i upload my CDN Files) You must download this files in you server, it can be Linux or Windows, i used Ubuntu server 17. You can use this command in Ubuntu for download from Google Drive: wget https://raw.githubusercontent.com/circulosmeos/gdown.pl/master/gdown.pl chmod +x gdown.pl perl gdown.pl “name of file” Now you must unrar the file in your webhosting app. It can be htdocs or /var/www in case of Linux. If you haven’t Apache installed, you must do it (sudo apt install apache2). You can change the root path of apache2 (cd /etc/apache2 and nano apache2.conf or conf file in some folder) You must have tpr and wow folder of CDN Files you downloaded in root path of apache2 (example: /var/www/tpr and /var/www/wow) You can configure one domain for point your ip. Now you must download CASCHost, you can follow the next guide: https://model-changing.net/tutorials/article/120-beginners-guide-to-caschost/ But in this guide, you must modify appsettings.json with “Staticmode: True” And you must download this .build.info= https://drive.google.com/file/d/1kAzKbwHaVq76BkWHRHjNVZODHqTOvM6G/view?usp=sharing After you must modify and change localhost for your domain, you can have more domains. Example: localhost for try.com localhost 2 for try2.com, etc. If you have other CDN Files or versión, you must change the Keys CDN,Build, etc from .build.info and save. You must put the .build.info in your CASCHost/CASCHost/wwwroot/SystemFiles and your custom files in CASCHost/CASCHost/wwwroot/Data/custom files with blizzlike path. Example: Data/Character/Orc/Male/Orcmale.m2) You must have access to your database as said here: https://model-changing.net/tutorials/article/120-beginners-guide-to-caschost/ After you must go to your CASCHost/CASCHost and you do (dotnet run) When it finish, you copy your custom files from CASCHost/CASCHost/wwwroot/Output to CDN Files webhosting. Tpr and wow folder of CASCHost to tpr and wow of CDN Files in Apache2. You never must delete your database. After you modify your Wow.exe and change the url for your domain.com/wow/cdns and domain.com/wow/versions as said in the other guide. If you have problems, you can ask help you in discord or MC. Enjoy!!!! If somebody want share the CDN files and versions for 8.1 or 8.2, much better!! Thanks to Kallar, Senix and all Model-changing.