Skip to content

Commit

Permalink
Release v2.4.1
Browse files Browse the repository at this point in the history
Support v1.10 version of Halo CE & PC.

* Fixed link to header files
* Fixed signature for get current map name.
* Fixed module search from case sensitive to insensitive.
* Bump version
* Added README
  • Loading branch information
RadWolfie committed Dec 1, 2016
1 parent 4e5148f commit ee3b331
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 45 deletions.
8 changes: 4 additions & 4 deletions HDC/FileVersion.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions HDC/dllmain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*********************************************************************************/
Expand 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;

Expand Down
24 changes: 0 additions & 24 deletions Halo Dev Controls.sln
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
7 changes: 4 additions & 3 deletions Halo Dev Controls/HaloLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
*********************************************************************************/
Expand 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 };
Expand Down
30 changes: 26 additions & 4 deletions Halo Dev Controls/RWMemory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
10 changes: 5 additions & 5 deletions Halo Dev Controls/WinDialog.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down Expand Up @@ -191,7 +191,7 @@ END
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
GUIDELINES DESIGNINFO
BEGIN
IDD_CMDS, DIALOG
BEGIN
Expand Down
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ee3b331

Please sign in to comment.