
par -- P/ECE fpk archiver
	By Yui N., 2003 - 2005.
===========================

P/ECE ŎgĂW(?)Ɍ` fpk t@C쐬CWJCꗗ\܂B

܂CYui N. ̊gɂCLZSS / zlib k` fpk t@Ciparj쐬EWJ
Eꗗ\邱Ƃł܂B

dChu  P/ECE Visual Novel System p̏Ƀt@C pva tH[}bg
WJɑΉ܂B

g
------
- n܂IvV́CɃt@Cȍ~̍DȂƂɂ܂B
kɏɃt@C̎wYꂽ܂܃t@C𕡐w肷ƁCŏɎw肳
ꂽt@Cɏ㏑Ă܂܂BӂB

	par {l | e | c} [-cCtTrlz] fpkfile.par [file [...]]
	l	fpk / par t@C̓e\܂B
		̂ƂCfile ... ̎w͖ɂȂ܂B
	e	fpk / par t@CCfile Ŏw肳ꂽt@Cij
		WJ܂B
		file w肵ȂƁCׂẴt@CWJ܂B
	c	fpk / par t@CVɍ쐬C files ǉ܂B
		fpk / par t@Cłɑ݂ꍇC㏑܂B
	-c	t@CŊi[܂B
	-C	t@CɕύX܂B
	-t	t@CI 8.3 `ɂĊi[܂D
	-T	t@C؂l߂܂iftHgjD
	-r	w肳t@Ck܂iftHgjB
		쐬 par ́CW fpk  100% ݊ɂȂ܂B
	-l	w肳t@C LZSS kĊi[܂B
	-z	w肳t@C zlibideflatejkĊi[܂


gk fpkiparjɂ
---------------------------
gk fpkiparjł́CɂɊi[X̃t@CɂāCLZSS ܂
zlib k邩ۂw肷邱Ƃł܂B

FPKHEADER \̂ dwHeader o 0x4650414b ł fpk, 0x50415243 ł
 par łC

par ̃t@CꂼɂĂǂ̈k\bhgׂɂ́CFPKENTRY \
́ifpk.hj szFileName o̍Ō̕ szFileName[15] ̏ 2 rbg
eXg邱ƂŔł܂B(szFileName[15] & 0xc0) == 0xc0 ƂȂꍇC
Gg zlib ɂĈkĂ܂B(szFileName[15] & 0xc0) == 0x80 Ƃ
ꍇC̃Gg LZSS ɂĈkĂ܂B


t@C̈
----------------
v20050321 CIvVŏɍ쐬̃t@C 8 + 3 ɏk߂悤
ɂ܂BWJ͂ǂ̏ɂ̂܂܍s܂B

t@Cɂɕ݂邱ƂɂȂĂCpar ͏𑱍s܂B
ȂƁCɃt@CŐɑ݂̃t@CWJłȂȂ܂B
ilibfpk ŃCfbNXw邱ƂœWJł܂Cpar ł̓T|[g
܂j


libfpk
------
fpk / par ̓WJ邱Ƃo P/ECE Cu libfpk ohĂ
܂B
gɂĂ libfpk/libfpk.zip ̒ libfpk.txt B

v20050321 Clibfpk  pva tH[}bg̓WJT|[g܂D


ŗ
--------
	v20030517	ŁBW fpk ̈ꗗƓWJłȂB
	v20030523	gk fpk T|[g
			ɂ̍쐬T|[g
	v20030524	LZSS kEWJ[`̒쌠\L
	v20030525	ɂ̍쐬Ct@CI 8 + 3 ɏk߂悤
			iWJƂ͎Ȃj
	v20030527	g zlib kɂT|[gB
			R}hCIvV̈܂肾̂ŕύX
			libfpk  zlib Ή
	v20030529	̂ par ɕύXCwb_ FPAK  PARC ɕύX
			t@CЂƂłkw肳Ă΃wb_ PARC
			ɂȂ悤ɂiThanx to d Chuj
			fpk 쐬NX\̕ύX
	v20030901	[NĂ̂C
			pva tH[}bg̓WJɑΉ
			RpC Visual C++ .NET 2003 ֕ύX
	v20050321	t@C 8.3 ɋl߂̂̓IvVƂ
			libfpk  pva WJł悤ɂ


쌠ɂ
--------------

GŁC libfpk Ƃ͔ɓeقȂ܂̂ōŌ܂œǂłB

par ́CpceFileReadPos()  LZSS / zlib kEWJ[`ȊO̒쌠
Yui N. ێ܂B

par  LZSS WJ[`́Cp/ware / Hitode Yamatsuki  plz ̃\[XR
[hьq URL ̋LɂȂĂ܂B LZSS WJ[`̒쌠\
͈ȉ̂Ƃłit@C֐ par ɍ킹Ă܂jB

	hitodeLZSSDecoder() ̃\[XR[h̒쌠 p/ware / Hitode Yamatsuki
	ێĂ܂A]ځEρEĔzzEp͎RłB֗Ǝv
	ϋɓIɂp

p/ware ɂIWi LZSS fR[h[`́C
	http://www.aw.wakwak.com/~hitode/piece/index.html#plz
瓾邱Ƃł܂B

par ɂ zlib kGg̍쐬EWJɂ́C{ zlib gpĂ܂B
zlib ̒쌠\͈ȉ̂ƂłB

/******************************************************************************
  zlib.h -- interface of the 'zlib' general purpose compression library
  version 1.1.4, March 11th, 2002

  Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler

  This software is provided 'as-is', without any express or implied
  warranty.  In no event will the authors be held liable for any damages
  arising from the use of this software.

  Permission is granted to anyone to use this software for any purpose,
  including commercial applications, and to alter it and redistribute it
  freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not
     claim that you wrote the original software. If you use this software
     in a product, an acknowledgment in the product documentation would be
     appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be
     misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

  Jean-loup Gailly        Mark Adler
  jloup@gzip.org          madler@alumni.caltech.edu


  The data format used by the zlib library is described by RFCs (Request for
  Comments) 1950 to 1952 in the files ftp://ds.internic.net/rfc/rfc1950.txt
  (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
******************************************************************************/

ɂĂ͓]ځEρEĔzzRłBȂJAvɍ
킹ă`[jOCvCx[grh쐬ĔzzȂǂĂB

-----------------------------
Yui N. (a.k.a. Autch)
mailto:yui@autch.net
http://www.autch.net/
