Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Visual C++ support improved
Browse files Browse the repository at this point in the history
  • Loading branch information
PopovEvgeniy committed Apr 9, 2024
1 parent 09f40a7 commit 45ef2bd
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 30 deletions.
8 changes: 2 additions & 6 deletions grpdecompiler.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "grpdecompiler.h"
#include "format.h"

void show_intro();
Expand Down Expand Up @@ -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");
}
Expand Down
9 changes: 9 additions & 0 deletions grpdecompiler.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#if defined _MSC_VER && _MSC_VER>=1400
#pragma warning(disable : 4996)
#endif

#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
82 changes: 68 additions & 14 deletions grpdecompiler.tgt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
40
42
targetIdent
0
MProject
Expand Down Expand Up @@ -53,8 +53,8 @@ WString
WINLINK
14
WString
14
?????Debug all
16
?????WLINK_d_all
1
0
15
Expand All @@ -65,8 +65,8 @@ WString
WINLINK
17
WString
13
?????Map file
15
?????WLINK_op_m
1
0
18
Expand All @@ -78,7 +78,7 @@ WVList
0
19
WPickList
2
5
20
MItem
3
Expand All @@ -98,8 +98,8 @@ WString
WCC
25
WString
29
?????No debugging information
11
?????WCG_d0
1
1
26
Expand All @@ -110,8 +110,8 @@ WString
WCC
28
WString
24
?????Full debugging info
11
?????WCG_d2
1
0
29
Expand All @@ -122,8 +122,8 @@ WString
WCC
31
WString
30
??2??80386 stack-based calling
11
??2??WCG_3s
1
1
32
Expand All @@ -134,8 +134,8 @@ WString
WCC
34
WString
39
??2??Pentium Pro register-based calling
11
??2??WCG_6r
1
0
35
Expand Down Expand Up @@ -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
10 changes: 5 additions & 5 deletions grpdecompiler.wpj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
40
42
projectIdent
0
VpeMain
1
WRect
0
0
7676
9213
7668
9200
2
MProject
3
Expand All @@ -30,8 +30,8 @@ VComponent
WRect
0
0
5667
4213
5659
4200
0
0
9
Expand Down
11 changes: 6 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
2.0.8 - 2.1.3 - Small changes.
2.1.4 - Visual C++ support improved.

0 comments on commit 45ef2bd

Please sign in to comment.