Skip to content

Commit

Permalink
Updated the patcher for 4.0.6 13596. Thx n0n4m3 & Fabian for the fix.
Browse files Browse the repository at this point in the history
Signed-off-by: AlterEgo <nonya@effing_beeezwax.gtfo>
  • Loading branch information
AlterEgo committed Feb 8, 2011
1 parent 4c11677 commit 032f015
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
17 changes: 13 additions & 4 deletions src/redirect/Patcher/SkyFirePatcher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,22 @@ namespace SkyFirePatcher
{
public partial class Form1 : Form
{


// WoW 4.0.6 13596 (release)
byte[] unpatchedBytes = new byte[] { 0xE8, 0x42, 0xE4, 0xFF, 0xFF };
byte[] patchedBytes = new byte[] { 0xB8, 0x00, 0x00, 0x00, 0x00 };
int patchOffset = 0x091369;
int exeLength = 9216664;
byte[] wowExe = null;

// WoW 4.0.3 13329 (release)
byte[] unpatchedBytes = new byte[] { 0xE8, 0xC2, 0xE5, 0xFF, 0xFF };
/*byte[] unpatchedBytes = new byte[] { 0xE8, 0xC2, 0xE5, 0xFF, 0xFF };
byte[] patchedBytes = new byte[] { 0xB8, 0x00, 0x00, 0x00, 0x00 };
int patchOffset = 0x08FAA9;
int exeLength = 9175192;
byte[] wowExe = null;
byte[] wowExe = null;*/

public Form1()
{
Expand All @@ -43,9 +52,9 @@ private void Form1_Load(object sender, EventArgs e)

if (wowExe != null)
{
if (wowExe.Length != 9175192)
if (wowExe.Length != 9216664)
{
richTextBox1.AppendText("Wrong version, this patch will only work for WoW 4.0.3 13329. \n");
richTextBox1.AppendText("Wrong version, this patch will only work for WoW 4.0.6 13596. \n");
label2.Text = "Error";
label2.ForeColor = Color.Red;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("CactusPatcher")]
[assembly: AssemblyTitle("SkyFirePatcher")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactusPatcher")]
[assembly: AssemblyProduct("SkyFirePatcher")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 032f015

Please sign in to comment.