Does anyone know what to use to extract the .cff files (and probably .sav files as well) for SpellForce 2? I'm not talking about the .pak files, for which there is already an extractor released.
All of the .cff and .sav files starts with "12 DD 72 DD 03". I thought I've seen this kind of header somewhere, but can't quite recall where...
Take a look at the attached file english.zip. It's probably the localization file. Please rename the extention to .cff.
TIA
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
SpellForce 2 .cff files
SpellForce 2 .cff files
You do not have the required permissions to view the files attached to this post.
-
- VVIP member
- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Are you certain there is a compression or even usable data involved? Depending on the game it is often that in a saved game the stored data is unusable outside of the saved game file storeing information like current items held and position in the games as well as triggers, etc.
Anyways, the CFF files are a database file not an archive.
Anyways, the CFF files are a database file not an archive.
-
- VVIP member
- Posts: 688
- Joined: Fri Jul 04, 2003 6:11 pm
- Has thanked: 33 times
- Been thanked: 16 times
Hm. That must be the English text. The Gamedata.cff contains the main script and as I read is very complicated. Perhaps why there is no editors for it yet.
As for zlib... if the ZLIB used by Age of Empires I and II is the same as this you could use compr.exe and uncompr.exe inside a zlibnoh.rar package...
http://aoe.heavengames.com/cgi-bin/aoec ... =5413&st=0
There. Maybe that would work.
As for zlib... if the ZLIB used by Age of Empires I and II is the same as this you could use compr.exe and uncompr.exe inside a zlibnoh.rar package...
http://aoe.heavengames.com/cgi-bin/aoec ... =5413&st=0
There. Maybe that would work.
CFF file it's an archive of files zlib compressed.
Bye
Code: Select all
4 - Header (0x12DD72DD)
4 - Archive Version? (3)
12 - null
// for each files
4 - File ID?
2 - (1)
4 - Compressed size
2 - (1)
4 - Uncompressed size
x - Data File (zlib compressed)
I'm italian and speak little english
Use this BMS script.
Code: Select all
ComType ZLib1 ;
Set START Long 20 ;
GoTo START 0 ;
Do ;
Get ID Long 0 ;
Get FOO Int 0 ;
Get CS Long 0 ;
Get FOO Int 0 ;
Get US Long 0 ;
SavePos OFF 0 ;
If CS <> 0 ;
CLog "" OFF CS 0 0 US 0;
Math OFF += CS ;
GoTo OFF 0;
EndIf ;
While CS <> 0 ;
I'm italian and speak little english
-
- beginner
- Posts: 23
- Joined: Sun Jul 15, 2007 4:27 pm
- Has thanked: 1 time
- Been thanked: 5 times
Re: SpellForce 2 .cff files
I have one question, is there any way how to pack unpacked files back to the archive .cff??
(edit archive?). I know how to use hexaeditor, so i think with little help it could not be a problem.
Thank you for the answer.
Kramla
Edit: Now I know how to do it (I finaly found one working zlib packer...).
(edit archive?). I know how to use hexaeditor, so i think with little help it could not be a problem.
Thank you for the answer.
Kramla
Edit: Now I know how to do it (I finaly found one working zlib packer...).