Depends on the map if the triggers will be available. Back in the early days it could be possible for even Xdep to deprotect the map with the triggers, but somewhat rare. I've done this with different Wintermaul TDs.
These days, the chances of having the full GUI triggers will be EXTREMELY rare.
Open up your map in a MPQ editor, if you see war3map.wtg, then you might have a chance of recovery. it's funny with WC3 being such an old game that after all these years someone hasn't made a program that could reverse engineer the jass into GUI triggers.
[GUIDE] Restoring corrupted .w3i
Moderator: Cheaters
-
- Shopping Maul USA Creator
- Posts: 1744
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Been thanked: 2 times
-
- Newcomer
- Posts: 4
- Joined: June 11th, 2013, 1:51 pm
Re: [GUIDE] Restoring corrupted .w3i
Vegas wrote:Depends on the map if the triggers will be available. Back in the early days it could be possible for even Xdep to deprotect the map with the triggers, but somewhat rare. I've done this with different Wintermaul TDs.
These days, the chances of having the full GUI triggers will be EXTREMELY rare.
Open up your map in a MPQ editor, if you see war3map.wtg, then you might have a chance of recovery. it's funny with WC3 being such an old game that after all these years someone hasn't made a program that could reverse engineer the jass into GUI triggers.
Yeah I've just rebuilt a map and fixed the w3i file. It opens in WE but no GUI triggers are shown. There is a guide on XGM.ru on how to manually convert JASS into GUI but it will probably take me a three months at least, to fully convert it, and even then probably half the triggers won't be working properly since I@m not that good with JASS
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Yeah It's a shame that there is no JASS to GUI conversion tool
![Sad :(](./images/smilies/icon_sad.gif)
I tried to manually create a trigger in JASS and re-import the .j file back into the map but the map is now not opening even in WC3 so something is obviously wrong. I was hoping that I could rebuild the map and open it in WE to see the GUI trigger and convert it into JASS but sadly GUI triggers are not shown even after rebuild
![Sad :(](./images/smilies/icon_sad.gif)
-
- Shopping Maul USA Creator
- Posts: 1744
- Joined: January 18th, 2007, 11:07 am
- Title: No Comment
- Location: Calgary Canada
- Been thanked: 2 times
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 5 times
Re: [GUIDE] Restoring corrupted .w3i
3nemy_ wrote:Does this also include the triggers or will they be lost like with deprotection tools?you don't lose any data/map options
VectorM12 wrote:3nemy_ wrote:Does this also include the triggers or will they be lost like with deprotection tools?you don't lose any data/map options
I have the same question here. Will the triggers actually be readable or will it be a one big trigger like after X-dep tool.
Nope. It doesn't includes the triggers. Neither one big trigger file. Unfortunately, recover triggers is a manual work.
-
- Newcomer
- Posts: 2
- Joined: April 18th, 2017, 3:21 am
Re: [GUIDE] Restoring corrupted .w3i
yea, how do you get past this? any tutorial on how to?dataless wrote:How might one get past the second step, when the MPQ files are obfuscated like the following?
-
- Also Not an Admin, but closer than devoltz
- Posts: 1655
- Joined: February 14th, 2018, 5:35 am
- Title: Just Another S.Mod
- Been thanked: 5 times
-
- Member
- Posts: 75
- Joined: October 21st, 2013, 4:18 pm
Re: [GUIDE] Restoring corrupted .w3i
They are lost. GUI Triggers can't be restored, well they can, but no one really bothered to fully automate this process, as it is kind of useless.3nemy_ wrote:Does this also include the triggers or will they be lost like with deprotection tools?you don't lose any data/map options
Triggers do not change, all of them are converted to jass code and dumped in war3map.j, then it depends on map makers what they want to do with it, obfuscate or not. Obfuscated maps will remain so, there was War 3 Map Restorer that was mostly able to rewrite obfuscated names, but it still fails sometimes.VectorM12 wrote:3nemy_ wrote:Does this also include the triggers or will they be lost like with deprotection tools?you don't lose any data/map options
I have the same question here. Will the triggers actually be readable or will it be a one big trigger like after X-dep tool.
In short, to both, no, this method only makes the map openable, nothing more.
-
- Newcomer
- Posts: 8
- Joined: January 31st, 2020, 5:19 am
Re: [GUIDE] Restoring corrupted .w3i
is there any work around for a map that has say 1.262 billion region files to load just to open the damn map in the editor? asking for a friend T.T
-
- Super Moderator
- Posts: 1943
- Joined: February 3rd, 2009, 11:28 pm
Re: [GUIDE] Restoring corrupted .w3i
Honestly, I'd just overwrite it with a new file, don't even bother restoring if it's that corrupt. You can fix the settings yourself in the World Editor.
(are regions stored in the war3map.w3i? I didn't know that.)
(are regions stored in the war3map.w3i? I didn't know that.)
-
- Newcomer
- Posts: 3
- Joined: November 3rd, 2018, 3:54 am