GithubHelp home page GithubHelp logo

7mochi / bsparchive Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clintonbale/bsparchive

0.0 0.0 0.0 206 KB

Identifies and archives all dependencies for bsp files.

License: MIT License

C 99.84% C++ 0.16%

bsparchive's Introduction

bsparchive

A tool used to backup the maps directory of GoldSrc engine games by finding all dependencies for each bsp file and zipping them up into individual archives.

Usage

Overview of options below:

Usage: bsparchive [-hvV] [-g <PATH>] -o <PATH> <PATH>
Identifies and archives all dependencies for bsp files.

  -h, --help                print this help and exit
  -v, --verbose             verbose output
  -V, --version             print version information and exit
  -g, --gamedir=<PATH>      the game directory
  -o, --output=<PATH>       where to output the zip files
  <PATH>                    bsp files or map directories

Example usage:

bsparchive.exe -o output "C:\Games\Steam\steamapps\common\Half-Life\tfc\maps"

Outputs the archived zip files containing required dependencies for all the bsp files in the tfc maps folder to the output folder in the current directory.

Limitations

  • Only bsp version 30 files are supported. (GoldSrc)
  • Excludes all out of the box game files for all games
    • This means when archiving tfc maps, all resources from cstrike will be excluded from the archive even if the tfc maps depend on them.

Build

Windows

Visual Studio 2017 solution can be found in ide/vs2017, this is a plug and play solution and should build on any Windows machine that can install Visual Studio 2017.

Other platforms

To be determined.

Author

Developed and maintained by Clinton Bale

License

bsparchive is MIT

It re-distributes other open source libraries:

  • argtable3 — BSD — A single-file, ANSI C, command-line parsing library that parses GNU-style command-line options
  • miniz — MIT — Single C source file zlib-replacement library
  • tinydir — Simplified BSD — Lightweight, portable and easy to integrate C directory and file reader

bsparchive's People

Contributors

clintonbale avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.