Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: XxXGenesisXxX on November 06, 2012, 08:02:34 pm

Title: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: XxXGenesisXxX on November 06, 2012, 08:02:34 pm
Basically I want to edit the Blizzard_TalentUI but I can't without removing the integrity check. I have seen posts about GlueXML and FrameXML checks, but I have already got those. I had a look at the guide on removing the integrity checks on GlueXML's to try adjust it for AddOns folder, but didn't exactly get to far.

Can someone please help me with a workaround. guide or something on how I can achieve this?

Edit: Ended up making my own AddOn copying the BlizzardUI. Not a fix, but a workaround.
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: stoneharry on November 07, 2012, 02:04:12 pm
Quote from: "XxXGenesisXxX"
Basically I want to edit the Blizzard_TalentUI but I can't without removing the integrity check. I have seen posts about GlueXML and FrameXML checks, but I have already got those. I had a look at the guide on removing the integrity checks on GlueXML's to try adjust it for AddOns folder, but didn't exactly get to far.

Can someone please help me with a workaround. guide or something on how I can achieve this?

Edit: Ended up making my own AddOn copying the BlizzardUI. Not a fix, but a workaround.

You need to patch the wow.exe I believe. I cannot remember how I did this. =/

Same reason you need to patch to let you edit GlueXML files etc.
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: XxXGenesisXxX on November 08, 2012, 02:34:53 am
Yeah I tried doing the same method as GLueXML/FrameXML checks, but could not find a reference to AddOn's like you can with GlueXML.
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: stoneharry on November 08, 2012, 11:37:01 am
Quote from: "XxXGenesisXxX"
Yeah I tried doing the same method as GLueXML/FrameXML checks, but could not find a reference to AddOn's like you can with GlueXML.

Here is my WoW exe fully patched:

https://dl.dropbox.com/u/1102355/wowexe.zip (https://dl.dropbox.com/u/1102355/wowexe.zip" onclick="window.open(this.href);return false;)

You can compare it to yours, or if you can't find the lines changed that handle the addons, change the build to 12340 instead of 12341 and just use it.
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: XxXGenesisXxX on November 08, 2012, 05:52:09 pm
Thanks man, appreciated. :)
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: Ascathos on November 24, 2012, 02:16:09 pm
Something I got in regarding to this,

provide the original blizzard addons in the custom patch/have them in the Interface/Addons/ folder so they are still loaded up or it may result on "missing ingame interface files" - just because integrity is removed, it doesn't mean you don't require them.
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: The0dark0one on May 10, 2015, 12:16:19 pm
I would love to figure out a solution to this for build 5875.  I searched through the strings in my WoW.exe but I couldn't find anything close to "Couldn't load Blizzard_TalentUI: Corrupt".  Could someone point me in the right direction perhaps?
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: Alastor on May 10, 2015, 03:10:40 pm
In these ways i never had for example problem with integrity check since i am using that ( SRSLY OP ) patched wow.exe but if someone want it here is program that remove Protection of LUA functions just for interested...
https://mega.co.nz/#!TUAlzbgA!B15u_Hdzt ... ejqzpyShxo (https://mega.co.nz/#!TUAlzbgA!B15u_HdztU95X9bxBEqQSZk2pR1lsVbBkejqzpyShxo" onclick="window.open(this.href);return false;)
Title: Re: [SOLVED] Remove Integrity Check for AddOns folder.
Post by: The0dark0one on May 11, 2015, 06:46:12 am
Quote from: "Alastor"
In these ways i never had for example problem with integrity check since i am using that ( SRSLY OP ) patched wow.exe but if someone want it here is program that remove Protection of LUA functions just for interested...
https://mega.co.nz/#!TUAlzbgA!B15u_Hdzt ... ejqzpyShxo (https://mega.co.nz/#!TUAlzbgA!B15u_HdztU95X9bxBEqQSZk2pR1lsVbBkejqzpyShxo" onclick="window.open(this.href);return false;)
I need some instructions on how to use this exe, it's not in my language and running it just pops up a message window then closes.

On another note, I've tracked down exactly what I need to find.  

Inside of UIParent.lua, I found this:
Code: [Select]
function UIParentLoadAddOn(name)
local loaded, reason = LoadAddOn(name);
if ( not loaded ) then
if ( not FailedAddOnLoad[name] ) then
message(format(TEXT(ADDON_LOAD_FAILED), name, TEXT(getglobal("ADDON_"..reason))));
FailedAddOnLoad[name] = true;
end
end
return loaded;
end
Clearly the function I need to find is LoadAddOn().  Does anyone have any idea where this function is defined?  If I can find it, then I can edit it to allow Blizzard Addons to be edited.

EDIT: I'm closer to the answer.  The WoWWiki page API_LoadAddOn indicates that the function comes straight from the WoW API which according to the WoWWiki World_of_Warcraft_API page, it is a command that comes straight from the WoW client.  So I need to edit my .exe to stop the integrity check during this AddOn loading process.

EDIT2: I figured it out.  I gave up on editing my .exe, instead I found a very easy trick.  Open up the .toc file for the AddOn that you are modifying.
Code: [Select]
## Interface: 11200
## Title: Blizzard Talent UI
## Secure: 1 <----------CHANGE THIS TO 0
## LoadOnDemand: 1
Blizzard_TalentUI.xml
Localization.lua
Upon changing the Secure value to 0, I was able to load a modified Blizzard AddOn.