From e7ce344ba7afa3e38f1f2a594c2b855f8ef355b3 Mon Sep 17 00:00:00 2001 From: Homenique Vieira Martins Date: Sun, 17 Oct 2021 08:16:39 -0300 Subject: [PATCH 1/3] [Fix] Improved readme.md readability --- README.md | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..395993c --- /dev/null +++ b/README.md @@ -0,0 +1,79 @@ + + + +# How to compile the GUI: + +**The licence is set for each file separately.** + +## 1.1 You need: +- wxWidgets 2.9. (an earlier version won't work, cause I use wxString functions only available in 2.9., I use atm 2.9.2) + +In the package a makefile for the gcc (makefile.gcc) and a makefile for the MS Visual C Compiler (makefile.vc) is included, but you can generate your own makefile for the compiler of your choice. + +Compiling wxWidgets: +- Compile it with BUILD=release otherwise the executable will be very large. +- The vc compiler somehow generates a smaller executable. +- Set the linkage to static ( in the config.gcc or config.vc) before you compile the wxWidgets, to ensure, that also on other PC's your executable will run. + +If you use my makefiles, you have to change the **WX_DIR** Variable to your wxWidgets directory. This Variable is nearly at the beginning of the makefiles. + +__note:__ I have set the linkage to static in the corresponding config.* files, if you have not compiled you wxWidgets with static linkage the compiler will fail, when linking the GUI. + +
+ + +## 1.2 Using gcc: +change in the __uMod_GUI__ Directory and type: + + mingw32-make -f makefile.gcc BUILD=release + +__note:__ with the options -j 4 you compile simultaneously with 4 threads. + +
+ +## 1.3 Using vc: +change in the uMod_GUI Directory and type: + + nmake -f makefile.vc BUILD=release + +__note:__ you need to use the special MS Visual prompt + +
+ +# How to compile the dll: + +## 2.1 You need : + +- The DirectX SDK (I use June 2010) +- MS Visual C Compiler (I use the free Express 2010 version) +- maybe the Microsoft Windows SDK + +There exist two makefiles, one for the __mingw32-make.exe__ ( makefile.gcc ) which call the vc compiler and one for the nmake.exe ( makefile.vc ) which also calls the vc compiler. I have created the __makefile.gcc__ only to use the **-j 4** option of the gnu make. + +You have to compile the 3 dll's separately (one for each injection method). The dll will be copied after successful compilation in the __uMod_GUI/bin directory__. + +If you want to use the logging mode of the dll you have to parse ***LOG_MESSAGE=1*** + +
+ +## 2.2 Using gcc **BUT you need the vc compiler!**: + +change in the uMod_DX9 Directory and type: + + mingw32-make -f makefile.gcc + mingw32-make -f makefile.gcc DI=1 + mingw32-make -f makefile.gcc NI=1 + +**note:** you need to use the special MS Visual prompt +**note:** with the **options -j 4** you compile simultaneously with 4 threads + +
+ +## 2.3 Using vc : +change in the uMod_DX9 Directory and type: + + nmake -f makefile.vc + nmake -f makefile.vc DI=1 + nmake -f makefile.vc NI=1 + +**note:** you need to use the special MS Visual prompt \ No newline at end of file From 4e0fc2e5ec6ea3baa5ee32471d9f77cbd55d28da Mon Sep 17 00:00:00 2001 From: Homenique V Date: Sun, 17 Oct 2021 08:22:56 -0300 Subject: [PATCH 2/3] Update README.md --- README.md | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 395993c..1bca1f6 100644 --- a/README.md +++ b/README.md @@ -5,31 +5,27 @@ **The licence is set for each file separately.** -## 1.1 You need: +### 1.1 You need: - wxWidgets 2.9. (an earlier version won't work, cause I use wxString functions only available in 2.9., I use atm 2.9.2) In the package a makefile for the gcc (makefile.gcc) and a makefile for the MS Visual C Compiler (makefile.vc) is included, but you can generate your own makefile for the compiler of your choice. Compiling wxWidgets: -- Compile it with BUILD=release otherwise the executable will be very large. +- Compile it with **BUILD=release** otherwise the executable will be very large. - The vc compiler somehow generates a smaller executable. -- Set the linkage to static ( in the config.gcc or config.vc) before you compile the wxWidgets, to ensure, that also on other PC's your executable will run. +- Set the linkage to static ( in the config.gcc or config.vc ) before you compile the wxWidgets, to ensure, that also on other PC's your executable will run. If you use my makefiles, you have to change the **WX_DIR** Variable to your wxWidgets directory. This Variable is nearly at the beginning of the makefiles. __note:__ I have set the linkage to static in the corresponding config.* files, if you have not compiled you wxWidgets with static linkage the compiler will fail, when linking the GUI. -
- - -## 1.2 Using gcc: +### 1.2 Using gcc: change in the __uMod_GUI__ Directory and type: mingw32-make -f makefile.gcc BUILD=release -__note:__ with the options -j 4 you compile simultaneously with 4 threads. +__note:__ with the **options -j 4** you compile simultaneously with 4 threads. -
## 1.3 Using vc: change in the uMod_GUI Directory and type: @@ -38,25 +34,23 @@ change in the uMod_GUI Directory and type: __note:__ you need to use the special MS Visual prompt -
# How to compile the dll: -## 2.1 You need : +#### 2.1 You need : - The DirectX SDK (I use June 2010) - MS Visual C Compiler (I use the free Express 2010 version) - maybe the Microsoft Windows SDK -There exist two makefiles, one for the __mingw32-make.exe__ ( makefile.gcc ) which call the vc compiler and one for the nmake.exe ( makefile.vc ) which also calls the vc compiler. I have created the __makefile.gcc__ only to use the **-j 4** option of the gnu make. +There exist two makefiles, one for the __mingw32-make.exe__ ( makefile.gcc ) which call the vc compiler and one for the **nmake.exe** ( **makefile.vc** ) which also calls the vc compiler. I have created the __makefile.gcc__ only to use the **-j 4** option of the gnu make. You have to compile the 3 dll's separately (one for each injection method). The dll will be copied after successful compilation in the __uMod_GUI/bin directory__. If you want to use the logging mode of the dll you have to parse ***LOG_MESSAGE=1*** -
-## 2.2 Using gcc **BUT you need the vc compiler!**: +### 2.2 Using gcc **BUT you need the vc compiler!**: change in the uMod_DX9 Directory and type: @@ -64,16 +58,15 @@ change in the uMod_DX9 Directory and type: mingw32-make -f makefile.gcc DI=1 mingw32-make -f makefile.gcc NI=1 -**note:** you need to use the special MS Visual prompt -**note:** with the **options -j 4** you compile simultaneously with 4 threads +__note:__ you need to use the special MS Visual prompt +__note:__ with the **options -j 4** you compile simultaneously with 4 threads -
-## 2.3 Using vc : +### 2.3 Using vc : change in the uMod_DX9 Directory and type: nmake -f makefile.vc nmake -f makefile.vc DI=1 nmake -f makefile.vc NI=1 -**note:** you need to use the special MS Visual prompt \ No newline at end of file +__note:__ you need to use the special MS Visual prompt From aaea3f457e7c112bc6a6f0004d870ba2d0ab81a0 Mon Sep 17 00:00:00 2001 From: Homenique V Date: Sun, 17 Oct 2021 08:25:55 -0300 Subject: [PATCH 3/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1bca1f6..62e0d5a 100644 --- a/README.md +++ b/README.md @@ -10,14 +10,14 @@ In the package a makefile for the gcc (makefile.gcc) and a makefile for the MS Visual C Compiler (makefile.vc) is included, but you can generate your own makefile for the compiler of your choice. -Compiling wxWidgets: +#### Compiling wxWidgets: - Compile it with **BUILD=release** otherwise the executable will be very large. - The vc compiler somehow generates a smaller executable. - Set the linkage to static ( in the config.gcc or config.vc ) before you compile the wxWidgets, to ensure, that also on other PC's your executable will run. If you use my makefiles, you have to change the **WX_DIR** Variable to your wxWidgets directory. This Variable is nearly at the beginning of the makefiles. -__note:__ I have set the linkage to static in the corresponding config.* files, if you have not compiled you wxWidgets with static linkage the compiler will fail, when linking the GUI. +__note:__ I have set the linkage to static in the corresponding __config.*__ files, if you have not compiled you **wxWidgets** with static linkage the compiler will fail, when linking the GUI. ### 1.2 Using gcc: change in the __uMod_GUI__ Directory and type: @@ -43,7 +43,7 @@ __note:__ you need to use the special MS Visual prompt - MS Visual C Compiler (I use the free Express 2010 version) - maybe the Microsoft Windows SDK -There exist two makefiles, one for the __mingw32-make.exe__ ( makefile.gcc ) which call the vc compiler and one for the **nmake.exe** ( **makefile.vc** ) which also calls the vc compiler. I have created the __makefile.gcc__ only to use the **-j 4** option of the gnu make. +There exist two makefiles, one for the **mingw32-make.exe** ( **makefile.gcc** ) which call the vc compiler and one for the **nmake.exe** ( **makefile.vc** ) which also calls the vc compiler. I have created the **makefile.gcc** only to use the **-j 4** option of the gnu make. You have to compile the 3 dll's separately (one for each injection method). The dll will be copied after successful compilation in the __uMod_GUI/bin directory__.