JesusWarrior
Chieftain
Hello there,
So I have been having this issue where I get this 7zip error upon building with ModBuddy. I am creating a new civ and have been constantly building and testing my mod and it has been working. I decided to add a custom soundtrack into my mod and it worked as well, it could play multiple songs during peace and wartime. I saved my successful build and went to bed. The next day, I came back and added .xml file for diplomacy stuff and that's where everything went wrong. I was given this error upon building:
Error MSB4018: The "PackageMod" task failed unexpectedly.
SevenZip.SevenZipException: The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
at SevenZip.SevenZipBase.ThrowException(SevenZipBase handler, Exception[] e)
at SevenZip.SevenZipBase.CheckedExecute(Int32 hresult, String message, SevenZipBase handler)
at SevenZip.SevenZipCompressor.CompressFilesEncrypted(Stream archiveStream, Int32 commonRootLength, String password, String[] fileFullNames)
at SevenZip.SevenZipCompressor.CompressFilesEncrypted(String archiveName, Int32 commonRootLength, String password, String[] fileFullNames)
at SevenZip.SevenZipCompressor.CompressFiles(String archiveName, String[] fileFullNames)
at Firaxis.ModBuddy.Civ5ModBuildTasks.PackageMod.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
(Sorry, I'm new to this forum and don't know how to put all this into a spoiler)
I checked it out and people believe that it happens when your file is really large. So I immediately suspected the music, except I have a successful build that proves it works. So I restarted the mod with a different file name and tested further, and all my tests were successful. However, as soon as I added my music (before adding my diplomacy files), I built to test if that was the problem. And it gave me the same error.
I don't know what's wrong, but I think that if I could somehow compress the music, maybe the sevenzip error won't be cast. If you have any suggestions about how to compress it or have another idea on how to fix this, please let me know! Thanks!
So I have been having this issue where I get this 7zip error upon building with ModBuddy. I am creating a new civ and have been constantly building and testing my mod and it has been working. I decided to add a custom soundtrack into my mod and it worked as well, it could play multiple songs during peace and wartime. I saved my successful build and went to bed. The next day, I came back and added .xml file for diplomacy stuff and that's where everything went wrong. I was given this error upon building:
Error MSB4018: The "PackageMod" task failed unexpectedly.
SevenZip.SevenZipException: The execution has failed due to the bug in the SevenZipSharp.
Please report about it to http://sevenzipsharp.codeplex.com/WorkItem/List.aspx, post the release number and attach the archive.
at SevenZip.SevenZipBase.ThrowException(SevenZipBase handler, Exception[] e)
at SevenZip.SevenZipBase.CheckedExecute(Int32 hresult, String message, SevenZipBase handler)
at SevenZip.SevenZipCompressor.CompressFilesEncrypted(Stream archiveStream, Int32 commonRootLength, String password, String[] fileFullNames)
at SevenZip.SevenZipCompressor.CompressFilesEncrypted(String archiveName, Int32 commonRootLength, String password, String[] fileFullNames)
at SevenZip.SevenZipCompressor.CompressFiles(String archiveName, String[] fileFullNames)
at Firaxis.ModBuddy.Civ5ModBuildTasks.PackageMod.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
(Sorry, I'm new to this forum and don't know how to put all this into a spoiler)
I checked it out and people believe that it happens when your file is really large. So I immediately suspected the music, except I have a successful build that proves it works. So I restarted the mod with a different file name and tested further, and all my tests were successful. However, as soon as I added my music (before adding my diplomacy files), I built to test if that was the problem. And it gave me the same error.
I don't know what's wrong, but I think that if I could somehow compress the music, maybe the sevenzip error won't be cast. If you have any suggestions about how to compress it or have another idea on how to fix this, please let me know! Thanks!