mirror of
https://github.com/sfall-team/Fallout_DAT2.git
synced 2026-07-27 16:53:05 -07:00
Updated zlib to 1.3.1
Updated version number and year.
This commit is contained in:
@@ -19,8 +19,8 @@ Original author: **Anchorite (TeamX)**
|
|||||||
-s: create Fallout 1 DAT file
|
-s: create Fallout 1 DAT file
|
||||||
-r: recurse into subdirectories
|
-r: recurse into subdirectories
|
||||||
-0..9: Compression method
|
-0..9: Compression method
|
||||||
(Fallout1: 0 - store, other numbers - compress (default)
|
(Fallout1: 0 - store, other numbers - compress (default))
|
||||||
(Fallout2: 0 - store, 1 - best speed, 9 - best compression (default)
|
(Fallout2: 0 - store, 1 - best speed, 9 - best compression (default))
|
||||||
-p: extract without paths
|
-p: extract without paths
|
||||||
-d: extract files into specified directory
|
-d: extract files into specified directory
|
||||||
-t: add files to specified directory of DAT file
|
-t: add files to specified directory of DAT file
|
||||||
|
|||||||
+4
-4
@@ -41,8 +41,8 @@ int main(int argc, char* argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
printf("Fallout DAT file packer/unpacker, version 2.33\n");
|
printf("Fallout DAT file packer/unpacker, version 2.33a\n");
|
||||||
printf("Copyright (C) 2004-2023, Anchorite (TeamX)\n");
|
printf("Copyright (C) 2004-2024, Anchorite (TeamX)\n");
|
||||||
printf("anchorite2001@yandex.ru\n");
|
printf("anchorite2001@yandex.ru\n");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
@@ -169,8 +169,8 @@ void PrintUsage(char* lpszFileName)
|
|||||||
printf(" -s: create Fallout 1 DAT file\n");
|
printf(" -s: create Fallout 1 DAT file\n");
|
||||||
printf(" -r: recurse into subdirectories\n");
|
printf(" -r: recurse into subdirectories\n");
|
||||||
printf(" -0..9: Compression method\n");
|
printf(" -0..9: Compression method\n");
|
||||||
printf(" (Fallout1: 0 - store, other numbers - compress (default)\n");
|
printf(" (Fallout1: 0 - store, other numbers - compress (default))\n");
|
||||||
printf(" (Fallout2: 0 - store, 1 - best speed, 9 - best compression (default)\n");
|
printf(" (Fallout2: 0 - store, 1 - best speed, 9 - best compression (default))\n");
|
||||||
printf(" -p: extract without paths\n");
|
printf(" -p: extract without paths\n");
|
||||||
printf(" -d: extract files into specified directory\n");
|
printf(" -d: extract files into specified directory\n");
|
||||||
printf(" -t: add files to specified directory of DAT file\n");
|
printf(" -t: add files to specified directory of DAT file\n");
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+7
-11
@@ -1,5 +1,5 @@
|
|||||||
/* zconf.h -- configuration of the zlib compression library
|
/* zconf.h -- configuration of the zlib compression library
|
||||||
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
* Copyright (C) 1995-2024 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -241,7 +241,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Z_SOLO
|
#ifdef Z_SOLO
|
||||||
typedef unsigned long z_size_t;
|
# ifdef _WIN64
|
||||||
|
typedef unsigned long long z_size_t;
|
||||||
|
# else
|
||||||
|
typedef unsigned long z_size_t;
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# define z_longlong long long
|
# define z_longlong long long
|
||||||
# if defined(NO_SIZE_T)
|
# if defined(NO_SIZE_T)
|
||||||
@@ -296,14 +300,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef Z_ARG /* function prototypes for stdarg */
|
|
||||||
# if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
|
||||||
# define Z_ARG(args) args
|
|
||||||
# else
|
|
||||||
# define Z_ARG(args) ()
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The following definitions for FAR are needed only for MSDOS mixed
|
/* The following definitions for FAR are needed only for MSDOS mixed
|
||||||
* model programming (small or medium model with some far allocations).
|
* model programming (small or medium model with some far allocations).
|
||||||
* This was tested only with MSC; for other MSDOS compilers you may have
|
* This was tested only with MSC; for other MSDOS compilers you may have
|
||||||
@@ -520,7 +516,7 @@ typedef uLong FAR uLongf;
|
|||||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||||
# define z_off64_t off64_t
|
# define z_off64_t off64_t
|
||||||
#else
|
#else
|
||||||
# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
|
# if defined(_WIN32) && !defined(__GNUC__)
|
||||||
# define z_off64_t __int64
|
# define z_off64_t __int64
|
||||||
# else
|
# else
|
||||||
# define z_off64_t z_off_t
|
# define z_off64_t z_off_t
|
||||||
|
|||||||
+197
-194
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user