Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions iw3xe.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
<ClCompile Include="src\detour.cpp" />
<ClCompile Include="src\filesystem.cpp" />
<ClCompile Include="src\xboxkrnl.cpp" />
<ClCompile Include="src\game\iw3-328\cg_consolecmds.cpp" />
<ClCompile Include="src\game\iw3-328\main.cpp" />
<ClCompile Include="src\game\iw3-328\scr_parser.cpp" />
<ClCompile Include="src\game\game.cpp" />
<ClCompile Include="src\game\mp_gscr_fields.cpp" />
<ClCompile Include="src\game\mp_main.cpp" />
Expand All @@ -80,6 +83,10 @@
<ClInclude Include="src\detour.h" />
<ClInclude Include="src\filesystem.h" />
<ClInclude Include="src\xboxkrnl.h" />
<ClInclude Include="src\game\iw3-328\cg_consolecmds.h" />
<ClInclude Include="src\game\iw3-328\main.h" />
<ClInclude Include="src\game\iw3-328\scr_parser.h" />
<ClInclude Include="src\game\iw3-328\structs.h" />
<ClInclude Include="src\game\game.h" />
<ClInclude Include="src\game\mp_gscr_fields.h" />
<ClInclude Include="src\game\mp_main.h" />
Expand Down
12 changes: 10 additions & 2 deletions resources/xenia/plugins/415607E6/plugins.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,26 @@ title_name = "Call of Duty 4: Modern Warfare"
title_id = "415607E6"
#media_id = "2C8C0267" # Disc (USA, Europe): http://redump.org/disc/37074

# TU4

# Retail TU4 SP
[[plugin]]
author = "mo"
name = "iw3xe"
file = "iw3xe.xex"
hash = "B4B0A3571D5160E2" # default.xex
is_enabled = true

# Retail TU4 MP
[[plugin]]
author = "mo"
name = "iw3xe"
file = "iw3xe.xex"
hash = "F5F903E4F326EB10" # default_mp.xex
is_enabled = true

# Pre Alpha 328 MP
[[plugin]]
author = "mo"
name = "iw3xe"
file = "iw3xe.xex"
hash = "C0F9D9F3B048B4C4" # default_mp.xex
is_enabled = true
6 changes: 6 additions & 0 deletions src/game/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "game.h"
#include "mp_main.h"
#include "sp_main.h"
#include "iw3-328/main.h"

namespace game
{
Expand All @@ -21,6 +22,11 @@ namespace game
xbox::show_notification(L"IW3xe sp");
sp::init();
}
else if (strncmp((char *)0x820019EC, "multiplayer", 11) == 0)
{
xbox::show_notification(L"IW3xe 328 MP");
iw3_328::init();
}
else
{
xbox::show_notification(L"IW3xe unsupported executable");
Expand Down
Loading