Jump to content

Compiling a meg file - possible ?


Recommended Posts

I was considering that some mods get quite big and the textures and models folder can be quite large. No one seems to do this so I do not know if its possible ? - but do you think its possible to compile your mod files into meg files when a mod is complete and ready for general use.

 

Advantages

 

1) maybe lesser file size - does putting them into meg files compress them down more ?

 

2) more tidier folders. People will always use a meg extractor if they want some thing from the mod.

 

can it be done - and how what would need to be done ?

http://i37.photobucket.com/albums/e99/drone_pilot/JC_Sig.jpg

 

Sote Mod Website @

 

http://sote-mod.com/forum/index.php?act=home

Link to comment
Share on other sites

I was considering that some mods get quite big and the textures and models folder can be quite large. No one seems to do this so I do not know if its possible ? - but do you think its possible to compile your mod files into meg files when a mod is complete and ready for general use.

Not really.

The only way that would work is by adding the meg file to MegaFiles.xml, meaning it'll be part of the regular game instead of being a seperate mod. So the entire MODPATH game parameter becomes useless. This is the main reason not to do it.

 

1) maybe lesser file size - does putting them into meg files compress them down more ?

Nope. In fact, the size is increased slightly (because of metadata). Then again, storing seperate files on disk also requires metadata. Anyway, the difference is negliable.

 

2) more tidier folders. People will always use a meg extractor if they want some thing from the mod.

Does that matter? Just dump an entire mod in some folder in Mods\. Tidy enough.

 

So, conclusion: it's bad practice and not worth the trouble :)

Link to comment
Share on other sites

What if you put the .meg and MegaFiles.xml in the Mods folder?

Hey, you're right. Heh, I didn't know that could work. Makes sense though, now that I think about it :)

So yes, you could put a copy of MegaFiles.xml in your "Mods\My Mod" directory and then add your meg files to it.

 

However, that still leaves the issue of why you'd want to do it. My arguments for not doing this are:

  • The difference in disk space is negliable.
  • It takes effort to pack everything up.
  • Patching your mod would be more troublesome. Without meg files you can just zip up the altered files. With meg files you'd have to zip up all meg files that were altered (significantly increasing the download size). Unless you have some advanced patching utility that can efficiently extract differences within files.

 

So while it's possible, I'd still recommend against it. But do as you please, of course ;)

 

It would also help make sure that no files are left out.

What do you mean by this? You either forget to put everything in a zip file, or you forget to put everything in a meg file. Same thing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Copyright (c) 1999-2022 by SWRebellion Community - All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Star Wars(TM) is a registered trademark of LucasFilm, Ltd. We are not affiliated with LucasFilm or Walt Disney. This is a fan site and online gaming community (non-profit). Powered by Invision Community

×
×
  • Create New...