'There was an error unpacking campaign' - SOLVED

Post Reply
hellcat23
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 16
Joined: Sat Dec 17, 2011 12:10 am

'There was an error unpacking campaign' - SOLVED

Post by hellcat23 »

solved - it was AVG. I switched it off for a few minutes and the content all downloaded and installed. My bad. (edited to show resolution)

Hi,

I can't seem to download the community content from the ingame menu system.

No matter which selection I choose the download seems to progress but then comes up with an error message saying 'There was an error unpacking campaign'.

It doesn't seem to be an issue with any other software not allowing permissions, I have 7zip - what format are these files in for the game to attempt to unpack?

In the error log I am seeing repeated entries of 'Failed to open file to write to' and then the community content battle / campaign name and the file address to field of glory/campaigns in my documents... if that helps.

and '**WARNING**:AddUIListboxItem Invalid string index: 207149797'

I am running win7. I will test it later on a win10 machine and update...

Is there a guide anywhere on the forum for manually adding community content?
Last edited by hellcat23 on Wed Nov 22, 2017 4:24 pm, edited 2 times in total.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28284
Joined: Sun Dec 04, 2005 6:25 pm

Re: Community Content - 'There was an error unpacking campai

Post by rbodleyscott »

You can't manually add it using the files on the ftp because they use a proprietory .cpf format.

The issue might be with your permissions on the

/My Documents/My Games/FieldOfGlory2/Campaigns folder which is where they are unpacked.
Richard Bodley Scott

Image
hellcat23
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 16
Joined: Sat Dec 17, 2011 12:10 am

Re: Community Content - 'There was an error unpacking campai

Post by hellcat23 »

The permissions all seem to be set to allow. Is this a win 7 'read only' issue?

What I mean't about adding community content manually is that the various community made battles / campaigns are listed as .zip downloads here on the forum in the Scenario Design section. Is there a guide for where to copy to or extract to the assorted files? For example I downloaded one and extracted it but it has at least 6 different files and a folder and no readme explaining where to put the files. I've looked to see if there is a guide on here but may have missed it as not found one...

any help on the ingame / permissions issue also appreciated.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28284
Joined: Sun Dec 04, 2005 6:25 pm

Re: Community Content - 'There was an error unpacking campai

Post by rbodleyscott »

hellcat23 wrote:The permissions all seem to be set to allow. Is this a win 7 'read only' issue?

What I mean't about adding community content manually is that the various community made battles / campaigns are listed as .zip downloads here on the forum in the Scenario Design section. Is there a guide for where to copy to or extract to the assorted files? For example I downloaded one and extracted it but it has at least 6 different files and a folder and no readme explaining where to put the files. I've looked to see if there is a guide on here but may have missed it as not found one...

any help on the ingame / permissions issue also appreciated.
Put single player ones in

/My Documents/My Games/FieldOfGlory2/Campaigns and "Extract here"

Multiplayer ones in:

/My Documents/My Games/FieldOfGlory2/Multiplayer

---------------------------------------------

You have edited the OP to say "SOLVED". What was the solution? - it might help others to know.
Richard Bodley Scott

Image
hellcat23
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 16
Joined: Sat Dec 17, 2011 12:10 am

Re: 'There was an error unpacking campaign' - SOLVED

Post by hellcat23 »

Yes I update edited the first post to include the solution.

Basically it was AVG blocking the unpacking and not providing any data or warning it was doing so. The error logs for FoG2 showed it was some kind of write error failure - which led me to think it may be some read only win 7 permissions headache. However the fix was easy - by switching off AVG protection for a short time and then using the in-game community content downloading worked fine.

So if you are getting error messages in the log similar to the ones I posted in the first message of this thread then it is probably AVG or similar anti virus / firewall protection interfering with the unpacking and writing to folders.

cheers
Post Reply

Return to “Field of Glory II: Tech Support”