Windows 10 Packaging Mod Workaround

philhellenismos

Chieftain
Joined
Nov 17, 2014
Messages
55
Hello,

So there's been an issue with my ModBuddy, specifically the infamous error MSB4018 or the SevenZip exception. I found a small workaround with regards to deploying the mod for personal testing, but the problem lies with packaging the mod so I may publish it in Steam.

To deploy the mod without packaging it, and hence avoiding the infamous MSB4018 error as to test the mod internally, first right-click on the Solutions.

Workaround1.png


Then Select the Configuration Properties > Configuration, then find the Configuration and select Deploy Only.

Workaround2.png


While I'm thinking of using the actual SevenZip to pack the file into a zip file and change the extension to a civ5mod, I'm fearing a potential screwup. However, I will test it out and see what happens.
 
I've managed to use SevenZip to pack the file and convert it into a civ5mod, successfully uploading that to Steam Workshop. The mod download seems to work considering there aren't comments about it.

To pack the file through SevenZip, first install the said program. After that, go to the Firaxis ModBuddy folder, then go to the mod folder of choice. After that, go to the Build folder and open up whatever is there (should be the Mod name that will appear in the Mod screen), and select all the files and have SevenZip compress it. When SevenZip opens up the compression parameter dialog screen, Find Compression Type or Method, then select LZMA. After that, look below to find dictionary size which by default is set to 16MB, and choose 32MB and make a Zip file from that. After that, rename the file from (Your File Name).zip to (Your File Name).civ5mod.

Workaround3.png


Mission accomplished.
 
Last edited:
Back
Top Bottom