This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [SOLVED] [QUESTION] Changing MPQ names and make wow recogniz  (Read 1221 times)

Kiun

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 50
    • View Profile
For what I know, WoW only recognize patches called 'patch.mpq', 'patch-2.mpq', 'patch-A.mpq' ...

Would be possible to make WoW recognize a patch called for example 'MyCustomPatch.mpq'?
« Last Edit: July 09, 2014, 07:54:07 pm by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #1 on: July 09, 2014, 04:37:29 pm »
This will require modification of the client binary. There is a table of MPQ filenames to load. Just looking for "development.MPQ" will lead you there. Note that you need to specify the correct mode though.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kiun

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 50
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #2 on: July 09, 2014, 06:10:38 pm »
Sorry schlumpf, I'm a bit inexperienced in this field. By modification of the client binary you mean editing WoW.exe?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #3 on: July 09, 2014, 06:31:16 pm »
Yes.

There is a list like

somewhere inside. there, just overwrite an entry. appending likely is way harder. note that the integers between filename offsets have a meaning and determine if a file is loaded or not, required or not, etc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kiun

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 50
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #4 on: July 09, 2014, 07:11:45 pm »
Ok, now I have to ask you about where is that image from? A program tool maybe? What do I need to edit the client binary?

Thank you.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #5 on: July 09, 2014, 07:18:11 pm »
the tool is ida pro. you need a hex editor.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Kiun

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 50
    • View Profile
Re: [QUESTION] Changing MPQ names and make wow recognize the
« Reply #6 on: July 09, 2014, 07:49:31 pm »
Found it with 010 Editor, thanks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »