Compare commits

..

20 Commits
1.1 ... master

Author SHA1 Message Date
CDAGaming
dc1b555dfd
Sync 2022-05-13 02:17:24 -05:00
Nathan Ferreira
cce909ae77 update readme notice about OW2 beta 2022-04-20 14:09:06 -03:00
Nathan Ferreira
745ea73b7b update readme notice about OW2 beta 2022-04-20 14:07:52 -03:00
Nathan Ferreira
c85a408144 fix build errors and inconsistence crash 2022-04-20 13:57:06 -03:00
Nathan Ferreira
d6b783d5c1 added overwatch 2 beta support 2022-04-20 13:54:15 -03:00
Nathan Ferreira
0b9029439a update c++ version 2022-04-20 13:54:01 -03:00
-Shiken-
b5b9a731c9
Merge pull request #1 from Yoosk/master
add Diablo II: Resurrected alpha
2021-12-10 02:21:35 +08:00
CDAGaming
f0b349e90d
Update ngdp.cpp 2021-04-08 17:10:15 -05:00
Yoosk
320338a7e6 add Diablo II: Resurrected alpha 2021-04-08 21:56:21 +02:00
Yoosk
7a4f23bb92
Merge pull request #1 from doadin/master
pull from other fork
2021-04-08 19:53:28 +00:00
CDAGaming
72dd4f4c64
Update for Visual studio 2019 Compatibility 2021-03-25 09:48:07 -05:00
CDAGaming
350c2c6a56
Merge remote-tracking branch 'djkaty/master' 2021-03-24 23:11:29 -05:00
doadin
21c310c4e5
Update ngdp.cpp 2019-05-19 23:51:44 -04:00
doadin
a54b46a6d9
Update ngdp.cpp 2019-05-19 23:13:17 -04:00
doadin
38304a30bd
Update BlizzGet.sln 2019-05-19 23:11:41 -04:00
Katy Coe
a18d4a242d Use current build instead of list of builds 2017-03-05 22:08:46 +01:00
Katy Coe
a1096169a7 Fix crash when parsing ID in versions file 2017-03-05 21:29:57 +01:00
Katy Coe
933c223785 Update vcxproj for Visual Studio 2015 2017-03-05 21:29:26 +01:00
Katy Coe
dbee546c4a Fix LoadCursor IDC_ARROW cast warnings 2017-03-05 21:29:10 +01:00
Katy Coe
16261038c4 Fix FontStruct to be C++11 compliant 2017-03-05 21:28:31 +01:00
11 changed files with 41 additions and 10 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
vc13/Debug/
vc13/.vs/
vc13/Release/

View File

@ -14,3 +14,15 @@ Step 4: select download location and start the download.
Note that the program creates a cache in its local directory, which significantly increases disk usage (doubles or even triples, because it often loads partial archives and reserves space for the entire file), but re-downloading the game, or downloading future versions can take significantly less time. You can delete the cache folder after downloading if you value disk space over future network traffic.
Using this is not recommended for playable versions, as it is probably slower than the battle.net launcher (due to only using one download thread), and might not install everything correctly. It is also incapable of patching (aka upgrading a previous installation). You might be able to use it to pre-download an upcoming game and then use the battle.net launcher to 'fix' it (make sure to rename the Data folder to what is appropriate for the specific game, though.. in some cases it even has to be inside another folder, i.e. /data/casc for Overwatch).
<hr/>
<b>Overwatch Beta</b>
1. Download an pre built app, on releases tab (or compile yourself with VS2022)
2. Open app and select program code: "prob - Overwatch Beta" and region you want.
3. Select only available build id that exists, must be like: `build-branch = 2_00_8_0`
4. Wait untill encoding table is fetched and download list is prepared.
5. Select language you want.
6. Select destination folder to download files then click Start
7. Wait for download complete and be happy with files because you cannot login since your account must be allowed to join in server 😂

View File

@ -6,6 +6,7 @@
#include "wizard.h"
#include <algorithm>
#include <time.h>
#include <string>
void ProgramData::Task::stop() {
terminate_ = true;
@ -50,11 +51,13 @@ int ProgramData::Task::proc() {
}
void ProgramData::setTask(Task* task) {
// duplicating the unique_ptr just in case
{
// FIXME: This causes an crash since old pointer is begin released before its swap contents.
// smart_ptr.reset is enough for now
/* {
auto tsk = task_;
if (tsk) tsk->stop();
}
}*/
task_.reset(task);
if (task) task->start(this);
}
@ -101,7 +104,6 @@ void ProgramData::loadBuilds() {
File file = data_->ngdp_->load(cdn_hash);
if (!file) return -1;
data_->cdn_config = NGDP::ParseConfig(file);
//data_->builds = split(data_->cdn_config["builds"]);
data_->builds.push_back(data_->ngdp_->version()->build);
notify(0);
for (size_t i = 0; i < data_->builds.size() && !terminate_; ++i) {

View File

@ -4,6 +4,7 @@
#include "frameui/window.h"
#include "frameui/framewnd.h"
#include <CommCtrl.h>
#include <string>
class Scrollable : public WindowFrame {
public:

View File

@ -63,7 +63,7 @@ WNDCLASSEX* Window::createclass(std::string const& wndClass) {
wcx->lpfnWndProc = WindowProc;
wcx->hInstance = hInstance;
wcx->lpszClassName = regClass.c_str();
wcx->hCursor = LoadCursor(NULL, MAKEINTRESOURCE(IDC_ARROW));
wcx->hCursor = LoadCursor(NULL, IDC_ARROW);
return wcx;
}
delete wcx;
@ -79,7 +79,7 @@ void Window::create(int x, int y, int width, int height, std::string const& text
wcex.lpfnWndProc = WindowProc;
wcex.hInstance = GetModuleHandle(NULL);
wcex.lpszClassName = "WUTILSWINDOW";
wcex.hCursor = LoadCursor(NULL, MAKEINTRESOURCE(IDC_ARROW));
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
windowClass = RegisterClassEx(&wcex);
}
hWnd = CreateWindowEx(exStyle, regClass.empty() ? "WUTILSWINDOW" : regClass.c_str(), text.c_str(), style,

View File

@ -3,6 +3,7 @@
#include <windows.h>
#include <map>
#include "base/types.h"
#include <string>
class Window
{

View File

@ -22,8 +22,10 @@ namespace NGDP {
{ "heroc", "Heroes of the Storm Tournament" },
{ "hsb", "Hearthstone" },
{ "hst", "Hearthstone Test (Partial)" },
{ "osib", "Diablo II: Resurrected (Alpha)" },
{ "pro", "Overwatch Retail" },
{ "prot", "Overwatch Test" },
{ "prob", "Overwatch Beta" },
{ "proc", "Overwatch Tournament" },
{ "prodev", "Overwatch Dev (Encrypted)" },
{ "s1", "StarCraft I" },
@ -40,6 +42,10 @@ namespace NGDP {
{ "wow", "World of Warcraft Retail" },
{ "wowt", "World of Warcraft Test" },
{ "wow_beta", "World of Warcraft Beta" },
{ "wow_classic", "World of Warcraft Classic" },
{ "wow_classic_beta", "World of Warcraft Classic Beta" },
{ "wowdemo", "World of Warcraft Demo" },
{ "wowdev", "World of Warcraft Dev" },
};
NGDP::NGDP(std::string const& app)

BIN
vc13/BlizzGet.aps Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
# Visual Studio 14
VisualStudioVersion = 12.0.30723.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BlizzGet", "BlizzGet.vcxproj", "{5C7B85D1-E985-4331-862E-B4864324DCB5}"

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
@ -14,18 +14,19 @@
<ProjectGuid>{5C7B85D1-E985-4331-862E-B4864324DCB5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>BlizzGet</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>