affggh / opsplash

A command line tool unpack/repack oppo/realme/oneplus splash image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OPSPLASH

oppo splash.img modified tool.

Usage

unpack

./opsplash -i splash.img -d
# if you wanna extract file convert to png format
./opsplash -i splash.img -d -c
# if you wanna defined custom output dir or output file
./opsplash -i splash.img -d -o pic -c

repack

./opsplash -i splash.img
# if you pic in different dir
./opsplash -i splash.img -o pic
# if you pic dir include no bmp but all png pics
./opsplash -i splash.img -c -o pic

Build

# I use cmake x ninja to build
cmake -B build -G Ninja
ninja -C build

# you can use makefile to build
cmake -B build
make -C build -j$(nproc --all)

Thanks

lodepng lodepng is a powerful library to encode or decode png pic, it also provide deflate/inflate gzip function and crc32 check sum function.

About

A command line tool unpack/repack oppo/realme/oneplus splash image

License:GNU General Public License v3.0


Languages

Language:C++ 94.8%Language:CMake 5.2%