READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Spellforce 2 - Shadow Wars

Old posts about game archives and other formats.
Post Reply
PierreDeVega
ultra-n00b
Posts: 2
Joined: Sun May 14, 2006 4:32 pm

Spellforce 2 - Shadow Wars

Post by PierreDeVega » Sun May 14, 2006 5:25 pm

Hello

I'am need edit pak and cff files in Spellforce 2 game.

Demo: ftp://download20.gamershell.com/pub/Win ... 2_demo.zip

Please help me.

Thanks

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Mon May 15, 2006 6:01 am

Downloading...:)

User avatar
Strobe
Moderator
Posts: 414
Joined: Mon Oct 24, 2005 8:52 am
Location: Sweden
Been thanked: 16 times
Contact:

=D

Post by Strobe » Mon May 15, 2006 9:49 am

lots of standard formats in those archives.
mp3 files, xml files, wav, dds textures etc etc.

ripped with jaeder naub, nothing is packed or encrypted.
and i think mr.mouse would be able to create a plugin for the archive kinda fast ;)

dont use jaeder naub to rip mp3 or xml from these archives though, it was done with my
own testversion that is not released yet and will find more stuff than the released version do right now :/

Stormer
ultra-n00b
Posts: 1
Joined: Tue Jun 20, 2006 3:33 am

Post by Stormer » Tue Jun 20, 2006 3:38 am

Any luck with this guys? Strobe, your program does a nice job of ripping the texture files (.dds) out of the .pak files but I can't seem to get at the models. Incredible work both of you on your software. If anyone can unpack these new .pak files, you guys will!

Slaii
beginner
Posts: 25
Joined: Sun Jun 25, 2006 7:28 pm

Spellforce 2 .pak fiel extractor

Post by Slaii » Mon Oct 16, 2006 12:58 pm

Hi
I found .pak extractopr for Spellforce 2 in thic forum:

Code: Select all

http://spellforce.jowood.com/forum/showthread.php?t=41575
There is fukll working pak extractor with readme and some hints
You have to be registered to downlaod it

Some talks about it:
Hi

Finally I can present a working pak file extractor. With it you can extract the .pak files located in the "SpellForce 2\base\pak" folder.

If you want to mod some files you dont need a repacker. You just need to place the file with the correct folder path under "SpellForce 2\base\" because SF2 reads these files preferred against the files in the pak archive.

In the package there is also a short manual included.

Credits
Programmed by Match
File Format Research: Match, Starcraftfreak

Have fun,
Kubi

User avatar
xennex
beginner
Posts: 27
Joined: Thu Oct 05, 2006 11:00 pm
Location: Guestrow, Germany

Re: Spellforce 2 - Shadow Wars

Post by xennex » Thu Oct 19, 2006 10:44 am

PierreDeVega wrote:Hello

I'am need edit pak and cff files in Spellforce 2 game.

Demo: ftp://download20.gamershell.com/pub/Win ... 2_demo.zip

Please help me.

Thanks
Little tip, this archiv used Zlib in the footer data,
more may can i not say.
Sincerely xennex

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Thu Oct 19, 2006 9:38 pm

Okay, here's a plugin for MexCom. Just copy it to the plugins/pak folder of MexCom. This will open Spellforce PAK files and extract files for you.

It was actually a simple format.

Code: Select all


// Header

byte {3}  - Magic Word "PAK" 
byte      - Version number ?
uint32    - Offset to tail
uint32    - Uncompressed size of tail
uint32    - Compressed size of tail

byte{}     - File data

// Tail - Zlib compressed, first uncompress, then :

uint32    - Number of resources

  // For each resource
  uint32    - Size of filename
  byte{}    - Filename (string)
  uint32    - Offset of file (start)
  uint32    - End-offset of file (end)
You do not have the required permissions to view the files attached to this post.

Hurvi
ultra-n00b
Posts: 1
Joined: Tue Dec 19, 2006 2:24 pm

Post by Hurvi » Tue Jan 23, 2007 8:13 am

When I use this plugin, can it extract text files? Because I heard it is a big problem to get out (and then get back) text files - if you want to translate them.

Csimbi
veteran
Posts: 102
Joined: Thu Nov 06, 2008 9:29 pm
Has thanked: 7 times
Been thanked: 17 times

Re: Spellforce 2 - Shadow Wars

Post by Csimbi » Fri Nov 07, 2008 10:07 pm

PakBrowser

I found this tool accidentally, while I was searching on Google for a different tool. I guess this is something the "I'm feeling lucky" button on the Google page should do - give me what I really want ;-)
Anyway, this tool was made by TimeSlip, and it requires the Microsoft .NET Framework 2.0 to be installed on your PC.

It allows you to unpack files one by one, and create Pak files, too (!).
Just unpack and execute from a directory of your choice.

Here's original post from http://timeslip.chorrol.com/b_07.html
28th of February 07 (Updated)

I had an oem copy of spellforce 2 free with my PC. I'm not usually a huge fan of RTS games, but spellforce 2 was enough of an RPG to be worth playing anyway.* It's not without its own problems though; the first thing I noticed after installing it was that none of the bik movies had any sound. I managed to fix that by replacing the old (v1.5.21.0) version of the bik dll provided with spellforce 2 with the newer (1.7.3.0) version that came with oblivion. I'm guessing that's not a common problem, since it wasn't mentioned in the FAQ, hasn't been fixed in the two patches that have been released so far and didn't seem to be mentioned in the first couple of pages of the tech support forums. The second problem was that on a specific level near the end of the single player campaign, moving the camera to a specific part of the screen caused an instant crash. That one turned out to be self inflicted though; I was using a nocd patch, and using the original exe fixed the crash, so it just meant that I had to play with the CD in for a level.

Anyway, after playing for a bit I ended up trying to mod it. For one test I was trying to do, I needed a pak creator.** There's already an extractor ( http://spellforce.jowood.com/forum/s...ad.php?t=41575 ) floating around, but oddly enough nothing to create them with,^ so I spent an hour knocking one up. Luckily, compared to bsa's, the pak file format turned out to be relatively simple. (No need to spend ages with a debugger trying to work out weird hashing algorithms this time...) If anyone one else wants it, you can download it here ( http://timeslip.chorrol.com/current/PakBrowser.7z ) . As well as creating paks, you can also browse existing ones, and extract single files from them instead of unpacking the whole thing. (I didn't want to sign up to the spellforce forums just to download one file, so I haven't tested the original unpacker, but it looks like it unpacks everything without giving you any options, and a few people were having problems with it.)

Edit: Looks like there was a problem with that pak browser that crashed it when trying to open pak 11. It's fixed now, as are a couple of other things to do with the double click file preview.

*Plus the oem version has the added advantage that it doesn't ship with starforce. My previous starforce problems turned out to be another oem game. Slightly insanely, that particularly game doesn't require the CD in to play anyway, and neither does it use a licence key, even for online play...

**Pak's are the spellforce 2 equivelent of bsa's.

^In a similar way to morrowind/oblivion, spellforce 2 will preferentially load files from its base directory if they have the same names as files contained in a pak, so a pak creator isn't essential to modding. Also like morrowind/oblivion, it's still nice to have anyway.
Best retard: Csimbi

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Re: Spellforce 2 - Shadow Wars

Post by Mr.Mouse » Fri Nov 07, 2008 11:44 pm

Nice find!!

I've attached it here, for safe keeping ;)
You do not have the required permissions to view the files attached to this post.

Post Reply