Extract and convert assets from the 2012 hit game Pyongyang Racer. Also supports repackaging of extracted folder.
modding, duh.
This tool are for the common.dat
and 1.dat
files that are stored in a proprietary format, NOT sound.dat
or symbol.dat
. They are normal .swf
files. Rename them and open with JPEXS FFdec to modify those.
Unpack an asset archive:
$ pyongyang-racer-tools unpack <file>
Repack an asset archive (edited files will probably work, added will not be used and removed will break the game):
$ pyongyang-racer-tools pack <folder>
Convert an asset file (only works for .box
, .obj
and .map
right now):
$ pyongyang-racer-tools convert <file>
Support for converting the file back is planned but not prioritized.
Install Rust using rustup or any other method if you know what you are doing.
Clone the repository:
$ git clone https://github.com/ThaCheeseBun/pyongyang-racer-tools
Change directory:
$ cd pyongyang-racer-tools
Build the release binary:
$ cargo build --release
Binary is located at target/release/pyongyang-racer-tools
.