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] Order rule of reading patches in Noggit  (Read 1530 times)

Magnus

  • Moderators
  • Wiki Incarnate
  • *****
  • Posts: 147
    • View Profile
[Solved] Order rule of reading patches in Noggit
« on: March 04, 2015, 05:34:54 pm »
I think Noggit (all versions) reads the patch files in a wrong order.

How to proof:
The only thing I want to change is an area name. F.ex. Quel'talas into something different. Therefore I change the AreaTable.dbc and make a patch patch-6.MPQ The patch I copy into the WoW Client data folder and to the server dbc folder. That works fine. If you go ingame the area has the new name.

But it doesn't work in that way in Noggit. I also copy the patch-6.MPQ into the data folder of my Noggit WoW client.
In Noggit still the old area name appears. Looking to the log, this is the order patches are read:
Code: [Select]
[Debug] Opened archive E:World of Warcraft - NoggitData/common.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/common-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/expansion.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/lichking.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-3.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-6.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/expansion-locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/lichking-locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB-3.MPQ
So I think my patch 6 is overwritten by one of the patches that apears after my one in the log.


Next step:
I copy my patch-6.mpq to patch-enGB-6.MPQ and put it in the enGB folder. After restarting Noggit the area name is shown correctly with my own custom name.

Looking to the log;
Code: [Select]
[Debug] Opened archive E:World of Warcraft - NoggitData/common.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/common-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/expansion.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/lichking.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-3.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/patch-6.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/expansion-locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/lichking-locale-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB-2.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB-3.MPQ
[Debug] Opened archive E:World of Warcraft - NoggitData/enGB/patch-enGB-6.MPQ
Now you can see that my patch patch-enGB-6.MPQ was the last one. But that's not the way wow is reading patches.

I think they should be read in this way (or similar):
Code: [Select]
Data/common.MPQ
Data/common-2.MPQ

Data/expansion.MPQ
Data/enGB/expansion-locale-enGB.MPQ

Data/lichking.MPQ
Data/enGB/lichking-locale-enGB.MPQ

Data/patch.MPQ
Data/enGB/patch-enGB.MPQ

Data/patch-2.MPQ
Data/enGB/patch-enGB-2.MPQ

Data/patch-3.MPQ
Data/enGB/patch-enGB-3.MPQ

Data/enGB/locale-enGB.MPQ

Data/patch-*.MPQ
Data/enGB/patch-enGB-*.MPQ


Hope you get the idea what I want to say  :D
« Last Edit: March 12, 2015, 08:08:33 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [Bug] Order rule of reading patches in Noggit
« Reply #1 on: March 11, 2015, 05:38:17 am »
You should put DBCs into a local patch. Also all interface stuff.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Magnus

  • Moderators
  • Wiki Incarnate
  • *****
  • Posts: 147
    • View Profile
Re: [Bug] Order rule of reading patches in Noggit
« Reply #2 on: March 11, 2015, 11:41:27 am »
After all I also found my way where to put patches into the different application folders.

It seems that TC mapextractor, Noggit and the WoW client reads patches in 3 different ways.

While TC claims not to be interested in client modding at all it may be ok for them.

However, Noggit should read patches exactly in the same way as the WoW client is doing it.

For me it works well with a single patch (f.ex. patch-6) including dbcs, interface, maps etc. However I use multilingual DBCs, means I use both column english and german.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [Bug] Order rule of reading patches in Noggit
« Reply #3 on: March 11, 2015, 04:56:10 pm »
Locale patches have heigher priority than the usual ones. The loading order is similar to the game.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Magnus

  • Moderators
  • Wiki Incarnate
  • *****
  • Posts: 147
    • View Profile
Re: [Bug] Order rule of reading patches in Noggit
« Reply #4 on: March 11, 2015, 08:19:01 pm »
Similar is not exactly ;-)

For example WoW reads the patch-6.mpq AFTER the patch-enGB-3, even the last one is a locale one.
IMHO patches should be read with this pattern:
Code: [Select]
/Data/common.MPQ
/Data/common-2.MPQ
/Data/expansion.MPQ
/Data/enGB/expansion-locale-enGB.MPQ
/Data/enGB/expansion-locale-deDE.MPQ
/Data/lichking.MPQ
/Data/enGB/lichking-locale-enGB.MPQ
/Data/enGB/lichking-locale-deDE.MPQ
/Data/patch.MPQ
/Data/enGB/patch-enGB.MPQ
/Data/enGB/patch-deDE.MPQ
/Data/patch-2.MPQ
/Data/enGB/patch-enGB-2.MPQ
/Data/enGB/patch-deDE-2.MPQ
/Data/patch-3.MPQ
/Data/enGB/patch-enGB-3.MPQ
/Data/enGB/patch-deDE-3.MPQ
/Data/enGB/locale-enGB.MPQ
/Data/enGB/locale-deDE.MPQ
/Data/patch-4.MPQ
/Data/enGB/patch-enGB-4.MPQ
/Data/enGB/patch-deDE-4.MPQ
/Data/patch-5.MPQ
/Data/enGB/patch-enGB-5.MPQ
/Data/enGB/patch-deDE-5.MPQ
/Data/patch-*.MPQ
/Data/enGB/patch-enGB-*.MPQ
/Data/enGB/patch-deDE-*.MPQ
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [Bug] Order rule of reading patches in Noggit
« Reply #5 on: March 12, 2015, 07:05:44 am »
No, it does not. there are also some differences between different clients. For example, Russian client can't load DBCs and UI from data patches while US one does it perfectly.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Magnus

  • Moderators
  • Wiki Incarnate
  • *****
  • Posts: 147
    • View Profile
Re: [Bug] Order rule of reading patches in Noggit
« Reply #6 on: March 12, 2015, 08:06:44 am »
That's really verry strange.  :shock:

Well, I have tested it only for english and german clients.

And also only for 3.3.5a. Don't know how later versions handle this.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [Solved] Order rule of reading patches in Noggit
« Reply #7 on: March 12, 2015, 10:22:17 am »
Later versions use a different system of updates.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »