Fixed and improved munge files

Releasing the source files for your mod or map? Post em' here. (Applies to both SWBF1 & SWBF2)

Moderator: Moderators

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Fixed and improved munge files

Postby Marvel4 » Fri Jul 11, 2014 6:42 am

These are my munge files which have been modified so they work if your PATH variable has a ")" in it (64-bit Windows) without removing any lines. Also, they correctly munge (and clean) your sound files and loadscreens, and automatically move them to your addon folder. If you modified their .req files, common.lvl, ingame.lvl, and inshell.lvl will be moved, too.

Download

AceMastermind wrote:To fix the template files:
Extract the data folder from the archive and drop it in the BF2_ModTools folder to overwrite the original files.
If you don't get file replacement prompts here then you did something wrong.


To fix a project made prior to fixing the template:
Extract these files from the data archive:
_Build folder
Animations folder
soundclean.bat
soundmunge.bat
soundmungedir.bat

Then copy all of them to your data_ABC project and paste them in that folder.
If you don't get file replacement prompts here then you did something wrong.


Tip:
If you aren't munging a custom common.lvl, ingame.lvl or inshell.lvl you can comment out lines 125-130 with rem in the munge.bat here:
data_ABC\_BUILD\Common\munge.bat
This will keep unneeded files from being copied to your compiled project in your Addon folder.
Last edited by Marvel4 on Thu Feb 16, 2017 1:09 pm, edited 5 times in total.

Droid Pilot Assassin
User avatar
Posts: 2151
Joined: Tue Aug 17, 2010 5:56 pm

Re: Fixed and improved munge files

Postby Noobasaurus » Fri Jul 11, 2014 9:58 am

Do they move the ingame.lvl as well?

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Fri Jul 11, 2014 2:14 pm

Updated. :P

Droid Pilot Assassin
User avatar
Posts: 2151
Joined: Tue Aug 17, 2010 5:56 pm

Re: Fixed and improved munge files

Postby Noobasaurus » Fri Jul 11, 2014 5:38 pm

Thanks.

Lieutenant General
User avatar
Posts: 713
Joined: Fri Aug 17, 2012 3:13 pm
Location: 411Remnant
Projects :: Empire Rising
Games I'm Playing :: SWBF Doom FONV
xbox live or psn: No gamertag set

Re: Fixed and improved munge files

Postby TWINKEYRUNAWAY » Sat Jul 19, 2014 11:31 pm

Ty marvel4. So basically if someone were to upgrade to windows 7 or 8, this is something of a one stop thing, no longer having to look for multiple files through here?

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Sun Jul 20, 2014 1:07 am

Yes, exactly. :)

Gametoast Staff
Posts: 3469
Joined: Mon Aug 21, 2006 6:23 am

Re: Fixed and improved munge files

Postby AceMastermind » Thu Aug 28, 2014 5:15 pm

This is mostly complete except for the munge_side.bat missing this on lines 75/76 added by FragMe! for HUD munging:
Code: Select all
configmunge -inputfile $*.hud %MUNGE_ARGS% -sourcedir %SOURCE_DIR% -outputdir %MUNGE_DIR% 2>>%MUNGE_LOG%
move /y configmunge.log configmunge_hud.log


http://www.gametoast.com/viewtopic.php?f=64&t=9703


EDIT:
Updated archive added to this post.

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Sun Aug 31, 2014 7:39 am

That's because it makes more sense to just munge a custom ingame.lvl including only the modified .hud files.

Master of the Force
User avatar
Posts: 4760
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: Fixed and improved munge files

Postby Anakin » Sun Aug 31, 2014 9:05 am

No there is no sense to munge a ingame with only the .hud files. It should munge everything that is listed in the ingame.req :?

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Sun Aug 31, 2014 9:46 am

Unless you want to get rid of the changes from the Unofficial v1.3 Patch, you should load both your stock ingame.lvl and your custom one.

Master of the Force
User avatar
Posts: 4760
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: Fixed and improved munge files

Postby Anakin » Sun Aug 31, 2014 9:56 am

mh i don't understand why you should load an stock ingame and an custom. Why don't you add your custom things to the stock one and load only one??

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Sun Aug 31, 2014 9:57 am

Like I said, that would get rid of the changes from the Unofficial v1.3 Patch.

Master of the Force
User avatar
Posts: 4760
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: Fixed and improved munge files

Postby Anakin » Sun Aug 31, 2014 10:05 am

But why don't you add just things to your ingame.req that you want to change? There is no need to just munge the hud files.

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Sun Aug 31, 2014 10:30 am

I'm not sure what you're trying to say. I munge only the .hud files because everything else is loaded from the stock ingame.lvl file.

Master of the Force
User avatar
Posts: 4760
Joined: Sat Sep 19, 2009 11:37 am
Location: Mos Espa (germany)
Projects :: Republic Commando Side Mod

Re: Fixed and improved munge files

Postby Anakin » Sun Aug 31, 2014 10:43 am

what about HUD things?? HUD Icons (tga and msh things)

Gametoast Staff
Posts: 3469
Joined: Mon Aug 21, 2006 6:23 am

Re: Fixed and improved munge files

Postby AceMastermind » Sun Aug 31, 2014 6:18 pm

Marvel4 wrote:That's because it makes more sense to just munge a custom ingame.lvl including only the modified .hud files.

No, because:
Floating Icons.txt wrote:Using the following method and files allows you to reposition the icons and have it become part of
the sides abc.lvl file that can get shipped with the map or even just a side mod and all persons who
play the map or use the side mod will have the icons properly positioned.

anyway, here's a new archive with the 'floating weapon icon fix' lines added to munge_side.bat
http://www.mediafire.com/download/6ip6d ... 0r/data.7z

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Mon Sep 01, 2014 1:14 pm

That's true, I didn't think of that. If you want to replace the stock sides, there's no other way. Updated it now.

Recruit Womprat Killer
User avatar
Posts: 8
Joined: Wed Sep 14, 2016 1:24 pm
Projects :: No Mod project currently.
Games I'm Playing :: SWBF2
xbox live or psn: PSN: Atephious

Re: Fixed and improved munge files

Postby Atephious » Tue Sep 20, 2016 6:28 pm

I hope I did this right as I'm rather new to this. I put the file directly into the "BF2_ModTools\data" folder and overwrote the files there.
Now that should fix it for all files created newly from the munge, but do I have to replace the files in older maps that i made previously? this all is a bit confusing.

Gametoast Staff
Posts: 3469
Joined: Mon Aug 21, 2006 6:23 am

Re: Fixed and improved munge files

Postby AceMastermind » Wed Sep 21, 2016 8:37 pm

Atephious wrote:... do I have to replace the files in older maps that i made previously?

Yep, any projects you made prior to this will need to have their bat files replaced by the improved ones as well.


I guess there should be some instructions added to the first post. :)

EDIT
Added some basic instructions and a tip to the first post.

Hidden/Spoiler:
To fix the template files:
Extract the data folder from the archive and drop it in the BF2_ModTools folder to overwrite the original files.
If you don't get file replacement prompts here then you did something wrong.


To fix a project made prior to fixing the template:
Extract these files from the data archive:
_Build folder
Animations folder
soundclean.bat
soundmunge.bat
soundmungedir.bat

Then copy all of them to your data_ABC project and paste them in that folder.
If you don't get file replacement prompts here then you did something wrong.


Tip:
If you aren't munging a custom common.lvl, ingame.lvl or inshell.lvl you can comment out lines 125-130 with rem in the munge.bat here:
data_ABC\_BUILD\Common\munge.bat
This will keep unneeded files from being copied to your compiled project in your Addon folder.

Rebel Colonel
User avatar
Posts: 607
Joined: Mon Jun 21, 2010 12:57 pm
Projects :: Marvel4s BF1 Conversion Pack + Era Mod

Re: Fixed and improved munge files

Postby Marvel4 » Thu Jan 26, 2017 5:12 am

Due to differences in date formats and daylight saving time, the code checking if you modified a .req file didn't work. I updated it now.

Return to Released Assets

Who is online

Users browsing this forum: No registered users and 2 guests