diff --git a/README.md b/README.md index 9ae372b..e306d6d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# redstar-tools -Tools for Red Star OS (붉은별) +# Tools for Red Star OS (붉은별) + +This repository includes several binaries from and tools for Red Star OS. These can be used for further research work. diff --git a/bin/README.md b/bin/README.md new file mode 100644 index 0000000..72a9748 --- /dev/null +++ b/bin/README.md @@ -0,0 +1,7 @@ +## opprc + +The service which is responsible for watermarking media files. + +## scnprc + +A "virus scanner" that deletes malicious files. diff --git a/bin/opprc b/bin/opprc new file mode 100755 index 0000000..097d30a Binary files /dev/null and b/bin/opprc differ diff --git a/bin/scnprc b/bin/scnprc new file mode 100755 index 0000000..3f27877 Binary files /dev/null and b/bin/scnprc differ diff --git a/libos/README.md b/libos/README.md index b3968d0..529ced6 100644 --- a/libos/README.md +++ b/libos/README.md @@ -1,11 +1,13 @@ # libos -## Compile +`libos.so.0.0.0` is the original libos file from Red Star OS 3.0 Desktop. + +## Compile custom libos 1. gcc -c -Wall -Werror -fpic libos.c 2. gcc -shared -o libos.so.0.0.0 libos.o -## Install +## Install custom libos 1. Move new libos.so.0.0.0 to /usr/lib/libos.so.0.0.0 2. Link /usr/lib/libos.so.0.0.0 to /usr/lib/libos.so.0 diff --git a/libos/libos.so.0.0.0 b/libos/libos.so.0.0.0 new file mode 100755 index 0000000..9e32934 Binary files /dev/null and b/libos/libos.so.0.0.0 differ diff --git a/patterns/AnGae.dat b/patterns/AnGae.dat new file mode 100644 index 0000000..b196315 Binary files /dev/null and b/patterns/AnGae.dat differ diff --git a/patterns/README.md b/patterns/README.md new file mode 100644 index 0000000..9743dd3 --- /dev/null +++ b/patterns/README.md @@ -0,0 +1,11 @@ +## AnGae.dat + +The pattern file from Red Star OS 3.0 Desktop. + +## angae-010.template + +A file structure template for the 010 Editor. + +## parse.py + +Basic parsing of AnGae.dat files. diff --git a/patterns/parse.py b/patterns/parse.py new file mode 100755 index 0000000..aec0f65 --- /dev/null +++ b/patterns/parse.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8 -*- +import sys +import struct + +f = open(sys.argv[1]) + +timestamp, = struct.unpack('