(PS) Lecture Notes 12

Source: Internet
Author: User

12. Sub Pac

The font library and text library are all done. Let's take a look at other files.

 

Sub Pac is a part of the PAC file, but other files are still packaged in it. It can be seen in ANM. Pac, as well as bin. Pac.

 

This is the head of anm_0001.bin:

Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F

 

00000000 00 00 00 1A 00 00 00 D4 00 00 06 12 00 00 06 EA ...........

00000010 00 00 06 0e 00 00 0C FC 00 00 06 0C 00 00 13 0C ........

00000020 00 00 00 06 14 00 00 19 24 00 00 06 1E 00 00 1f 46 ...... $ ...... F

00000030 00 00 06 0e 00 00 25 58 00 00 06 18 00 00 2B 74 ...... % x ...... + T

00000040 00 00 06 28 00 00 31 A0 00 00 06 24 00 00 37 C8... (... 1... $... 7è

00000050 00 00 06 0a 00 00 00 3D D6 00 00 06 32 00 00 44 0C ...... = ö...... 2 ...... D.

00000060 00 00 06 4C 00 00 4A 5C 00 00 06 62 00 00 50 C2... l... J/... B... P â

00000070 00 00 06 74 00 00 57 3A 00 00 06 80 00 00 5d be... t... W:... €...] hour

00000080 00 00 06 7C 00 00 64 3E 00 06 BC 00 00 6a fe... |... d>... large... j large

00000090 00 00 07 9C 00 00 72 9e 00 00 07 62 00 00 7A 04... large... r large... B. Z.

000000a0 00 00 07 44 00 00 81 4C 00 00 08 AC 00 00 89 FC... d... large... ‰ u

201700b0 00 00 09 0a 00 00 93 0a 00 00 08 18 00 00 9B 26 .......... "......... › &

201700c0 00 00 07 FC 00 00 A3 26 00 00 0b 2E 00 00 AE 58... u... £&...... x

1000000d0 00 00 09 60 9d 89 69 6B 65 00 02 06 af CF 04 20... '‰ Ike... too large.

201700e0 2E 1f 07 10 00 00 00 09 FD 00 0C 02 FC 1E F8 Fe ................

 

The first 1A is the number. Each item has 8 bytes, 1a * 8 = D0, and the data starts from 04 + D0 = D4.

The D4 is the entry of the first item.

0612 + 00d4 = 6e6, 612 should be the data size, and 6ea should be the next data entry, but there is a difference of 4 bytes.

This 4bytes is left blank for 4 00

 

This is very simple. For the code, see fucksubpack.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.