Giter Site home page Giter Site logo

unp4k's Introduction

unp4k

The go to tools which allow everyone and anyone to open, decrypt as well as extract any data from Star Citizen and Squadron 42!

Currently Squadron 42 is not out nor is there official Linux support for Star Citizen so, there are either no instructions for or few/supplimentary instructions for them which will be updated in future!

Usage (GUI & Command Line)

  1. Download the latest unp4k and unzip it anywhere within its own folder.
  2. If you are using Windows, you can simply run unp4k.exe.

Usage (GUI)

Usage (Command Line)

Tip: Use double quotation marks around a file/folder path if it contains spaces or else is will split it into multiple arguments. This also applies to the filter when using paths!

Windows

Powershell (Terminal app default)

.\unp4ck -d -i InFilePath -o OutDirectoryPath

Command Line

unp4ck -d -i InFilePath -o OutDirectoryPath

Example

unp4ck -i "C:\Program Files\Roberts Space Industries\StarCitizen\LIVE\Data.p4k" -o "C:\Windows\SC" -f "*.png" -d

macOS

Debian Linux

Bash

./unp4ck -d -i InFilePath -o OutDirectoryPath

Example

unp4ck -i /home/USERNAME/unp4k/Data.p4k -o /home/USERNAME/unp4k/output -f *.png -d

File Format Overview

p4k

The p4k format is used by Star Citizen and Squadron 42 as a means of archiving all game files into a single place, simplifying as well as potentially speeding up many of the games systems.

The format is seemingly a custom PKZip archiving format which supports modes including STORE, DEFLATE and supports ZSTD. It supports bespoke encryption which covers some entries within the archive, obviously depending on what CIG encrypt per release; all the encrypted entries can be decrypted using CryEngine's public key, which is used in its games for various encryption runtimes within the engine itself.

dcb

The dcb format is a bespoke database format which has similarities to CryXML. dcb is the resulting file from a system known internally at CIG as 'DataForge' and is able to be converted/extracted by putting it through unp4k's unforger.

CryXML

CryXML is a type of the serialised standard XML created for CryEngine, and still exists in Star Citizen today! It can be deserialised to standard XML and then to other formats.

unp4k's People

Contributors

peter-dolkens avatar stryxus avatar xkeyc avatar jprimke avatar

Stargazers

 avatar Pressy avatar

Watchers

 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.