• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Ran into a problem while importing

Level 4
Joined
Jun 28, 2024
Messages
36
Hi everyone, i was translating a w3x mapfile that i have extracted from a w3n, however now im struggling on importing the translated file back into the w3n, the game does not load the chapter and if i try to load a already existing savefile from that chapter it says that either its missing or corrupted, i tried to import the original untouched w3x back to the w3n as well and it says the same thing, im not professional when it comes to modding war3 so for that i apologize.
But i would appreciate it if someone can help me
 
Level 4
Joined
Jun 28, 2024
Messages
36
I think it's to be expected that you can't load a save file if you've replaced the map in between, does it launch if you play it from the beginning?
tried it. nothing changed, i must be importing it incorrectly i believe, the way i import it is that i use MPQ Editor extract the w3x that i want and then i delete the one inside w3n and then i import the extracted w3x back into the w3n to test it, am i doing something wrong here?
 
Level 4
Joined
Jun 28, 2024
Messages
36
just tried it with another campaign, same thing happens and the game won't be able to find it, i hope there is a way around this
 
Level 4
Joined
Jun 28, 2024
Messages
36
If you have the campaign file, you can load it in the campaign editor and replace the maps from there
I wish i could but im afraid i cannot, i tried with multiple versions of World Editor, it crashes if you try to load a w3x from the w3n and the same crash will occur if you try to open the w3n in the campaign editor, because of this i believe the only way to translate the campaign is to do it through wcstrings.exe(a tutorial i found on github) from what I've seen by now it seems that when i add the w3x into the w3n it gives the file a special flag that it originally didn't have (Compressed flag) which is the only explanation i have right now on why the game cannot find the map, I'll try to look for more details on it tomorrow
 
Level 28
Joined
Dec 3, 2020
Messages
970
Would extracting a w3x map from the campaign work? Not opening/loading it, simply extracting.
After that you can rename it to w3m and pray that it works

So:
  • Open w3n in campaign editor
  • Extract desired w3x map to the specified folder
  • Rename w3x extension to w3m
  • Open the map in the WE

Perhaps after extracting it, close the WE before renaming (although it shouldn't matter).
 
Level 4
Joined
Jun 28, 2024
Messages
36
Open w3n in campaign editor
when i load it in Campaign editor it gives an error:
Trigger Function does not exist in the database: SetMusicVolume
and then world editor crashes and it says "Not enough memory resources are available to process this command. Object .PAVCWTriggerFunction@@"
 
Level 28
Joined
Dec 3, 2020
Messages
970
when i load it in Campaign editor it gives an error:
Trigger Function does not exist in the database: SetMusicVolume
and then world editor crashes and it says "Not enough memory resources are available to process this command. Object .PAVCWTriggerFunction@@"
Ah, I see...
I don't think I can currently help, but I shall let you know if I find something out
 
Level 4
Joined
Jun 28, 2024
Messages
36
Ah, I see...
I don't think I can currently help, but I shall let you know if I find something out
thanks, right now im trying to figure how do i add the w3x back to the w3n without the MPQ Editor giving it the flag MPQ_FILE_COMPRESS (the w3x originally didn't have this flag when i removed it from the w3n but when i add it back to the w3n via MPQ Editor it gives it this flag)

Edit: My Theory was correct, i used MPQMaster for importing and it didn't give it the flag and now the game can locate the map (i even managed to load through a already existing savefile)
 
Last edited:
Top