设为首页收藏本站官方微博

【汉化资料】梦之旅3 pfp 包文件格式

[复制链接]
查看: 2842|回复: 4
打印 上一主题 下一主题

【汉化资料】梦之旅3 pfp 包文件格式

跳转到指定楼层
楼主
发表于 2009-4-15 20:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

【汉化资料】梦之旅3 pfp 包文件格式

This is a really good example of the simplest archive format possible. * N1 U( G" ^) t) z) Y6 Y
" }' Y- P9 l+ M$ A8 w% p% z/ l- S/ l. O
The archive begins with a 4 byte signature 'PFPK'.
$ H' X) b9 R, t, ]; E& zImmediately after that is an 32 bit integer telling you how many files are in the archive. 4 y2 V/ c1 Y) x' U# B; y2 m

. B* ~( ^. O7 ~6 sThen it starts the file allocation table.
7 i5 h. ?/ H  N9 P/ W$ ]Each entry consists of:
+ [0 T  C2 a$ gByte - Number of characters in the file's name.
1 n; C; g/ C9 L# y9 E9 LString - File name.
9 t: x, A* h6 [Int32 - Address of the beginning of the file. # q2 \3 S* _. I% @) C: E
Int32 - Length of file in bytes.
% D4 L9 P: x" Z
8 z3 f1 k: U3 YNo encryption. No compression. Quite boring actually.
8 ]; Y2 B9 H7 X* u3 uThis format should be a required task for an absolute newbie as an introduction to writing archive unpacking software. 1 u7 _3 S+ J  d6 W2 P* U
7 Y1 P) G* F7 V: h5 t
这个格式除了梦之旅3,还在很多游戏中有运用。
" N' X. L$ X* v6 gGourmania
9 M8 r2 D/ y) G" U. S/ Z% yHot Dish 2 ) H3 ]& V0 Z9 `2 X4 X/ j
Nocturnal Boston Nightfall , T- r" X& K+ t+ C( O; ~
NightShift legacy ; T5 C2 }( E) b( i+ m! ^3 ]
Pet Shop Hop $ {1 `  ]1 }( U+ S- V% e
Book of Legends # ?- G3 a! [( l$ n# e3 ^: ~# b
Chocolate Chase $ J& ^  i! m9 H# W7 @
Fashion Dash
3 s- ~$ s. I/ \# ]. u- O" CThe Clumsys
! t2 a6 f7 R4 f+ ]3 h! `; pMythic Marbles
  n! Z% b  ]7 I6 N; f* h! C" a  P* SLost Reals - Legacy of the Sun Princess 1 M, e- L. z+ b+ o
Dr. Daisy Pet Vet (sample archive arrached - game.pfp) * n% C( ~) l: F0 s, |
Dream Chronicles ( S- F# S; {# a8 U3 z/ S# o. N4 A
Wedding Dash
) h0 U  V" @" Z9 _. m: lHot Dish 2 8 @4 f7 i; U* o0 \, w8 A
Book of Legends , S' {% q) H0 e+ ]7 K3 h
MahJonggs
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

沙发
发表于 2009-4-15 20:26 | 只看该作者
Byte - Number of characters in the file's name.
5 k7 T# ^$ f4 e! a& zString - File name.- k' n: N4 b5 q+ h, E( }
Int32 - Address of the beginning of the file.
' f& P2 ]% M  w0 Z2 a5 K# [Int32 - Length of file in bytes.# B/ E( S# L/ c% X

4 b- B9 X$ _( i: Y% |+ N看来写个通用性的工具势在必行,还好来了一个VC Coder,嘿嘿~~
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2009-4-15 20:29 | 只看该作者
引用第1楼firendless于2009-04-15 20:26发表的  :. K* s- W  ?" o, j% h6 ^
Byte - Number of characters in the file's name. 8 p$ f# G/ @8 F1 [. T  v7 n
String - File name.4 l2 E6 T& _4 K1 {! Q
Int32 - Address of the beginning of the file. 7 X7 q1 d# s4 j/ i
Int32 - Length of file in bytes.6 U! O6 ]$ w8 O& y- s% x+ i
6 D! h4 [5 k: Q- d+ k
.......
4 J2 f  a& l8 w. j
通用的很难写的
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-15 20:31 | 只看该作者
pfp的通用,不都是这个格式么,只要定义位置和敏感度就好了,有你和那个Vc coder% M; _1 f" r8 i" b
有啥难乎$ D" [9 y4 O& t
标志位
: N& W4 o7 _" C- k5 F9 h1 ^- o+ X文件名/ u& E1 F8 H0 l2 B9 J
开始偏移
8 D- {8 t! P  F3 x长度偏移
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-15 20:41 | 只看该作者
你有兴趣的话可以看看这个
* Q. c! V: ^7 }5 Q4 N' M
& |. |6 `6 o' O8 T0 Vhttps://www.chinaavg.com/read.php?tid=16179&fpage=3
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

冒险解谜游戏中文网 ChinaAVG

官方微博官方微信号小黑屋 微信玩家群  

(C) ChinaAVG 2004 - 2019 All Right Reserved. Powered by Discuz! X3.2
辽ICP备11008827号 | 桂公网安备 45010702000051号

冒险,与你同在。 冒险解谜游戏中文网ChinaAVG诞生于2004年9月9日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

快速回复 返回顶部 返回列表