Skip to content

Commit

Permalink
remove 4 local players limit for h1 and h4
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterSquire committed May 26, 2024
1 parent af9e300 commit 8c0b106
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ When the menu is open, game input is disabled.
**Split Screen:**
- Supports 3 or 4 players in Halo 1, Halo 3, Halo 3: ODST, Halo: Reach, and Halo 4.
- Not supported for Co-Op in Halo 2. Attempting to do so will cause the game to get stuck at loading.
- For 3 or 4 players in Co-Op in Halo 1 and Halo 4, you can only start the game with a maximum of 2 players.
- In Halo 1, you need to add other players while loading the map on the counter in the Halo 1 Page, or if the map is loaded, restart the mission.
- In Halo 4, you need to add them while loading the map or in the game on the counter in the Alpha Ring Page.

### Credits
- [Assembly](https://github.com/XboxChaos/Assembly) for the tag group research.
Expand Down
2 changes: 2 additions & 0 deletions inc/offset/1.3385.0.0/offset_halo1.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

#define OFFSET_HALO1_PF_RENDER 0x1F05B0

#define OFFSET_HALO1_PF_4PLAYERS 0x67480

#define OFFSET_HALO1_PV_PLAYER_COUNT 0x1B7B910

#endif //ALPHA_RING_OFFSET_HALO1_H
1 change: 1 addition & 0 deletions inc/offset/1.3385.0.0/offset_halo4.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#define OFFSET_HALO4_PF_COOP_JOIN 0x566794
#define OFFSET_HALO4_PF_COOP_REJOIN 0x4E301B
#define OFFSET_HALO4_PF_COOP_PLAYER_LIMIT 0x3F5D7

#define OFFSET_HALO4_PF_ADD_LOCAL_PLAYER 0x7D948

Expand Down
1 change: 0 additions & 1 deletion src/imgui/home_page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ void ImGui::CustomWidget::HomePage::render() {
const char* coop_warning_message = R"(WARNING:
3 or 4 Players is not supported for Co-Op in Halo 2.
Doing so will cause the game to get stuck at loading.
In Halo 1 and Halo 4, 3 or 4 Players need to be added after the game starts.
)";

const char* tutorial_message = R"(TUTORIAL:
Expand Down
5 changes: 3 additions & 2 deletions src/module/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class CModules : public ICModules {

CModule m_modules[8] {
{[] (__int64 hModule) {
// Patch::apply((void*)(hModule + 0xC3B9C8), "\x31\xC0\xC3\x90", 4);
Halo1EntrySet()->update(hModule);
Patch::apply((void*)(hModule + OFFSET_HALO1_PF_4PLAYERS), "\x90\x90", 2);
// Halo1EntrySet()->update(hModule);
}},
{[] (__int64 hModule) {
// Halo2EntrySet()->update(hModule);
Expand All @@ -71,6 +71,7 @@ class CModules : public ICModules {
{[] (__int64 hModule) {
Patch::apply((void*)(hModule + OFFSET_HALO4_PF_COOP_JOIN), "\x31\xC0\xC3\x90", 4);
Patch::apply((void*)(hModule + OFFSET_HALO4_PF_COOP_REJOIN), "\xEB", 1);
Patch::apply((void*)(hModule + OFFSET_HALO4_PF_COOP_PLAYER_LIMIT), "\x90\x90\x90\x90\x90\x90", 6);
// Halo4EntrySet()->update(hModule);
}},
{[] (__int64 hModule) {
Expand Down

0 comments on commit 8c0b106

Please sign in to comment.