31 1234
发新话题
打印

fifaFS.exe 使用说明

fifaFS.exe 使用说明

; hi!                   p  D$ B$ M- Q3 u
; i'm an example script for fifafs v.3!8 z  x; D( Z) l* _2 \, S) u
; you better do not run me :-)
+ h% |0 T* d4 A" F5 m( J; i'm just explaining how it all works.  ^4 T0 X  L: t: r

# h+ `. T9 o% A/ g; =================================================
, K) J+ k+ w5 A- Q  o" a5 {' I& u' d5 j: |
; all lines staring with commas are commentaries
+ d* p' l% E& c% i, A% D4 a; which will be ignored by parser- H% O- s% o1 _6 i
5 Y8 ?+ J4 V# X' [) o+ m
; fifafs can handle with simple variables
: r+ V* S8 \4 O. ^+ i; you can define a variable that way:( q+ {/ m6 V0 w. P

) O' C, u; i  Z3 y. [set $var1$, string{ hello world! }
4 p) f/ D( L/ Q7 \* ]
4 [3 Z; a* E$ V  D4 X6 d" h6 A; after that all the occurenses of $var1$ below will be0 r, I, P/ E/ A3 f0 Z$ B
; replaced on "hello world!" string:
# n9 ^$ w3 g! j2 _) s& x. @
( L* Y& X) Y$ B& P" d) n! h1 k: fset $var2$, string{ $var1$ good bye world! }
" H+ t. w/ R  P# ~8 m2 I
* \: _* @9 i+ A% a3 Q( t; now $var2$ will store string "hello world! good bye world!"
$ P4 q/ q; ]& f- V; also you can fetch some registry values0 s  ?  h5 I; b2 P: u
; for example we'll take fifa 2005 intallation folder:
4 y( n- z; v( j. D6 c! Q" t2 }
, D6 R/ \4 u1 r: s/ ~8 i* ^" Jset $fifadir$, registry { hkey_local_machine : softwareea sportsfifa 2005 demo : install dir }
* ]! q6 \3 S7 H* w8 o& s( Z( c1 _: k, h. G
: I  S  p3 j! C8 m! D

" T! E  q) p1 x! ?4 i" ]; =============================/ W& [5 X& z- F' Z' Z
; working with fifa file system! L7 m* F5 [# M2 |5 C) z$ N4 S
; =============================
0 u5 A9 ?/ z# E  p. S; now let's mount fifa file system
1 D4 A( H4 N: O: h; it's located in fifa2005data directory
) K! v- G8 B; T) _! E; a; where fifa.fat and all zdata_xx.big's are stored5 p8 X+ \( ?/ ~$ h
; remember, path to fifa 2005 is in $fifadir$ variable?1 N# D: [: v9 X( n$ |2 q
7 z* U% u0 P" T' q% U
) A; K) b* Z" I& t1 Z! y" J3 r3 j
mountfs $fifadir$data
4 \) ]/ D* S3 _- R- A3 N7 [( }, @" @) N+ h2 a6 q% n4 M

1 u$ N; w' M) H$ q- B6 M) Y4 C4 N+ r; after you mounted file system,
; y+ E7 H% ^" M; you can start replacing, adding or extracting files from it.5 w0 t: W: Q' ?$ J
; as you will see, you don't need to care about( _& P( h/ Z2 R0 V6 {
; zdata_xx.big, zdata_xx.bh or fifa.fat
. S4 Y% J/ o/ s' k; fifafs handle that tasks for you., Q/ M8 ^: e! c

$ X# |' @; R/ Z. l+ w  J9 N# |& o+ O- g
; =========8 ~5 H! h0 K, {
; replacing
" Z- w4 k1 k% d0 P  Y; =========' |( c% [1 W! Z2 \
; this command will replace "123.fsh"
& r; |0 J3 E" g8 r5 A* r- E% b; on file "c:123.fsh"
4 X1 O9 U! P3 `- K3 ?8 q8 b( U$ ^8 ^! Z3 x( G. h9 r( w, a
-r 123.fsh, c:123.fsh
/ |% ?1 b: ^2 w2 b3 x* X; S( |  K4 k  w# {+ ^2 u
; -r is replace only - if "123.fsh" is not existing in fifa file system
' r  \& Q& \) K& [; the replace will fail+ @, B# {% X) e
- a- j7 o4 J$ x& W5 G, k

; g' o8 @  L+ E, k
8 q0 v2 O3 `' Q, {8 Y; C; ======
2 T6 O) v0 H7 t1 z: E3 D( i; adding& b& V" u( E  I9 Z9 d3 ~. W
; ======% j4 B6 Z) N# l0 @9 k

/ w2 T% v! n# v+ ]-a 123.fsh, c:123.fsh8 V8 R* s; j( U  m# |2 v

/ a- Q+ z0 g% x& C" Z; -a is add only - if "123.fsh" already exists in fifa file system
4 n  i) p. u7 n6 L! X2 D& m; the add will fail
, O0 c# L% r+ A. ], |8 R* R+ p1 _8 z, ]/ u, Y! i+ i
; next command will force fifafs to add new file; J9 k) k" q6 f, Q
; into specified (4) zdata_xx.big
8 m  Z; k. [/ N9 n; some files (like faces) doesn't work if they are placed
& R% w+ b4 }. L; c; in the last zdata file.
# @. K4 |: K, _7 [3 l: H) d
8 V' O! L5 l1 s" o. L-a|4 123.fsh, c:123.fsh
6 l$ Z; \. N: |2 R. _1 b
1 g0 S. s( J  f+ e4 D9 u) A- O: O$ p0 D, g
; j8 a9 n. K: U% K: J, X
; ===========2 }. u4 {( @8 h$ @
; add/replace
; B9 _- i+ g' W0 _; ===========4 k, G+ c/ p" c! h2 V

; V: G; f9 ^2 I-ar 123.fsh, c:123.fsh4 x3 o- D6 r6 ^/ h
! R5 K; b( [5 X- _( q! Q
; if "123.fsh" exists - it will be replaced5 e+ z( h1 P# }% z
; if not - it will be added4 Q+ ]) S% P9 T4 R4 g( x8 F' ^

5 N5 x: K& L& |* q, R4 R: m; next command will force fifafs to add new file (only if file is abscent)# |. B- R3 x" S3 B) R! l9 k
; into specified (4) zdata_xx.big
0 X" @! c: |( v% f& v" t/ @; some files (like faces) doesn't work if they are placed6 w& F: @* L3 I9 x$ @6 o
; in the last zdata file.0 |1 p0 R( v6 |0 f1 l3 \" M: R

1 Y2 R& v) q) Q1 k8 S; l; h6 s-ar|4 123.fsh, c:123.fsh( [, O1 ^6 }' o/ k
! w; z. P% q5 [  s! |4 b

% g: R( \6 I) x! a/ }* _  I  W" k. `  m) K0 d: P
  H: L1 P6 P" X3 ?) K6 R" O# j0 o
; =======  A2 ^% n- T6 p) H
; extract
" Z4 ^/ r" ~% d5 y  z; =======2 u% E$ F# H3 L+ ^7 g% B: k
0 d# Z4 c" q6 O2 e
-e 123.fsh, c:321.fsh& n) [; w1 y  Y" S! M: L1 U

' {' @0 L* t7 @( b6 c" q; the file "123.fsh" will be extracted, decompressed and
& _/ q3 Z- X3 D; saved as "c:321.fsh". Y/ |  ~3 }* P

- c* ~5 \9 J& I7 }  w4 v/ @
1 W' K/ X2 t1 }4 H; C7 a. f/ _9 r) [9 Q0 A. w# P
; ======- k9 H5 ^9 r  y0 M: c
; delete# g  `+ ?! e! q8 v
; ======7 o% H* l. p1 A/ P* A6 K6 v+ w; S# _
. u! w4 D( e* n# H2 _
; it's simple!
: S! Q' ^2 x1 X& B
6 T4 E, x9 K- D) b5 C+ T2 y( I1 B+ }" }-del 123.fsh
5 ^( V3 H. \; P; ]" |, d0 z% B2 W6 I: g1 J  a5 D
1 g6 _, Y, A) h' }$ D! N7 M
' L2 D+ X! b7 _4 q) i6 @( y
; =========5 |2 r( e8 V8 l" A
; some tips
  s0 A: i* X" M; =========0 \& A9 w9 ^1 W" ^1 a$ f' _

3 R1 j0 u" j! w, |' B/ s- _2 o; you can ommit full path to your external files
3 n$ ?: p5 p7 Q) k
- q/ d/ S  S$ e2 ^-r 123.fsh, 123.fsh
% `2 P8 v, _6 X' b
6 J8 b# i! ]# ?/ l2 t' c3 [& n; in that way 123.fsh will be taken from current directory
8 |1 M6 i* _& g1 L* r) U; where fifafs is running.
1 m1 z# x' _) v( t* B) m) x2 @  o
8 }$ ^5 e' ^  w% d; again, you can use variables
& T% `% ]" q) r
* c  ~& \; {, |0 g) t* b+ M% v-r 123.fsh, $fifadir$datamyinstallfiles123.fsh- J: d0 L+ H3 L4 p/ A, L1 U- l
- W' r% }% N- u5 D+ k; G) L& ^4 X+ p
; if file needs to be compressed - you add "|c"
/ \9 U$ U8 U5 y) s7 M% N! {. V9 \* t4 s
-r 123.fsh|c, 123.fsh8 G/ L) g5 U2 Y3 I; f8 e" ^+ v

0 N  n2 n& w* M% |7 v/ L) j6 E; if you wish to fix fifa file system; I% A- t" p8 X6 N0 P! U- R; J( B
; use this command ($fifadir$ contains path to fifa folder); N3 T, B) @; X- G5 r* ^

3 ~' d+ c6 ?. p, x& F! o7 ]$ z# m4 m/ Wfixfs $fifadir$data# T5 }( {! w; @+ t" k/ J
, E. E% Y) A4 K# o4 B3 Q

8 w  L# u& g1 U8 h$ X' |1 }. |
5 y- Q9 r! [% _5 j  I% H' C" }- g1 j' L5 h. u1 ?# [

! Z7 V* k4 ^" O- Q4 E; ===============================! v4 Q; o7 a6 E, ~
; working with standart big files& x9 v+ m6 h5 I+ D
; ===============================
, E  X4 o& t0 H0 l* W- {
- B2 E/ L. Z6 S; D# B7 X5 q; you can do the same things with other big files% ~  [+ X9 l" W) H! a# ]# k
; that are not a part of fifa file system! }+ s, C4 f+ s" k
; but first you need to mount them:  E7 R2 N! M) \

5 r3 s3 l& D% T+ C" K* T) v7 P- umountbig $fifadir$dataguimain.big, main_gui& `9 ]5 p$ H5 I
5 e" p- v9 _' [% v- J
; this big is mounted with special id ^^^^^^^^ (main_gui)! B: V- O" P& a% l3 ~1 D8 H
; this id we will use to tell fifafs which big we are talking about
- @9 x5 k' a: W7 S* @
# F: c0 Y( J: V* f: E; J) Z-r main.apt,   mynewmain.apt,   main_gui
# Y" Y; ~3 y. l, S1 ?-r main.const, mynewmain.const, main_gui
' h3 }1 d4 D1 B+ ]" \- R; C0 U: m0 b  F9 h: F4 `9 U
; fifafs compresses and decompresses big files automatically2 D" F1 g/ [, v6 i4 {8 i
; so you don't need to bother.
( z0 V; K* c1 Z$ g. a; you can mount as many bigs as you want:# e# s2 f" n5 T7 i% F& o) _  o3 H; v

7 U% O1 O8 y( y' p. y  Mmountbig 1.big, 17 i9 A, g+ \4 A! p0 K  K
mountbig 2.big, 2. Y2 K  J+ w0 p+ e/ y
mountbig 3.big, 3
8 y) F; k- b& l  R0 l5 }& L2 j; E+ j
; and work with them:- E, l) {' O8 j# b3 e& `$ _
; b3 j: c; p" s; t
-r girls.fsh, mynewgirls.fsh, 1+ h+ P4 I% j1 V2 i
-r beer.fsh,  mynewbeer.fsh,  1: X- {2 s) S1 N4 P

7 w% |1 i, V( R* g, L5 u3 e-r work.fsh, mynewgirls.fsh, 2
9 ^5 _; @* N5 m$ S0 {% f/ k8 |* n-r home.fsh, mynewbeer.fsh,  2+ ], |: s( p& h

' P' C  G3 x1 ^/ o-r wife.fsh,     mynewgirls.fsh, 3
" H$ h+ z6 i( H2 ], ]' t-r children.fsh, mynewbeer.fsh,  3! U1 m4 n% {9 H& J+ X* j: Z9 o
! F# B$ N2 d  m5 o' Z0 A
; new big file could be created by 'createbig' command$ ~" ]( A$ w9 n+ P, i
; 'createbig' works just like 'mountbig'
  f; h2 q5 P, @" |1 m1 J+ r) W: C* e8 x/ M- A
createbig newbig.big, mybig% @" l; i! `" K7 N
-a file.txt, file.txt, mybig( g) U. h* t; M; {6 t: r5 a; m

5 M5 U. U# L7 {5 h/ r2 f9 D, _. l- l2 ?' W% [7 Y; {% V
/ b) M. s& w0 I/ O9 g

3 [5 T# Y& p/ R2 ?0 }- m9 K; ====================' V( l: m  W- T7 ^( Y  W  c; x" X+ ]
; that's all folks (c)
& G7 }0 j! k! G" h7 m# ^* U; ====================
# w) _# B1 ^! V6 Y; so this is the end of our fifafs crash-course
& b9 [# F! n5 J# Q. }& ]; j) z; if you have any questions, suggestions, error reports, money -
) I8 c! R  G5 o5 W1 I; feel free to send it all to good@fifasoccer.ru9 S, z+ f2 O: M& Y( ^$ }
% A" b1 b6 z! z( f6 n5 s
; note that fifafs creates fifafs.log
, x# j5 p& i7 h/ i- A1 i; if you are going to talk about errors -
2 E* O% n( g1 ^9 c- k6 S& u: X; don't forget to attach this file.# C  \$ ^) X& T2 }( C

% P- L0 K* {! m7 B- P5 R: \: g: U7 X) X

/ ]# L9 r" ?4 T7 _# X; (c) mania software, 2001-2004
: D# U6 S1 e) t4 j0 D; http://www.fifasoccer.ru/en
CHINA & DengSv

TOP

Re:fifaFS.exe 使用说明

非常感谢楼主!

TOP

Re:fifaFS.exe 使用说明

.....看不懂~~~

TOP

翻译一下吧!!!

TOP

Re:fifaFS.exe 使用说明

对 请翻译下啊

TOP

Re:fifaFS.exe 使用说明


就像在看天书!什么意思~楼主 能简单翻译一下吗?:p
活着真累! 女人好烦! 男人也烂! 活着干啥? 共享年代~~~不共享干啥!~~~ 感谢大家支持我!~~~ 欢迎常来娱乐走江湖: http://bbs.cx361.net

TOP

Re:fifaFS.exe 使用说明

hehe寒假有时间我会把它翻译整理一下的~~~~

TOP

Re:fifaFS.exe 使用说明

主要是些fifafs的参数
等有时间,会给大家翻译的
CHINA & DengSv

TOP

Re:fifaFS.exe 使用说明

a 很复杂的

TOP

Re:fifaFS.exe 使用说明

为什么是英文,我看不明,我可是中国人啊!!!!!!!!!!!!!!!!!!!!!
: g8 ?; M6 S) Y. d0 [2 p: ^* S& V8 L6 V& w* L0 M6 X' u' S: E
[fly]我爱罗马[/fly]. L6 J+ F5 y: H' ~( a, B! k

TOP

 31 1234
发新话题