Inital commit
This commit is contained in:
commit
f20bcac9a9
4 changed files with 44 additions and 0 deletions
16
X570PG4/extract.sh
Normal file
16
X570PG4/extract.sh
Normal file
|
@ -0,0 +1,16 @@
|
|||
mkdir sections
|
||||
|
||||
# Section 4456808
|
||||
echo "Extracting 4456808"
|
||||
mkdir sections/4456808
|
||||
dd if=X570PG45.60 skip=4456808 bs=1 count=15525 of=sections/4456808/image.lzma
|
||||
unlzma sections/4456808/image.lzma
|
||||
dd if=sections/4456808/image skip=4 bs=1 count=12196 of=sections/4456808/4.jpeg
|
||||
dd if=sections/4456808/image skip=12204 bs=1 count=5601 of=sections/4456808/12204.jpeg
|
||||
|
||||
# Section 4591952
|
||||
echo "Extracting 4591952"
|
||||
mkdir sections/4591952
|
||||
dd if=X570PG45.60 skip=4591952 bs=1 count=41951 of=sections/4591952/image.lzma
|
||||
unlzma sections/4591952/image.lzma
|
||||
dd if=sections/4591952/image skip=204 bs=1 count=2020 of=sections/4591952/204.bin
|
Loading…
Add table
Add a link
Reference in a new issue