-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreadme.txt
106 lines (75 loc) · 2.36 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
=================================
Reg To File Tune DLL
=================================
Redirects registry configurations that the application creates
into a disk file. It's in the form of a dynamic link library, DLL.
It is intended to be attached to the target executable on its
startup, and what registry keys it redirects should be specified
in its INI configuration file.
Enables creating of portable versions of applications that now
store their configuration in a disk file, rather than in
Windows Registry.
Configuration
---------------------
It is done by editing the "reg_to_file_tune_dll.ini" file that
accompanies the DLL in its directory.
See the default INI file for the auto-documentation.
For two versions of the DLL that exist, 32 and 64-bit,
here are files that will be used:
32-bit version:
reg_to_file_tune_dll_32.dll
reg_to_file_tune_dll.ini
reg_to_file_tune_dll.reg.ini
64-bit version:
reg_to_file_tune_dll_64.dll
reg_to_file_tune_dll.ini
reg_to_file_tune_dll.reg.ini
Database INI
----------------------
Once configured and attached, there will be another INI file
created, that contains the redirected registry settings.
This file will be created in the same directory the DLL file is in
and will be named "reg_to_file_tune_dll.reg.ini"
(ie. it'll use the ".reg.ini" suffix).
Installation
------------------------
Possible ways to add the DLL to the target application:
* Use a third party application to add the DLL to the target
executable's import table.
* Use a launcher application that starts the executable and
auto-loads the DLL.
Example applications:
Tray Icon Launcher
https://github.com/ike9000e/tray-icon-launcher
CFF Explorer
https://ntcore.com/?page_id=388
Build Instructions
---------------------------
Compiler command-line arguments
/EHsc
/O1
/FS
/MP1
/GL-
/MT
/D WIN32_LEAN_AND_MEAN
/D _WIN32_WINNT=0x501
/D _USING_V110_SDK71_
/D NOMINMAX
Linker command-line arguments
detours64.lib
kernel32.lib
user32.lib
comdlg32.lib
winmm.lib
advapi32.lib
shell32.lib
gdi32.lib
psapi.lib
dbghelp.lib
/DEF:.\project_dll.def
/MACHINE:X64
About
-------------
Author: ike9000
Website: https://github.com/ike9000e/Reg-To-File-Tune