Code Monkey home page Code Monkey logo

scp-unpacker's Introduction

SCP-Unpacker

An unpacker for Supercell's new packer - SCP.

Installation

Usage

Extract a list of files - node index.js --file assets/font.osm --file assets/ui.osm

Extract a directory - node index.js --folder assets

You can also combine them - node index.js --folder assets --file assets2/font.osm

Some files are using xsalsa20 encryption. To unpack them, you must provide a key and a nonce. You can then extract the encrypted scp file using: node index.js --file assets/encrypted.scp --key [key] --nonce [nonce] where [key] is a string of 32 hex bytes and [nonce] is a string of 24 hex bytes.

scp-unpacker's People

Contributors

baraklevy20 avatar

Stargazers

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

Watchers

 avatar  avatar

scp-unpacker's Issues

No files with CHACHA20 encryption

The directory or file headers can be CHACHA20-encrypted, but I couldn't find any, so I couldn't write a code that handles it.
Can anyone find files that use that encryption? (The unpacker should throw an error invalid flag: CHACHA20).

Getting an error when unpacking file.

Hi, I am getting an error when unpacking scp files.

Error: Unsupported flag: CHACHA20
    at processFlags (/Users/admin/SCP-Unpacker/src/scp.js:8:11)
    at unpack (/Users/admin/SCP-Unpacker/src/scp.js:52:27)
    at /Users/admin/SCP-Unpacker/index.js:30:19
    at Array.forEach (<anonymous>)
    at main (/Users/admin/SCP-Unpacker/index.js:27:18)
    at Object.<anonymous> (/Users/admin/SCP-Unpacker/index.js:43:1)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
Unpack time - 8ms

can't understand

Can I record a video tutorial? I don't understand it at all. Thank you, boss.

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.