-
Notifications
You must be signed in to change notification settings - Fork 0
Building Mods (munging) SWBFII
The modtools shipped with batch files and a program called 'Modtools VisualMunge.exe' in order to create the (.lvl) files used by the game.
There is another GUI tool created by modder 'Marth8880' called ZeroMunge which can also be used for the build/munge process.
These programs have the benefit of copying yout build output to your game's addon folder.
You can also build from the command line. Although you'll have to manually copy your files over to where you want them after they are built.
To start learning how to build/munge from the command line open up a CMD terminal in your 'data_ABC_BUILD' folder and type in:
munge.bat /help
You will see the following reply:
"
"Usage: munge [/PLATFORM [PC|PS2|XBOX]]
" [/LANGUAGE [ENGLISH|UK|FRENCH|GERMAN|JAPANESE|ITALIAN|SPANISH]]
" [/WORLD [EVERYTHING|NOTHING|<world1> <world2> ...]]
" [/SIDE [EVERYTHING|NOTHING|<side1> <side2> ...]]
" [/LOAD] [/SOUND] [/COMMON] [/SHELL] [/MOVIES] [/LOCALIZE]
"
"Options:
" If no parameters are specified then everything is munged.
" /PLATFORM The platform to munge the data for (default PC)
" /LANGUAGE The lanuage used for building (default ENGLISH)
" /WORLD Selectively munges world data. If "EVERYTHING" or "NOTHING" is
" specified all world data is munged or not respectively
" /SIDE Selectively munges side data. If "EVERYTHING" or "NOTHING" is
" specified all side data is munged or not respectively
" /LOAD If specified munges loading screen data
" /SOUND If specified munges sound data
" /COMMON If specified munges common data
" /SHELL If specified munges shell data
" /MOVIES If specified munges movie data
" /LOCALIZE If specified munges localization data
" /NOXBOXCOPY If specified skips the data copy to the xbox
Typically one does not need to build shell.lvl. But if you find yourself in need to do so, you can copy the 'BF2_ModTools\assets\Shell' folder to your 'BF2_ModTools\data_ABC\' folder.
C:\BF2_ModTools\data_ABC\_BUILD>munge.bat /platform PC
C:\BF2_ModTools\data_ABC\_BUILD>munge.bat /platform PC /SIDE
C:\BF2_ModTools\data_ABC\_BUILD>munge.bat /platform PC /SIDE rep
C:\BF2_ModTools\data_ABC\_BUILD>munge.bat /platform PC /WORLD
C:\BF2_ModTools\data_ABC\_BUILD>munge.bat /platform PC /WORLD ABC
XBOX, PS2 and PSP Notes
- There are many caveats in modding for consoles. More information will be forthcoming on console modding.
- The 'PS2' munge is used for PSP.
- By default the SWBFII modtools do not support the XBOX and PS2 build. You can use the following commands to get the PS2 and XBOX builds to function:
Open a command terminal in your BF2_ModTools\ToolsFL\bin folder
C:\BF2_ModTools\ToolsFL\bin> copy PC_ModelMunge.exe XBOX_ModelMunge.exe
C:\BF2_ModTools\ToolsFL\bin> copy PC_ShaderMunge.exe XBOX_ShaderMunge.exe
C:\BF2_ModTools\ToolsFL\bin> copy PC_TextureMunge.exe XBOX_TextureMunge.exe
C:\BF2_ModTools\ToolsFL\bin> copy PC_ModelMunge.exe PS2_ModelMunge.exe
C:\BF2_ModTools\ToolsFL\bin> copy PC_TextureMunge.exe PS2_TextureMunge.exe