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

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

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

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

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

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

This is a really good example of the simplest archive format possible.
2 i' a) H: c3 n! j$ e* o8 W( l. `9 F3 k' s2 C
The archive begins with a 4 byte signature 'PFPK'.
# Y9 y& L% z. xImmediately after that is an 32 bit integer telling you how many files are in the archive.
5 W; ?! ]4 P4 ]7 h9 y
' v$ w+ J4 v3 N8 g2 w' z4 jThen it starts the file allocation table.
0 T9 z$ W9 ?4 ?; G" K9 T* w! q) JEach entry consists of: * h5 S; Z% K9 O
Byte - Number of characters in the file's name.
) [$ q) a& r' P1 \String - File name. 8 h) ^. C, d7 A8 i
Int32 - Address of the beginning of the file.
* @( g4 S5 ?& K! j+ zInt32 - Length of file in bytes. & M* X- g, Y* \" [/ p

  U' J$ r3 ~! e, c& d( \3 k; s( [No encryption. No compression. Quite boring actually.
: i1 d; {  d7 Q3 E, U( A4 SThis format should be a required task for an absolute newbie as an introduction to writing archive unpacking software.
( ~  k7 F) m! }9 N& W7 S
4 i5 ^% k- ^# _8 [! ~" F$ j这个格式除了梦之旅3,还在很多游戏中有运用。! z6 W$ a, W5 a) X
Gourmania / n+ B" ?3 h6 ~
Hot Dish 2 / J% f; ^3 N. k$ w( w+ }8 ]
Nocturnal Boston Nightfall 2 n9 b! x2 U% ]) u8 S, X8 d, Z; a
NightShift legacy
9 K! \+ q7 g' U0 l. [Pet Shop Hop % P4 {  w4 Y6 Z0 b$ L
Book of Legends 0 A& z; P( ?+ C4 A) q* @
Chocolate Chase
- H8 d: Q, A: Y& ]: q% e# QFashion Dash * I5 ?0 }, _- C, v
The Clumsys
4 S! H2 w" B4 iMythic Marbles
3 [" X8 h6 `+ W( }( @Lost Reals - Legacy of the Sun Princess
# m: V( J/ w9 u0 jDr. Daisy Pet Vet (sample archive arrached - game.pfp) $ @. p3 g2 V9 V. g: \$ P. k  V0 }
Dream Chronicles
7 t9 ]! Y, }4 s' c/ g# l3 O$ E/ @Wedding Dash
0 @3 g: _: ]; {! F6 o* ?! q, mHot Dish 2 ! M# c' e4 s8 R4 E
Book of Legends
' S7 A0 G8 W, T6 `( P4 EMahJonggs
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

沙发
发表于 2009-4-15 20:26 | 只看该作者
Byte - Number of characters in the file's name.
  }% |% P6 K, Q$ OString - File name." q8 h5 l* ^& p) Y4 g
Int32 - Address of the beginning of the file.
5 m" E* y! y6 PInt32 - Length of file in bytes.) c2 W3 {6 `% E6 W- n1 Z

% O4 |8 J( C( v$ \$ ~: S) g看来写个通用性的工具势在必行,还好来了一个VC Coder,嘿嘿~~
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2009-4-15 20:29 | 只看该作者
引用第1楼firendless于2009-04-15 20:26发表的  :* q' Y$ M7 G7 [7 o! l+ t
Byte - Number of characters in the file's name.
; t, Y% r8 l% U( cString - File name.; j5 |( f& G8 o& ?' h' f0 ?8 p
Int32 - Address of the beginning of the file. " |$ `* h7 Y- x
Int32 - Length of file in bytes.
% o" Z- J8 Y3 `1 D' ]9 N
' V6 ]2 o  t/ H/ t  L$ }.......
; w4 v7 l( N" ]1 |- {' I: g
通用的很难写的
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-15 20:31 | 只看该作者
pfp的通用,不都是这个格式么,只要定义位置和敏感度就好了,有你和那个Vc coder8 A2 _, [& V  F3 ]2 p
有啥难乎5 F& n- _' h# Y- u9 U3 i4 M5 e/ K8 u
标志位
* B. I% w; r8 U" i+ |. E文件名/ w9 N0 N. S1 [) |1 s5 N
开始偏移8 N3 N! P9 @- {! S( o, o
长度偏移
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-15 20:41 | 只看该作者
你有兴趣的话可以看看这个
. v( `" C! u7 S" l0 Z# {4 X: \
7 W5 b' U1 @8 |https://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日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

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