-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
29 changed files
with
1,470 additions
and
866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@echo off | ||
if not "x%WDKDIR%" == "x" goto SELECT_LIB | ||
echo The WDKDIR environment variable is not set | ||
echo Set this variable to your WDK directory (without ending backslash) | ||
echo Example: set WDKDIR C:\WinDDK\6001 | ||
pause | ||
goto:eof | ||
|
||
:SELECT_LIB | ||
set PROJECT_DIR=%~dp0 | ||
set LIBRARY_NAME=CascLibWDK | ||
|
||
:BUILD_LIB_32 | ||
echo Building %LIBRARY_NAME%.lib 32-bit (free) ... | ||
set DDKBUILDENV= | ||
call %WDKDIR%\bin\setenv.bat %WDKDIR%\ fre wxp | ||
cd %PROJECT_DIR% | ||
build.exe -czgw | ||
echo. | ||
|
||
:COPY_LIB_32 | ||
copy /Y .\objfre_wxp_x86\i386\%LIBRARY_NAME%.lib ..\aaa\lib32\%LIBRARY_NAME%.lib >nul | ||
del buildfre_wxp_x86.log | ||
echo. | ||
|
||
:BUILD_LIB_64 | ||
echo Building %LIBRARY_NAME%.lib 64-bit (free) ... | ||
set DDKBUILDENV= | ||
call %WDKDIR%\bin\setenv.bat %WDKDIR%\ fre x64 WLH | ||
cd %PROJECT_DIR% | ||
build.exe -czgw | ||
echo. | ||
|
||
:COPY_LIB_64 | ||
copy /Y .\objfre_wlh_amd64\amd64\%LIBRARY_NAME%.lib ..\aaa\lib64\%LIBRARY_NAME%.lib >nul | ||
del buildfre_wlh_amd64.log | ||
echo. | ||
|
||
:COPY_HEADER | ||
copy /Y .\src\CascLib.h ..\aaa\inc >nul | ||
|
||
rem Clean temporary files ... | ||
if exist build.bat del build.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
TARGETNAME=CascLibWDK | ||
TARGETTYPE=LIBRARY | ||
USE_MSVCRT=1 | ||
|
||
C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DWDK_BUILD | ||
|
||
SOURCES=sources-c.c \ | ||
sources-cpp.cpp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#pragma warning(disable:4005) // warning C4005: 'DO1' : macro redefinition | ||
|
||
#include "src\jenkins\lookup3.c" | ||
#include "src\zlib\adler32.c" | ||
#include "src\zlib\crc32.c" | ||
#include "src\zlib\inffast.c" | ||
#include "src\zlib\inflate.c" | ||
#include "src\zlib\inftrees.c" | ||
#include "src\zlib\zutil.c" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#include "src\common\Common.cpp" | ||
#include "src\common\Csv.cpp" | ||
#include "src\common\Directory.cpp" | ||
#include "src\common\FileStream.cpp" | ||
#include "src\common\FileTree.cpp" | ||
#include "src\common\ListFile.cpp" | ||
#include "src\common\RootHandler.cpp" | ||
#include "src\md5\md5.cpp" | ||
#include "src\CascDecompress.cpp" | ||
#include "src\CascDecrypt.cpp" | ||
#include "src\CascDumpData.cpp" | ||
#include "src\CascFiles.cpp" | ||
#include "src\CascFindFile.cpp" | ||
#include "src\CascIndexFiles.cpp" | ||
#include "src\CascOpenFile.cpp" | ||
#include "src\CascOpenStorage.cpp" | ||
#include "src\CascReadFile.cpp" | ||
#include "src\CascRootFile_Diablo3.cpp" | ||
#include "src\CascRootFile_Install.cpp" | ||
#include "src\CascRootFile_MNDX.cpp" | ||
#include "src\CascRootFile_OW.cpp" | ||
#include "src\CascRootFile_Text.cpp" | ||
#include "src\CascRootFile_TVFS.cpp" | ||
#include "src\CascRootFile_WoW.cpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.