diff --git a/TitanEngine/Global.Engine.GUI.cpp b/TitanEngine/Global.Engine.GUI.cpp index 0c78911..0a490cd 100644 --- a/TitanEngine/Global.Engine.GUI.cpp +++ b/TitanEngine/Global.Engine.GUI.cpp @@ -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); diff --git a/TitanEngine/HEADER.BMP b/TitanEngine/HEADER.BMP deleted file mode 100644 index fbd165c..0000000 Binary files a/TitanEngine/HEADER.BMP and /dev/null differ diff --git a/TitanEngine/MAINICON.ico b/TitanEngine/MAINICON.ico index a076621..3b3843c 100644 Binary files a/TitanEngine/MAINICON.ico and b/TitanEngine/MAINICON.ico differ diff --git a/TitanEngine/ReadMe.txt b/TitanEngine/ReadMe.txt deleted file mode 100644 index 6826257..0000000 --- a/TitanEngine/ReadMe.txt +++ /dev/null @@ -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. - -///////////////////////////////////////////////////////////////////////////// diff --git a/TitanEngine/TitanEngine.rc b/TitanEngine/TitanEngine.rc index 142a54d..e871ddb 100644 --- a/TitanEngine/TitanEngine.rc +++ b/TitanEngine/TitanEngine.rc @@ -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 ///////////////////////////////////////////////////////////////////////////// diff --git a/TitanEngine/TitanEngine.vcxproj b/TitanEngine/TitanEngine.vcxproj index 5c644a1..4d497e2 100644 --- a/TitanEngine/TitanEngine.vcxproj +++ b/TitanEngine/TitanEngine.vcxproj @@ -311,13 +311,9 @@ - - - - Document diff --git a/TitanEngine/TitanEngine.vcxproj.filters b/TitanEngine/TitanEngine.vcxproj.filters index 92303e5..33ad936 100644 --- a/TitanEngine/TitanEngine.vcxproj.filters +++ b/TitanEngine/TitanEngine.vcxproj.filters @@ -306,22 +306,12 @@ Resource Files\Binary - - Resource Files\Binary - - - Resource Files\Binary - - - Resource Files\Images - Resource Files\Images Resource Files\Images - Header Files\TitanEngine