Skip to content

A Transformice tool that let you unpack the SWF easily

License

Notifications You must be signed in to change notification settings

Athesdrake/unpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unpacker

A Transformice tool that let you unpack the SWF easily.

Usage

The most basic usage:

unpacker unpacked.swf

It will download the SWF from the server and unpack it to the specified file. You can specify the file to unpack using the -i argument.

unpacker -i Transformice.swf unpacked.swf

It also possible to use stdin as the input and stdout as the output by defining -i to - and the output filename to - respectively.

Using stdin as the input:

unpacker -i - unpacked.swf

Using stdout as the output:

unpacker -

Building from source

Few libraries are needed in order to this project to compile.

You can install most fmt and cpr using vcpkg. argparse is downloaded using CMake's FetchContent utility.

As for swflib, you'll need to get it from here.

Install the dependencies and configure the CMake project. You'll need to provide the toolchain file to cmake in order to find the libraries.

mkdir build
cd build
cmake .. "-DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake"

You can also provide additional directives, such as -Dswflib_DIR=[path to swflib] to help cmake finding swflib or -DCMAKE_BUILD_TYPE=Release to build in release mode.

Afterward, you'll be able to build the project:

cmake --build .

About

A Transformice tool that let you unpack the SWF easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published