BPPU packing tool

BPPU packing tool v3

  • Hey you! Yes, you! Add images to your downloads, it's free! Use the orange "Manage Download Image" button in the top right.

BPPU packing tool v3

A commandline tool for packing maps, written in python

Written in python3, I've aimed to create a commandline packing tool that can be used on both linux and windows. See the README for information on formatting the various config files, for a list of all arguments that can be passed in, and what to do for some errors encountered.

Python3 is required for this to work, however no external libraries are needed.


Features:
Author lists:
Text files can be created, containing authors for assets. These can exist in the program's directory or in asset folders, and support wildcards for assets and folders.
1660082333652.png


Commandline utility:
As this is a commandline application, it can be called via batch scripts or CompilePal's Custom Step feature. This allows for all elements of your compiling to be done from within hammer itself.
To use with CompilePal, call python.exe with bppu.py as an argument as follows;
1660086352800.png


Linux support:
Written in python3, with no external libraries used, this can be used by those mapping on linux with support for every feature.

Speed:
One of my biggest qualms with VIDE is the time taken to parse and pack maps. BPPU has speeds comparable to CompilePal's.
A speed comparison for one large map, between VIDE, CompilePal, and BPPU;
BPPUCompilePalVIDE
Parsing/sec1.16N/A58.59
Packing/sec3.646.79.28
(parsing refers to detecting custom assets used).

Manual file/directory inclusion:
FileDirectory lists (FDlists) can be defined per map or for all maps. These allow for manual inclusion or removal of assets, with wildcard support.

Asset listing:
Each asset referenced in the map can be listed, given with its size and location. The status of each asset relative to the map is given as well (if it is packed or unpacked).
1660084264326.png


Support for /custom/ and miscellaneous files:
Unlike VIDE, this tool fully supports /custom/ file locations, and has support for various miscellaneous files such as map translation files, menu photos, and VGUI assets referenced in .RES files.

Repacking support will be added in the future.

Thank you to Blank for the extensive testing and help debugging this with various asset types on linux.
Author
DrSquishy
Downloads
475
Views
1,023
First release
Last update
Category
Prefabs

More downloads from DrSquishy

Latest updates

  1. Numerous small fixes

    An update for the two people who use this tool, mostly with small fixes and improvements I've made through my own use. Known changes: Fixed a crash related to not having a /particles/ folder (Thanks @chaorace) Fixed a crash relating to rope...
  2. Minor fixes to v2

    Compilepal integration was set up for a previous Compilepal version. Ammending this.
  3. Miscellaneous fixes + compilepal integration

    Started work on this a few months ago but got distracted. This contains various fixes to packing and parsing, removes the -noauto, -file, -dir parameters, and adds CompilePal integration. To use with CompilePal: place the BPPU folder in...