mirror of https://github.com/x64dbg/TitanEngine
- fixed a small bug in the GUI, taskbar entry should now also have an icon
- removed useless icon sizes (256x256, 128x128 and 64x64) -> 15kb icon - removed HEADER.BPM -> saves ~200kb - cleaned up the project a little
This commit is contained in:
parent
dd3727a3b3
commit
485be8bbf8
|
|
@ -58,7 +58,7 @@ long EngineWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
if(uMsg == WM_INITDIALOG)
|
||||
{
|
||||
SendMessageA(hwndDlg, WM_SETTEXT, NULL, (LPARAM)&szWindowUnpackerTitle);
|
||||
SendMessageA(hwndDlg, WM_SETICON, NULL, (LPARAM)LoadIconA((HINSTANCE)engineHandle, MAKEINTRESOURCEA(IDI_ICON2)));
|
||||
SendMessageA(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadIconA((HINSTANCE)engineHandle, MAKEINTRESOURCEA(IDI_ICON2)));
|
||||
SetDlgItemTextA(hwndDlg, IDD_UNPACKERTITLE, szWindowUnpackerLongTitle);
|
||||
SetDlgItemTextA(hwndDlg, IDC_FILENAME, "filename.exe");
|
||||
CheckDlgButton(hwndDlg, IDC_REALING, 1);
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 86 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 15 KiB |
|
|
@ -1,41 +0,0 @@
|
|||
========================================================================
|
||||
DYNAMIC LINK LIBRARY : UnpackerEngine Project Overview
|
||||
========================================================================
|
||||
|
||||
AppWizard has created this UnpackerEngine DLL for you.
|
||||
|
||||
This file contains a summary of what you will find in each of the files that
|
||||
make up your UnpackerEngine application.
|
||||
|
||||
|
||||
UnpackerEngine.vcproj
|
||||
This is the main project file for VC++ projects generated using an Application Wizard.
|
||||
It contains information about the version of Visual C++ that generated the file, and
|
||||
information about the platforms, configurations, and project features selected with the
|
||||
Application Wizard.
|
||||
|
||||
UnpackerEngine.cpp
|
||||
This is the main DLL source file.
|
||||
|
||||
When created, this DLL does not export any symbols. As a result, it
|
||||
will not produce a .lib file when it is built. If you wish this project
|
||||
to be a project dependency of some other project, you will either need to
|
||||
add code to export some symbols from the DLL so that an export library
|
||||
will be produced, or you can set the Ignore Input Library property to Yes
|
||||
on the General propert page of the Linker folder in the project's Property
|
||||
Pages dialog box.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
Other standard files:
|
||||
|
||||
StdAfx.h, StdAfx.cpp
|
||||
These files are used to build a precompiled header (PCH) file
|
||||
named UnpackerEngine.pch and a precompiled types file named StdAfx.obj.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
Other notes:
|
||||
|
||||
AppWizard uses "TODO:" comments to indicate parts of the source code you
|
||||
should add to or customize.
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -2,27 +2,22 @@
|
|||
//
|
||||
#include "resource.h"
|
||||
|
||||
#include "WinResrc.h"
|
||||
#define IDC_STATIC (-1)
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
//#include "afxres.h" //MFC
|
||||
#include "afxres.h"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// English (U.S.) resources
|
||||
// English (United States) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
#ifdef _WIN32
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
#pragma code_page(1252)
|
||||
#endif //_WIN32
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -63,27 +58,26 @@ LOADERX64 BINARY "..\\TitanEngineLoaders\\Library
|
|||
// Dialog
|
||||
//
|
||||
|
||||
IDD_MAINWINDOW DIALOGEX 0, 0, 255, 206
|
||||
IDD_MAINWINDOW DIALOGEX 0, 0, 255, 168
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_NOFAILCREATE | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_ACCEPTFILES
|
||||
CAPTION "[ TitanEngine2 ]"
|
||||
FONT 8, "Verdana", 0, 0, 0x1
|
||||
BEGIN
|
||||
CONTROL 130,IDC_STATIC,"Static",SS_BITMAP,0,0,321,38
|
||||
CONTROL "Realign PE32 file [Recommended, but it can produce invalid files]",IDC_REALING,
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,156,241,14
|
||||
EDITTEXT IDC_FILENAME,42,55,163,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
|
||||
CTEXT "- TitanEngine2 unpacker -",IDD_UNPACKERTITLE,2,39,250,10,SS_SUNKEN | NOT WS_GROUP,WS_EX_STATICEDGE
|
||||
LTEXT "[Filename]",112,3,55,36,10
|
||||
GROUPBOX "Unpack execution messages",113,2,72,250,112
|
||||
LISTBOX IDC_LISTBOX,5,81,243,75,LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,WS_EX_STATICEDGE
|
||||
PUSHBUTTON "UnPack",IDC_UNPACK,71,188,60,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "Browse",IDC_BROWSE,210,53,40,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "About",IDC_ABOUT,131,188,60,14
|
||||
PUSHBUTTON "Exit",IDC_EXIT,191,188,60,14
|
||||
CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,5,191,46,9
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,119,241,14
|
||||
EDITTEXT IDC_FILENAME,43,18,163,12,ES_AUTOHSCROLL | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
|
||||
CTEXT "- TitanEngine2 unpacker -",IDD_UNPACKERTITLE,3,2,250,10,SS_SUNKEN | NOT WS_GROUP,WS_EX_STATICEDGE
|
||||
LTEXT "[Filename]",112,3,18,36,10
|
||||
GROUPBOX "Unpack execution messages",113,3,35,250,112
|
||||
LISTBOX IDC_LISTBOX,6,44,243,75,LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,WS_EX_STATICEDGE
|
||||
PUSHBUTTON "UnPack",IDC_UNPACK,71,151,60,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "Browse",IDC_BROWSE,211,16,40,14,BS_CENTER | BS_VCENTER
|
||||
PUSHBUTTON "About",IDC_ABOUT,131,151,60,14
|
||||
PUSHBUTTON "Exit",IDC_EXIT,191,151,60,14
|
||||
CONTROL 131,IDC_STATIC,"Static",SS_BITMAP,6,154,46,9
|
||||
CONTROL "Copy file overlay [Recommended for all SFX files]",IDC_COPYOVERLAY,
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,168,241,14
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,131,241,14
|
||||
END
|
||||
|
||||
|
||||
|
|
@ -92,7 +86,6 @@ END
|
|||
// Bitmap
|
||||
//
|
||||
|
||||
IDB_BITMAP1 BITMAP "HEADER.BMP"
|
||||
IDB_BITMAP2 BITMAP "LOGO.bmp"
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -142,7 +135,22 @@ END
|
|||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_ICON2 ICON "MAINICON.ico"
|
||||
#endif // English (U.S.) resources
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO
|
||||
BEGIN
|
||||
IDD_MAINWINDOW, DIALOG
|
||||
BEGIN
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // English (United States) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -311,13 +311,9 @@
|
|||
<ItemGroup>
|
||||
<None Include="..\TitanEngineLoaders\LibraryLoader\x64\Release\LibraryLoader.exe" />
|
||||
<None Include="..\TitanEngineLoaders\LibraryLoader\Release\LibraryLoader.exe" />
|
||||
<None Include="..\TitanEngineLoaders\ReserveLibrary\Release\ReserveLibrary.dll" />
|
||||
<None Include="..\TitanEngineLoaders\ReserveLibrary\x64\Release\ReserveLibrary.dll" />
|
||||
<None Include="Global.Engine.Hash.h" />
|
||||
<None Include="HEADER.BMP" />
|
||||
<None Include="LOGO.bmp" />
|
||||
<None Include="MAINICON.ico" />
|
||||
<None Include="ReadMe.txt" />
|
||||
<ClCompile Include="TitanEngine.PE.Data.cpp" />
|
||||
<ClCompile Include="TitanEngine.PE.Section.cpp">
|
||||
<FileType>Document</FileType>
|
||||
|
|
|
|||
|
|
@ -306,22 +306,12 @@
|
|||
<None Include="..\TitanEngineLoaders\LibraryLoader\Release\LibraryLoader.exe">
|
||||
<Filter>Resource Files\Binary</Filter>
|
||||
</None>
|
||||
<None Include="..\TitanEngineLoaders\ReserveLibrary\Release\ReserveLibrary.dll">
|
||||
<Filter>Resource Files\Binary</Filter>
|
||||
</None>
|
||||
<None Include="..\TitanEngineLoaders\ReserveLibrary\x64\Release\ReserveLibrary.dll">
|
||||
<Filter>Resource Files\Binary</Filter>
|
||||
</None>
|
||||
<None Include="HEADER.BMP">
|
||||
<Filter>Resource Files\Images</Filter>
|
||||
</None>
|
||||
<None Include="LOGO.bmp">
|
||||
<Filter>Resource Files\Images</Filter>
|
||||
</None>
|
||||
<None Include="MAINICON.ico">
|
||||
<Filter>Resource Files\Images</Filter>
|
||||
</None>
|
||||
<None Include="ReadMe.txt" />
|
||||
<None Include="Global.Engine.Hash.h">
|
||||
<Filter>Header Files\TitanEngine</Filter>
|
||||
</None>
|
||||
|
|
|
|||
Loading…
Reference in New Issue