Git Product home page Git Product logo

japm's Introduction

JAPM (Just Another PBO Manager)

Utility allowing you to pack / unpack Bohemia Interactive's PBO files for Arma 3 game. Implemented in C and is cross-platform Linux / Windows, this piece of software can be used in automatized scripts which may come handy for server owners.

Features

  • Pack / Unpack
  • Supports Extended Header Format
  • Supports Compression

Building From Sources

Linux

$ mkdir build && cd build
$ cmake ..
$ make

Linux (Docker)

$ docker build -t japm .
$ docker run --rm -it japm -h

Windows (cross-building)

$ mkdir build && cd build
$ cmake -DCMAKE_TOOLCHAIN_FILE=../windows.cmake ..
$ make

USAGE

$ ./JAPM -h
USAGE
        ./JAPM [OPTIONS] input [output]

OPTIONS
        -h      Print this help message and discard other options
        -q      Quiet: does not print status
        -w      No warning
        -v      Display version and discard other options

It is possible to run a pre-compiled version of JAPM through Docker using rajiska/japm image.

Credits

SHA1 Library by Steve Reid

Thanks

  • Mikero for his PBO File Format wiki page
  • The various people who helped me searching how it was all working

japm's People

Contributors

rajiska avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

japm's Issues

Unknown location

pbo_retrieve_entries.c:31: WARNING: Entry with special name renamed -> __JAPM__\unknown1701.txt

Where does is save thosae?

Handle compression

Hi RaJiska,

first of all, I love JAPM. It help a lot.

Now I can't extract a pbo, and I suspect that it's compressed. In the sources I see "TODO: Handle compression". Is this something you will add at some point?

Thanks,
inkihh

Issue after make command

After using the make-command I get this error:

[ 2%] Built target LIBSHA1 [ 4%] Building C object CMakeFiles/LIBUTILS.dir/lib/utils/src/utils_strsplit.c.o /home/arma/JAPM-master/lib/utils/src/utils_strsplit.c: In function ‘count_delims’: /home/arma/JAPM-master/lib/utils/src/utils_strsplit.c:17:2: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for (unsigned int it = 0; str[it]; ++it) { ^ /home/arma/JAPM-master/lib/utils/src/utils_strsplit.c:17:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code /home/arma/JAPM-master/lib/utils/src/utils_strsplit.c:18:3: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode for (unsigned int ij = 0; delims[ij]; ++ij) { ^ CMakeFiles/LIBUTILS.dir/build.make:54: recipe for target 'CMakeFiles/LIBUTILS.dir/lib/utils/src/utils_strsplit.c.o' failed make[2]: *** [CMakeFiles/LIBUTILS.dir/lib/utils/src/utils_strsplit.c.o] Error 1 CMakeFiles/Makefile2:167: recipe for target 'CMakeFiles/LIBUTILS.dir/all' failed make[1]: *** [CMakeFiles/LIBUTILS.dir/all] Error 2 Makefile:76: recipe for target 'all' failed make: *** [all] Error 2

Would be great if you could fix that. Thanks in advance.

Problems with pbo

Hello I know this has not been updated in a while but I am currently using a Raspberry Pi to decompile so I can edit it recompile back into the PBO but when I put it into the server it states that the sizes too small. Thank you for your time

First Letter away

When I let build a PBO File with the Programm it will delete the first letter of every folder and every .sqf file. Only the grenadier.sqf File is the first Letter there, when i add extra letter to every file.

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.