From 45ef2bd6d6944eefa6a2cc198132b9450e1b8f17 Mon Sep 17 00:00:00 2001 From: Popov Evgeniy Alekseyevich Date: Wed, 10 Apr 2024 01:36:23 +0700 Subject: [PATCH] Visual C++ support improved --- grpdecompiler.c | 8 ++--- grpdecompiler.h | 9 ++++++ grpdecompiler.tgt | 82 +++++++++++++++++++++++++++++++++++++++-------- grpdecompiler.wpj | 10 +++--- readme.txt | 11 ++++--- 5 files changed, 90 insertions(+), 30 deletions(-) create mode 100644 grpdecompiler.h diff --git a/grpdecompiler.c b/grpdecompiler.c index dda495f..8b8fd6d 100644 --- a/grpdecompiler.c +++ b/grpdecompiler.c @@ -1,8 +1,4 @@ -#include -#include -#include -#include -#include +#include "grpdecompiler.h" #include "format.h" void show_intro(); @@ -43,7 +39,7 @@ void show_intro() { putchar('\n'); puts("GRP DECOMPILER"); - puts("Version 2.1.3"); + puts("Version 2.1.4"); puts("This program distributed under GNU GENERAL PUBLIC LICENSE"); puts("File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich, 2010-2024 years"); } diff --git a/grpdecompiler.h b/grpdecompiler.h new file mode 100644 index 0000000..24ad95d --- /dev/null +++ b/grpdecompiler.h @@ -0,0 +1,9 @@ +#if defined _MSC_VER && _MSC_VER>=1400 + #pragma warning(disable : 4996) +#endif + +#include +#include +#include +#include +#include \ No newline at end of file diff --git a/grpdecompiler.tgt b/grpdecompiler.tgt index b5214ec..19e0495 100644 --- a/grpdecompiler.tgt +++ b/grpdecompiler.tgt @@ -1,4 +1,4 @@ -40 +42 targetIdent 0 MProject @@ -53,8 +53,8 @@ WString WINLINK 14 WString -14 -?????Debug all +16 +?????WLINK_d_all 1 0 15 @@ -65,8 +65,8 @@ WString WINLINK 17 WString -13 -?????Map file +15 +?????WLINK_op_m 1 0 18 @@ -78,7 +78,7 @@ WVList 0 19 WPickList -2 +5 20 MItem 3 @@ -98,8 +98,8 @@ WString WCC 25 WString -29 -?????No debugging information +11 +?????WCG_d0 1 1 26 @@ -110,8 +110,8 @@ WString WCC 28 WString -24 -?????Full debugging info +11 +?????WCG_d2 1 0 29 @@ -122,8 +122,8 @@ WString WCC 31 WString -30 -??2??80386 stack-based calling +11 +??2??WCG_3s 1 1 32 @@ -134,8 +134,8 @@ WString WCC 34 WString -39 -??2??Pentium Pro register-based calling +11 +??2??WCG_6r 1 0 35 @@ -163,3 +163,57 @@ WVList 1 1 0 +40 +MItem +3 +*.h +41 +WString +3 +NIL +42 +WVList +0 +43 +WVList +0 +-1 +1 +1 +0 +44 +MItem +8 +format.h +45 +WString +3 +NIL +46 +WVList +0 +47 +WVList +0 +40 +1 +1 +0 +48 +MItem +15 +grpdecompiler.h +49 +WString +3 +NIL +50 +WVList +0 +51 +WVList +0 +40 +1 +1 +0 diff --git a/grpdecompiler.wpj b/grpdecompiler.wpj index 8f54cf5..0c06d22 100644 --- a/grpdecompiler.wpj +++ b/grpdecompiler.wpj @@ -1,4 +1,4 @@ -40 +42 projectIdent 0 VpeMain @@ -6,8 +6,8 @@ VpeMain WRect 0 0 -7676 -9213 +7668 +9200 2 MProject 3 @@ -30,8 +30,8 @@ VComponent WRect 0 0 -5667 -4213 +5659 +4200 0 0 9 diff --git a/readme.txt b/readme.txt index 8565323..e2d3508 100644 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,6 @@ GRP DECOMPILER - Version 2.1.3 + Version 2.1.4 File extraction tools for GRP pseudo-archives by Popov Evgeniy Alekseyevich @@ -33,9 +33,9 @@ GRP DECOMPILER work with all BUILD engine games. Source code -The program source code compiled under Open Watcom. -But you can do it under any modern C compiler. -Source code can be compiled for wide range operating systems, but you need to create makefile or build script by yourself. +The source code compiled under Open Watcom. +But you can compile it under any modern C compiler. +Source code can be compiled for wide range of operating systems, but you need to create makefile or build script by yourself. I provide only two things: compiled the binary file for Windows and makefile for Linux. Install and uninstall under Linux @@ -70,4 +70,5 @@ Version history 2.0.5 - 2.0.6 - Small changes. 2.0.7 - Small bug fixed. 2.0.7.1 - 2.0.7.2 - Makefile updated. -2.0.8 - 2.1.3 - Small changes. \ No newline at end of file +2.0.8 - 2.1.3 - Small changes. +2.1.4 - Visual C++ support improved. \ No newline at end of file