Skip to content

Console setup

BAD-AL edited this page Jul 3, 2020 · 8 revisions

Console setup

The included batch files (at your _BUILD/ folder) are already setup to build for PC, Xbox and PS2;

To Build for Xbox:

C:\BF2_ModTools\data_ABC\_BUILD> munge.bat /PLATFORM XBOX

refer to the bottom of "data_ABC\_BUILD\munge.bat" for building specific .lvl files like common and shell

Errors you'll see at this point:

  • Errors complaining about some missing programs ('XBOX_texturemunge', 'XBOX_modelmunge').
  • And an error about a missing 'shell.req' (Because it was not intended that PC modders would rebuild the main shell )
  • A bunch of 'soundflmunge.exe' errors (Because the source sounds weren't shipped with the modtools)
  • An error about '...\hero' doesn't exist
  • An error about your world not existing (because of the above errors)
  • xbcp errors (because we don't have the xbox copy program that Pandemic did, we'll have to ftp our stuff)

Fix the console build issue

Use this batch file to get those programs in place (copy to run at your data_ABC\_BUILD directory):

https://github.com/BAD-AL/SWBF2_Xbox_mod_effort/blob/master/xbox_ps2_setup.bat

Setup to 'munge' shell.lvl

For PC mods that go into the addon folder, it wasn't necessary to munge shell.lvl because the system is setup to add mods that are present there. XBOX works like that too and some content was delivered that way from Pandemic. But it's signed content and anything you put in the Xbox's addon folder that isn't signed properly will get blown away.

So, we need to modify shell.lvl to get new levels to show up in the selection list (missionlist.lua). The mod tools do not (by default) set you up to munge the shell.lvl file. But the shell files are included in the mod tools.

Copy the 'BF2_ModTools\assets\Shell' folder to 'data_ABC\'.

Now when you munge, the typical "missing shell.req" error will be gone from the munge log.

The Shell.lvl file will now munge and work, but there will be an issue with shell movie playback. Follow the info here to fix the movies (if you care to fix the shell movie playback): https://github.com/BAD-AL/SWBF2_Xbox_mod_effort/tree/master/XBOX_Shell

Clone this wiki locally