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

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

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

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

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

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

This is a really good example of the simplest archive format possible.
; M% X) l( }* C4 ^6 s6 O
6 {. e$ B- F! q% FThe archive begins with a 4 byte signature 'PFPK'.
; U  h2 H% h( l; S( H6 CImmediately after that is an 32 bit integer telling you how many files are in the archive. ) B' A0 H" X! E
9 ?7 i" r' `$ a4 l* n. v0 \4 F
Then it starts the file allocation table.
, a: w& V( w4 X" XEach entry consists of: : }6 f' ~3 R  x. e) Z6 j
Byte - Number of characters in the file's name. $ q+ L8 ~4 t7 `. e/ J" l
String - File name.
% Z0 s% j$ ]. R  H7 GInt32 - Address of the beginning of the file. 0 L7 W1 r0 f7 D$ q
Int32 - Length of file in bytes. + d( V' W, W( H; Y+ N% {% e# g; Q
7 L5 v& M6 S4 t
No encryption. No compression. Quite boring actually.
7 {9 I! W$ b5 n) W6 R7 W0 q$ ^This format should be a required task for an absolute newbie as an introduction to writing archive unpacking software. " j# o2 @. e, e6 k

2 x7 U3 e8 c9 b5 d% n) }这个格式除了梦之旅3,还在很多游戏中有运用。& H6 L/ ?4 D( L. p
Gourmania ) B4 |0 ~4 i1 P- h7 c  {- U- _! l+ _0 `
Hot Dish 2
. r, x3 p' `0 W, L5 zNocturnal Boston Nightfall 7 O! t9 H7 |2 k9 R
NightShift legacy ) a1 V2 k! H/ y2 A& x4 s' Q6 c
Pet Shop Hop ) j7 M9 M% [! q1 Z
Book of Legends
& |  h" ~4 y. {, a) sChocolate Chase 7 [4 [* Y2 |$ K5 f+ J2 R
Fashion Dash + T- y0 ~* ~3 Y- a  o. t. N9 y1 f+ @
The Clumsys 4 m% |8 U1 b1 r
Mythic Marbles
+ s& \7 u: P; n& z7 K8 tLost Reals - Legacy of the Sun Princess : ]" E7 O- c# v5 R  c% ~9 S* H
Dr. Daisy Pet Vet (sample archive arrached - game.pfp) 7 Q" [2 v5 l+ m# o
Dream Chronicles - A# H7 S  L  q7 a8 Y  k
Wedding Dash 4 x' T) q! s+ R% E# L2 Q0 l/ w
Hot Dish 2
# V, g; C9 S- ]* P. y; O& fBook of Legends
1 ]! l; l# N: e9 Q8 u& rMahJonggs
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

沙发
发表于 2009-4-15 20:26 | 只看该作者
Byte - Number of characters in the file's name.
2 T! u: n& x+ E+ f0 Q. U- xString - File name.1 G% z. @) d! ^
Int32 - Address of the beginning of the file.
+ q& m, }' {4 M6 [/ W$ f8 p/ O6 j2 {Int32 - Length of file in bytes." z& h; l' _5 X7 X- Z/ z6 w

" }0 C/ I# e9 R, n看来写个通用性的工具势在必行,还好来了一个VC Coder,嘿嘿~~
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2009-4-15 20:29 | 只看该作者
引用第1楼firendless于2009-04-15 20:26发表的  :1 L5 n( o  ]" Q7 W- ~; x6 p7 S
Byte - Number of characters in the file's name. & f& `1 o5 i, Y5 Y
String - File name.8 _+ J& ?. V- j7 h3 o6 O
Int32 - Address of the beginning of the file.
8 C* c# m" Z. E- R- Z6 _Int32 - Length of file in bytes./ x% K. w  b) Q; V7 ]

6 v+ T- Q& I& O/ S% J. J6 K) I.......

9 V* k- j8 y& l2 B" I% C, d通用的很难写的
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-15 20:31 | 只看该作者
pfp的通用,不都是这个格式么,只要定义位置和敏感度就好了,有你和那个Vc coder
" j' z( \$ v' D* v% b$ `有啥难乎
& n- x# B2 F0 Z标志位: Q  v  ]6 S7 S+ `! n2 P& w6 w
文件名( @7 i6 A2 p! {$ ^6 j8 ^
开始偏移
. L6 k5 ~% u, M- [( Y长度偏移
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-15 20:41 | 只看该作者
你有兴趣的话可以看看这个
; ]/ E/ V5 {8 S( J* g) @4 D  f$ o
# w" A. [# K9 p& j0 m, ahttps://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日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

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