Lump Separator

From NFBSP

Jump to: navigation, search
Lump Separator
Author(s) FordGT90Concept
Size 11.0 KiB
Release Date 28 Dec 2007
Current Version 3.0.0
Prerequisites .NET Framework 2.0
CLR Compliant Yes
Download

Breaks Binary Space Partition files into multiple files for easy editing. It can then recombine the files back into a single .BSP.

Contents

Usage

Double-click the extracted application to run it.

Note: this application does produce multiple files in the same directory as the executable; therefore, it is wise to place the application in its own directory prior to running it.

Main Form

The main form is broken into four parts: header information, separate, combine, and a display area for messages.

Header Information

This group contains two items:

  • Game Profile - The profile to load from games.ini that specify the count of lumps, the file names to use for the lumps, and the header information of the BSP. This information is used to during the separate and combine processes.
  • Header - This simply shows what was read from the INI for the selected game. If this does not change when changing the game profile, there is something wrong with the INI.

Separate

This group contains three items:

  • Load - The BSP to open for separation.
  • Save - The directory in which to place all the separated files.
  • Separate - This button uses all the provided information (game profile, header, load, and save) to separate the given files.

Combine

This group contains three items:

  • Load - The directory to find all the separated files in.
  • Save - The BSP file to save which is produced by the combining process.
  • Combine - This button uses all the provided information (game profile, header, load, and save) to combine the given files.

Message Area

Messages will appear here including errors. It will also say "done" when a separate or combine process has been completed successfully. If something seems amiss, look in this area for a clue for how to fix it.

INI Files

This application uses two INI files which allow it to be useful for more than just the games provided with it.

Config.ini

This file isn't necessarily intended to be modified. It contains the previously used game profile and save/load directories.

Games.ini

The sections which are surrounded by brackets are the profile names. Somewhere under the section (but before then next section) should appear a "header=" and at least a "0=00.hex".

The header is the information that appears at the beginning of the file before the table of contents. It may either be given in hex (e.g. FF000000) or decimal (e.g. 255-0-0-0). If there is no header, do not put anything after the equal sign.

The lines that start with a number are the zero-based indices of the lumps. The number of lines starting with a number should equal the number of lumps in the file. After the equal sign is the file name which is used to separate and combine the files. There must always be something after the equal sign or else the application will error.

Version History

  • 3.0.0 - Completely reworked from the version found on JBNF.net. It is coded in C# and is CLR Compliant.
Personal tools