Thread: Modules with 7Zip Question
-
January 27th, 2021, 22:10 #1
Modules with 7Zip Question
Good day. I run Jon Brazer Enterprises and I create my own FG .mod files. FG wants .mod files to work for both Classic and Unity. So exporting a file from Classic and having it work in Unity requires opening up the .mod (changing it to a .zip, extracting), putting the files in a folder, changing the db.xml to reflect the folder, and then buttoning it all back up. Windows' default zipper doesn't do folders so I was told to use 7zip.
No matter how many times I use 7zip, I can never see my file again in the modules folder. For a long time, I thought I was modding it wrong. Well, today, I tried opening the mod and zipping it back up again without making a single change. Same result, the new .mod file doesn't appear when I am trying to load a module.
So it is not me screwing, but some setting I have in 7zip that is the issue. How should I have my setting set?Dale McCoy, Jr (Ultimate License holder)
President of Jon Brazer Enterprises. See all of our products available for Fantasy Grounds.
-
January 27th, 2021, 22:45 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
I use the default Windows compression for all my ZIP file creation, and it supports folders just fine. I'm not familiar enough with 7-Zip to know how it zips up files by default; so it may have different compression formats you can try.
One thing to note is that any .mod files must have the definition.xml and client.xml/db.xml in the root of the .mod ZIP file. If it's nested, then it won't be recognized.
Regards,
JPG
-
January 27th, 2021, 22:50 #3
I use 7zip to unpack my mod/ext/pak/ppk files but I use Windows - Send to Compressed File for zipping them back up.
Always zip up the contents of the root folder and not the root folder itself
-
January 29th, 2021, 21:46 #4
-
January 29th, 2021, 22:04 #5
Not sure if this helps, but this is a quick and easy way to do it with 7-zip (assuming Windows anyway).
Go into the folder you want to zip, select everything you want zipped, right click to bring up the context menu. Then within the 7-zip menu, choose "Add to [filename].zip" and it will create the .zip file within that same folder for you. Then just rename the extension to .mod and you're all set to distribute. 7-zip's default compression is .7z which you do not want to use!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks