diff --git a/HDC/FileVersion.rc b/HDC/FileVersion.rc index 43253ee..9442c54 100644 --- a/HDC/FileVersion.rc +++ b/HDC/FileVersion.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,3,0,0 - PRODUCTVERSION 2,3,0,0 + FILEVERSION 2,4,1,0 + PRODUCTVERSION 2,4,1,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -72,12 +72,12 @@ BEGIN VALUE "Comments", "Halo Dev Controls.exe needs to be in the same folder in order for the commands and keyboard shortcuts to work." VALUE "CompanyName", "Jesus7Freak" VALUE "FileDescription", "HDC" - VALUE "FileVersion", "2, 3, 0, 0" + VALUE "FileVersion", "2, 4, 1, 0" VALUE "InternalName", "HDC" VALUE "LegalCopyright", "Copyright (C) 2011" VALUE "OriginalFilename", "HDC.drv" VALUE "ProductName", "Halo Dev Controls" - VALUE "ProductVersion", "2, 3, 0, 0" + VALUE "ProductVersion", "2, 4, 1, 0" END END BLOCK "VarFileInfo" diff --git a/HDC/dllmain.h b/HDC/dllmain.h index d40feb4..1725e57 100644 --- a/HDC/dllmain.h +++ b/HDC/dllmain.h @@ -17,8 +17,8 @@ ********************************************************************************* File: dllmain.h Project: HDC - Author: Jesus7Freak - Date: 11/22/2011 + Author: Jesus7Freak, RadWolfie + Date: 11/30/2016 Game: Halo and Halo Custom Edition Version: all *********************************************************************************/ @@ -28,9 +28,9 @@ #pragma comment(lib, "libcpmt.lib") #pragma comment(lib, "LIBCMT.lib") -#include "HaloLib.h" -#include "cmds.h" -#include "tele_loc_resources.h" +#include "../Halo Dev Controls/HaloLib.h" +#include "../Halo Dev Controls/cmds.h" +#include "../Halo Dev Controls/tele_loc_resources.h" using namespace ReadWriteMemoryTools; diff --git a/Halo Dev Controls.sln b/Halo Dev Controls.sln index 0b6838d..a2689ee 100644 --- a/Halo Dev Controls.sln +++ b/Halo Dev Controls.sln @@ -3,14 +3,10 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Halo Dev Controls C.NET", "Halo Dev Controls C.NET\Halo Dev Controls C.NET.vcxproj", "{BB5D700F-7889-4213-AE2B-AF687793734A}" -EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HDC", "HDC\HDC.vcxproj", "{4C15AA53-B95C-4E9B-8860-FB9CC3ACA247}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Halo Dev Controls", "Halo Dev Controls\Halo Dev Controls.vcxproj", "{BEB36574-8603-4588-8B05-68ADECD65049}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Halo Dev Controls C-sharp", "Halo Dev Controls C#\Halo Dev Controls C-sharp.csproj", "{A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -21,16 +17,6 @@ Global Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BB5D700F-7889-4213-AE2B-AF687793734A}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Debug|Win32.ActiveCfg = Debug|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Debug|Win32.Build.0 = Debug|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Release|Any CPU.ActiveCfg = Release|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Release|Mixed Platforms.Build.0 = Release|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Release|Win32.ActiveCfg = Release|Win32 - {BB5D700F-7889-4213-AE2B-AF687793734A}.Release|Win32.Build.0 = Release|Win32 {4C15AA53-B95C-4E9B-8860-FB9CC3ACA247}.Debug|Any CPU.ActiveCfg = Debug|Win32 {4C15AA53-B95C-4E9B-8860-FB9CC3ACA247}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 {4C15AA53-B95C-4E9B-8860-FB9CC3ACA247}.Debug|Mixed Platforms.Build.0 = Debug|Win32 @@ -51,16 +37,6 @@ Global {BEB36574-8603-4588-8B05-68ADECD65049}.Release|Mixed Platforms.Build.0 = Release|Win32 {BEB36574-8603-4588-8B05-68ADECD65049}.Release|Win32.ActiveCfg = Release|Win32 {BEB36574-8603-4588-8B05-68ADECD65049}.Release|Win32.Build.0 = Release|Win32 - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Debug|Win32.ActiveCfg = Debug|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Release|Any CPU.Build.0 = Release|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {A5A6BAB9-E4BE-48E1-BE62-A86C4FB2EC03}.Release|Win32.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Halo Dev Controls/HaloLib.cpp b/Halo Dev Controls/HaloLib.cpp index 75fa17f..5923e76 100644 --- a/Halo Dev Controls/HaloLib.cpp +++ b/Halo Dev Controls/HaloLib.cpp @@ -17,8 +17,8 @@ ********************************************************************************* File: HaloLib.cpp Project: Halo Dev Controls and HDC - Author: Jesus7Freak - Date: 11/22/2011 + Author: Jesus7Freak, RadWolfie + Date: 11/30/2016 Game: Halo and Halo Custom Edition Version: all *********************************************************************************/ @@ -30,7 +30,8 @@ namespace HaloCE_lib { ADDRESS_SIG Current_map_addr_sig = - { "\x7F\x1F\xB8\x00\x00\x00\x00\x8D\x50", "x?x????xx", 3 }; + //{ "\x7F\x1F\xB8\x00\x00\x00\x00\x8D\x50", "x?x????xx", 3 }; //Does not work for 1.10 version + { "\xB8\x64\x30\x64\x00\x8D\x50\x01\x8A\x08\x40\x84\xC9\x75\xF9\x2B\xC2\x83\xF8\x1F", "x????x??xxxxxx?x?xxx", 1 }; ADDRESS_SIG Rider_Eject_addr_sig = { "\x04\xA0\xAC\x49\x62\x00\x84\xC0\x0F\x84\x00\x00\x00\x00\x8B\x4D\xEC", "xx????xxxx????xxx", 2 }; diff --git a/Halo Dev Controls/RWMemory.cpp b/Halo Dev Controls/RWMemory.cpp index de10184..60908e1 100644 --- a/Halo Dev Controls/RWMemory.cpp +++ b/Halo Dev Controls/RWMemory.cpp @@ -17,9 +17,9 @@ ********************************************************************************* File: RWMemory.cpp Project: Read Write Memory Tools - Author: Jesus7Freak - Date: 10/29/2011 - Version: 2.30 + Author: Jesus7Freak, RadWolfie + Date: 10/30/2016 + Version: 2.41 *********************************************************************************/ //uses both ASCII and UNICODE functions #ifdef UNICODE @@ -66,6 +66,28 @@ namespace ReadWriteMemoryTools return match; } + //RadWolfie - Neccesary requirement for case insensitive files check. + bool str_icmpA(const char *str1, const char *str2) { + bool noMatch = false; + //compare until null terminator + unsigned char _char1, _char2; + do {//compare the null terminator as well + _char1 = *str1++; + if ((unsigned)(_char1 - 'A') <= 'Z' - 'A') + _char1 += 'a' - 'A'; + + _char2 = *str2++; + if ((unsigned)(_char2 - 'A') <= 'Z' - 'A') + _char2 += 'a' - 'A'; + + if (_char1 != _char2) { + noMatch = true; + break; + } + } while (_char1 && _char2); + return !noMatch; + } + bool str_cmpW(wchar_t *str1, wchar_t *str2, int length) { bool match = true; @@ -456,7 +478,7 @@ namespace ReadWriteMemoryTools DWORD me32_list_size = me32_list.size(); for (unsigned int me32_i = 0; me32_i < me32_list_size; me32_i++) { - if (str_cmpA(module_name, me32_list[me32_i].szModule)) + if (str_icmpA(module_name, me32_list[me32_i].szModule)) { module = me32_list[me32_i]; break; diff --git a/Halo Dev Controls/WinDialog.rc b/Halo Dev Controls/WinDialog.rc index 71b36ca..8fc0113 100644 --- a/Halo Dev Controls/WinDialog.rc +++ b/Halo Dev Controls/WinDialog.rc @@ -70,8 +70,8 @@ IDB_EYE BITMAP "green-eye.bmp" // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,3,0,0 - PRODUCTVERSION 2,3,0,0 + FILEVERSION 2,4,1,0 + PRODUCTVERSION 2,4,1,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -89,13 +89,13 @@ BEGIN VALUE "Comments", "May need to be run as admin. HDC.drv needs to be in the same folder in order for the commands and keyboard shortcuts to work. " VALUE "CompanyName", "Jesus7Freak" VALUE "FileDescription", "Halo App" - VALUE "FileVersion", "2, 3, 0, 0" + VALUE "FileVersion", "2, 4, 1, 0" VALUE "InternalName", "HDC" VALUE "LegalCopyright", "Copyright (C) 2011" VALUE "LegalTrademarks", "Thanks to Jesus for salvation, Believe in Him and be saved!" VALUE "OriginalFilename", "Halo Dev Controls.exe" VALUE "ProductName", "Halo Dev Controls" - VALUE "ProductVersion", "2, 3, 0, 0" + VALUE "ProductVersion", "2, 4, 1, 0" END END BLOCK "VarFileInfo" @@ -191,7 +191,7 @@ END // #ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO +GUIDELINES DESIGNINFO BEGIN IDD_CMDS, DIALOG BEGIN diff --git a/README.md b/README.md new file mode 100644 index 0000000..ab989f8 --- /dev/null +++ b/README.md @@ -0,0 +1,25 @@ +# Halo Dev Controls + +### NOTICE: This is not the official release from original author. + +Tested to work for Halo PC and CE 1.10. Made to, theoretically, work for all +previous, and future versions of Halo PC and CE. This is NOT a dedicated +server app, so you will need to create a game, aka host, also works with +campaign. + +Features: +* Displays current game status, and map +* keyboard shortcuts - changeable +* Commands + * works with chat, console, and rcon + * Listed under the Extras Menu on the App + * Can be listed in Halo (see details below) +* Dev Commands + * keyboard shorcuts + * App Interface (ie buttons) +* RPG_Beta6_2 Commands + * keyboard shortcuts + * App Interface (ie buttons) +* Player Commands + * Teleport Locations + * Some are based off of Devicator for easier use