Tool decode/encode OMC files for Samsung

Rozhuk Ivan 00f254fb94 Add .editorconfig file. 2 weeks ago
.github 3729f21943 Add GitHub Sponsors 1 month ago
src 8d307db67e Fix clang warnings 1 month ago
.editorconfig 00f254fb94 Add .editorconfig file. 2 weeks ago
readme.md 3729f21943 Add GitHub Sponsors 1 month ago
sec-omc-coder.project 00f254fb94 Add .editorconfig file. 2 weeks ago
sec-omc-coder.workspace 1d96c524a8 Initial: tool decode/encode OMC files for Samsung 2 years ago

readme.md

SeC-OMC-Coder

Build-macOS-latest Actions Status Build-Ubuntu-latest Actions Status

Rozhuk Ivan rozhuk.im@gmail.com 2021-2024

Decode / Encode Samsung CSC files.\ Based on: https://github.com/fei-ke/OmcTextDecoder

Licence

BSD licence.

Donate

Support the author

  • GitHub Sponsors:
  • Buy Me A Coffee:
  • PayPal: PayPal
  • Bitcoin (BTC): 1AxYyMWek5vhoWWRTWKQpWUqKxyfLarCuz

Compilation

Linux

sudo apt-get install build-essential git fakeroot
git clone https://github.com/rozhuk-im/sec-omc-coder.git
cd sec-omc-coder/src
cc sec-omc-coder.c -O2 -lm -o sec-omc-coder

FreeBSD/DragonFlyBSD

sudo pkg install git
git clone https://github.com/rozhuk-im/sec-omc-coder.git
cd sec-omc-coder/src
cc sec-omc-coder.c -O2 -lm -o sec-omc-coder

Usage

Decode

cat cscfeature.xml | sec-omc-coder -d | gzip --decompress

or

sec-omc-coder -d cscfeature.xml | gzip --decompress

Encode

cat cscfeature.xml | gzip --best | sec-omc-coder -e